Home
last modified time | relevance | path

Searched refs:selectedItem (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java261 public void onItemSelected(ModeSelectorItem selectedItem) { in onItemSelected() argument
494 public void onItemSelected(ModeSelectorItem selectedItem) { in onItemSelected() argument
495 mCurrentStateManager.setCurrentState(new SelectedState(selectedItem)); in onItemSelected()
628 public void onItemSelected(ModeSelectorItem selectedItem) { in onItemSelected() argument
630 mCurrentStateManager.setCurrentState(new SelectedState(selectedItem)); in onItemSelected()
855 public SelectedState(ModeSelectorItem selectedItem) { in SelectedState() argument
856 final int modeId = selectedItem.getModeId(); in SelectedState()
869 selectedItem.getIconCenterLocationInWindow(location); in SelectedState()
879 effect.setModeSpecificColor(selectedItem.getHighlightColor()); in SelectedState()
887 effect.startFadeoutAnimation(null, selectedItem, iconX, iconY, modeId); in SelectedState()
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DCycleAdapter.java143 final CycleAdapter.CycleItem selectedItem = getItem(position); in updateCycleList() local
144 if (!Objects.equals(selectedItem, previousItem)) { in updateCycleList()
174 final CycleAdapter.CycleItem selectedItem = getItem(position); in updateCycleList() local
175 if (!Objects.equals(selectedItem, previousItem)) { in updateCycleList()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/utils/
DViewUtilsTest.java221 View selectedItem = mList5.getLayoutManager().findViewByPosition(1); in testFindImplicitDefaultFocusView_selectedItem_inFocusArea()
222 selectedItem.setSelected(true); in testFindImplicitDefaultFocusView_selectedItem_inFocusArea()
225 assertThat(implicitDefaultFocus).isEqualTo(selectedItem); in testFindImplicitDefaultFocusView_selectedItem_inFocusArea()
319 View selectedItem = mList5.getLayoutManager().findViewByPosition(1); in testIsImplicitDefaultFocusView_selectedItem()
320 selectedItem.setSelected(true); in testIsImplicitDefaultFocusView_selectedItem()
321 assertThat(ViewUtils.isImplicitDefaultFocusView(selectedItem)).isTrue(); in testIsImplicitDefaultFocusView_selectedItem()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java471 int selectedItem = -1; in displayCertChooserDialog() local
480 selectedItem = adapterPosition + 1; in displayCertChooserDialog()
484 selectedItem = 1; in displayCertChooserDialog()
506 builder.setSingleChoiceItems(adapter, selectedItem, null); in displayCertChooserDialog()
542 if (selectedItem == -1) { in displayCertChooserDialog()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/utils/
DViewUtils.java572 View selectedItem = findFirstSelectedFocusableDescendant(rotaryContainer); in findImplicitDefaultFocusView() local
574 return selectedItem != null in findImplicitDefaultFocusView()
575 ? selectedItem in findImplicitDefaultFocusView()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController2.java1678 String selectedItem = parent.getItemAtPosition(position).toString();
1679 if (selectedItem.equals(mInstallCertsString)) {