Searched refs:mThumbX (Results 1 – 1 of 1) sorted by relevance
43 private int mThumbX, mThumbY; field in ZoomControl121 if (mThumbX == 0 && mThumbY == 0) { in onDraw()127 mThumb.setBounds(mThumbX - halfWidth, mThumbY - halfHeight, mThumbX + halfWidth, in onDraw()156 mThumbX = (int)((mRadius * Math.cos(alpha)) + (getWidth() / 2)); in onTouchEvent()160 mThumbX = (int)((mRadius * Math.cos(alpha)) + (getWidth() / 2)); in onTouchEvent()164 mThumbX = (int)((getWidth() / 2) - (mRadius * Math.cos(alpha))); in onTouchEvent()168 mThumbX = (int)((getWidth() / 2) - (mRadius * Math.cos(alpha))); in onTouchEvent()245 mThumbX = (int)((mRadius * Math.cos(alpha)) + (getWidth() / 2)); in progressToPosition()249 mThumbX = (int)((getWidth() / 2) - (mRadius * Math.cos(alpha))); in progressToPosition()253 mThumbX = (int)((mRadius * Math.cos(alpha)) + (getWidth() / 2)); in progressToPosition()[all …]