Home
last modified time | relevance | path

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

123

/packages/apps/DeskClock/src/com/android/deskclock/
DItemAdapter.java165 if (newItemHolder.itemId == oldItemHolder.itemId in setItems()
243 return hasStableIds() ? mItemHolders.get(position).itemId : NO_ID; in getItemId()
248 if (holder.itemId == id) { in findItemById()
309 public final long itemId; field in ItemAdapter.ItemHolder
322 public ItemHolder(T item, long itemId) { in ItemHolder() argument
324 this.itemId = itemId; in ItemHolder()
DAlarmClockFragment.java148 if (mExpandedAlarmId != holder.itemId) { in onCreateView()
155 mExpandedAlarmId = holder.itemId; in onCreateView()
162 } else if (mExpandedAlarmId == holder.itemId) { in onCreateView()
DAlarmClockFragment.kt125 if (mExpandedAlarmId != holder.itemId) { in onCreateView()
130 mExpandedAlarmId = holder.itemId in onCreateView()
137 } else if (mExpandedAlarmId == holder.itemId) { in onCreateView()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DEditTextVariations.java183 final int itemId = item.getItemId(); in onOptionsItemSelected() local
184 if (itemId == MENU_CHANGE_THEME) { in onOptionsItemSelected()
195 } else if (itemId == MENU_NAVIGATE_ON || itemId == MENU_NAVIGATE_OFF) { in onOptionsItemSelected()
196 saveNavigateMode(itemId == MENU_NAVIGATE_ON); in onOptionsItemSelected()
198 } else if (itemId == MENU_SOFTINPUT_VISIBLE || itemId == MENU_SOFTINPUT_HIDDEN) { in onOptionsItemSelected()
199 saveSoftInputMode(itemId == MENU_SOFTINPUT_VISIBLE); in onOptionsItemSelected()
201 } else if (itemId == MENU_DIRECT_REPLY) { in onOptionsItemSelected()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelWriter.java115 private void checkItemInfoLocked(int itemId, ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() argument
116 ItemInfo modelItem = mBgDataModel.itemsIdMap.get(itemId); in checkItemInfoLocked()
396 final int itemId = item.id; in run() local
397 final Uri uri = Favorites.getContentUri(itemId); in run()
401 updateItemArrays(item, itemId); in run()
419 protected void updateItemArrays(ItemInfo item, int itemId) { in updateItemArrays() argument
422 checkItemInfoLocked(itemId, item, mStackTrace); in updateItemArrays()
439 ItemInfo modelItem = mBgDataModel.itemsIdMap.get(itemId); in updateItemArrays()
/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/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/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/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/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java363 String itemId = mediaId.substring(2); in playFolderItem() local
370 mBrowsablePlayers.get(playerIndex).playItem(itemId); in playFolderItem()
408 String itemId = mediaId.substring(2); in getFolderItems() local
414 if (itemId.equals("")) { in getFolderItems()
417 itemId = wrapper.getRootId(); in getFolderItems()
420 wrapper.getFolderItems(itemId, (status, id, results) -> { in getFolderItems()
/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()
DOptionsMenuManager.java77 final int itemId = item.getItemId(); in onOptionsItemSelected() local
79 if (controller.getId() == itemId 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/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java157 int itemId = item.getItemId(); in onOptionsItemSelected() local
158 if (itemId == android.R.id.home) { in onOptionsItemSelected()
161 } else if (itemId == R.id.action_edit) { in onOptionsItemSelected()
/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/services/Telephony/src/com/android/phone/
DCdmaCallOptions.java72 final int itemId = item.getItemId(); in onOptionsItemSelected() local
73 if (itemId == android.R.id.home) { in onOptionsItemSelected()
DGsmUmtsCallOptions.java57 final int itemId = item.getItemId(); in onOptionsItemSelected() local
58 if (itemId == android.R.id.home) { in onOptionsItemSelected()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DSpellCheckersSettings.java208 final int itemId = convertSubtypeIndexToDialogItemId(index); in showChooseLanguageDialog() local
209 items[itemId] = getSpellCheckerSubtypeLabel(currentSci, subtype); in showChooseLanguageDialog()
211 checkedItemId = itemId; in showChooseLanguageDialog()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DSpellCheckersSettings.java208 final int itemId = convertSubtypeIndexToDialogItemId(index); in showChooseLanguageDialog() local
209 items[itemId] = getSpellCheckerSubtypeLabel(currentSci, subtype); in showChooseLanguageDialog()
211 checkedItemId = itemId; in showChooseLanguageDialog()
/packages/services/Telecomm/src/com/android/server/telecom/
DRespondViaSmsSettings.java120 final int itemId = item.getItemId(); in onOptionsItemSelected() local
121 switch (itemId) { in onOptionsItemSelected()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DBrowsedMediaItems.java97 ChildrenSubscription(String itemId) { in ChildrenSubscription() argument
98 mItemId = itemId; in ChildrenSubscription()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDocsSelectionHelperTest.java168 public boolean select(String itemId) { in select() argument
173 public boolean deselect(String itemId) { in deselect() argument
/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/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/Stk/src/com/android/stk/
DStkMenuActivity.java448 private void sendResponse(int resId, int itemId, boolean help) { in sendResponse() argument
449 CatLog.d(LOG_TAG, "sendResponse resID[" + resId + "] itemId[" + itemId + in sendResponse()
462 args.putInt(StkAppService.MENU_SELECTION, itemId); in sendResponse()

123