Home
last modified time | relevance | path

Searched refs:itemId (Results 1 – 25 of 63) 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/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/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()
/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()
DAnimatedAdapter.java908 public void clearLeaveBehind(long itemId) { in clearLeaveBehind() argument
909 if (hasLeaveBehinds() && mLeaveBehindItems.containsKey(itemId)) { in clearLeaveBehind()
910 mLeaveBehindItems.remove(itemId); in clearLeaveBehind()
912 mFadeLeaveBehindItems.remove(itemId); in clearLeaveBehind()
916 if (mLastLeaveBehind == itemId) { in clearLeaveBehind()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DOldSpeedDialFragment.java283 final long itemId = mContactTileAdapter.getItemId(position); in saveOffsets() local
287 "Saving itemId: " + itemId + " for listview child " + i + " Top: " + child.getTop()); in saveOffsets()
289 mItemIdTopMap.put(itemId, child.getTop()); in saveOffsets()
290 mItemIdLeftMap.put(itemId, child.getLeft()); in saveOffsets()
327 final long itemId = mContactTileAdapter.getItemId(position); in animateGridView()
329 if (containsId(idsInPlace, itemId)) { in animateGridView()
333 Integer startTop = mItemIdTopMap.get(itemId); in animateGridView()
334 Integer startLeft = mItemIdLeftMap.get(itemId); in animateGridView()
358 + itemId in animateGridView()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelWriter.java92 private void checkItemInfoLocked(long itemId, ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() argument
93 ItemInfo modelItem = mBgDataModel.itemsIdMap.get(itemId); in checkItemInfoLocked()
310 final long itemId = item.id; in run() local
311 final Uri uri = Favorites.getContentUri(itemId); in run()
315 updateItemArrays(item, itemId); in run()
332 protected void updateItemArrays(ItemInfo item, long itemId) { in updateItemArrays() argument
335 checkItemInfoLocked(itemId, item, mStackTrace); in updateItemArrays()
352 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/Calendar/src/com/android/calendar/
DSearchActivity.java278 final int itemId = item.getItemId(); in onOptionsItemSelected() local
279 if (itemId == R.id.action_today) { in onOptionsItemSelected()
284 } else if (itemId == R.id.action_search) { in onOptionsItemSelected()
286 } else if (itemId == R.id.action_settings) { in onOptionsItemSelected()
289 } else if (itemId == android.R.id.home) { in onOptionsItemSelected()
DAllInOneActivity.java760 final int itemId = item.getItemId(); in onOptionsItemSelected() local
761 if (itemId == R.id.action_refresh) { in onOptionsItemSelected()
764 } else if (itemId == R.id.action_today) { in onOptionsItemSelected()
769 } else if (itemId == R.id.action_create_event) { in onOptionsItemSelected()
781 } else if (itemId == R.id.action_select_visible_calendars) { in onOptionsItemSelected()
785 } else if (itemId == R.id.action_settings) { in onOptionsItemSelected()
788 } else if (itemId == R.id.action_hide_controls) { in onOptionsItemSelected()
805 } else if (itemId == R.id.action_search) { in onOptionsItemSelected()
1277 public boolean onNavigationItemSelected(int itemPosition, long itemId) { in onNavigationItemSelected() argument
/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/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/Settings/src/com/android/settings/inputmethod/
DSpellCheckersSettings.java199 final int itemId = convertSubtypeIndexToDialogItemId(index); in showChooseLanguageDialog() local
200 items[itemId] = getSpellCheckerSubtypeLabel(currentSci, subtype); in showChooseLanguageDialog()
202 checkedItemId = itemId; in showChooseLanguageDialog()
/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/TV/src/com/android/tv/menu/
DChannelsRowItem.java60 private ChannelsRowItem(long itemId, int layoutId) { in ChannelsRowItem() argument
61 mItemId = itemId; in ChannelsRowItem()
/packages/services/Telephony/src/com/android/phone/
DGsmUmtsCallOptions.java55 final int itemId = item.getItemId(); in onOptionsItemSelected() local
56 if (itemId == android.R.id.home) { in onOptionsItemSelected()
DCdmaCallOptions.java70 final int itemId = item.getItemId(); in onOptionsItemSelected() local
71 if (itemId == android.R.id.home) { in onOptionsItemSelected()
DGsmUmtsAdditionalCallOptions.java95 final int itemId = item.getItemId(); in onOptionsItemSelected() local
96 if (itemId == android.R.id.home) { // See ActionBar#setDisplayHomeAsUpEnabled() in onOptionsItemSelected()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java206 final long itemId, final ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() argument
207 ItemInfo modelItem = sBgDataModel.itemsIdMap.get(itemId); in checkItemInfoLocked()
245 final long itemId = item.id; in checkItemInfo() local
249 checkItemInfoLocked(itemId, item, stackTrace); in checkItemInfo()
/packages/services/Telecomm/src/com/android/server/telecom/
DRespondViaSmsSettings.java116 final int itemId = item.getItemId(); in onOptionsItemSelected() local
117 switch (itemId) { in onOptionsItemSelected()
/packages/apps/Stk/src/com/android/stk/
DStkMenuActivity.java490 private void sendResponse(int resId, int itemId, boolean help) { in sendResponse() argument
491 CatLog.d(LOG_TAG, "sendResponse resID[" + resId + "] itemId[" + itemId + in sendResponse()
498 args.putInt(StkAppService.MENU_SELECTION, itemId); in sendResponse()

123