Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimTimeBar.java97 mScrubberLeft = mPlayedBar.right - mScrubber.getWidth() / 2; in updatePlayedBarAndScrubberFromTime()
106 mScrubberLeft = mProgressBar.left - mScrubber.getWidth() / 2; in updatePlayedBarAndScrubberFromTime()
143 } else if (inScrubber(x, y, mScrubberLeft, mScrubberTop, mScrubber)) { in whichScrubber()
210 canvas.drawBitmap(mScrubber, mScrubberLeft, mScrubberTop, null); in onDraw()
219 mCurrentTime = getScrubberTime(mScrubberLeft, mScrubber.getWidth() / 2); in updateTimeFromPos()
238 mScrubberCorrection = x - mScrubberLeft; in onTouchEvent()
261 mScrubberLeft = x - mScrubberCorrection; in onTouchEvent()
262 mScrubberLeft = in onTouchEvent()
263 clampScrubber(mScrubberLeft, in onTouchEvent()
266 seekToTime = getScrubberTime(mScrubberLeft, in onTouchEvent()
[all …]
DTimeBar.java68 protected int mScrubberLeft; field in TimeBar
124 mScrubberLeft = mPlayedBar.right - mScrubber.getWidth() / 2; in update()
154 int scrubberRight = mScrubberLeft + mScrubber.getWidth(); in inScrubber()
156 return mScrubberLeft - mScrubberPadding < x && x < scrubberRight + mScrubberPadding in inScrubber()
164 mScrubberLeft = Math.min(max, Math.max(min, mScrubberLeft)); in clampScrubber()
168 return (int) ((long) (mScrubberLeft + mScrubber.getWidth() / 2 - mProgressBar.left) in getScrubberTime()
200 canvas.drawBitmap(mScrubber, mScrubberLeft, mScrubberTop, null); in onDraw()
225 ? x - mScrubberLeft in onTouchEvent()
232 mScrubberLeft = x - mScrubberCorrection; in onTouchEvent()