Home
last modified time | relevance | path

Searched refs:itemId (Results 1 – 25 of 60) sorted by relevance

123

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/
DMediaPlayerList.java279 String itemId = wrapper.getRootId(); in getPlayerRoot() local
281 wrapper.getFolderItems(itemId, (status, id, results) -> { in getPlayerRoot()
410 String itemId = mediaId.substring(2); in playFolderItem() local
411 if (TextUtils.isEmpty(itemId)) { in playFolderItem()
412 itemId = wrapper.getRootId(); in playFolderItem()
413 if (TextUtils.isEmpty(itemId)) { in playFolderItem()
420 wrapper.playItem(itemId); in playFolderItem()
448 String itemId = mediaId; in getFolderItems() local
450 itemId = wrapper.getRootId(); in getFolderItems()
453 wrapper.getFolderItems(itemId, (status, id, results) -> { in getFolderItems()
[all …]
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DEditTextVariations.java206 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/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorCrop.java117 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/apps/DeskClock/src/com/android/deskclock/
DItemAdapter.kt148 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/
DOldSpeedDialFragment.java248 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/apps/Launcher3/src/com/android/launcher3/model/
DModelWriter.java133 private void checkItemInfoLocked(int itemId, ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() argument
134 ItemInfo modelItem = mBgDataModel.itemsIdMap.get(itemId); in checkItemInfoLocked()
454 final int itemId = item.id; in run() local
455 final Uri uri = Favorites.getContentUri(itemId); in run()
459 updateItemArrays(item, itemId); in run()
477 protected void updateItemArrays(ItemInfo item, int itemId) { in updateItemArrays() argument
480 checkItemInfoLocked(itemId, item, mStackTrace); in updateItemArrays()
497 ItemInfo modelItem = mBgDataModel.itemsIdMap.get(itemId); in updateItemArrays()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettingsFragment.java80 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/modules/Connectivity/nearby/service/java/com/android/server/nearby/fastpair/cache/
DFastPairCacheManager.java100 public DiscoveryItem getDiscoveryItem(String itemId) { in getDiscoveryItem() argument
101 return new DiscoveryItem(mContext, getStoredDiscoveryItem(itemId)); in getDiscoveryItem()
107 public Cache.StoredDiscoveryItem getStoredDiscoveryItem(String itemId) { in getStoredDiscoveryItem() argument
114 String[] selectionArgs = {itemId}; in getStoredDiscoveryItem()
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/
DEditInfoActivity.java95 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/apps/Launcher3/tests/src/com/android/launcher3/model/
DAbstractWorkspaceModelTest.kt104 var itemId = itemStartId in <lambda>() variable
116 info.id = itemId++ in <lambda>()
131 return itemId in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
DOptionsMenuManager.kt74 val itemId: Int = item.getItemId() in onOptionsItemSelected() constant
76 if (controller?.id == itemId && controller.onOptionsItemSelected(item)) { in onOptionsItemSelected()
/packages/apps/Dialer/java/com/android/incallui/
DManageConferenceActivity.java61 final int itemId = item.getItemId(); in onOptionsItemSelected() local
62 if (itemId == android.R.id.home) { in onOptionsItemSelected()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationViewAdapterTest.java832 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/TV/src/com/android/tv/menu/
DChannelsRowItem.java66 private ChannelsRowItem(long itemId, int layoutId) { in ChannelsRowItem() argument
67 mItemId = itemId; in ChannelsRowItem()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DPermissionUsageV2Fragment.java242 int itemId = item.getItemId(); in onOptionsItemSelected() local
243 switch (itemId) { in onOptionsItemSelected()
252 mShowSystem = itemId == MENU_SHOW_SYSTEM; in onOptionsItemSelected()
259 mShow7Days = is7DayToggleEnabled() && itemId == MENU_SHOW_7_DAYS_DATA; in onOptionsItemSelected()
DPermissionDetailsFragment.java269 int itemId = item.getItemId(); in onOptionsItemSelected() local
270 switch (itemId) { in onOptionsItemSelected()
276 mShowSystem = itemId == MENU_SHOW_SYSTEM; in onOptionsItemSelected()
283 mShow7Days = is7DayToggleEnabled() && itemId == MENU_SHOW_7_DAYS_DATA; in onOptionsItemSelected()
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java169 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()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSwipeHandlerV2.java238 Integer itemId = ObjectWrapper.unwrap(cookie);
239 if (itemId != null) {
240 launchCookieItemId = itemId;
/packages/services/Telephony/src/com/android/phone/
DGsmUmtsCallOptions.java57 final int itemId = item.getItemId(); in onOptionsItemSelected() local
58 if (itemId == android.R.id.home) { in onOptionsItemSelected()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DSpellCheckersSettings.java205 final int itemId = convertSubtypeIndexToDialogItemId(index); in showChooseLanguageDialog() local
206 items[itemId] = getSpellCheckerSubtypeLabel(currentSci, subtype); in showChooseLanguageDialog()
208 checkedItemId = itemId; in showChooseLanguageDialog()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDocsSelectionHelperTest.java162 public boolean select(String itemId) { in select() argument
167 public boolean deselect(String itemId) { in deselect() argument
/packages/services/Telecomm/src/com/android/server/telecom/
DRespondViaSmsSettings.java126 final int itemId = item.getItemId(); in onOptionsItemSelected() local
127 switch (itemId) { in onOptionsItemSelected()
/packages/apps/Dialer/java/com/android/dialer/rtt/
DRttTranscriptActivity.java108 final int itemId = item.getItemId(); in onOptionsItemSelected() local
109 if (itemId == android.R.id.home) { in onOptionsItemSelected()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DFramedTextButton.java61 public void setTextFrom(int itemId) { in setTextFrom() argument
62 switch (itemId) { in setTextFrom()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZoneInfoPicker.java107 private TimeZoneInfoItem(long itemId, TimeZoneInfo timeZoneInfo, Resources resources, in TimeZoneInfoItem() argument
109 mItemId = itemId; in TimeZoneInfoItem()

123