HomeSort by relevance Sort by last modified time
    Searched refs:findItem (Results 1 - 25 of 442) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/view/src/android/view/cts/
MenuInflaterTest.java 98 assertTrue(menu.findItem(R.id.visible_item).isVisible());
99 assertEquals('a', menu.findItem(R.id.visible_item).getAlphabeticShortcut());
101 assertFalse(menu.findItem(R.id.hidden_item).isVisible());
102 assertEquals('b', menu.findItem(R.id.hidden_item).getAlphabeticShortcut());
104 assertEquals(R.id.hidden_group, menu.findItem(R.id.hidden_by_group).getGroupId());
105 assertFalse(menu.findItem(R.id.hidden_by_group).isVisible());
106 assertEquals('c', menu.findItem(R.id.hidden_by_group).getAlphabeticShortcut());
112 assertEquals("Start", menu.findItem(R.id.start).getTitle());
113 assertIconUsingDrawableRes((BitmapDrawable) menu.findItem(R.id.start).getIcon(),
116 assertEquals("Pass", menu.findItem(R.id.pass).getTitle())
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
MenuTest.java 49 Assert.assertEquals(item, mMenu.findItem(id));
201 mMenu.findItem(2).setChecked(true);
212 mMenu.findItem(2).setChecked(true);
229 mMenu.findItem(2).setVisible(false);
240 // findItem should recurse into submenus
241 Assert.assertEquals(item1, mMenu.findItem(1));
242 Assert.assertEquals(item2, mMenu.findItem(2));
255 Assert.assertEquals(item1, mMenu.findItem(1));
257 Assert.assertNull(mMenu.findItem(1));
259 Assert.assertEquals(item2, mMenu.findItem(2))
    [all...]
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
FragmentTuner.java 152 MenuItem open = menu.findItem(R.id.menu_open);
153 MenuItem share = menu.findItem(R.id.menu_share);
154 MenuItem delete = menu.findItem(R.id.menu_delete);
155 MenuItem rename = menu.findItem(R.id.menu_rename);
156 MenuItem selectAll = menu.findItem(R.id.menu_select_all);
212 menu.findItem(R.id.menu_open).setVisible(false); // "open" is never used in Files.
215 MenuItem copy = menu.findItem(R.id.menu_copy_to_clipboard);
216 MenuItem paste = menu.findItem(R.id.menu_paste_from_clipboard);
219 MenuItem rename = menu.findItem(R.id.menu_rename);
220 MenuItem moveTo = menu.findItem(R.id.menu_move_to)
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/view/
TestMenuTest.java 27 TestMenuItem testMenuItem = (TestMenuItem) testMenu.findItem(10);
33 testMenuItem = (TestMenuItem) testMenu.findItem(10);
45 TestMenuItem testMenuItem = (TestMenuItem) testMenu.findItem(10);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarUsage.java 52 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView();
60 Drawable icon = menu.findItem(mSortMode).getIcon();
61 menu.findItem(R.id.action_sort).setIcon(icon);
ActionBarShareActionProviderActivity.java 57 MenuItem actionItem = menu.findItem(R.id.menu_item_share_action_provider_action_bar);
65 MenuItem overflowItem = menu.findItem(R.id.menu_item_share_action_provider_overflow);
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarUsage.java 54 .getActionView(menu.findItem(R.id.action_search));
62 Drawable icon = menu.findItem(mSortMode).getIcon();
63 menu.findItem(R.id.action_sort).setIcon(icon);
ActionBarShareActionProvider.java 42 menu.findItem(R.id.menu_item_share_provider_action_bar));
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
SelectedConversationsActionMenu.java 169 markConversationsRead(mActionMode.getMenu().findItem(R.id.read).isVisible());
399 final MenuItem star = menu.findItem(R.id.star);
401 final MenuItem unstar = menu.findItem(R.id.remove_star);
403 final MenuItem read = menu.findItem(R.id.read);
405 final MenuItem unread = menu.findItem(R.id.unread);
411 final MenuItem removeFolder = menu.findItem(R.id.remove_folder);
412 final MenuItem moveTo = menu.findItem(R.id.move_to);
413 final MenuItem moveToInbox = menu.findItem(R.id.move_to_inbox);
426 final MenuItem changeFolders = menu.findItem(R.id.change_folders);
434 final MenuItem archive = menu.findItem(R.id.archive)
    [all...]
