/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
SimpleMenuItem.java | 23 import android.view.MenuItem; 28 * A <em>really</em> dumb implementation of the {@link android.view.MenuItem} interface, that's only 33 public class SimpleMenuItem implements MenuItem { 60 public MenuItem setTitle(CharSequence title) { 65 public MenuItem setTitle(int titleRes) { 73 public MenuItem setTitleCondensed(CharSequence title) { 82 public MenuItem setIcon(Drawable icon) { 88 public MenuItem setIcon(int iconResId) { 106 public MenuItem setEnabled(boolean enabled) { 127 public MenuItem setActionProvider(ActionProvider actionProvider) [all...] |
/external/libpng/contrib/visupng/ |
VisualPng.rc | 59 MENUITEM "&Open Image...\tCtrl+O", IDM_FILE_OPEN
60 MENUITEM "Save &As...", IDM_FILE_SAVE
61 MENUITEM SEPARATOR
62 MENUITEM "&Next Image\tCtrl+N", IDM_FILE_NEXT
63 MENUITEM "Pre&vious Image\tCtrl+V", IDM_FILE_PREVIOUS
64 MENUITEM SEPARATOR
65 MENUITEM "E&xit\tAlt+X", IDM_FILE_EXIT
69 MENUITEM "&Stretch", IDM_OPTIONS_STRETCH, CHECKED
73 MENUITEM "&About", IDM_HELP_ABOUT
|
/external/webkit/Tools/MiniBrowser/win/ |
MiniBrowser.rc | 24 MENUITEM "&New Window\tCtrl+N", ID_FILE_NEW_WINDOW
25 MENUITEM SEPARATOR
26 MENUITEM "&Close", ID_FILE_CLOSE
30 MENUITEM "&Show WebView", ID_DEBUG_SHOW_WEB_VIEW, CHECKED
|
/frameworks/support/v4/honeycomb/android/support/v4/view/ |
MenuItemCompatHoneycomb.java | 19 import android.view.MenuItem; 26 public static void setShowAsAction(MenuItem item, int actionEnum) { 30 public static MenuItem setActionView(MenuItem item, View view) {
|
/external/icu4c/samples/layout/ |
LayoutSample.rc | 41 MENUITEM "&New Sample\tCtrl+N", IDM_FILE_NEWSAMPLE 42 MENUITEM "&Open...\tCtrl+O", IDM_FILE_OPEN 43 MENUITEM SEPARATOR 44 MENUITEM "&Close\tCtrl+W", IDM_FILE_CLOSE 45 MENUITEM "E&xit\tCtrl+Q", IDM_FILE_EXIT 49 MENUITEM "&About Layout Sample...", IDM_HELP_ABOUTLAYOUTSAMPLE
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuItem.java | 24 import android.view.MenuItem; 31 public class ActionMenuItem implements MenuItem { 48 private MenuItem.OnMenuItemClickListener mClickListener; 133 public MenuItem setAlphabeticShortcut(char alphaChar) { 138 public MenuItem setCheckable(boolean checkable) { 148 public MenuItem setChecked(boolean checked) { 153 public MenuItem setEnabled(boolean enabled) { 158 public MenuItem setIcon(Drawable icon) { 164 public MenuItem setIcon(int iconRes) { 170 public MenuItem setIntent(Intent intent) [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
MenuCompat.java | 19 import android.view.MenuItem; 31 public boolean setShowAsAction(MenuItem item, int actionEnum); 39 public boolean setShowAsAction(MenuItem item, int actionEnum) { 49 public boolean setShowAsAction(MenuItem item, int actionEnum) { 70 * Call {@link MenuItem#setShowAsAction(int) MenuItem.setShowAsAction()}. 74 * @deprecated Use {@link MenuItemCompat#setShowAsAction(MenuItem, int) 75 * MenuItemCompat.setShowAsAction(MenuItem, int)} 78 public static boolean setShowAsAction(MenuItem item, int actionEnum) {
|
MenuItemCompat.java | 19 import android.view.MenuItem; 23 * Helper for accessing features in {@link android.view.MenuItem} 65 public boolean setShowAsAction(MenuItem item, int actionEnum); 66 public MenuItem setActionView(MenuItem item, View view); 74 public boolean setShowAsAction(MenuItem item, int actionEnum) { 79 public MenuItem setActionView(MenuItem item, View view) { 89 public boolean setShowAsAction(MenuItem item, int actionEnum) { 94 public MenuItem setActionView(MenuItem item, View view) [all...] |
/external/chromium/chrome/browser/resources/shared/js/cr/ui/ |
menu_item.js | 14 var MenuItem = cr.ui.define('div'); 18 * @return {cr.ui.MenuItem} 20 MenuItem.createSeparator = function() { 22 MenuItem.decorate(el); 26 MenuItem.prototype = { 140 cr.defineProperty(MenuItem, 'disabled', cr.PropertyKind.BOOL_ATTR); 146 cr.defineProperty(MenuItem, 'hidden', cr.PropertyKind.BOOL_ATTR); 152 cr.defineProperty(MenuItem, 'selected', cr.PropertyKind.BOOL_ATTR); 158 cr.defineProperty(MenuItem, 'checked', cr.PropertyKind.BOOL_ATTR); 162 MenuItem: MenuIte [all...] |
/external/webkit/Source/WebCore/platform/win/ |
ContextMenuWin.cpp | 92 MENUITEMINFO menuItem = item.nativeMenuItem(); 106 title = menuItem.dwTypeData; 107 menuItem.dwTypeData = 0; 109 if (menuItem.hSubMenu) { 111 newItem = reinterpret_cast<UINT>(menuItem.hSubMenu); 112 menuItem.hSubMenu = 0; 114 newItem = menuItem.wID; 123 menuItem.fMask |= MIIM_STRING; 124 menuItem.cch = itemTitle.length(); 125 menuItem.dwTypeData = const_cast<LPWSTR>(itemTitle.charactersWithNullTermination()) [all...] |
/external/chromium/chrome/browser/ui/cocoa/wrench_menu/ |
menu_tracked_root_view.mm | 9 @synthesize menuItem = menuItem_;
|
menu_tracked_root_view_unittest.mm | 28 id menuItem = [OCMockObject mockForClass:[NSMenuItem class]]; 29 [[[menuItem stub] andReturn:menu] menu]; 31 [view_ setMenuItem:menuItem]; 44 [menuItem verify];
|
/frameworks/base/core/java/android/view/ |
CollapsibleActionView.java | 19 import android.view.MenuItem.OnActionExpandListener; 26 * <p>See {@link MenuItem} for more information about action views. 32 * See {@link MenuItem#expandActionView()}. 38 * See {@link MenuItem#collapseActionView()}.
|
ActionProvider.java | 26 * An ActionProvider can be optionally specified for a {@link MenuItem} and in such a 39 * Setting the action provider on a {@link MenuItem} directly by calling 40 * {@link MenuItem#setActionProvider(ActionProvider)}. 57 * @see MenuItem#setActionProvider(ActionProvider) 58 * @see MenuItem#getActionProvider() 89 * Receiving a call to {@link MenuItem.OnMenuItemClickListener#onMenuItemClick 90 * MenuItem.OnMenuItemClickListener.onMenuItemClick}. 93 * Receiving a call to {@link android.app.Activity#onOptionsItemSelected(MenuItem) 94 * Activity.onOptionsItemSelected(MenuItem)} 97 * Receiving a call to {@link android.app.Fragment#onOptionsItemSelected(MenuItem) [all...] |
/external/chromium/chrome/browser/ui/cocoa/toolbar/ |
back_forward_menu_controller.mm | 68 NSMenuItem* menuItem = [[NSMenuItem alloc] 72 [menuItem autorelease]; 77 [menuItem setImage:SkBitmapToNSImage(icon)]; 81 [menuItem setTag:menuID]; 82 [menuItem setTarget:self]; 83 [menuItem setAction:@selector(executeMenuItem:)]; 86 [menu insertItem:menuItem
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
MenuWith1ItemTest.java | 69 final View menuItem = mActivity.getItemView(MenuBuilder.TYPE_ICON, 0); 70 assertTrue("menuItem.isFocused()", menuItem.isFocused()); 84 assertTrue("menuItem.isInTouchMode()", menuItem.isInTouchMode()); 85 assertFalse("menuItem.isFocused()", menuItem.isFocused());
|
MenuScenario.java | 24 import android.view.MenuItem; 30 public class MenuScenario extends Activity implements MenuItem.OnMenuItemClickListener { 33 private MenuItem[] mItems; 54 mItems = new MenuItem[mParams.numItems]; 65 MenuItem item; 103 protected MenuItem onAddMenuItem(Menu menu, int itemPosition) { 119 public boolean onMenuItemClick(MenuItem item) { 138 public int findItemPosition(MenuItem item) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
CustomMenu.java | 24 import android.view.MenuItem; 58 public MenuItem findItem(int id) { 88 public MenuItem findMenuItem(int id) { 89 MenuItem item = null; 99 MenuItem item = null; 114 MenuItem item = findMenuItem(id); 120 public boolean onMenuItemClick(MenuItem item) {
|
/external/chromium/chrome/browser/ui/cocoa/ |
nsmenuitem_additions_unittest.mm | 31 NSMenuItem* MenuItem(NSString* equiv, NSUInteger mask) { 92 item = MenuItem(@"", 0); 97 item = MenuItem(@"a", 0); 103 item = MenuItem(@"a", 0); 109 item = MenuItem(@"A", 0); 115 item = MenuItem(@"A", 0x180000); 120 item = MenuItem(@"a", 0x180000); 125 item = MenuItem(@"=", 0x100000); 130 item = MenuItem(@"+", 0x100000); 138 item = MenuItem(@"3", 0x40000) [all...] |
/external/webkit/Source/WebCore/platform/haiku/ |
ContextMenuHaiku.cpp | 90 BMenuItem* menuItem = item.releasePlatformDescription(); 91 if (menuItem) 92 m_platformDescription->AddItem(menuItem); 102 BMenuItem* menuItem = item.releasePlatformDescription(); 103 if (menuItem) 104 m_platformDescription->AddItem(menuItem, position);
|
/frameworks/base/docs/html/sdk/api_diff/14/changes/ |
android.view.MenuItem.html | 10 android.view.MenuItem 74 Interface android.view.<A HREF="../../../../reference/android/view/MenuItem.html" target="_top"><font size="+2"><code>MenuItem</code></font></A> 86 <A NAME="android.view.MenuItem.collapseActionView_added()"></A> 87 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/MenuItem.html#collapseActionView()" target="_top"><code>collapseActionView</code></A>()</nobr> 93 <A NAME="android.view.MenuItem.expandActionView_added()"></A> 94 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/MenuItem.html#expandActionView()" target="_top"><code>expandActionView</code></A>()</nobr> 100 <A NAME="android.view.MenuItem.getActionProvider_added()"></A> 101 <nobr><code>ActionProvider</code> <A HREF="../../../../reference/android/view/MenuItem.html#getActionProvider()" target="_top"><code>getActionProvider</code></A>()</nobr> 107 <A NAME="android.view.MenuItem.isActionViewExpanded_added()"></A [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
MenuHelper.java | 41 import android.view.MenuItem; 107 public void aboutToCall(MenuItem item, IImage image); 167 MenuItem item = menu.findItem(MENU_IMAGE_SHARE); 182 MenuItem item = menu.findItem(MENU_IMAGE_SHOWMAP); 584 final ArrayList<MenuItem> requiresWriteAccessItems = 585 new ArrayList<MenuItem>(); 586 final ArrayList<MenuItem> requiresNoDrmAccessItems = 587 new ArrayList<MenuItem>(); 588 final ArrayList<MenuItem> requiresImageItems = 589 new ArrayList<MenuItem>(); [all...] |
/packages/apps/Browser/src/com/android/browser/ |
OptionsMenuHandler.java | 20 import android.view.MenuItem; 26 boolean onOptionsItemSelected(MenuItem item);
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
ContextMenuAdapter.java | 18 import android.view.MenuItem; 29 boolean onContextItemSelected(MenuItem item);
|
/packages/apps/Mms/tests/src/com/android/mms/ui/ |
LongThreadTest.java | 26 import android.view.MenuItem; 144 private class AddSubjectMenuItem implements MenuItem { 226 public MenuItem setAlphabeticShortcut(char alphaChar) { 231 public MenuItem setCheckable(boolean checkable) { 236 public MenuItem setChecked(boolean checked) { 241 public MenuItem setEnabled(boolean enabled) { 246 public MenuItem setIcon(Drawable icon) { 251 public MenuItem setIcon(int iconRes) { 256 public MenuItem setIntent(Intent intent) { 261 public MenuItem setNumericShortcut(char numericChar) [all...] |