Home
last modified time | relevance | path

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

/packages/apps/Gallery/src/com/android/camera/
DViewImage.java94 int mCurrentPosition = 0; field in ViewImage
140 boolean showPrev = mCurrentPosition > 0; in updateNextPrevControls()
141 boolean showNext = mCurrentPosition < mAllImages.getCount() - 1; in updateNextPrevControls()
212 IImage image = mAllImages.getImageAt(mCurrentPosition);
387 mLastSlideShowImage = mCurrentPosition; in onCreateOptionsMenu()
388 loadNextImage(mCurrentPosition, 0, true); in onCreateOptionsMenu()
405 IImage image = mAllImages.getImageAt(mCurrentPosition); in onCreateOptionsMenu()
413 setImage(mCurrentPosition, false); in onCreateOptionsMenu()
437 mAllImages.removeImageAt(mCurrentPosition);
442 if (mCurrentPosition == mAllImages.getCount()) {
[all …]
DImageGetter.java78 private int mCurrentPosition = -1; field in ImageGetter
136 while (mCancel || mDone || mCurrentPosition == -1) {
152 mCurrentPosition = -1;
163 int imageNumber = mCurrentPosition + offset;
165 if (!mCB.wantsThumbnail(mCurrentPosition, offset)) {
180 Runnable cb = callback(mCurrentPosition, offset,
191 int imageNumber = mCurrentPosition + offset;
193 if (!mCB.wantsFullImage(mCurrentPosition, offset)) {
203 mCurrentPosition, offset);
216 Runnable cb = callback(mCurrentPosition, offset,
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DPageIndicatorDots.java65 return obj.mCurrentPosition;
70 obj.mCurrentPosition = pos;
94 private float mCurrentPosition; field in PageIndicatorDots
149 if (Math.abs(mCurrentPosition - mFinalPosition) < SHIFT_THRESHOLD) { in animateToPosition()
150 mCurrentPosition = mFinalPosition; in animateToPosition()
152 if (mAnimator == null && Float.compare(mCurrentPosition, mFinalPosition) != 0) { in animateToPosition()
153 float positionForThisAnim = mCurrentPosition > mFinalPosition ? in animateToPosition()
154 mCurrentPosition - SHIFT_PER_ANIMATION : mCurrentPosition + SHIFT_PER_ANIMATION; in animateToPosition()
273 float startCircle = (int) mCurrentPosition; in getActiveRect()
274 float delta = mCurrentPosition - startCircle; in getActiveRect()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java133 return mScroller.mCurrentPosition; in getCurrPos()
390 private int mCurrentPosition; field in OverScroller.SplineOverScroller
456 return scroller.mCurrentPosition;
461 scroller.mCurrentPosition = (int) value;
515 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll()
551 mCurrentPosition = mStart = start; in startScroll()
582 mCurrentPosition = mFinal; in finish()
608 mCurrentPosition = mStart = mFinal = start; in springback()
627 mCurrentPosition = mStart = start; in startSpringback()
643 mCurrentPosition = mStart = start; in fling()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragHoverListener.java60 private @Nullable Point mCurrentPosition; field in DragHoverListener
80 return mCurrentPosition; in DragHoverListener()
166 mCurrentPosition = transformToScrollViewCoordinate(v, x, y); in handleLocationEvent()
185 if (mCurrentPosition == null) { in insideDragZone()
191 boolean shouldScrollUp = mCurrentPosition.y < topBottomRegionHeight in insideDragZone()
193 boolean shouldScrollDown = mCurrentPosition.y > mHeight.getAsInt() - topBottomRegionHeight in insideDragZone()
/packages/apps/Calendar/tests/src/com/android/calendar/
DDbTestUtils.java90 int mCurrentPosition = -1; field in DbTestUtils.FakeCursor
103 mCurrentPosition = 0; in moveToFirst()
109 if (queryResult.size() > 0 && mCurrentPosition < queryResult.size()) { in moveToNext()
110 mCurrentPosition++; in moveToNext()
119 return mCurrentPosition < 0; in isBeforeFirst()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java159 return mScrollerX.mCurrentPosition; in getCurrX()
168 return mScrollerY.mCurrentPosition; in getCurrY()
544 private int mCurrentPosition; field in OverScroller.SplineOverScroller
653 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll()
697 mCurrentPosition = mFinal; in finish()
754 mCurrentPosition = mStart = start; in fling()
950 mCurrentPosition = mStart + (int) Math.round(distance); in update()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DExoPlayerSampleExtractor.java235 private long mCurrentPosition; field in ExoPlayerSampleExtractor.SourceReaderWorker
356 source.continueLoading(mCurrentPosition); in onContinueLoadingRequested()
394 mMediaPeriod.continueLoading(mCurrentPosition); in handleMessage()
427 if (mCurrentPosition < mDecoderInputBuffer.timeUs) { in fetchSample()
428 mCurrentPosition = mDecoderInputBuffer.timeUs; in fetchSample()
431 mMediaPeriod.discardBuffer(mCurrentPosition, false); in fetchSample()