Home
last modified time | relevance | path

Searched refs:INDEX_NONE (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java35 private static final int INDEX_NONE = -1; field in SlotView
73 private int mStartIndex = INDEX_NONE;
585 return INDEX_NONE; in getSlotIndexByPosition()
592 return INDEX_NONE; in getSlotIndexByPosition()
596 return INDEX_NONE; in getSlotIndexByPosition()
600 return INDEX_NONE; in getSlotIndexByPosition()
604 return INDEX_NONE; in getSlotIndexByPosition()
611 return index >= mSlotCount ? INDEX_NONE : index; in getSlotIndexByPosition()
637 if (index != INDEX_NONE) { in onShowPress()
689 if (index != INDEX_NONE) mListener.onSingleTapUp(index); in onSingleTapUp()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java74 public static final int INDEX_NONE = -1; field in GridViewSpecial
130 private int mCurrentSelection = INDEX_NONE;
319 setSelectedIndex(INDEX_NONE); in onDown()
334 setSelectedIndex(INDEX_NONE); in onFling()
353 setSelectedIndex(INDEX_NONE); in onScroll()
383 if (index != INDEX_NONE) { in invalidateImage()
407 if (mCurrentSelection != INDEX_NONE) { in setSelectedIndex()
473 mCurrentSelection = INDEX_NONE; in stop()
582 if (sel != INDEX_NONE) { in onKeyDown()
694 if (mCurrentSelection == INDEX_NONE) return; in paintSelection()
DImageGallery.java98 private int mSelectedIndex = GridViewSpecial.INDEX_NONE;
671 mGvs.setSelectedIndex(GridViewSpecial.INDEX_NONE);
756 if (mGvs.getCurrentSelection() != GridViewSpecial.INDEX_NONE) {
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetDataLoader.java40 private static final int INDEX_NONE = -1; field in AlbumSetDataLoader
259 return INDEX_NONE; in getInvalidIndex()
265 if (index == INDEX_NONE && mSourceVersion == mVersion) return null; in call()
367 info.index = INDEX_NONE; in run()
370 if (info.index != INDEX_NONE) { in run()