Searched refs:INDEX_NONE (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Camera/src/com/android/camera/ui/
H A DIndicatorBar.java28 public static final int INDEX_NONE = -1; field in class:IndicatorBar
32 private int mSelectedIndex = INDEX_NONE;
45 if (mActivated && mSelectedIndex != INDEX_NONE
135 if (index == INDEX_NONE) {
146 setSelectedItem(index == INDEX_NONE ? null :getComponent(index), index);
192 setSelectedItem(null, INDEX_NONE);
196 setSelectedItem(null, INDEX_NONE);
H A DGLListView.java40 private static final int INDEX_NONE = -1; field in class:GLListView
48 private int mHighlightIndex = INDEX_NONE;
161 if (mHighlightIndex != INDEX_NONE) {
319 setHighlightItem(null, INDEX_NONE);
336 setHighlightItem(null, INDEX_NONE);
368 setHighlightItem(null, INDEX_NONE);
392 setHighlightItem(null, INDEX_NONE);
H A DHeadUpDisplay.java131 mIndicatorBar.setSelectedIndex(IndicatorBar.INDEX_NONE);
312 mIndicatorBar.setSelectedIndex(IndicatorBar.INDEX_NONE);
381 mIndicatorBar.setSelectedIndex(IndicatorBar.INDEX_NONE);
/packages/apps/Gallery/src/com/android/camera/
H A DGridViewSpecial.java74 public static final int INDEX_NONE = -1; field in class:GridViewSpecial
130 private int mCurrentSelection = INDEX_NONE;
319 setSelectedIndex(INDEX_NONE);
334 setSelectedIndex(INDEX_NONE);
353 setSelectedIndex(INDEX_NONE);
383 if (index != INDEX_NONE) {
390 * @param index <code>INDEX_NONE</code> (-1) means remove selection.
407 if (mCurrentSelection != INDEX_NONE) {
473 mCurrentSelection = INDEX_NONE;
582 if (sel != INDEX_NONE) {
[all...]
H A DImageGallery.java98 private int mSelectedIndex = GridViewSpecial.INDEX_NONE;
676 mGvs.setSelectedIndex(GridViewSpecial.INDEX_NONE);
761 if (mGvs.getCurrentSelection() != GridViewSpecial.INDEX_NONE) {

Completed in 57 milliseconds