黄大仙救世报并获得了用户的广泛认可锻拓匝悄黄大仙救世报为广大玩家送上高品质的服务,黄大仙救世报让玩家足不出户就能享受到最为刺激的线上博彩娱乐裂母躺冻同时秉承诚信为本的服务宗旨。黄大仙救世报在经过了长期发展之后畅游游戏海洋,黄大仙救世报玩家可以我们的官方网站进行体验斯钨关俟嘿享受我们最优质的线上博彩。
黄大仙救世报点击下图进入官网:
黄大仙救世报点击下图进入活动:
黄大仙救世报点击下图进入领取彩金:
黄大仙救世报点击下图进入官网:
黄大仙救世报点击下图进入活动:
黄大仙救世报点击下图进入领取彩金:
凯时真人娱乐|http://kszryllwas.weebly.com
u乐国际|http://ulgjkysg.weebly.com
澳门皇冠线上投注网|http://amhgxstzwzbmn.weebly.com
金沙城中心网上娱乐|http://jsczxwsyltefx.weebly.com
澳门必发指数|http://ambfzscmyy.weebly.com
富利娱乐|http://flylgznm.weebly.com
nbsp; textHeight = (int) (height / 2 - (textPaint.descent() + textPaint.ascent())/2); lineHeight = (int) (textHeight - (textPaint.descent() + textPaint.ascent()));
}
private void measureLineSize(){
lineStartX = strX[lastPosition] - space / 2 + (strWidth[lastPosition] + space )* lineScale;
if ((lastPosition + 1) == mViewPager.getAdapter().getCount()) {
lineEndX = strX[lastPosition] + strWidth[lastPosition] + space / 2 ;
}else {
lineEndX = strX[lastPosition] + strWidth[lastPosition] + space / 2 + ( strWidth[lastPosition + 1] + space ) * lineScale;
}
}
public void setTitle(String ...str){
this.str = str ;
strX = new float[str.length];
strWidth = new float[str.length];
}
private int space = 0 ;
private Paint linePaint;
private int lineHeight;
private int height;
private int textHeight;
public void setspace(int space){
this.space = space ;
}
public void setTextColorResourceId(int colorid){
int color = context.getResources().getColor(colorid);
textPaint.setColor(color);
}
public void setTextColor(int color){
textPaint.setColor(color);
}
@Override
public boolean onTouchEvent(MotionEvent event) {
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
startX = recordDownX = (int) event.getX();
break;
case MotionEvent.ACTION_MOVE:
int moveX = (int) event.getX();
int scrollX = getScrollX();
if (Math.abs(moveX - recordDownX ) > 32 ) {
smootMove(scrollX
牡丹国际娱乐官网, startX - moveX);
}
startX = (int) event.getX();
break;
case MotionEvent.ACTION_UP:
int upX = (int) event.getX();
if (Math.abs(upX - recordDownX ) < 32 ) {
int position = decidePosition(upX);
setPosition(position);
if (mOnClickOneListener != null) {
mOnClickOneListener.onClick(position) ;
}
}
break;
}
return true;
}
private int decidePosition(int upX){
for (int i = 0; i < strX.length; i++) {
if ((upX + getScrollX()) < (strX[i] + strWidth[i]) + space / 2) {
return i ;
}
}
return 0 ;
}
public void setPosition(int position){
// lastPosition = position ;
// int scrollX = getScrollX();
// int location = (int) (strX[lastPosition] - space - 20);
// int dy = (int)(location - getScrollX());
// if ((location + width) > (textWidth + padingRight ) ) {
// mScroller.startScroll(scrollX, 0,textWidth + padingRight - width - getScrollX() , 0,
电玩棋牌游戏平台 200);
// }else {
// mScroller.startScroll(scrollX, 0, dy , 0, 200);