/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/menu/ |
D | MenuUtils.kt | 77 @StringRes itemId: Int, in modifySwitch() 79 ): Menu = modifyMenu(context, oldMenu = this, itemId) { in modifySwitch() 100 itemId: Int, in modifyDropDown() 102 ): Menu = modifyMenu(context, oldMenu = this, itemId) { in modifyDropDown() 128 @StringRes itemId: Int, in modifyMenu() 131 val newRoot = modifyNode(oldMenu.rootNode, itemId, block) in modifyMenu() 152 @StringRes itemId: Int, in modifyNode() 155 val newSubmenu: List<MenuItem> = if (root.subMenu.any { it.displayTextRes == itemId }) { in modifyNode() 156 root.subMenu.map { if (it.displayTextRes == itemId) block(it) else it } in modifyNode() 160 modifyNode(it, itemId, block) in modifyNode()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | EditorCrop.java | 117 private void changeCropAspect(int itemId) { in changeCropAspect() argument 118 AspectInfo info = sAspects.get(itemId); in changeCropAspect() 120 throw new IllegalArgumentException("Invalid resource ID: " + itemId); in changeCropAspect() 122 if (itemId == R.id.crop_menu_original) { in changeCropAspect() 124 } else if (itemId == R.id.crop_menu_none) { in changeCropAspect()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/ |
D | MediaPlayerList.java | 350 String itemId = wrapper.getRootId(); in getPlayerRoot() local 353 itemId, in getPlayerRoot() 534 String itemId = mediaId.substring(2); in playFolderItem() local 535 if (TextUtils.isEmpty(itemId)) { in playFolderItem() 536 itemId = wrapper.getRootId(); in playFolderItem() 537 if (TextUtils.isEmpty(itemId)) { in playFolderItem() 546 wrapper.playItem(itemId); in playFolderItem() 590 String itemId = mediaId; in getFolderItems() local 592 itemId = wrapper.getRootId(); in getFolderItems() 596 itemId, in getFolderItems() [all …]
|
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/ |
D | EditTextVariations.java | 206 final int itemId = item.getItemId(); in onOptionsItemSelected() local 207 if (itemId == MENU_CHANGE_THEME) { in onOptionsItemSelected() 218 } else if (itemId == MENU_NAVIGATE_ON || itemId == MENU_NAVIGATE_OFF) { in onOptionsItemSelected() 219 saveNavigateMode(itemId == MENU_NAVIGATE_ON); in onOptionsItemSelected() 221 } else if (itemId == MENU_SOFTINPUT_VISIBLE || itemId == MENU_SOFTINPUT_HIDDEN) { in onOptionsItemSelected() 222 saveSoftInputMode(itemId == MENU_SOFTINPUT_VISIBLE); in onOptionsItemSelected() 224 } else if (itemId == MENU_DIRECT_REPLY) { in onOptionsItemSelected() 234 } else if (itemId == MENU_TOGGLE_IME_FOCUSABLE_OVERLAY) { in onOptionsItemSelected()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ItemAdapter.kt | 148 if (newItemHolder.itemId == oldItemHolder.itemId && in setItems() 223 return if (hasStableIds()) items!![position].itemId else NO_ID in getItemCount() 228 if (holder.itemId == id) { in findItemById() 278 val itemId: Long constant in com.android.deskclock.ItemAdapter.ItemHolder
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | OldSpeedDialFragment.java | 248 final long itemId = contactTileAdapter.getItemId(position); in saveOffsets() local 249 itemIdTopMap.put(itemId, child.getTop()); in saveOffsets() 250 itemIdLeftMap.put(itemId, child.getLeft()); in saveOffsets() 287 final long itemId = contactTileAdapter.getItemId(position); in animateGridView() 289 if (containsId(idsInPlace, itemId)) { in animateGridView() 293 Integer startTop = itemIdTopMap.get(itemId); in animateGridView() 294 Integer startLeft = itemIdLeftMap.get(itemId); in animateGridView()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SettingsFragment.java | 80 final int itemId = item.getItemId(); in onOptionsItemSelected() local 81 if (itemId == MENU_HELP_AND_FEEDBACK) { in onOptionsItemSelected() 85 if (itemId == MENU_ABOUT) { in onOptionsItemSelected()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | ModelWriter.java | 120 private void checkItemInfoLocked(int itemId, ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() argument 121 ItemInfo modelItem = mBgDataModel.itemsIdMap.get(itemId); in checkItemInfoLocked() 434 final int itemId = item.id; in runImpl() local 436 TABLE_NAME, mValues.get(i), itemIdMatch(itemId), null); in runImpl() 437 updateItemArrays(item, itemId); in runImpl() 454 protected void updateItemArrays(ItemInfo item, int itemId) { in updateItemArrays() argument 457 checkItemInfoLocked(itemId, item, mStackTrace); in updateItemArrays() 474 ItemInfo modelItem = mBgDataModel.itemsIdMap.get(itemId); in updateItemArrays()
|
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/ |
D | OptionsMenuManager.kt | 74 val itemId: Int = item.getItemId() in onOptionsItemSelected() constant 76 if (controller?.id == itemId && controller.onOptionsItemSelected(item)) { in onOptionsItemSelected()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/ |
D | EditInfoActivity.java | 95 int itemId = item.getItemId(); in onOptionsItemSelected() local 96 if (itemId == android.R.id.home) { in onOptionsItemSelected() 101 } else if (itemId == R.id.action_clear_all) { in onOptionsItemSelected()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/plugins/plugintoggle/ |
D | PluginToggleReducer.kt | 28 @StringRes override val itemId: Int, constant in com.android.car.customization.tool.features.plugins.plugintoggle.ToggleCarUiLibPluginAction 44 return menu.modifySwitch(context, action.itemId, action.newValue) in clone()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ManageConferenceActivity.java | 61 final int itemId = item.getItemId(); in onOptionsItemSelected() local 62 if (itemId == android.R.id.home) { in onOptionsItemSelected()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/alldata/ |
D | AllDataFragment.kt | 70 when (menuItem.itemId) { in <lambda>() 84 when (menuItem.itemId) { in <lambda>() 103 when (menuItem.itemId) { in <lambda>() 114 when (menuItem.itemId) { in <lambda>()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/cutouts/ |
D | DisplayCutoutsReducer.kt | 29 @StringRes val itemId: Int, in <lambda>() constant in com.android.car.customization.tool.features.rro.systemui.cutouts.SelectDisplayCutoutPresetAction 58 return menu.modifyDropDown(context, action.itemId, action) in <lambda>()
|
D | DisplayCutoutsItem.kt | 56 itemId = textRes, in <lambda>() 72 itemId = textRes, in <lambda>()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/oemtokens/oemtokenstoggle/ |
D | OemTokensToggleReducer.kt | 30 @StringRes override val itemId: Int, constant in com.android.car.customization.tool.features.oemtokens.oemtokenstoggle.ToggleOemTokensAction 47 return menu.modifySwitch(context, action.itemId, action.newValue) in clone()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ChannelsRowItem.java | 66 private ChannelsRowItem(long itemId, int layoutId) { in ChannelsRowItem() argument 67 mItemId = itemId; in ChannelsRowItem()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/systembarpresets/ |
D | SystemBarPresetsReducer.kt | 29 @StringRes val itemId: Int, in <lambda>() constant in com.android.car.customization.tool.features.rro.systemui.systembarpresets.SelectSystemBarPresetAction 59 return menu.modifyDropDown(context, action.itemId, action) in <lambda>()
|
D | SystemBarPresetsItem.kt | 51 itemId = textRes, in <lambda>() 67 itemId = textRes, in <lambda>()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/themepresets/ |
D | ThemePresetsReducer.kt | 30 @StringRes val itemId: Int, in <lambda>() constant in com.android.car.customization.tool.features.rro.systemui.themepresets.SelectThemePresetAction 53 return menu.modifyDropDown(context, action.itemId, action) in <lambda>()
|
D | ThemePresetsItem.kt | 71 itemId = textRes, in rroThemePresetsDropDownItem() 87 itemId = textRes, in rroThemePresetsDropDownItem()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DeletionHelperActivity.java | 152 int itemId = item.getItemId(); in onOptionsItemSelected() local 153 if (itemId == R.id.no_threshold) { in onOptionsItemSelected() 155 } else if (itemId == R.id.default_threshold) { in onOptionsItemSelected()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | CarNotificationViewAdapterTest.java | 832 long itemId = mCarNotificationViewAdapter.getItemId(2); in getItemId_shouldReturnHashCode() local 834 assertThat(itemId).isEqualTo(notificationGroup.getGroupKey().hashCode()); in getItemId_shouldReturnHashCode() 851 long itemId = mCarNotificationViewAdapter.getItemId(2); in getItemId_showRecentAndOldHeaders_shouldReturnHashCode() local 853 assertThat(itemId).isEqualTo((notificationGroup.getGroupKey() + notificationGroup.isSeen()) in getItemId_showRecentAndOldHeaders_shouldReturnHashCode() 869 long itemId = mCarNotificationViewAdapter.getItemId(2); in getItemId_showRecentAndOldHeaders_shouldReturnSingleNotificationHashCode() local 871 assertThat(itemId).isEqualTo((notificationGroup.getSingleNotification().getKey() in getItemId_showRecentAndOldHeaders_shouldReturnSingleNotificationHashCode() 886 long itemId = mCarNotificationViewAdapter.getItemId(2); in getItemId_shouldReturnSingleNotificationHashCode() local 888 assertThat(itemId).isEqualTo(notificationGroup.getSingleNotification().getKey().hashCode()); in getItemId_shouldReturnSingleNotificationHashCode()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DocsSelectionHelperTest.java | 162 public boolean select(String itemId) { in select() argument 167 public boolean deselect(String itemId) { in deselect() argument
|
/packages/apps/EmergencyInfo/src/com/android/emergency/view/ |
D | ViewInfoActivity.java | 169 int itemId = item.getItemId(); in onOptionsItemSelected() local 170 if (itemId == android.R.id.home) { in onOptionsItemSelected() 173 } else if (itemId == R.id.action_edit) { in onOptionsItemSelected()
|