Searched refs:mScrubber (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TimeBar.java | 64 protected final Bitmap mScrubber; field in TimeBar 107 mScrubber = BitmapFactory.decodeResource(getResources(), R.drawable.scrubber_knob); in TimeBar() 124 mScrubberLeft = mPlayedBar.right - mScrubber.getWidth() / 2; in update() 154 int scrubberRight = mScrubberLeft + mScrubber.getWidth(); in inScrubber() 155 int scrubberBottom = mScrubberTop + mScrubber.getHeight(); in inScrubber() 161 int half = mScrubber.getWidth() / 2; in clampScrubber() 168 return (int) ((long) (mScrubberLeft + mScrubber.getWidth() / 2 - mProgressBar.left) in getScrubberTime() 179 int margin = mScrubber.getWidth() / 3; in onLayout() 184 mScrubberTop = progressY - mScrubber.getHeight() / 2 + 1; in onLayout() 200 canvas.drawBitmap(mScrubber, mScrubberLeft, mScrubberTop, null); in onDraw() [all …]
|
D | TrimTimeBar.java | 97 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() 173 int margin = mScrubber.getWidth() / 3; in onLayout() 178 int scrubberY = progressY - mScrubber.getHeight() / 2 + 1; in onLayout() 210 canvas.drawBitmap(mScrubber, mScrubberLeft, mScrubberTop, null); in onDraw() 219 mCurrentTime = getScrubberTime(mScrubberLeft, mScrubber.getWidth() / 2); in updateTimeFromPos() 264 mScrubber.getWidth() / 2, in onTouchEvent() 267 mScrubber.getWidth() / 2); in onTouchEvent() 310 mScrubber.getWidth() / 2); in onTouchEvent() [all …]
|