Home
last modified time | relevance | path

Searched refs:META_ALT_ON (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/text/method/
DMetaKeyKeyListener.java84 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 …]
DBaseMovementMethod.java171 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()
DDialerKeyListener.java63 if ((meta & (MetaKeyKeyListener.META_ALT_ON | MetaKeyKeyListener.META_SHIFT_ON)) == 0) { in lookup()
DBaseKeyListener.java337 boolean isAltActive = (getMetaState(content, META_ALT_ON, event) == 1); in backspaceOrForwardDelete()
DQwertyKeyListener.java314 && (event.hasNoModifiers() || event.hasModifiers(KeyEvent.META_ALT_ON)) in onKeyDown()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java74 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/
DGridScrollListenerTest.java75 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/
DShortcutKeyTestBase.java28 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/
DStickyModifierStateListenerTest.kt150 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/
DShortcutKeyDispatcher.java44 protected final long ALT_MASK = ((long) KeyEvent.META_ALT_ON) << Integer.SIZE;
/frameworks/base/core/java/android/view/
DMenu.java81 | KeyEvent.META_ALT_ON | KeyEvent.META_SHIFT_ON | KeyEvent.META_SYM_ON
DKeyEvent.java1090 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()
DKeyCharacterMap.java651 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/
DModifierShortcutManager.java321 if ((metaState & KeyEvent.META_ALT_ON) != 0) { in handleShortcutService()
322 shortcutCode |= ((long) KeyEvent.META_ALT_ON) << Integer.SIZE; in handleShortcutService()
DPhoneWindowManager.java3676 shiftlessModifiers, KeyEvent.META_ALT_ON)) {
4071 KeyEvent.META_CTRL_ON | KeyEvent.META_ALT_ON)) {
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java31 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/
DKeyboardShortcutListSearch.java137 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()
DKeyboardShortcuts.java94 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/
DPhysicalKeyLayout.java408 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/
DGridView.java1700 } 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()
DListView.java2409 } 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/
DMenuBuilder.java908 (metaState & KeyEvent.META_ALT_ON) == 0) in findItemWithShortcutForKey()
910 (metaState & KeyEvent.META_ALT_ON) != 0) in findItemWithShortcutForKey()
DMenuItemImpl.java356 appendModifier(sb, modifiers, KeyEvent.META_ALT_ON, res.getString( in getShortcutLabel()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DKeyEventHandling.java235 metaState |= KeyEvent.META_ALT_ON; in javaToAndroidKeyEvent()
/frameworks/base/core/java/android/text/
DLayout.java2961 int fn = TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_ALT_ON); in getCursorPath()

12