Searched refs:mCurrentPosition (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Gallery/src/com/android/camera/ |
D | ViewImage.java | 94 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 …]
|
D | ImageGetter.java | 78 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/Calendar/tests/src/com/android/calendar/ |
D | DbTestUtils.java | 86 int mCurrentPosition = -1; field in DbTestUtils.FakeCursor 99 mCurrentPosition = 0; in moveToFirst() 105 if (queryResult.size() > 0 && mCurrentPosition < queryResult.size()) { in moveToNext() 106 mCurrentPosition++; in moveToNext() 115 return mCurrentPosition < 0; in isBeforeFirst()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | OverScroller.java | 159 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()
|