Home
last modified time | relevance | path

Searched refs:findItem (Results 1 – 25 of 95) sorted by relevance

1234

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java169 markConversationsRead(mActionMode.getMenu().findItem(R.id.read).isVisible()); in onActionItemClicked()
399 final MenuItem star = menu.findItem(R.id.star); in onPrepareActionMode()
401 final MenuItem unstar = menu.findItem(R.id.remove_star); in onPrepareActionMode()
403 final MenuItem read = menu.findItem(R.id.read); in onPrepareActionMode()
405 final MenuItem unread = menu.findItem(R.id.unread); in onPrepareActionMode()
411 final MenuItem removeFolder = menu.findItem(R.id.remove_folder); in onPrepareActionMode()
412 final MenuItem moveTo = menu.findItem(R.id.move_to); in onPrepareActionMode()
413 final MenuItem moveToInbox = menu.findItem(R.id.move_to_inbox); in onPrepareActionMode()
426 final MenuItem changeFolders = menu.findItem(R.id.change_folders); in onPrepareActionMode()
434 final MenuItem archive = menu.findItem(R.id.archive); in onPrepareActionMode()
[all …]
DWebViewContextMenu.java282 menu.findItem(getMenuResIdForMenuType(MenuType.DIAL_MENU)); in onCreateContextMenu()
294 menu.findItem(getMenuResIdForMenuType(MenuType.SMS_MENU)); in onCreateContextMenu()
309 menu.findItem(getMenuResIdForMenuType(MenuType.ADD_CONTACT_MENU)); in onCreateContextMenu()
314 menu.findItem(getMenuResIdForMenuType(MenuType.COPY_PHONE_MENU)). in onCreateContextMenu()
323 menu.findItem(getMenuResIdForMenuType(MenuType.EMAIL_CONTACT_MENU)) in onCreateContextMenu()
325 menu.findItem(getMenuResIdForMenuType(MenuType.COPY_MAIL_MENU)). in onCreateContextMenu()
339 menu.findItem(getMenuResIdForMenuType(MenuType.MAP_MENU)); in onCreateContextMenu()
344 menu.findItem(getMenuResIdForMenuType(MenuType.COPY_GEO_MENU)). in onCreateContextMenu()
369 menu.findItem(getMenuResIdForMenuType(MenuType.SHARE_LINK_MENU)).setVisible( in setupAnchorMenu()
378 menu.findItem(getMenuResIdForMenuType(MenuType.COPY_LINK_MENU)). in setupAnchorMenu()
[all …]
DMessageAttachmentBar.java232 menu.findItem(R.id.preview_attachment).setVisible(shouldShowPreview()); in onClick()
233 menu.findItem(R.id.save_attachment).setVisible(shouldShowSave()); in onClick()
234 menu.findItem(R.id.download_again).setVisible(shouldShowDownloadAgain()); in onClick()
235 menu.findItem(R.id.attachment_extra_option1).setVisible(shouldShowExtraOption1()); in onClick()
DMessageHeaderView.java936 m.findItem(R.id.reply).setVisible(defaultReplyAll); in onClick()
937 m.findItem(R.id.reply_all).setVisible(!defaultReplyAll); in onClick()
938 m.findItem(R.id.print_message).setVisible(Utils.isRunningKitkatOrLater()); in onClick()
946 m.findItem(R.id.add_star).setVisible(showStar && !isStarred); in onClick()
947 m.findItem(R.id.remove_star).setVisible(showStar && isStarred); in onClick()
951 m.findItem(R.id.report_rendering_improvement).setVisible(reportRendering); in onClick()
952 m.findItem(R.id.report_rendering_problem).setVisible(reportRendering); in onClick()
/packages/apps/Browser/src/com/android/browser/
DController.java1319 menu.findItem(R.id.dial_context_menu_id).setIntent( in onCreateContextMenu()
1325 menu.findItem(R.id.add_contact_context_menu_id).setIntent( in onCreateContextMenu()
1327 menu.findItem(R.id.copy_phone_context_menu_id) in onCreateContextMenu()
1334 menu.findItem(R.id.email_context_menu_id).setIntent( in onCreateContextMenu()
1337 menu.findItem(R.id.copy_mail_context_menu_id) in onCreateContextMenu()
1344 menu.findItem(R.id.map_context_menu_id).setIntent( in onCreateContextMenu()
1348 menu.findItem(R.id.copy_geo_context_menu_id) in onCreateContextMenu()
1359 = menu.findItem(R.id.open_newtab_context_menu_id); in onCreateContextMenu()
1400 MenuItem shareItem = menu.findItem(R.id.share_link_context_menu_id); in onCreateContextMenu()
1415 menu.findItem(R.id.view_image_context_menu_id) in onCreateContextMenu()
[all …]
DPhoneUi.java175 MenuItem bm = menu.findItem(R.id.bookmarks_menu_id); in updateMenuState()
179 MenuItem abm = menu.findItem(R.id.add_bookmark_menu_id); in updateMenuState()
183 MenuItem info = menu.findItem(R.id.page_info_menu_id); in updateMenuState()
187 MenuItem newtab = menu.findItem(R.id.new_tab_menu_id); in updateMenuState()
191 MenuItem closeOthers = menu.findItem(R.id.close_other_tabs_id); in updateMenuState()
/packages/apps/Gallery2/src/com/android/photos/
DMultiChoiceManager.java134 MenuItem editItem = menu.findItem(R.id.menu_edit); in updateActionItemVisibilities()
135 MenuItem deleteItem = menu.findItem(R.id.menu_delete); in updateActionItemVisibilities()
136 MenuItem shareItem = menu.findItem(R.id.menu_share); in updateActionItemVisibilities()
137 MenuItem cropItem = menu.findItem(R.id.menu_crop); in updateActionItemVisibilities()
138 MenuItem trimItem = menu.findItem(R.id.menu_trim); in updateActionItemVisibilities()
139 MenuItem muteItem = menu.findItem(R.id.menu_mute); in updateActionItemVisibilities()
140 MenuItem setAsItem = menu.findItem(R.id.menu_set_as); in updateActionItemVisibilities()
157 MenuItem menuItem = menu.findItem(R.id.menu_share); in onCreateActionMode()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DMultiSelectActionModeCallback.java88 mArchiveMenuItem = menu.findItem(R.id.action_archive); in onCreateActionMode()
89 mUnarchiveMenuItem = menu.findItem(R.id.action_unarchive); in onCreateActionMode()
90 mAddContactMenuItem = menu.findItem(R.id.action_add_contact); in onCreateActionMode()
91 mBlockMenuItem = menu.findItem(R.id.action_block); in onCreateActionMode()
92 mNotificationOffMenuItem = menu.findItem(R.id.action_notification_off); in onCreateActionMode()
93 mNotificationOnMenuItem = menu.findItem(R.id.action_notification_on); in onCreateActionMode()
DConversationListFragment.java311 menu.findItem(R.id.action_start_new_conversation); in onPrepareOptionsMenu()
321 final MenuItem archive = menu.findItem(R.id.action_show_archived); in onPrepareOptionsMenu()
334 mShowBlockedMenuItem = menu.findItem(R.id.action_show_blocked_contacts); in onCreateOptionsMenu()
/packages/apps/UnifiedEmail/src/com/android/mail/photo/
DMailPhotoViewController.java117 mSaveItem = mMenu.findItem(R.id.menu_save); in onCreateOptionsMenu()
118 mSaveAllItem = mMenu.findItem(R.id.menu_save_all); in onCreateOptionsMenu()
119 mShareItem = mMenu.findItem(R.id.menu_share); in onCreateOptionsMenu()
120 mShareAllItem = mMenu.findItem(R.id.menu_share_all); in onCreateOptionsMenu()
121 mPrintItem = mMenu.findItem(R.id.menu_print); in onCreateOptionsMenu()
122 mDownloadAgainItem = mMenu.findItem(R.id.menu_download_again); in onCreateOptionsMenu()
123 mExtraOption1Item = mMenu.findItem(R.id.attachment_extra_option1); in onCreateOptionsMenu()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java284 menu.findItem(R.id.action_download).setVisible(data.getShowDownloadMessage());
285 menu.findItem(R.id.action_send).setVisible(data.getShowResendMessage());
288 menu.findItem(R.id.share_message_menu).setVisible(data.getCanForwardMessage());
289 menu.findItem(R.id.save_attachment).setVisible(mSelectedAttachment != null);
290 menu.findItem(R.id.forward_message_menu).setVisible(data.getCanForwardMessage());
295 menu.findItem(R.id.copy_text).setVisible(data.getCanCopyMessageToClipboard());
745 menu.findItem(R.id.action_people_and_options).setEnabled(data.getParticipantsLoaded()); in onCreateOptionsMenu()
751 menu.findItem(R.id.action_add_contact).setVisible(addContactActionVisible); in onCreateOptionsMenu()
755 menu.findItem(R.id.action_archive).setVisible(!isArchived); in onCreateOptionsMenu()
756 menu.findItem(R.id.action_unarchive).setVisible(isArchived); in onCreateOptionsMenu()
[all …]
/packages/apps/Dialer/tests/src/com/android/dialer/
DCallDetailActivityTest.java98 assertFalse(menu.findItem(R.id.menu_remove_from_call_log).isVisible()); in testVoicemailDoesNotHaveRemoveFromCallLog()
99 assertTrue(menu.findItem(R.id.menu_trash).isVisible()); in testVoicemailDoesNotHaveRemoveFromCallLog()
113 assertTrue(menu.findItem(R.id.menu_remove_from_call_log).isVisible()); in testRegularCallDoesHaveRemoveFromCallLog()
114 assertFalse(menu.findItem(R.id.menu_trash).isVisible()); in testRegularCallDoesHaveRemoveFromCallLog()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSettings.java148 menu.findItem(R.id.account_settings_menu_auto_sync) in onPrepareOptionsMenu()
153 menu.findItem(R.id.account_settings_menu_auto_sync_personal).setVisible(false); in onPrepareOptionsMenu()
154 menu.findItem(R.id.account_settings_menu_auto_sync_work).setVisible(false); in onPrepareOptionsMenu()
159 menu.findItem(R.id.account_settings_menu_auto_sync_personal) in onPrepareOptionsMenu()
164 menu.findItem(R.id.account_settings_menu_auto_sync_work) in onPrepareOptionsMenu()
169 menu.findItem(R.id.account_settings_menu_auto_sync).setVisible(false); in onPrepareOptionsMenu()
/packages/apps/Settings/src/com/android/settings/
DZonePicker.java169 menu.findItem(MENU_TIMEZONE).setVisible(false); in onPrepareOptionsMenu()
170 menu.findItem(MENU_ALPHABETICAL).setVisible(true); in onPrepareOptionsMenu()
172 menu.findItem(MENU_TIMEZONE).setVisible(true); in onPrepareOptionsMenu()
173 menu.findItem(MENU_ALPHABETICAL).setVisible(false); in onPrepareOptionsMenu()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorBaseFragment.java759 final MenuItem saveMenu = menu.findItem(R.id.menu_save); in onPrepareOptionsMenu()
760 final MenuItem splitMenu = menu.findItem(R.id.menu_split); in onPrepareOptionsMenu()
761 final MenuItem joinMenu = menu.findItem(R.id.menu_join); in onPrepareOptionsMenu()
762 final MenuItem helpMenu = menu.findItem(R.id.menu_help); in onPrepareOptionsMenu()
763 final MenuItem discardMenu = menu.findItem(R.id.menu_discard); in onPrepareOptionsMenu()
764 final MenuItem sendToVoiceMailMenu = menu.findItem(R.id.menu_send_to_voicemail); in onPrepareOptionsMenu()
765 final MenuItem ringToneMenu = menu.findItem(R.id.menu_set_ringtone); in onPrepareOptionsMenu()
766 final MenuItem deleteMenu = menu.findItem(R.id.menu_delete); in onPrepareOptionsMenu()
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivity.java332 menu.findItem(R.id.menu_remove_from_call_log) in onPrepareOptionsMenu()
335 menu.findItem(R.id.menu_edit_number_before_call) in onPrepareOptionsMenu()
338 menu.findItem(R.id.menu_trash) in onPrepareOptionsMenu()
341 menu.findItem(R.id.menu_report) in onPrepareOptionsMenu()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnList.java93 menu.findItem(MENU_ADD).setVisible(true); in onPrepareOptionsMenu()
94 menu.findItem(MENU_EDIT).setVisible(hasSelection); in onPrepareOptionsMenu()
95 menu.findItem(MENU_DELETE).setVisible(hasSelection); in onPrepareOptionsMenu()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java332 final MenuItem rename = menu.findItem(R.id.storage_rename); in onPrepareOptionsMenu()
333 final MenuItem mount = menu.findItem(R.id.storage_mount); in onPrepareOptionsMenu()
334 final MenuItem unmount = menu.findItem(R.id.storage_unmount); in onPrepareOptionsMenu()
335 final MenuItem format = menu.findItem(R.id.storage_format); in onPrepareOptionsMenu()
336 final MenuItem migrate = menu.findItem(R.id.storage_migrate); in onPrepareOptionsMenu()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactPickerFragment.java345 final MenuItem addMoreParticipantsItem = menu.findItem( in updateVisualsForContactPickingMode()
347 final MenuItem confirmParticipantsItem = menu.findItem( in updateVisualsForContactPickingMode()
418 final MenuItem keypadToggleItem = menu.findItem(R.id.action_ime_dialpad_toggle); in updateTextInputButtonsVisibility()
419 final MenuItem deleteTextItem = menu.findItem(R.id.action_delete_text); in updateTextInputButtonsVisibility()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java1083 final MenuItem contactsFilterMenu = menu.findItem(R.id.menu_contacts_filter); in onPrepareOptionsMenu()
1084 final MenuItem clearFrequentsMenu = menu.findItem(R.id.menu_clear_frequents); in onPrepareOptionsMenu()
1085 final MenuItem helpMenu = menu.findItem(R.id.menu_help); in onPrepareOptionsMenu()
1135 final MenuItem item = menu.findItem(itemId); in makeMenuItemVisible()
1142 final MenuItem item = menu.findItem(itemId); in makeMenuItemEnabled()
/packages/apps/InCallUI/src/com/android/incallui/
DCallButtonFragment.java742 final MenuItem speakerItem = menu.findItem(R.id.audio_mode_speaker); in showAudioModePopup()
749 final MenuItem earpieceItem = menu.findItem(R.id.audio_mode_earpiece); in showAudioModePopup()
750 final MenuItem wiredHeadsetItem = menu.findItem(R.id.audio_mode_wired_headset); in showAudioModePopup()
761 final MenuItem bluetoothItem = menu.findItem(R.id.audio_mode_bluetooth); in showAudioModePopup()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java419 PieItem item = findItem(polar); in onTouchEvent()
433 item = findItem(polar); in onTouchEvent()
465 PieItem item = findItem(polar); in onTouchEvent()
562 private PieItem findItem(PointF polar) { in findItem() method in PieRenderer
/packages/apps/Camera/src/com/android/camera/ui/
DPieRenderer.java429 PieItem item = findItem(polar); in onTouchEvent()
443 item = findItem(polar); in onTouchEvent()
475 PieItem item = findItem(polar); in onTouchEvent()
572 private PieItem findItem(PointF polar) { in findItem() method in PieRenderer
/packages/apps/Settings/src/com/android/settings/applications/
DManageApplications.java539 mOptionsMenu.findItem(R.id.advanced).setVisible(mListType == LIST_TYPE_MAIN); in updateOptionsMenu()
541 mOptionsMenu.findItem(R.id.sort_order_alpha).setVisible(mListType == LIST_TYPE_STORAGE in updateOptionsMenu()
543 mOptionsMenu.findItem(R.id.sort_order_size).setVisible(mListType == LIST_TYPE_STORAGE in updateOptionsMenu()
546 mOptionsMenu.findItem(R.id.show_system).setVisible(!mShowSystem in updateOptionsMenu()
548 mOptionsMenu.findItem(R.id.hide_system).setVisible(mShowSystem in updateOptionsMenu()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java990 MenuItem showState = menu.findItem(R.id.showImageStateButton); in onCreateOptionsMenu()
996 mShareActionProvider = (ShareActionProvider) menu.findItem(R.id.menu_share) in onCreateOptionsMenu()
1009 MenuItem undoItem = mMenu.findItem(R.id.undoButton); in setupMenu()
1010 MenuItem redoItem = mMenu.findItem(R.id.redoButton); in setupMenu()
1011 MenuItem resetItem = mMenu.findItem(R.id.resetHistoryButton); in setupMenu()
1012 MenuItem printItem = mMenu.findItem(R.id.printButton); in setupMenu()

1234