Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DModifierShortcutManager.java154 int shortcutChar = kcm.get(keyCode, metaState); in getIntent() local
155 if (shortcutChar != 0) { in getIntent()
156 shortcutIntent = shortcutMap.get(shortcutChar); in getIntent()
161 shortcutChar = Character.toLowerCase(kcm.getDisplayLabel(keyCode)); in getIntent()
162 if (shortcutChar != 0) { in getIntent()
163 shortcutIntent = shortcutMap.get(shortcutChar); in getIntent()
167 String role = isShiftOn ? mShiftRoleShortcuts.get(shortcutChar) in getIntent()
168 : mRoleShortcuts.get(shortcutChar); in getIntent()
230 final int shortcutChar = shortcutName.charAt(0); in loadShortcuts() local
237 + " className=" + className + " shortcutChar=" + shortcutChar); in loadShortcuts()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java851 final char shortcutChar = in findItemsWithShortcutForKey() local
857 if (isModifiersExactMatch && (shortcutChar != 0) && in findItemsWithShortcutForKey()
858 (shortcutChar == possibleChars.meta[0] in findItemsWithShortcutForKey()
859 || shortcutChar == possibleChars.meta[2] in findItemsWithShortcutForKey()
860 || (qwerty && shortcutChar == '\b' && in findItemsWithShortcutForKey()
905 final char shortcutChar = qwerty ? item.getAlphabeticShortcut() : in findItemWithShortcutForKey() local
907 if ((shortcutChar == possibleChars.meta[0] && in findItemWithShortcutForKey()
909 || (shortcutChar == possibleChars.meta[2] && in findItemWithShortcutForKey()
911 || (qwerty && shortcutChar == '\b' && in findItemWithShortcutForKey()