WebViewContextMenu.java 282 menu.findItem(getMenuResIdForMenuType(MenuType.DIAL_MENU));
294 menu.findItem(getMenuResIdForMenuType(MenuType.SMS_MENU));
309 menu.findItem(getMenuResIdForMenuType(MenuType.ADD_CONTACT_MENU));
314 menu.findItem(getMenuResIdForMenuType(MenuType.COPY_PHONE_MENU)).
323 menu.findItem(getMenuResIdForMenuType(MenuType.EMAIL_CONTACT_MENU))
325 menu.findItem(getMenuResIdForMenuType(MenuType.COPY_MAIL_MENU)).
339 menu.findItem(getMenuResIdForMenuType(MenuType.MAP_MENU));
344 menu.findItem(getMenuResIdForMenuType(MenuType.COPY_GEO_MENU)).
369 menu.findItem(getMenuResIdForMenuType(MenuType.SHARE_LINK_MENU)).setVisible(
378 menu.findItem(getMenuResIdForMenuType(MenuType.COPY_LINK_MENU))
    [all...]
EmailCopyContextMenu.java 106 menu.findItem(SEND_EMAIL_ITEM).setIntent(new Intent(Intent.ACTION_VIEW,
108 menu.findItem(COPY_CONTACT_ITEM).setOnMenuItemClickListener(
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DocumentsToolbar.java 70 return getMenu().findItem(R.id.menu_search);
  /packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
NightModeMenuItemController.java 46 menu.findItem(NIGHT_MODE_MENU_RES_ID).setVisible(true);
SettingMenuItemController.java 47 menu.findItem(SETTING_MENU_RES_ID).setVisible(true);
SearchMenuItemController.java 65 final MenuItem search = menu.findItem(SEARCH_MENU_RES_ID);
80 menu.findItem(SEARCH_MENU_RES_ID).setVisible(true);
  /packages/apps/Gallery2/src/com/android/photos/
MultiChoiceManager.java 134 MenuItem editItem = menu.findItem(R.id.menu_edit);
135 MenuItem deleteItem = menu.findItem(R.id.menu_delete);
136 MenuItem shareItem = menu.findItem(R.id.menu_share);
137 MenuItem cropItem = menu.findItem(R.id.menu_crop);
138 MenuItem trimItem = menu.findItem(R.id.menu_trim);
139 MenuItem muteItem = menu.findItem(R.id.menu_mute);
140 MenuItem setAsItem = menu.findItem(R.id.menu_set_as);
157 MenuItem menuItem = menu.findItem(R.id.menu_share);
  /developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
DeviceScanActivity.java 85 menu.findItem(R.id.menu_stop).setVisible(false);
86 menu.findItem(R.id.menu_scan).setVisible(true);
87 menu.findItem(R.id.menu_refresh).setActionView(null);
89 menu.findItem(R.id.menu_stop).setVisible(true);
90 menu.findItem(R.id.menu_scan).setVisible(false);
91 menu.findItem(R.id.menu_refresh).setActionView(
  /developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
DeviceScanActivity.java 85 menu.findItem(R.id.menu_stop).setVisible(false);
86 menu.findItem(R.id.menu_scan).setVisible(true);
87 menu.findItem(R.id.menu_refresh).setActionView(null);
89 menu.findItem(R.id.menu_stop).setVisible(true);
90 menu.findItem(R.id.menu_scan).setVisible(false);
91 menu.findItem(R.id.menu_refresh).setActionView(
  /development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DeviceScanActivity.java 85 menu.findItem(R.id.menu_stop).setVisible(false);
86 menu.findItem(R.id.menu_scan).setVisible(true);
87 menu.findItem(R.id.menu_refresh).setActionView(null);
89 menu.findItem(R.id.menu_stop).setVisible(true);
90 menu.findItem(R.id.menu_scan).setVisible(false);
91 menu.findItem(R.id.menu_refresh).setActionView(
  /packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
MultiSelectActionModeCallback.java 88 mArchiveMenuItem = menu.findItem(R.id.action_archive);
89 mUnarchiveMenuItem = menu.findItem(R.id.action_unarchive);
90 mAddContactMenuItem = menu.findItem(R.id.action_add_contact);
91 mBlockMenuItem = menu.findItem(R.id.action_block);
92 mNotificationOffMenuItem = menu.findItem(R.id.action_notification_off);
93 mNotificationOnMenuItem = menu.findItem(R.id.action_notification_on);
  /external/skia/platform_tools/android/apps/sample_app/src/main/java/com/skia/
SkiaSampleActivity.java 127 ((MenuItem) menu.findItem(R.id.glcontext_menu))
134 ((MenuItem) menu.findItem(R.id.glcontext_opengles))
137 ((MenuItem) menu.findItem(R.id.glcontext_msaa4_opengles))
140 ((MenuItem) menu.findItem(R.id.glcontext_opengl))
143 ((MenuItem) menu.findItem(R.id.glcontext_msaa4_opengl))
  /packages/services/Telephony/src/com/android/phone/settings/fdn/
FdnList.java 93 menu.findItem(MENU_ADD).setVisible(true);
94 menu.findItem(MENU_EDIT).setVisible(hasSelection);
95 menu.findItem(MENU_DELETE).setVisible(hasSelection);
  /cts/tests/tests/widget/src/android/widget/cts/
PopupMenuTest.java 161 runTestOnUiThread(() -> mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu().
241 mPopupMenu.getMenu().findItem(R.id.action_highlight));
264 mPopupMenu.getMenu().findItem(R.id.action_share));
267 runTestOnUiThread(() -> mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu().
272 mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu()
273 .findItem(R.id.action_share_email));
  /development/samples/ApiDemos/src/com/example/android/apis/view/
WindowFocusObserver.java 62 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView();
66 MenuItem actionItem = menu.findItem(R.id.menu_item_share_action_provider_action_bar);
  /packages/apps/Gallery/src/com/android/camera/
ImageLoader.java 63 int index = findItem(image);
74 private int findItem(IImage image) {

Completed in 963 milliseconds

1 2 3 4 5 6 7 8 91011>>