Home
last modified time | relevance | path

Searched refs:shortcutChar (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/policy/
DShortcutManager.java88 int shortcutChar = kcm.get(keyCode, metaState); in getIntent() local
89 if (shortcutChar != 0) { in getIntent()
90 shortcut = shortcutMap.get(shortcutChar); in getIntent()
95 shortcutChar = Character.toLowerCase(kcm.getDisplayLabel(keyCode)); in getIntent()
96 if (shortcutChar != 0) { in getIntent()
97 shortcut = shortcutMap.get(shortcutChar); in getIntent()
133 final int shortcutChar = shortcutName.charAt(0); in loadShortcuts() local
177 mShiftShortcuts.put(shortcutChar, shortcut); in loadShortcuts()
179 mShortcuts.put(shortcutChar, shortcut); in loadShortcuts()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java824 final char shortcutChar = in findItemsWithShortcutForKey() local
830 if (isModifiersExactMatch && (shortcutChar != 0) && in findItemsWithShortcutForKey()
831 (shortcutChar == possibleChars.meta[0] in findItemsWithShortcutForKey()
832 || shortcutChar == possibleChars.meta[2] in findItemsWithShortcutForKey()
833 || (qwerty && shortcutChar == '\b' && in findItemsWithShortcutForKey()
878 final char shortcutChar = qwerty ? item.getAlphabeticShortcut() : in findItemWithShortcutForKey() local
880 if ((shortcutChar == possibleChars.meta[0] && in findItemWithShortcutForKey()
882 || (shortcutChar == possibleChars.meta[2] && in findItemWithShortcutForKey()
884 || (qwerty && shortcutChar == '\b' && in findItemWithShortcutForKey()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuBuilder.java887 final char shortcutChar = in findItemsWithShortcutForKey() local
893 if (isModifiersExactMatch && (shortcutChar != 0) in findItemsWithShortcutForKey()
894 && (shortcutChar == possibleChars.meta[0] in findItemsWithShortcutForKey()
895 || shortcutChar == possibleChars.meta[2] in findItemsWithShortcutForKey()
896 || (qwerty && shortcutChar == '\b' in findItemsWithShortcutForKey()
942 final char shortcutChar = qwerty ? item.getAlphabeticShortcut() : in findItemWithShortcutForKey() local
944 if ((shortcutChar == possibleChars.meta[0] && in findItemWithShortcutForKey()
946 || (shortcutChar == possibleChars.meta[2] && in findItemWithShortcutForKey()
948 || (qwerty && shortcutChar == '\b' && in findItemWithShortcutForKey()