Home
last modified time | relevance | path

Searched refs:setShortcut (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java90 mMenu.add(0, 0, 0, "test").setShortcut('2', 'a'); in testIsShortcutWithAlpha()
100 mMenu.add(0, 0, 0, "test").setShortcut('2', 'a'); in testIsShortcutWithNumeric()
110 mMenu.add(0, 0, 0, "test").setShortcut('2', 'a'); in testIsShortcutWithAlt()
122 mMenu.add(0, 0, 0, "test").setShortcut('2', 'a'); in testIsNotShortcutWithShift()
131 mMenu.add(0, 0, 0, "test").setShortcut('2', 'a'); in testIsNotShortcutWithSym()
140 mMenu.add(0, 0, 0, "test").setShortcut('2', 'A'); in testIsShortcutWithUpperCaseAlpha()
148 mMenu.add(0, 0, 0, "test").setShortcut('2', '\b'); in testIsShortcutWithBackspace()
156 mMenu.add(0, 0, 0, "test").setShortcut('2', '\n'); in testIsShortcutWithNewline()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuView.java95 public void setShortcut(boolean showShortcut, char shortcutKey); in setShortcut() method
DListMenuItemView.java106 setShortcut(itemData.shouldShowShortcut(), itemData.getShortcut()); in initialize()
193 public void setShortcut(boolean showShortcut, char shortcutKey) { in setShortcut() method in ListMenuItemView
DMenuItemWrapperICS.java129 public MenuItem setShortcut(char numericChar, char alphaChar) { in setShortcut() method in MenuItemWrapperICS
130 mWrappedObject.setShortcut(numericChar, alphaChar); in setShortcut()
DActionMenuItem.java189 public MenuItem setShortcut(char numericChar, char alphaChar) { in setShortcut() method in ActionMenuItem
DActionMenuItemView.java212 public void setShortcut(boolean showShortcut, char shortcutKey) { in setShortcut() method in ActionMenuItemView
DMenuItemImpl.java272 public MenuItem setShortcut(char numericChar, char alphaChar) { in setShortcut() method in MenuItemImpl
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuView.java98 public void setShortcut(boolean showShortcut, char shortcutKey); in setShortcut() method
DListMenuItemView.java106 setShortcut(itemData.shouldShowShortcut(), itemData.getShortcut()); in initialize()
189 public void setShortcut(boolean showShortcut, char shortcutKey) { in setShortcut() method in ListMenuItemView
DActionMenuItem.java185 public MenuItem setShortcut(char numericChar, char alphaChar) { in setShortcut() method in ActionMenuItem
DIconMenuItemView.java300 public void setShortcut(boolean showShortcut, char shortcutKey) { in setShortcut() method in IconMenuItemView
DActionMenuItemView.java208 public void setShortcut(boolean showShortcut, char shortcutKey) { in setShortcut() method in ActionMenuItemView
DMenuItemImpl.java256 public MenuItem setShortcut(char numericChar, char alphaChar) { in setShortcut() method in MenuItemImpl
/frameworks/base/core/java/android/view/
DMenuItem.java273 public MenuItem setShortcut(char numericChar, char alphaChar); in setShortcut() method
/frameworks/base/docs/html/about/versions/
Dandroid-3.0.jd687 element (or with {@link android.view.MenuItem#setShortcut setShortcut()}).</li>
/frameworks/base/api/
Dcurrent.txt32691 method public abstract android.view.MenuItem setShortcut(char, char);