/packages/apps/Browser/src/com/android/browser/ |
OptionsMenuHandler.java | 19 import android.view.Menu; 24 boolean onCreateOptionsMenu(Menu menu); 25 boolean onPrepareOptionsMenu(Menu menu);
|
ActivityController.java | 10 import android.view.Menu; 26 boolean onMenuOpened(int featureId, Menu menu); 28 void onOptionsMenuClosed(Menu menu); 30 void onContextMenuClosed(Menu menu); 40 boolean onCreateOptionsMenu(Menu menu); 42 boolean onPrepareOptionsMenu(Menu menu) [all...] |
UrlSelectionActionMode.java | 20 import android.view.Menu; 34 public boolean onCreateActionMode(ActionMode mode, Menu menu) { 35 mode.getMenuInflater().inflate(R.menu.url_selection, menu); 57 public boolean onPrepareActionMode(ActionMode mode, Menu menu) {
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/appmenu/ |
AppMenuPropertiesDelegate.java | 7 import android.view.Menu; 10 * Interface for the App Handler to query the desired state of the App Menu. 15 * @return Whether the App Menu should be shown. 20 * Allows the delegate to show and hide items before the App Menu is shown. 21 * @param mMenu Menu that will be used as the source for the App Menu pop up. 23 void prepareMenu(Menu mMenu); 26 * @return The theme resource to use for displaying the App Menu.
|
/external/chromium_org/ui/views/controls/menu/ |
menu.cc | 5 #include "ui/views/controls/menu/menu.h" 12 bool Menu::Delegate::IsItemChecked(int id) const { 16 bool Menu::Delegate::IsItemDefault(int id) const { 20 base::string16 Menu::Delegate::GetLabel(int id) const { 24 bool Menu::Delegate::GetAcceleratorInfo(int id, ui::Accelerator* accel) { 28 const gfx::ImageSkia& Menu::Delegate::GetIcon(int id) const { 32 int Menu::Delegate::GetItemCount() const { 36 bool Menu::Delegate::IsItemSeparator(int id) const { 40 bool Menu::Delegate::HasIcon(int id) const [all...] |
menu.h | 26 class VIEWS_EXPORT Menu { 32 // Classes implement this interface to tell the menu system more about each 44 // There can only be one default menu item. 47 // The string shown for the menu item. 51 // the shortcut text next to each menu item. If there is an accelerator 55 // The icon shown for the menu item. 58 // The number of items to show in the menu 64 // Shows the context menu with the specified id. This is invoked when the 65 // user does the appropriate gesture to show a context menu. The id 66 // identifies the id of the menu to show the context menu for [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/ |
WindowCallback.java | 20 import android.view.Menu; 34 boolean onCreatePanelMenu(int featureId, Menu menu); 36 boolean onPreparePanel(int featureId, View menuView, Menu menu); 38 void onPanelClosed(int featureId, Menu menu); 40 boolean onMenuOpened(int featureId, Menu menu);
|
/cts/tests/tests/view/src/android/view/cts/ |
WindowCtsActivity.java | 24 import android.view.Menu; 41 public boolean onCreateOptionsMenu(Menu menu) { 42 menu.add(Menu.NONE, Menu.NONE, Menu.NONE, "Quit").setShortcut('1', 'q'); 43 menu.add(Menu.NONE, Menu.NONE, Menu.NONE, "Action").setShortcut('2', 'a') [all...] |
/external/chromium_org/ppapi/cpp/private/ |
flash_menu.h | 19 class Menu : public Resource { 22 Menu(const InstanceHandle& instance, const struct PP_Flash_Menu* menu_data);
|
flash_menu.cc | 26 Menu::Menu(const InstanceHandle& instance, 34 int32_t Menu::Show(const Point& location,
|
/packages/apps/Calendar/extensions_src/com/android/calendar/extensions/ |
AllInOneMenuExtensions.java | 20 import android.view.Menu; 24 * Skeleton for additional options in the AllInOne menu. 31 public Integer getExtensionMenuResource(Menu menu) {
|
/packages/apps/Calendar/src/com/android/calendar/ |
AllInOneMenuExtensionsInterface.java | 20 import android.view.Menu; 24 * Interface for additional options in the AllInOne menu. 30 Integer getExtensionMenuResource(Menu menu);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSearchSettings.java | 19 import android.view.Menu; 26 public void addMenuItems(Menu menu, boolean showDisabled) {
|
/packages/apps/Stk/src/com/android/stk/ |
StkApp.java | 30 // Identifiers for option menu items 31 static final int MENU_ID_END_SESSION = android.view.Menu.FIRST; 32 static final int MENU_ID_BACK = android.view.Menu.FIRST + 1; 33 static final int MENU_ID_HELP = android.view.Menu.FIRST + 2;
|
/frameworks/support/v4/java/android/support/v4/internal/view/ |
SupportMenu.java | 20 * Interface for managing the items in a menu. 25 * @see android.view.Menu 28 public interface SupportMenu extends android.view.Menu {
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
ActionMode.java | 19 import android.view.Menu; 32 * read the <a href="{@docRoot}guide/topics/ui/menus.html#context-menu">Menus</a> 164 * Invalidate the action mode and refresh menu content. The mode's 166 * {@link Callback#onPrepareActionMode(ActionMode, Menu)} method called. 167 * If it returns true the menu will be scanned for updated content and any relevant changes 179 * Returns the menu of actions that this action mode presents. 181 * @return The action mode's menu. 183 public abstract Menu getMenu(); 230 * <li>{@link Callback#onCreateActionMode(ActionMode, Menu)} once on initial 232 * <li>{@link Callback#onPrepareActionMode(ActionMode, Menu)} after creatio [all...] |
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/ |
Notepadv1.java | 21 import android.view.Menu; 34 public boolean onCreateOptionsMenu(Menu menu) { 36 return super.onCreateOptionsMenu(menu);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
LinearLayout8.java | 25 import android.view.Menu; 38 // Menu item Ids 39 public static final int VERTICAL_ID = Menu.FIRST; 40 public static final int HORIZONTAL_ID = Menu.FIRST + 1; 42 public static final int TOP_ID = Menu.FIRST + 2; 43 public static final int MIDDLE_ID = Menu.FIRST + 3; 44 public static final int BOTTOM_ID = Menu.FIRST + 4; 46 public static final int LEFT_ID = Menu.FIRST + 5; 47 public static final int CENTER_ID = Menu.FIRST + 6; 48 public static final int RIGHT_ID = Menu.FIRST + 7 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SubmenuAction.java | 11 import org.eclipse.swt.widgets.Menu; 18 private Menu mMenu; 38 public Menu getMenu(Control parent) { 43 public Menu getMenu(Menu parent) { 44 mMenu = new Menu(parent); 53 protected abstract void addMenuItems(Menu menu);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
Menu.java | 27 * Container class for CAT menu (SET UP MENU, SELECT ITEM) parameters. 30 public class Menu implements Parcelable { 42 public Menu() { 53 // set default style to be navigation menu. 57 private Menu(Parcel in) { 98 public static final Parcelable.Creator<Menu> CREATOR = new Parcelable.Creator<Menu>() { 100 public Menu createFromParcel(Parcel in) { 101 return new Menu(in) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
WindowCallbackWrapper.java | 21 import android.view.Menu; 48 public boolean onCreatePanelMenu(int featureId, Menu menu) { 49 return mWrapped.onCreatePanelMenu(featureId, menu); 53 public boolean onPreparePanel(int featureId, View menuView, Menu menu) { 54 return mWrapped.onPreparePanel(featureId, menuView, menu); 58 public void onPanelClosed(int featureId, Menu menu) { 59 mWrapped.onPanelClosed(featureId, menu); [all...] |
/cts/tests/app/src/android/app/cts/ |
TestDialog.java | 23 import android.view.Menu; 32 private static final int OPTIONS_MENU_ITEM_0 = Menu.FIRST; 33 private static final int OPTIONS_MENU_ITEM_1 = Menu.FIRST + 1; 34 private static final int OPTIONS_MENU_ITEM_2 = Menu.FIRST + 2; 35 private static final int OPTIONS_MENU_ITEM_3 = Menu.FIRST + 3; 36 private static final int OPTIONS_MENU_ITEM_4 = Menu.FIRST + 4; 37 private static final int OPTIONS_MENU_ITEM_5 = Menu.FIRST + 5; 38 private static final int OPTIONS_MENU_ITEM_6 = Menu.FIRST + 6; 39 private static final int CONTEXT_MENU_ITEM_0 = Menu.FIRST + 7; 40 private static final int CONTEXT_MENU_ITEM_1 = Menu.FIRST + 8 [all...] |
/frameworks/base/core/java/android/view/ |
ActionMode.java | 27 * read the <a href="{@docRoot}guide/topics/ui/menus.html#context-menu">Menus</a> 157 * Invalidate the action mode and refresh menu content. The mode's 159 * {@link Callback#onPrepareActionMode(ActionMode, Menu)} method called. 160 * If it returns true the menu will be scanned for updated content and any relevant changes 172 * Returns the menu of actions that this action mode presents. 173 * @return The action mode's menu. 175 public abstract Menu getMenu(); 219 * <li>{@link Callback#onCreateActionMode(ActionMode, Menu)} once on initial 221 * <li>{@link Callback#onPrepareActionMode(ActionMode, Menu)} after creation 231 * Called when action mode is first created. The menu supplied will be used t [all...] |
/packages/apps/Browser/src/com/android/browser/stub/ |
NullController.java | 9 import android.view.Menu; 41 public boolean onMenuOpened(int featureId, Menu menu) { 46 public void onOptionsMenuClosed(Menu menu) { 50 public void onContextMenuClosed(Menu menu) { 70 public boolean onCreateOptionsMenu(Menu menu) { 75 public boolean onPrepareOptionsMenu(Menu menu) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ExpandableListSimple.java | 19 import android.view.Menu; 34 public boolean onCreateOptionsMenu(Menu menu) { 35 menu.add("Add item").setOnMenuItemClickListener(new OnMenuItemClickListener() {
|