Home
last modified time | relevance | path

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

123

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java121 final int itemId = item.getItemId(); in onActionItemClicked() local
123 Analytics.getInstance().sendMenuItemEvent(Analytics.EVENT_CATEGORY_MENU_ITEM, itemId, in onActionItemClicked()
126 if (itemId == R.id.delete) { in onActionItemClicked()
129 } else if (itemId == R.id.discard_drafts) { in onActionItemClicked()
131 } else if (itemId == R.id.archive) { in onActionItemClicked()
134 } else if (itemId == R.id.remove_folder) { in onActionItemClicked()
138 } else if (itemId == R.id.mute) { in onActionItemClicked()
140 } else if (itemId == R.id.report_spam) { in onActionItemClicked()
143 } else if (itemId == R.id.mark_not_spam) { in onActionItemClicked()
148 } else if (itemId == R.id.report_phishing) { in onActionItemClicked()
[all …]
DEmlViewerActivity.java133 final int itemId = item.getItemId(); in onOptionsItemSelected() local
134 if (itemId == android.R.id.home) { in onOptionsItemSelected()
137 } else if (itemId == R.id.settings) { in onOptionsItemSelected()
139 } else if (itemId == R.id.help_info_menu_item) { in onOptionsItemSelected()
141 } else if (itemId == R.id.feedback_menu_item) { in onOptionsItemSelected()
/packages/apps/Dialer/src/com/android/dialer/list/
DPhoneFavoriteFragment.java445 final long itemId = mAdapter.getItemId(position); in saveOffsets() local
455 Log.d(TAG, "Saving itemId: " + itemId + " for listview child " + i + " Top: " in saveOffsets()
458 mItemIdTopMap.put(itemId, child.getTop()); in saveOffsets()
477 final long itemId = mContactTileAdapter.getAdjustedItemId(entry.id); in saveHorizontalOffsets() local
479 Log.d(TAG, "Saving itemId: " + itemId + " for tileview child " + i + " Left: " in saveHorizontalOffsets()
482 mItemIdTopMap.put(itemId, currentRowIndex); in saveHorizontalOffsets()
483 mItemIdLeftMap.put(itemId, child.getLeft()); in saveHorizontalOffsets()
500 final long itemId = mContactTileAdapter.getAdjustedItemId(entry.id); in performHorizontalAnimations() local
502 if (containsId(idsInPlace, itemId)) { in performHorizontalAnimations()
507 Integer startLeft = mItemIdLeftMap.get(itemId); in performHorizontalAnimations()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMailActionBarView.java468 final int itemId = menuItem.getItemId(); in reorderMenu() local
472 if (itemId == R.id.archive || itemId == R.id.remove_folder) { in reorderMenu()
474 } else if (itemId == R.id.delete || itemId == R.id.discard_drafts) { in reorderMenu()
483 final int itemId = menuItem.getItemId(); in reorderMenu() local
487 if (itemId == R.id.archive || itemId == R.id.remove_folder) { in reorderMenu()
511 } else if (itemId == R.id.delete || itemId == R.id.discard_drafts) { in reorderMenu()
521 } else if (itemId == R.id.change_folders) { in reorderMenu()
530 } else if (itemId == R.id.search) { in reorderMenu()
DAnimatedAdapter.java889 public void clearLeaveBehind(long itemId) { in clearLeaveBehind() argument
890 if (hasLeaveBehinds() && mLeaveBehindItems.containsKey(itemId)) { in clearLeaveBehind()
891 mLeaveBehindItems.remove(itemId); in clearLeaveBehind()
893 mFadeLeaveBehindItems.remove(itemId); in clearLeaveBehind()
897 if (mLastLeaveBehind == itemId) { in clearLeaveBehind()
DAbstractConversationViewFragment.java322 final int itemId = item.getItemId(); in onOptionsItemSelected() local
323 if (itemId == R.id.inside_conversation_unread) { in onOptionsItemSelected()
326 } else if (itemId == R.id.show_original) { in onOptionsItemSelected()
/packages/apps/UnifiedEmail/src/com/android/mail/photo/
DMailPhotoViewActivity.java193 final int itemId = item.getItemId(); in onOptionsItemSelected() local
194 if (itemId == android.R.id.home) { in onOptionsItemSelected()
198 } else if (itemId == R.id.menu_save) { // save the current photo in onOptionsItemSelected()
201 } else if (itemId == R.id.menu_save_all) { // save all of the photos in onOptionsItemSelected()
204 } else if (itemId == R.id.menu_share) { // share the current photo in onOptionsItemSelected()
207 } else if (itemId == R.id.menu_share_all) { // share all of the photos in onOptionsItemSelected()
210 } else if (itemId == R.id.menu_download_again) { // redownload the current photo 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/Exchange/src/com/android/exchange/eas/
DEasOutboxSync.java261 private SmartSendInfo(final String itemId, final String collectionId, in SmartSendInfo() argument
263 mItemId = itemId; in SmartSendInfo()
338 String itemId = null; in getSmartSendInfo() local
353 itemId = cols[0]; in getSmartSendInfo()
365 if (itemId != null && collectionId != null) { in getSmartSendInfo()
389 return new SmartSendInfo(itemId, collectionId, reply, requiredAtts); in getSmartSendInfo()
/packages/apps/Exchange/src/com/android/exchange/
DEasOutboxService.java235 OriginalMessageInfo(long refId, String itemId, String collectionId) { in OriginalMessageInfo() argument
237 mItemId = itemId; in OriginalMessageInfo()
264 String itemId = null; in getOriginalMessageInfo() local
279 itemId = cols[0]; in getOriginalMessageInfo()
291 if (itemId != null && collectionId != null){ in getOriginalMessageInfo()
292 return new OriginalMessageInfo(refId, itemId, collectionId); in getOriginalMessageInfo()
DCommandStatusException.java142 public CommandStatusException(int status, String itemId) { in CommandStatusException() argument
144 mItemId = itemId; in CommandStatusException()
/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/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java530 final long itemId, final ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() argument
531 ItemInfo modelItem = sBgItemsIdMap.get(itemId); in checkItemInfoLocked()
574 final long itemId = item.id; in checkItemInfo() local
578 checkItemInfoLocked(itemId, item, stackTrace); in checkItemInfo()
587 final long itemId = item.id; in updateItemInDatabaseHelper() local
588 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false); in updateItemInDatabaseHelper()
595 updateItemArrays(item, itemId, stackTrace); in updateItemInDatabaseHelper()
613 final long itemId = item.id; in updateItemsInDatabaseHelper()
614 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false); in updateItemsInDatabaseHelper()
618 updateItemArrays(item, itemId, stackTrace); in updateItemsInDatabaseHelper()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java879 long itemId = mAdapter.getItemId(position);
882 if (mAddedAlarm != null && itemId == mAddedAlarm.id) {
889 Integer startTop = mItemIdTopMap.get(itemId);
1710 long itemId = mAdapter.getItemId(position);
1711 mItemIdTopMap.put(itemId, child.getTop());
1748 long itemId = mAdapter.getItemId(position);
1749 mItemIdTopMap.put(itemId, child.getTop());
/packages/apps/VideoEditor/src/com/android/videoeditor/
DVideoEditorBaseActivity.java186 String itemId, int action, int progress) { in onVideoEditorGeneratePreviewProgress() argument
205 getMediaLayout().onGeneratePreviewMediaItemProgress(itemId, action, progress); in onVideoEditorGeneratePreviewProgress()
207 getMediaLayout().onGeneratePreviewTransitionProgress(itemId, action, progress); in onVideoEditorGeneratePreviewProgress()
209 getAudioTrackLayout().onGeneratePreviewProgress(itemId, action, progress); in onVideoEditorGeneratePreviewProgress()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java3270 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/
DLauncherModel.java271 final long itemId, final ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() argument
272 ItemInfo modelItem = sBgItemsIdMap.get(itemId); in checkItemInfoLocked()
315 final long itemId = item.id; in checkItemInfo() local
319 checkItemInfoLocked(itemId, item, stackTrace); in checkItemInfo()
328 final long itemId = item.id; in updateItemInDatabaseHelper() local
329 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false); in updateItemInDatabaseHelper()
339 checkItemInfoLocked(itemId, item, stackTrace); in updateItemInDatabaseHelper()
357 ItemInfo modelItem = sBgItemsIdMap.get(itemId); in updateItemInDatabaseHelper()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DActionModeHandler.java196 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()
DSelectionManager.java107 public boolean isItemSelected(Path itemId) { in isItemSelected() argument
108 return mInverseSelection ^ mClickedSet.contains(itemId); in isItemSelected()
/packages/services/Telephony/src/com/android/phone/
DGsmUmtsAdditionalCallOptions.java88 final int itemId = item.getItemId(); in onOptionsItemSelected() local
89 if (itemId == android.R.id.home) { // See ActionBar#setDisplayHomeAsUpEnabled() in onOptionsItemSelected()
DRespondViaSmsManager.java168 final int itemId = item.getItemId(); in onOptionsItemSelected() local
169 switch (itemId) { in onOptionsItemSelected()
DGsmUmtsCallForwardOptions.java174 final int itemId = item.getItemId(); in onOptionsItemSelected() local
175 if (itemId == android.R.id.home) { // See ActionBar#setDisplayHomeAsUpEnabled() 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/Stk/src/com/android/stk/
DStkMenuActivity.java324 private void sendResponse(int resId, int itemId, boolean help) { in sendResponse() argument
328 args.putInt(StkAppService.MENU_SELECTION, itemId); in sendResponse()

123