Home
last modified time | relevance | path

Searched refs:mSelectedIndex (Results 1 – 10 of 10) 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/TvSettings/Settings/src/com/android/tv/settings/dialog/
DDialogFragment.java109 private int mSelectedIndex; field in DialogFragment.Builder
123 args.putInt(EXTRA_ACTION_SELECTED_INDEX, mSelectedIndex); in build()
174 mSelectedIndex = selectedIndex; in selectedIndex()
205 private int mSelectedIndex = -1; field in DialogFragment
242 if (mSelectedIndex == -1) { in onCreate()
243 mSelectedIndex = state.getInt(EXTRA_ACTION_SELECTED_INDEX, -1); in onCreate()
281 (mListView != null) ? getSelectedItemPosition() : mSelectedIndex); in onSaveInstanceState()
541 (mSelectedIndex >= 0 && mSelectedIndex < mActions.size()) ? mSelectedIndex in setActionView()
DLayout.java343 private int mSelectedIndex = 0; field in Layout.Header
747 mNavigationCursor.mSelectedIndex = mLayoutRows.indexOf(layoutRow); in onClickNavigate()
812 return mNavigationCursor.mSelectedIndex; in getSelectedIndex()
816 mNavigationCursor.mSelectedIndex = index; in setSelectedIndex()
822 u.mSelectedIndex = index; in setParentSelectedIndex()
839 mNavigationCursor.mSelectedIndex = mLayoutRows.size() + initialIndex; in addNodeListToLayoutRows()
844 mNavigationCursor.mSelectedIndex = mLayoutRows.size(); in addNodeListToLayoutRows()
DSettingsLayoutFragment.java192 private int mSelectedIndex = -1; field in SettingsLayoutFragment
248 mSelectedIndex = state.getInt(EXTRA_ACTION_SELECTED_INDEX, -1); in onCreate()
574 if (mSelectedIndex >= 0 && mSelectedIndex < mLayout.getLayoutRows().size()) { in setActionView()
579 initialSelectedIndex = mSelectedIndex; in setActionView()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperPickerActivity.java106 private int mSelectedIndex = -1; field in WallpaperPickerActivity
521 if (mSelectedIndex >= 0 && mSelectedIndex < mWallpapersView.getChildCount()) { in init()
523 mWallpapersView.getChildAt(mSelectedIndex)); in init()
616 if (i == mSelectedIndex) { in init()
625 mSelectedIndex = -1; in init()
660 mSelectedIndex = mWallpapersView.indexOfChild(v); in selectTile()
714 outState.putInt(SELECTED_INDEX, mSelectedIndex); in onSaveInstanceState()
722 mSelectedIndex = savedInstanceState.getInt(SELECTED_INDEX, -1); in onRestoreInstanceState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java314 private int mSelectedIndex; field in ScrollAdapterView
575 mSelectedIndex = -1;
753 return mSelectedIndex >= 0 ?
754 getChildAt(expandableIndexFromAdapterIndex(mSelectedIndex)) : null;
772 return mSelectedIndex;
1258 int focusIndex = mSelectedIndex < 0 ? -1 :
1259 expandableIndexFromAdapterIndex(mSelectedIndex);
1520 mSelectedIndex = getAdapterIndex(indexOfChild(child));
1524 int nextAdapterIndex = mSelectedIndex + mItemsOnOffAxis;
1536 mSelectedIndex = nextAdapterIndex;
[all …]
/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/Settings/src/com/android/settings/
DAppListPreference.java46 private int mSelectedIndex = 0; field in AppListPreference.AppArrayAdapter
51 mSelectedIndex = selectedIndex; in AppArrayAdapter()
61 if (position == mSelectedIndex) { in getView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/resolver/
DResolverActivity.java76 private int mSelectedIndex = -1; field in ResolverActivity
253 startSelected(mSelectedIndex, true); in onActionClicked()
255 startSelected(mSelectedIndex, false); in onActionClicked()
267 mSelectedIndex = index; in onActionClicked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutActivity.java105 private int mSelectedIndex; field in AboutActivity
117 mSelectedIndex = 0; in onCreate()
128 mSelectedIndex = getActions().indexOf(action); in onActionFocused()