/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | SelectedConversationsActionMenu.java | 123 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/ |
D | MailPhotoViewController.java | 136 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/Dialer/src/com/android/dialer/list/ |
D | SpeedDialFragment.java | 321 final long itemId = mContactTileAdapter.getItemId(position); in saveOffsets() local 323 Log.d(TAG, "Saving itemId: " + itemId + " for listview child " + i + " Top: " in saveOffsets() 326 mItemIdTopMap.put(itemId, child.getTop()); in saveOffsets() 327 mItemIdLeftMap.put(itemId, child.getLeft()); in saveOffsets() 363 final long itemId = mContactTileAdapter.getItemId(position); in animateGridView() 365 if (containsId(idsInPlace, itemId)) { in animateGridView() 370 Integer startTop = mItemIdTopMap.get(itemId); in animateGridView() 371 Integer startLeft = mItemIdLeftMap.get(itemId); in animateGridView() 394 Log.d(TAG, "Found itemId: " + itemId + " for listview child " + i + in animateGridView()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | HelpFragment.java | 103 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()
|
D | AbstractConversationViewFragment.java | 375 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()
|
D | AccountFeedbackActivity.java | 111 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()
|
D | AnimatedAdapter.java | 908 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/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiNetworksBrowseInfo.java | 136 Integer itemId = getItemId(network, security); in initAvailableNetworksBrowseItems() local 139 Log.d(TAG, "Network " + itemId + " has SSID=" + network.SSID + in initAvailableNetworksBrowseItems() 145 row.add(new MenuItem.Builder().id(itemId).title(network.SSID) in initAvailableNetworksBrowseItems() 160 Integer itemId = mIdToSsidMap.get(key); in getItemId() local 161 if (itemId == null) { in getItemId() 162 itemId = generateNextItemId(); in getItemId() 163 mIdToSsidMap.put(key, itemId); in getItemId() 165 return itemId; in getItemId()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | AppsBrowseInfo.java | 117 Integer itemId = mAppItemIdList.get(packageName); in updateAppList() local 118 if (itemId == null) { in updateAppList() 119 itemId = mNextItemId++; in updateAppList() 120 mAppItemIdList.put(packageName, itemId); in updateAppList() 124 .id(itemId) in updateAppList()
|
/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/apps/Exchange/src/com/android/exchange/eas/ |
D | EasOutboxSync.java | 281 private SmartSendInfo(final String itemId, final String collectionId, in SmartSendInfo() argument 283 mItemId = itemId; in SmartSendInfo() 360 String itemId = null; in getSmartSendInfo() local 373 itemId = colsMailboxKey[0]; in getSmartSendInfo() 385 if (itemId != null && collectionId != null) { in getSmartSendInfo() 409 return new SmartSendInfo(itemId, collectionId, reply, requiredAtts); in getSmartSendInfo()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeListView.java | 1558 private void scroll(int itemId, float deltaX, float deltaY) { in scroll() argument 1567 if (itemId != NO_ITEM_SELECTED) { in scroll() 1568 longestWidth = mModeSelectorItems[itemId].getVisibleWidth(); in scroll() 1589 private int calculateVisibleWidthForItem(int itemId, int longestWidth) { in calculateVisibleWidthForItem() argument 1590 if (itemId == mFocusItem || mFocusItem == NO_ITEM_SELECTED) { in calculateVisibleWidthForItem() 1594 int delay = Math.abs(itemId - mFocusItem) * DELAY_MS; in calculateVisibleWidthForItem() 1596 mModeSelectorItems[itemId].getVisibleWidth()); in calculateVisibleWidthForItem() 1757 int itemId = Math.max(0, mFocusItem); 1761 } else if (mModeSelectorItems[itemId].getVisibleWidth() 1762 < mModeSelectorItems[itemId].getMaxVisibleWidth() * SNAP_BACK_THRESHOLD_RATIO) {
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | SearchActivity.java | 278 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()
|
D | AllInOneActivity.java | 760 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/ |
D | SettingsFragment.java | 82 final int itemId = item.getItemId(); in onOptionsItemSelected() local 83 if (itemId == MENU_HELP_AND_FEEDBACK) { in onOptionsItemSelected() 87 if (itemId == MENU_ABOUT) { in onOptionsItemSelected()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
D | GeneralPrefsFragment.java | 99 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/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 575 final long itemId, final ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() argument 576 ItemInfo modelItem = sBgItemsIdMap.get(itemId); in checkItemInfoLocked() 619 final long itemId = item.id; in checkItemInfo() local 623 checkItemInfoLocked(itemId, item, stackTrace); in checkItemInfo() 632 final long itemId = item.id; in updateItemInDatabaseHelper() local 633 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false); in updateItemInDatabaseHelper() 640 updateItemArrays(item, itemId, stackTrace); in updateItemInDatabaseHelper() 658 final long itemId = item.id; in updateItemsInDatabaseHelper() 659 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false); in updateItemsInDatabaseHelper() 663 updateItemArrays(item, itemId, stackTrace); in updateItemsInDatabaseHelper() [all …]
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | SpellCheckersSettings.java | 176 final int itemId = convertSubtypeIndexToDialogItemId(index); in showChooseLanguageDialog() local 177 items[itemId] = getSpellCheckerSubtypeLabel(currentSci, subtype); in showChooseLanguageDialog() 179 checkedItemId = itemId; in showChooseLanguageDialog()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
D | StaggeredGridView.java | 3270 long itemId = -1; 3285 itemId = mAdapter.getItemId(originalPosition + i); 3286 if (itemId != -1 && itemId == scrollState.getItemId()) { 3293 itemId = mAdapter.getItemId(originalPosition - i); 3294 if (itemId != -1 && itemId == scrollState.getItemId()) { 4006 public ScrollState(long itemId, int adapterPosition, int offset) { 4007 mItemId = itemId;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherModel.java | 281 final long itemId, final ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() argument 282 ItemInfo modelItem = sBgItemsIdMap.get(itemId); in checkItemInfoLocked() 325 final long itemId = item.id; in checkItemInfo() local 329 checkItemInfoLocked(itemId, item, stackTrace); in checkItemInfo() 338 final long itemId = item.id; in updateItemInDatabaseHelper() local 339 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false); in updateItemInDatabaseHelper() 349 checkItemInfoLocked(itemId, item, stackTrace); in updateItemInDatabaseHelper() 367 ItemInfo modelItem = sBgItemsIdMap.get(itemId); in updateItemInDatabaseHelper()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkMenuActivity.java | 480 private void sendResponse(int resId, int itemId, boolean help) { in sendResponse() argument 481 CatLog.d(LOG_TAG, "sendResponse resID[" + resId + "] itemId[" + itemId + in sendResponse() 488 args.putInt(StkAppService.MENU_SELECTION, itemId); in sendResponse()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | ActionModeHandler.java | 196 public boolean onPopupItemClick(int itemId) { in onPopupItemClick() argument 200 if (itemId == R.id.action_select_all) { in onPopupItemClick() 202 mMenuExecutor.onMenuClicked(itemId, null, false, true); in onPopupItemClick()
|
/packages/apps/Exchange/src/com/android/exchange/ |
D | CommandStatusException.java | 142 public CommandStatusException(int status, String itemId) { in CommandStatusException() argument 144 mItemId = itemId; in CommandStatusException()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RespondViaSmsSettings.java | 120 final int itemId = item.getItemId(); in onOptionsItemSelected() local 121 switch (itemId) { in onOptionsItemSelected()
|
/packages/services/Telephony/src/com/android/phone/ |
D | GsmUmtsAdditionalCallOptions.java | 96 final int itemId = item.getItemId(); in onOptionsItemSelected() local 97 if (itemId == android.R.id.home) { // See ActionBar#setDisplayHomeAsUpEnabled() in onOptionsItemSelected()
|