Home
last modified time | relevance | path

Searched refs:mThumbY (Results 1 – 1 of 1) sorted by relevance

/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DZoomControl.java43 private int mThumbX, mThumbY; field in ZoomControl
121 if (mThumbX == 0 && mThumbY == 0) { in onDraw()
127 mThumb.setBounds(mThumbX - halfWidth, mThumbY - halfHeight, mThumbX + halfWidth, in onDraw()
128 mThumbY + halfHeight); in onDraw()
157 mThumbY = (int)((getHeight() / 2) - (mRadius * Math.sin(alpha))); in onTouchEvent()
161 mThumbY = (int)((getHeight() / 2) - (mRadius * Math.sin(alpha))); in onTouchEvent()
165 mThumbY = (int)((getHeight() / 2) + (mRadius * Math.sin(alpha))); in onTouchEvent()
169 mThumbY = (int)((getHeight() / 2) + (mRadius * Math.sin(alpha))); in onTouchEvent()
246 mThumbY = (int)((getHeight() / 2) - (mRadius * Math.sin(alpha))); in progressToPosition()
250 mThumbY = (int)((getHeight() / 2) + (mRadius * Math.sin(alpha))); in progressToPosition()
[all …]