Home
last modified time | relevance | path

Searched refs:mSelectedIndex (Results 1 – 7 of 7) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSecondLevelIndicatorControlBar.java42 int mSelectedIndex = -1; field in SecondLevelIndicatorControlBar
111 if ((mSelectedIndex != -1) && (index != mSelectedIndex)) { in dispatchTouchEvent()
112 View p = getChildAt(mSelectedIndex); in dispatchTouchEvent()
130 if (mSelectedIndex != index && action == MotionEvent.ACTION_MOVE) { in dispatchTouchEvent()
134 mSelectedIndex = index; in dispatchTouchEvent()
/packages/apps/Settings/src/com/android/settings/
DRestrictedListPreference.java142 private final int mSelectedIndex; field in RestrictedListPreference.RestrictedArrayAdapter
145 mSelectedIndex = selectedIndex; in RestrictedArrayAdapter()
159 if (mSelectedIndex != -1) { in getView()
160 text.setChecked(position == mSelectedIndex); in getView()
DSmsDefaultDialog.java156 private final int mSelectedIndex; field in SmsDefaultDialog.AppListAdapter
167 mSelectedIndex = selected; in AppListAdapter()
192 if (position == mSelectedIndex) { in getView()
223 return position == mSelectedIndex; in isSelected()
DAppListPreference.java66 private int mSelectedIndex = 0; field in AppListPreference.AppArrayAdapter
71 mSelectedIndex = selectedIndex; in AppArrayAdapter()
86 if (position == mSelectedIndex && position == mSystemAppIndex) { in getView()
88 } else if (position == mSelectedIndex) { in getView()
/packages/apps/Gallery/src/com/android/camera/
DImageGallery.java98 private int mSelectedIndex = GridViewSpecial.INDEX_NONE; field in ImageGallery
414 state.putInt(STATE_SELECTED_INDEX, mSelectedIndex);
422 mSelectedIndex = state.getInt(STATE_SELECTED_INDEX, 0);
633 mSelectedIndex = index;
743 mSelectedIndex = mAllImages.getImageIndex(image);
746 mGvs.setSelectedIndex(mSelectedIndex);
757 mGvs.scrollToVisible(mSelectedIndex);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperPickerActivity.java118 @Thunk int mSelectedIndex = -1; field in WallpaperPickerActivity
629 if (mSelectedIndex >= 0 && mSelectedIndex < mWallpapersView.getChildCount()) {
631 mWallpapersView.getChildAt(mSelectedIndex));
729 if (i == mSelectedIndex) {
738 mSelectedIndex = -1;
781 mSelectedIndex = mWallpapersView.indexOfChild(v);
842 outState.putInt(SELECTED_INDEX, mSelectedIndex);
850 mSelectedIndex = savedInstanceState.getInt(SELECTED_INDEX, -1);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java304 private int mSelectedIndex; field in ScrollAdapterView
565 mSelectedIndex = -1;
739 return mSelectedIndex >= 0 ?
740 getChildAt(expandableIndexFromAdapterIndex(mSelectedIndex)) : null;
758 return mSelectedIndex;
1228 int focusIndex = mSelectedIndex < 0 ? -1 :
1229 expandableIndexFromAdapterIndex(mSelectedIndex);
1481 mSelectedIndex = getAdapterIndex(indexOfChild(child));
1485 int nextAdapterIndex = mSelectedIndex + mItemsOnOffAxis;
1497 mSelectedIndex = nextAdapterIndex;
[all …]