Home
last modified time | relevance | path

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

123

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java123 final int itemId = item.getItemId(); in onActionItemClicked() local
125 Analytics.getInstance().sendMenuItemEvent(Analytics.EVENT_CATEGORY_MENU_ITEM, itemId, in onActionItemClicked()
129 if (itemId == R.id.delete) { in onActionItemClicked()
132 } else if (itemId == R.id.discard_drafts) { in onActionItemClicked()
135 } else if (itemId == R.id.discard_outbox) { in onActionItemClicked()
138 } else if (itemId == R.id.archive) { in onActionItemClicked()
141 } else if (itemId == R.id.remove_folder) { in onActionItemClicked()
145 } else if (itemId == R.id.mute) { in onActionItemClicked()
148 } else if (itemId == R.id.report_spam) { in onActionItemClicked()
151 } else if (itemId == R.id.mark_not_spam) { in onActionItemClicked()
[all …]
/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()
/packages/apps/UnifiedEmail/src/com/android/mail/photo/
DMailPhotoViewController.java136 final int itemId = item.getItemId(); in onOptionsItemSelected() local
138 Analytics.getInstance().sendMenuItemEvent(Analytics.EVENT_CATEGORY_MENU_ITEM, itemId, in onOptionsItemSelected()
141 if (itemId == android.R.id.home) { in onOptionsItemSelected()
144 } else if (itemId == R.id.menu_save) { // save the current photo in onOptionsItemSelected()
146 } else if (itemId == R.id.menu_save_all) { // save all of the photos in onOptionsItemSelected()
148 } else if (itemId == R.id.menu_share) { // share the current photo in onOptionsItemSelected()
150 } else if (itemId == R.id.menu_share_all) { // share all of the photos in onOptionsItemSelected()
152 } else if (itemId == R.id.menu_print) { // print the current photo in onOptionsItemSelected()
154 } else if (itemId == R.id.menu_download_again) { // redownload the current photo in onOptionsItemSelected()
156 } else if (itemId == R.id.attachment_extra_option1) { in onOptionsItemSelected()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DHelpFragment.java103 final int itemId = item.getItemId(); in onOptionsItemSelected() local
104 if (itemId == android.R.id.home) { in onOptionsItemSelected()
110 } else if (itemId == R.id.view_app_url) { in onOptionsItemSelected()
113 } else if (itemId == R.id.print_dialog) { in onOptionsItemSelected()
116 } else if (itemId == R.id.copyright_information) { in onOptionsItemSelected()
119 } else if (itemId == R.id.open_source_licenses) { in onOptionsItemSelected()
122 } else if (itemId == R.id.privacy_policy) { in onOptionsItemSelected()
DAbstractConversationViewFragment.java375 final int itemId = item.getItemId(); in onOptionsItemSelected() local
376 if (itemId == R.id.inside_conversation_unread || itemId == R.id.toggle_read_unread) { in onOptionsItemSelected()
378 } else if (itemId == R.id.read) { in onOptionsItemSelected()
381 } else if (itemId == R.id.show_original) { in onOptionsItemSelected()
383 } else if (itemId == R.id.print_all) { in onOptionsItemSelected()
385 } else if (itemId == R.id.reply) { in onOptionsItemSelected()
387 } else if (itemId == R.id.reply_all) { in onOptionsItemSelected()
DAccountFeedbackActivity.java111 final int itemId = item.getItemId(); in onOptionsItemSelected() local
112 if (itemId == android.R.id.home) { in onOptionsItemSelected()
114 } else if (itemId == R.id.settings) { in onOptionsItemSelected()
116 } else if (itemId == R.id.help_info_menu_item) { in onOptionsItemSelected()
/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.java113 private void checkItemInfoLocked(int itemId, ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() argument
114 ItemInfo modelItem = mBgDataModel.itemsIdMap.get(itemId); in checkItemInfoLocked()
391 final int itemId = item.id; in run() local
392 final Uri uri = Favorites.getContentUri(itemId); in run()
396 updateItemArrays(item, itemId); in run()
414 protected void updateItemArrays(ItemInfo item, int itemId) { in updateItemArrays() argument
417 checkItemInfoLocked(itemId, item, mStackTrace); in updateItemArrays()
434 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/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DBrowsedMediaItems.java65 String itemId = mParentId != null ? mParentId : rootNode; in onActive() local
67 mSubscription = new ChildrenSubscription(itemId); in onActive()
101 ChildrenSubscription(String itemId) { in ChildrenSubscription() argument
102 mItemId = itemId; in ChildrenSubscription()
/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/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java330 String itemId = mediaId.substring(2); in playFolderItem() local
337 mBrowsablePlayers.get(playerIndex).playItem(itemId); in playFolderItem()
375 String itemId = mediaId.substring(2); in getFolderItems() local
381 if (itemId.equals("")) { in getFolderItems()
384 itemId = wrapper.getRootId(); in getFolderItems()
387 wrapper.getFolderItems(itemId, (status, id, results) -> { in getFolderItems()
/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/UnifiedEmail/src/com/android/mail/ui/settings/
DGeneralPrefsFragment.java99 final int itemId = item.getItemId(); in onOptionsItemSelected() local
100 if (itemId == R.id.clear_search_history_menu_item) { in onOptionsItemSelected()
103 } else if (itemId == R.id.clear_picture_approvals_menu_item) { in onOptionsItemSelected()
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
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/
DNetworkSelectSettingActivity.java64 final int itemId = item.getItemId(); in onOptionsItemSelected() local
65 if (itemId == android.R.id.home) { in onOptionsItemSelected()
DCdmaCallOptions.java64 final int itemId = item.getItemId(); in onOptionsItemSelected() local
65 if (itemId == android.R.id.home) { in onOptionsItemSelected()
DGsmUmtsCallOptions.java56 final int itemId = item.getItemId(); in onOptionsItemSelected() local
57 if (itemId == android.R.id.home) { in onOptionsItemSelected()
/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/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/services/Telecomm/src/com/android/server/telecom/
DRespondViaSmsSettings.java120 final int itemId = item.getItemId(); in onOptionsItemSelected() local
121 switch (itemId) { in onOptionsItemSelected()

123