Home
last modified time | relevance | path

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

/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DImageListUberUnitTests.java67 assertEquals(0, uber.getImageIndex(uber.getImageAt(0))); in testRemoveImage()
68 assertEquals(1, uber.getImageIndex(uber.getImageAt(1))); in testRemoveImage()
85 assertEquals(0, uber.getImageIndex(uber.getImageAt(0))); in testRemoveImageAt()
86 assertEquals(1, uber.getImageIndex(uber.getImageAt(1))); in testRemoveImageAt()
DMockImageList.java36 public int getImageIndex(IImage image) { in getImageIndex() method in MockImageList
/packages/apps/Camera/tests/src/com/android/camera/gallery/
DImageListUberUnitTests.java67 assertEquals(0, uber.getImageIndex(uber.getImageAt(0))); in testRemoveImage()
68 assertEquals(1, uber.getImageIndex(uber.getImageAt(1))); in testRemoveImage()
85 assertEquals(0, uber.getImageIndex(uber.getImageAt(0))); in testRemoveImageAt()
86 assertEquals(1, uber.getImageIndex(uber.getImageAt(1))); in testRemoveImageAt()
DMockImageList.java36 public int getImageIndex(IImage image) { in getImageIndex() method in MockImageList
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageListUber.java198 return removeImage(image, getImageIndex(image)); in removeImage()
207 public synchronized int getImageIndex(IImage image) { in getImageIndex() method in ImageListUber
213 int listOffset = list.getImageIndex(image); in getImageIndex()
DIImageList.java90 public int getImageIndex(IImage image); in getImageIndex() method
DSingleImageList.java53 public int getImageIndex(IImage image) { in getImageIndex() method in SingleImageList
DBaseImageList.java216 public int getImageIndex(IImage image) { in getImageIndex() method in BaseImageList
/packages/apps/Camera/src/com/android/camera/gallery/
DImageListUber.java198 return removeImage(image, getImageIndex(image)); in removeImage()
207 public synchronized int getImageIndex(IImage image) { in getImageIndex() method in ImageListUber
213 int listOffset = list.getImageIndex(image); in getImageIndex()
DIImageList.java90 public int getImageIndex(IImage image); in getImageIndex() method
DSingleImageList.java53 public int getImageIndex(IImage image) { in getImageIndex() method in SingleImageList
DBaseImageList.java216 public int getImageIndex(IImage image) { in getImageIndex() method in BaseImageList
/packages/apps/Gallery/src/com/android/camera/
DReviewImage.java562 mCurrentPosition = mAllImages.getImageIndex(image); in init()
737 mCurrentPosition = mAllImages.getImageIndex(image); in onActivityResult()
DImageManager.java441 public int getImageIndex(IImage image) { in getImageIndex() method in ImageManager.EmptyImageList
DViewImage.java892 mCurrentPosition = mAllImages.getImageIndex(image); in init()
1068 mCurrentPosition = mAllImages.getImageIndex(image); in onActivityResult()
DImageGallery.java748 mSelectedIndex = mAllImages.getImageIndex(image);
/packages/apps/Camera/src/com/android/camera/
DReviewImage.java560 mCurrentPosition = mAllImages.getImageIndex(image); in init()
735 mCurrentPosition = mAllImages.getImageIndex(image); in onActivityResult()
DImageManager.java441 public int getImageIndex(IImage image) { in getImageIndex() method in ImageManager.EmptyImageList
DViewImage.java890 mCurrentPosition = mAllImages.getImageIndex(image); in init()
1066 mCurrentPosition = mAllImages.getImageIndex(image); in onActivityResult()
DImageGallery.java746 mSelectedIndex = mAllImages.getImageIndex(image);