/packages/apps/TV/src/com/android/tv/menu/ |
AppLinkCardView.java | 17 package com.android.tv.menu;
|
BaseCardView.java | 17 package com.android.tv.menu;
|
ItemListRowView.java | 17 package com.android.tv.menu; 123 // Only MainActivity can use the main menu. 146 * The initial position of list that will be selected when the main menu appears.
|
MenuRowView.java | 17 package com.android.tv.menu; 32 import com.android.tv.menu.Menu.MenuShowReason; 45 * The lastly focused view. It is used to keep the focus while navigating the menu rows and 46 * reset when the menu is popped up. 146 * This method is called when the main menu is visible. 155 protected Menu getMenu() {
|
MenuView.java | 17 package com.android.tv.menu; 30 import com.android.tv.menu.Menu.MenuShowReason; 36 * A view that represents TV main menu. 46 @MenuShowReason private int mShowReason = Menu.REASON_NONE; 190 // When the menu shows up, the selected row should have focus. 200 // The re-layout of RecyclerView gives the focus to the card view even when the menu is not 201 // visible. Don't report focusable view when the menu is not visible. 247 // situation, the framework can't perform the correct focus navigation. So the menu view 255 // The focus leaves from the current menu row view [all...] |
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
PlayControlsRowViewTest.java | 20 import static com.android.tv.testing.uihelper.Constants.MENU; 131 // Return to the main menu. 148 // Return to the main menu. 154 UiObject2 menu = mDevice.findObject(MENU); local 155 UiObject2 focusedView = menu.findObject(FOCUSED_VIEW);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
GeneralPrefsFragment.java | 30 import android.view.Menu; 88 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { 90 * We deliberately do not call super because our menu includes the parent's menu options to 93 menu.clear(); 94 inflater.inflate(R.menu.general_prefs_fragment_menu, menu);
|
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/ |
CarMenu.java | 17 package android.support.car.app.menu; 22 import android.support.car.app.menu.compat.CarMenuConstantsComapt.MenuItemConstants; 29 * CarMenu is used to pass back the menu items of a sublevel to the CarMenu subscriber. 105 * An individual item in a menu. 109 * Gets the id of the menu item. 111 * @return The id of the menu item. 116 * Gets the title of the menu item. 118 * @return The title of the menu item. {@code null} if there is no title. 123 * Gets the text of the menu item. 125 * @return The text of the menu item. {@code null} if there is no text [all...] |
CarUiController.java | 17 package android.support.car.app.menu;
|
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/compat/ |
EmbeddedCarMenuCallbacksCompat.java | 16 package android.support.car.app.menu.compat; 18 import android.car.app.menu.RootMenu; 19 import android.car.app.menu.SubscriptionCallbacks; 23 import android.support.car.app.menu.CarDrawerActivity; 24 import android.support.car.app.menu.CarMenu; 25 import android.support.car.app.menu.CarMenuCallbacks; 34 public class EmbeddedCarMenuCallbacksCompat extends android.car.app.menu.CarMenuCallbacks { 54 android.support.car.app.menu.RootMenu rootMenu = mCallbacks.onGetRoot(hint);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/ |
Type_Names_Suite.py | 51 """menu item - """ 54 class menu(aetools.ComponentItem): class in inherits:aetools.ComponentItem 55 """menu - """ 221 menu._superclassnames = [] 222 menu._privpropdict = { 224 menu._privelemdict = { 394 'cmnu' : menu,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/ |
Type_Names_Suite.py | 51 """menu item - """ 54 class menu(aetools.ComponentItem): class in inherits:aetools.ComponentItem 55 """menu - """ 221 menu._superclassnames = [] 222 menu._privpropdict = { 224 menu._privelemdict = { 394 'cmnu' : menu,
|
/prebuilts/tools/common/m2/repository/org/apache/maven/shared/maven-doxia-tools/1.0.2/ |
maven-doxia-tools-1.0.2.jar | |
/prebuilts/sdk/current/support/v7/appcompat/libs/ |
android-support-v7-appcompat-nodeps.jar | |
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
ScriptManager.java | 34 import android.view.Menu; 97 return ordinal() + Menu.FIRST; 205 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { 206 menu.add(Menu.NONE, MenuId.RENAME.getId(), Menu.NONE, "Rename"); 207 menu.add(Menu.NONE, MenuId.DELETE.getId(), Menu.NONE, "Delete"); 264 public boolean onPrepareOptionsMenu(Menu menu) [all...] |
InterpreterManager.java | 31 import android.view.Menu; 67 return ordinal() + Menu.FIRST; 107 public boolean onPrepareOptionsMenu(Menu menu) { 108 menu.clear(); 109 buildInstallLanguagesMenu(menu); 110 menu.add(Menu.NONE, MenuId.NETWORK.getId(), Menu.NONE, "Start Server").setIcon( 112 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ToolbarActionBar.java | 25 import android.support.v7.view.menu.ListMenuPresenter; 26 import android.support.v7.view.menu.MenuBuilder; 27 import android.support.v7.view.menu.MenuPresenter; 34 import android.view.Menu; 448 final Menu menu = getMenu(); local 449 final MenuBuilder mb = menu instanceof MenuBuilder ? (MenuBuilder) menu : null; 454 menu.clear(); 455 if (!mWindowCallback.onCreatePanelMenu(Window.FEATURE_OPTIONS_PANEL, menu) || 476 Menu menu = getMenu(); local [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
SupportMenuInflater.java | 33 import android.support.v7.view.menu.MenuItemImpl; 34 import android.support.v7.view.menu.MenuItemWrapperICS; 41 import android.view.Menu; 55 * This class is used to instantiate menu XML files into Menu objects. 57 * For performance reasons, menu inflation relies heavily on pre-processing of 69 /** Menu tag name in XML. */ 70 private static final String XML_MENU = "menu"; 93 * Constructs a menu inflater. 105 * Inflate a menu hierarchy from the specified XML resource. Throw 280 private Menu menu; field in class:SupportMenuInflater.MenuState [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
AppPermissionsFragment.java | 42 import android.view.Menu; 149 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { 150 super.onCreateOptionsMenu(menu, inflater); 151 menu.add(Menu.NONE, MENU_ALL_PERMS, Menu.NONE, R.string.all_permissions); 152 HelpUtils.prepareHelpMenuItem(getActivity(), menu, R.string.help_app_permissions, local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
PopupMenuTest.java | 37 import android.view.Menu; 77 // (such as menu dismissal when we emulate a tap outside the menu bounds). 91 final Menu menu = mPopupMenu.getMenu(); local 92 assertEquals(6, menu.size()); 93 assertEquals(R.id.action_highlight, menu.getItem(0).getItemId()); 94 assertEquals(R.id.action_edit, menu.getItem(1).getItemId()); 95 assertEquals(R.id.action_delete, menu.getItem(2).getItemId()); 96 assertEquals(R.id.action_ignore, menu.getItem(3).getItemId()) 279 Menu menu = mPopupMenu.getMenu(); local [all...] |
/developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
ChatActivity.java | 31 import android.view.Menu; 137 Menu menu = actionDrawer.getMenu(); local 138 MenuTinter.tintMenu(this, menu, R.color.blue_15); 201 * Takes a menu item and delegates to the appropriate function based on 202 * the menu item id. Used with click handlers.
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NoteEditor.java | 39 import android.view.Menu; 310 * This method is called when the user clicks the device's Menu button the first time for 311 * this Activity. Android passes in a Menu object that is populated with items. 316 * @param menu A Menu object to which items should be added. 317 * @return True to display the menu. 320 public boolean onCreateOptionsMenu(Menu menu) { 321 // Inflate menu from XML resource 323 inflater.inflate(R.menu.editor_options_menu, menu) [all...] |
/external/autotest/frontend/client/src/autotest/afe/ |
JobListView.java | 231 ContextMenu menu = new ContextMenu(); local 232 menu.addItem("Abort jobs", new Command() { 238 menu.setEnabled(false); 239 return menu;
|
/external/selinux/checkpolicy/test/ |
dismod.c | 815 int menu(void) function 837 printf("m) display menu\n"); 889 menu(); 891 printf("\nCommand (\'m\' for menu): "); 993 menu(); 997 menu();
|
/external/toybox/kconfig/ |
mconf.c | 5 * Introduced single menu mode (show all sub-menus in one large tree). 39 "Menu items beginning with [*], <M> or [ ] represent features\n" 63 "o To exit a menu use the cursor keys to highlight the <Exit> button\n" 121 "At the end of the main menu you will find two options. One is\n" 153 "menu, rather than the default multimenu hierarchy, run the menuconfig\n" 179 "Arrow keys navigate the menu. " 252 "o The line 'Prompt:' shows the text used in the menu structure for\n" 257 " this symbol to be visible in the menu (selectable)\n" 258 "o The 'Location:' lines tell where in the menu structure this symbol\n" 261 " menu item - and current value is displayed inside brackets.\n 329 struct menu *submenu[8], *menu; local [all...] |