/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | Layout.java | 405 int mSelectedIndex; field in Layout.SelectionGroup 468 mSelectedIndex = -1; in SelectionGroup() 479 mSelectedIndex = -1; in SelectionGroup() 487 if (mSelectedIndex >= 0 && mSelectedIndex < mTitle.length) { in getTitle() 488 return mTitle[mSelectedIndex]; in getTitle() 513 return mSelectedIndex == index; in getChecked() 521 mSelectedIndex = -1; in setSelected() 524 mSelectedIndex = index; in setSelected() 531 if (mSelectedIndex != selectedIndex && selectedIndex < mId.length) { in setSelectedIndex() 532 mSelectedIndex = selectedIndex; in setSelectedIndex() [all …]
|
D | DialogFragment.java | 103 private int mSelectedIndex; field in DialogFragment.Builder 117 args.putInt(EXTRA_ACTION_SELECTED_INDEX, mSelectedIndex); in build() 168 mSelectedIndex = selectedIndex; in selectedIndex() 199 private int mSelectedIndex = -1; field in DialogFragment 236 if (mSelectedIndex == -1) { in onCreate() 237 mSelectedIndex = state.getInt(EXTRA_ACTION_SELECTED_INDEX, -1); in onCreate() 275 (mListView != null) ? getSelectedItemPosition() : mSelectedIndex); in onSaveInstanceState() 535 (mSelectedIndex >= 0 && mSelectedIndex < mActions.size()) ? mSelectedIndex in setActionView()
|
D | SettingsLayoutFragment.java | 181 private int mSelectedIndex = -1; field in SettingsLayoutFragment 237 mSelectedIndex = state.getInt(EXTRA_ACTION_SELECTED_INDEX, -1); in onCreate() 581 if (mSelectedIndex >= 0 && mSelectedIndex < mLayout.getLayoutRows().size()) { in setActionView() 586 initialSelectedIndex = mSelectedIndex; in setActionView()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | SecondLevelIndicatorControlBar.java | 42 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/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | WallpaperPickerActivity.java | 112 @Thunk int mSelectedIndex = -1; field in WallpaperPickerActivity 523 if (mSelectedIndex >= 0 && mSelectedIndex < mWallpapersView.getChildCount()) { in init() 525 mWallpapersView.getChildAt(mSelectedIndex)); in init() 623 if (i == mSelectedIndex) { in init() 632 mSelectedIndex = -1; in init() 671 mSelectedIndex = mWallpapersView.indexOfChild(v); in selectTile() 732 outState.putInt(SELECTED_INDEX, mSelectedIndex); in onSaveInstanceState() 740 mSelectedIndex = savedInstanceState.getInt(SELECTED_INDEX, -1); in onRestoreInstanceState()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 304 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 …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageGallery.java | 98 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/ |
D | SmsDefaultDialog.java | 156 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()
|
D | AppListPreference.java | 55 private int mSelectedIndex = 0; field in AppListPreference.AppArrayAdapter 60 mSelectedIndex = selectedIndex; in AppArrayAdapter() 70 if (position == mSelectedIndex) { in getView()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/resolver/ |
D | ResolverActivity.java | 75 private int mSelectedIndex = -1; field in ResolverActivity 252 startSelected(mSelectedIndex, true); in onActionClicked() 254 startSelected(mSelectedIndex, false); in onActionClicked() 266 mSelectedIndex = index; in onActionClicked()
|