/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/ |
PhotoViewActivity.java | 25 import android.view.Menu; 97 public boolean onCreateOptionsMenu(Menu menu) { 98 return mController.onCreateOptionsMenu(menu) || super.onCreateOptionsMenu(menu); 102 public boolean onPrepareOptionsMenu(Menu menu) { 103 return mController.onPrepareOptionsMenu(menu) || super.onPrepareOptionsMenu(menu);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
ExpandedMenuView.java | 17 package android.support.v7.view.menu; 20 import android.support.v7.view.menu.MenuBuilder.ItemInvoker; 29 * The expanded menu view is a list-like menu with all of the available menu items. It is opened 30 * by the user clicking no the 'More' button on the icon menu view. 44 /** Default animations for this menu */ 67 public void initialize(MenuBuilder menu) { 68 mMenu = menu;
|
SubMenuBuilder.java | 17 package android.support.v7.view.menu; 22 import android.view.Menu; 28 * The model for a sub menu, which is an extension of the menu. Most methods are proxied to the 29 * parent menu. 64 public Menu getParentMenu() { 83 boolean dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) { 84 return super.dispatchMenuItemSelected(menu, item) || 85 mParentMenu.dispatchMenuItemSelected(menu, item);
|
CascadingMenuPopup.java | 17 package android.support.v7.view.menu; 59 * A popup for a menu which will allow multiple submenus to appear in a cascading fashion, side by 73 * Delay between hovering over a menu item with a mouse and receiving 74 * side-effects (ex. opening a sub-menu or closing unrelated menus). 89 * List of open menus. The first item is the root menu and each 117 public void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item) { 120 // pending runnables, only cancel runnables for the host menu. 121 mSubMenuHoverHandler.removeCallbacksAndMessages(menu); 126 @NonNull final MenuBuilder menu, @NonNull final MenuItem item) { 130 // Find the position of the hovered menu within the added menus 736 public final MenuBuilder menu; field in class:CascadingMenuPopup.CascadingMenuInfo [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/ |
SearchMenuItemController.java | 23 import android.view.Menu; 31 * {@link MenuItemController} for search menu. 63 public void setInitialState(Menu menu) { 64 super.setInitialState(menu); 65 final MenuItem search = menu.findItem(SEARCH_MENU_RES_ID); 79 public void showMenuItem(Menu menu) { 80 menu.findItem(SEARCH_MENU_RES_ID).setVisible(true);
|
SettingMenuItemController.java | 20 import android.view.Menu; 27 * {@link MenuItemController} for setting menu. 46 public void showMenuItem(Menu menu) { 47 menu.findItem(SETTING_MENU_RES_ID).setVisible(true);
|
/developers/build/prebuilts/gradle/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/ |
MainActivity.java | 22 import android.view.Menu; 42 public boolean onCreateOptionsMenu(Menu menu) { 43 getMenuInflater().inflate(R.menu.main, menu);
|
/developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/ |
MainActivity.java | 22 import android.view.Menu; 42 public boolean onCreateOptionsMenu(Menu menu) { 43 getMenuInflater().inflate(R.menu.main, menu);
|
/development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/ |
MainActivity.java | 22 import android.view.Menu; 42 public boolean onCreateOptionsMenu(Menu menu) { 43 getMenuInflater().inflate(R.menu.main, menu);
|
/development/tutorials/MoarRam/src/com/android/benchmark/moarram/ |
MainActivity.java | 5 import android.view.Menu; 22 public boolean onCreateOptionsMenu(Menu menu) { 23 getMenuInflater().inflate(R.menu.main, menu);
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
BaseActivity.java | 4 import android.view.Menu; 26 public boolean onCreateOptionsMenu(Menu menu) { 27 menu.add("Simulate"); 28 menu.add("Quit");
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/ |
MenuResourceLoaderTest.java | 23 ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("menu")); 25 resourceLoader.inflateMenu(Robolectric.application, R.menu.test_withchilds, testMenu); 31 ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("menu")); 33 resourceLoader.inflateMenu(Robolectric.application, R.menu.test_withchilds, testMenu); 37 assertThat(mi.getSubMenu().getItem(1).getTitle() + "", equalTo("Test menu item 3") );
|
/frameworks/base/test-runner/src/android/test/ |
InstrumentationUtils.java | 28 * An utility function that returns the menu identifier for a particular 29 * menu item. 31 * @param cls Class object of the class that handles the menu ite,. 32 * @param identifier Menu identifier. 33 * @return The integer corresponding to the menu item.
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ActionBarPreferences.java | 21 import android.view.Menu; 39 public boolean onCreateOptionsMenu(Menu menu) { 40 getMenuInflater().inflate(R.menu.actions, menu);
|
/packages/services/Car/car-lib/src/android/car/app/menu/ |
SubscriptionCallbacks.java | 16 package android.car.app.menu; 23 * The callbacks to receive menu items updates. 29 * @param items The list of menu items. To retrieve the content of the item, use the keys 40 * Called when the car menu items with the specified parent id are changed. 42 * @param item The new menu item. To retrieve the content of the item, use the keys
|
/frameworks/base/core/java/android/view/ |
MenuItem.java | 29 * Interface for direct access to a previously created menu item. 31 * An Item is returned by calling one of the {@link android.view.Menu#add} 34 * For a feature set of specific menu types, see {@link Menu}. 65 * This item's action view collapses to a normal menu item. 72 * Interface definition for a callback to be invoked when a menu item is 80 * Called when a menu item has been invoked. This is the first code 84 * @param item The menu item that was invoked. 93 * Interface definition for a callback to be invoked when a menu item 103 * Called when a menu item with {@link MenuItem#SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW [all...] |
ContextMenu.java | 26 * Extension of {@link Menu} for context menus providing functionality to modify 27 * the header of the context menu. 31 * To show a context menu on long click, most clients will want to call 41 public interface ContextMenu extends Menu { 43 * Sets the context menu header's title to the title given in <var>titleRes</var> 52 * Sets the context menu header's title to the title given in <var>title</var>. 60 * Sets the context menu header's icon to the icon given in <var>iconRes</var> 69 * Sets the context menu header's icon to the icon given in <var>icon</var> 78 * Sets the header of the context menu to the {@link View} given in 88 * Clears the header of the context menu [all...] |
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/ |
menus.jd | 11 <li><a href="#options-menu">?? ?? ???</a> 17 <li><a href="#context-menu">??? ?? ???</a> 42 <li>{@link android.view.Menu}</li> 51 <li><a href="{@docRoot}guide/topics/resources/menu-resource.html">?? ???</a></li> 52 <li><a href="http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html"> 59 ??? ??? ???? ?? ?????? ??? ??? ?? ??? ???? {@link android.view.Menu} API? 68 ?? ?? ??? ??? {@link android.view.Menu} API? ??? ?????. ? ???? 74 <dd><a href="#options-menu">?? ??</a>? ????? ?? ?? ?? ?? ??? 84 <p><a href="#options-menu">?? ?? ???</a> ??? ??????.</p> 95 <p><a href="#context-menu">??? ?? ???</a>? ?? ??? ??????.</p [all...] |
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/ |
menus.jd | 11 <li><a href="#options-menu">???????? ???? ??????????</a> 17 <li><a href="#context-menu">???????? ???????????? ????</a> 42 <li>{@link android.view.Menu}</li> 51 <li><a href="{@docRoot}guide/topics/resources/menu-resource.html">?????? ????</a></li> 52 <li><a href="http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html">???????????? 60 ? ??????? API-??????????? ?????? {@link android.view.Menu}.</p> 68 ?????? ???????? ? ????????? ??-???????? ???????? ?? API-??????????? ?????? {@link android.view.Menu}. ? ???? 74 <dd>?????? <a href="#options-menu">???? ??????????</a> ???????????? ????? ???????? ???????? ?????? ???????? ? ???????? 84 <p>??. ?????? <a href="#options-menu">???????? ???? ??????????</a></p> 95 <p>??. ?????? <a href="#context-menu">???????? ???????????? ????</a></p [all...] |
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/ |
menus.jd | 11 <li><a href="#options-menu">??????</a> 17 <li><a href="#context-menu">???????</a> 42 <li>{@link android.view.Menu}</li> 51 <li><a href="{@docRoot}guide/topics/resources/menu-resource.html">????</a></li> 52 <li><a href="http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html">????????</a> 58 <p>???????????????????????????????????? {@link android.view.Menu} API 68 {@link android.view.Menu} API ???????????? 74 <dd><a href="#options-menu">????</a>??? Activity ?????? 84 <p>???<a href="#options-menu">??????</a>???</p> 95 <p>???<a href="#context-menu">???????</a>???</p [all...] |
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/ |
menus.jd | 11 <li><a href="#options-menu">??????</a> 17 <li><a href="#context-menu">????????</a> 42 <li>{@link android.view.Menu}</li> 51 <li><a href="{@docRoot}guide/topics/resources/menu-resource.html">????</a></li> 52 <li><a href="http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html">???????? 59 {@link android.view.Menu} API ??? Activity ????????????? 68 {@link android.view.Menu} API ??????????????????????????? Android ????????????????????? 74 <dd><a href="#options-menu">????</a>? Activity ?????????? 84 <p>???<a href="#options-menu">??????</a>?</p> 95 <p>???<a href="#context-menu">????????</a>?</p [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
FingerPaint.java | 22 import android.view.Menu; 140 private static final int COLOR_MENU_ID = Menu.FIRST; 141 private static final int EMBOSS_MENU_ID = Menu.FIRST + 1; 142 private static final int BLUR_MENU_ID = Menu.FIRST + 2; 143 private static final int ERASE_MENU_ID = Menu.FIRST + 3; 144 private static final int SRCATOP_MENU_ID = Menu.FIRST + 4; 147 public boolean onCreateOptionsMenu(Menu menu) { 148 super.onCreateOptionsMenu(menu); 150 menu.add(0, COLOR_MENU_ID, 0, "Color").setShortcut('3', 'c') [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/paper-dropdown-menu/ |
paper-dropdown-menu.html | 12 `paper-dropdown-menu` works together with `paper-dropdown` and `core-menu` to 13 implement a drop-down menu. The currently selected item is displayed in the 17 menu. It should be a `paper-dropdown` or other overlay element. You should 18 also provide a `core-selector` or other selector element, such as `core-menu`, 19 in the drop-down. You should apply the class `menu` to the selector element. 23 <paper-dropdown-menu label="Your favorite pastry"> 25 <core-menu class="menu"> 30 </core-menu> [all...] |
bower.json | 2 "name": "paper-dropdown-menu", 11 "core-menu": "Polymer/core-menu#^0.5",
|
/frameworks/base/docs/html-intl/intl/vi/guide/topics/ui/ |
menus.jd | 1 page.title=Menu 10 <li><a href="#xml">??nh ngh?a m?t Menu trong XML</a></li> 11 <li><a href="#options-menu">T?o m?t Menu Tùy ch?n</a> 14 <li><a href="#ChangingTheMenu">Thay ??i các m?c menu vào th?i gian ch?y</a></li> 17 <li><a href="#context-menu">T?o m?t Menu Ng? c?nh</a> 19 <li><a href="#FloatingContextMenu">T?o m?t menu ng? c?nh n?i</a></li> 23 <li><a href="#PopupMenu">T?o m?t Menu B?t lên</a> 28 <li><a href="#groups">T?o Nhóm Menu</a [all...] |