/frameworks/base/core/java/android/text/method/ |
D | MetaKeyKeyListener.java | 84 public static final int META_ALT_ON = KeyEvent.META_ALT_ON; field in MetaKeyKeyListener 127 private static final long META_ALT_MASK = META_ALT_ON 162 getActive(text, ALT, META_ALT_ON, META_ALT_LOCKED) | in getMetaState() 205 case META_ALT_ON: in getMetaState() 426 if ((states&META_ALT_ON) != 0) content.removeSpan(ALT); in clearMetaKeyState() 471 } else if ((state & META_ALT_ON) != 0) { in getMetaState() 472 result |= META_ALT_ON; in getMetaState() 499 case META_ALT_ON: in getMetaState() 501 if ((state & META_ALT_ON) != 0) return PRESSED_RETURN_VALUE; in getMetaState() 528 state = (state & ~META_ALT_MASK) | META_ALT_ON | META_ALT_USED; in adjustMetaAfterKeypress() [all …]
|
D | BaseMovementMethod.java | 171 KeyEvent.META_ALT_ON)) { in handleMovementKey() 183 KeyEvent.META_ALT_ON)) { in handleMovementKey() 192 KeyEvent.META_ALT_ON)) { in handleMovementKey() 204 KeyEvent.META_ALT_ON)) { in handleMovementKey() 216 KeyEvent.META_ALT_ON)) { in handleMovementKey() 225 KeyEvent.META_ALT_ON)) { in handleMovementKey()
|
D | DialerKeyListener.java | 63 if ((meta & (MetaKeyKeyListener.META_ALT_ON | MetaKeyKeyListener.META_SHIFT_ON)) == 0) { in lookup()
|
D | BaseKeyListener.java | 337 boolean isAltActive = (getMetaState(content, META_ALT_ON, event) == 1); in backspaceOrForwardDelete()
|
D | QwertyKeyListener.java | 314 && (event.hasNoModifiers() || event.hasModifiers(KeyEvent.META_ALT_ON)) in onKeyDown()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListScrollListenerTest.java | 74 KeyEvent.KEYCODE_DPAD_UP, 0, KeyEvent.META_ALT_ON); in testKeyScrolling() 76 KeyEvent.KEYCODE_DPAD_UP, 0, KeyEvent.META_ALT_ON); in testKeyScrolling() 84 KeyEvent.KEYCODE_DPAD_DOWN, 0, KeyEvent.META_ALT_ON); in testKeyScrolling() 86 KeyEvent.KEYCODE_DPAD_DOWN, 0, KeyEvent.META_ALT_ON); in testKeyScrolling()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridScrollListenerTest.java | 75 KeyEvent.KEYCODE_DPAD_UP, 0, KeyEvent.META_ALT_ON); in testKeyScrolling() 77 KeyEvent.KEYCODE_DPAD_UP, 0, KeyEvent.META_ALT_ON); in testKeyScrolling() 86 KeyEvent.KEYCODE_DPAD_DOWN, 0, KeyEvent.META_ALT_ON); in testKeyScrolling() 88 KeyEvent.KEYCODE_DPAD_DOWN, 0, KeyEvent.META_ALT_ON); in testKeyScrolling()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | ShortcutKeyTestBase.java | 28 import static android.view.KeyEvent.META_ALT_ON; 88 map.put(KEYCODE_ALT_LEFT, META_ALT_LEFT_ON | META_ALT_ON); in map.put() argument 89 map.put(KEYCODE_ALT_RIGHT, META_ALT_RIGHT_ON | META_ALT_ON); in map.put() argument
|
/frameworks/base/tests/Input/src/android/hardware/input/ |
D | StickyModifierStateListenerTest.kt | 150 KeyEvent.META_ALT_ON or KeyEvent.META_ALT_LEFT_ON or in <lambda>() 152 KeyEvent.META_ALT_ON or KeyEvent.META_ALT_LEFT_ON in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/ |
D | ShortcutKeyDispatcher.java | 44 protected final long ALT_MASK = ((long) KeyEvent.META_ALT_ON) << Integer.SIZE;
|
/frameworks/base/core/java/android/view/ |
D | Menu.java | 81 | KeyEvent.META_ALT_ON | KeyEvent.META_SHIFT_ON | KeyEvent.META_SYM_ON
|
D | KeyEvent.java | 1090 public static final int META_ALT_ON = 0x02; field in KeyEvent 1243 META_ALT_ON, 1275 public static final int META_ALT_MASK = META_ALT_ON 2298 | META_ALT_ON | META_ALT_LEFT_ON | META_ALT_RIGHT_ON 2408 metaState |= META_ALT_ON; in normalizeMetaState() 2420 metaState |= META_ALT_ON; in normalizeMetaState() 2491 META_ALT_ON, META_ALT_LEFT_ON, META_ALT_RIGHT_ON); in metaStateHasModifiers() 2578 return (mMetaState & META_ALT_ON) != 0; in isAltPressed()
|
D | KeyCharacterMap.java | 651 results.meta[2] = nativeGetCharacter(mPtr, keyCode, KeyEvent.META_ALT_ON); in getKeyData() 653 KeyEvent.META_ALT_ON | KeyEvent.META_SHIFT_ON); in getKeyData()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | ModifierShortcutManager.java | 321 if ((metaState & KeyEvent.META_ALT_ON) != 0) { in handleShortcutService() 322 shortcutCode |= ((long) KeyEvent.META_ALT_ON) << Integer.SIZE; in handleShortcutService()
|
D | PhoneWindowManager.java | 3676 shiftlessModifiers, KeyEvent.META_ALT_ON)) { 4071 KeyEvent.META_CTRL_ON | KeyEvent.META_ALT_ON)) {
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputShellCommand.java | 31 import static android.view.KeyEvent.META_ALT_ON; 99 map.put(KEYCODE_ALT_LEFT, META_ALT_LEFT_ON | META_ALT_ON); in map.put() argument 100 map.put(KEYCODE_ALT_RIGHT, META_ALT_RIGHT_ON | META_ALT_ON); in map.put() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutListSearch.java | 137 KeyEvent.META_META_ON, KeyEvent.META_CTRL_ON, KeyEvent.META_ALT_ON, 360 mModifierNames.put(KeyEvent.META_ALT_ON, "Alt"); in loadResources() 596 Pair.create(KeyEvent.KEYCODE_TAB, KeyEvent.META_ALT_ON))), in getMultiMappingSystemShortcuts() 603 KeyEvent.META_SHIFT_ON | KeyEvent.META_ALT_ON))), in getMultiMappingSystemShortcuts() 693 KeyEvent.META_META_ON | KeyEvent.META_ALT_ON)); in getSystemMultitaskingShortcuts() 698 KeyEvent.META_META_ON | KeyEvent.META_ALT_ON)); in getSystemMultitaskingShortcuts()
|
D | KeyboardShortcuts.java | 94 KeyEvent.META_META_ON, KeyEvent.META_CTRL_ON, KeyEvent.META_ALT_ON, 341 mModifierNames.put(KeyEvent.META_ALT_ON, "Alt"); in loadResources() 480 KeyEvent.META_ALT_ON)); in getSystemShortcuts()
|
/frameworks/base/core/java/android/hardware/input/ |
D | PhysicalKeyLayout.java | 408 KeyEvent.META_ALT_ON | KeyEvent.META_ALT_RIGHT_ON | KeyEvent.META_CAPS_LOCK_ON); in KeyGlyph() 410 KeyEvent.META_ALT_ON | KeyEvent.META_ALT_RIGHT_ON | KeyEvent.META_SHIFT_LEFT_ON in KeyGlyph()
|
/frameworks/base/core/java/android/widget/ |
D | GridView.java | 1700 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey() 1708 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey() 1716 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey() 1724 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
|
D | ListView.java | 2409 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey() 2426 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey() 2446 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey() 2454 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuBuilder.java | 908 (metaState & KeyEvent.META_ALT_ON) == 0) in findItemWithShortcutForKey() 910 (metaState & KeyEvent.META_ALT_ON) != 0) in findItemWithShortcutForKey()
|
D | MenuItemImpl.java | 356 appendModifier(sb, modifiers, KeyEvent.META_ALT_ON, res.getString( in getShortcutLabel()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | KeyEventHandling.java | 235 metaState |= KeyEvent.META_ALT_ON; in javaToAndroidKeyEvent()
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 2961 int fn = TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_ALT_ON); in getCursorPath()
|