Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DMetaKeyKeyListener.java83 public static final int META_ALT_ON = KeyEvent.META_ALT_ON; field in MetaKeyKeyListener
126 private static final long META_ALT_MASK = META_ALT_ON
161 getActive(text, ALT, META_ALT_ON, META_ALT_LOCKED) | in getMetaState()
204 case META_ALT_ON: in getMetaState()
423 if ((states&META_ALT_ON) != 0) content.removeSpan(ALT); in clearMetaKeyState()
468 } else if ((state & META_ALT_ON) != 0) { in getMetaState()
469 result |= META_ALT_ON; in getMetaState()
496 case META_ALT_ON: in getMetaState()
498 if ((state & META_ALT_ON) != 0) return PRESSED_RETURN_VALUE; in getMetaState()
525 state = (state & ~META_ALT_MASK) | META_ALT_ON | META_ALT_USED; in adjustMetaAfterKeypress()
[all …]
DBaseMovementMethod.java170 KeyEvent.META_ALT_ON)) { in handleMovementKey()
182 KeyEvent.META_ALT_ON)) { in handleMovementKey()
191 KeyEvent.META_ALT_ON)) { in handleMovementKey()
200 KeyEvent.META_ALT_ON)) { in handleMovementKey()
209 KeyEvent.META_ALT_ON)) { in handleMovementKey()
218 KeyEvent.META_ALT_ON)) { in handleMovementKey()
DDialerKeyListener.java63 if ((meta & (MetaKeyKeyListener.META_ALT_ON | MetaKeyKeyListener.META_SHIFT_ON)) == 0) { in lookup()
DBaseKeyListener.java78 if (getMetaState(content, META_ALT_ON, event) == 1) { in backspaceOrForwardDelete()
DQwertyKeyListener.java304 && (event.hasNoModifiers() || event.hasModifiers(KeyEvent.META_ALT_ON)) in onKeyDown()
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/action/
DEspressoKeyBuilderTest.java59 assertEquals(KeyEvent.META_ALT_ON, key.getMetaState()); in testBuildWithAltPressed()
71 assertEquals(KeyEvent.META_SHIFT_ON | KeyEvent.META_CTRL_ON | KeyEvent.META_ALT_ON, in testBuildWithAllMetaKeysPressed()
74 assertEquals(KeyEvent.META_SHIFT_ON | KeyEvent.META_ALT_ON, key.getMetaState()); in testBuildWithAllMetaKeysPressed()
/frameworks/support/v4/java/android/support/v4/view/
DKeyEventCompat.java47 | KeyEvent.META_ALT_ON | KeyEvent.META_ALT_LEFT_ON | KeyEvent.META_ALT_RIGHT_ON
77 metaState |= KeyEvent.META_ALT_ON; in normalizeMetaState()
88 KeyEvent.META_ALT_ON, KeyEvent.META_ALT_LEFT_ON, KeyEvent.META_ALT_RIGHT_ON); in metaStateHasModifiers()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListenerTest.java79 KeyEvent.KEYCODE_DPAD_DOWN, 0, KeyEvent.META_ALT_ON); in testKeyScrolling()
81 KeyEvent.KEYCODE_DPAD_DOWN, 0, KeyEvent.META_ALT_ON); in testKeyScrolling()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java76 KeyEvent.KEYCODE_DPAD_DOWN, 0, KeyEvent.META_ALT_ON); in testKeyScrolling()
78 KeyEvent.KEYCODE_DPAD_DOWN, 0, KeyEvent.META_ALT_ON); in testKeyScrolling()
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/
DEspressoKey.java95 metaState |= KeyEvent.META_ALT_ON; in getMetaState()
/frameworks/base/core/java/android/view/
DKeyEvent.java871 public static final int META_ALT_ON = 0x02; field in KeyEvent
1029 public static final int META_ALT_MASK = META_ALT_ON
1910 | META_ALT_ON | META_ALT_LEFT_ON | META_ALT_RIGHT_ON
2016 metaState |= META_ALT_ON; in normalizeMetaState()
2028 metaState |= META_ALT_ON; in normalizeMetaState()
2099 META_ALT_ON, META_ALT_LEFT_ON, META_ALT_RIGHT_ON); in metaStateHasModifiers()
2186 return (mMetaState & META_ALT_ON) != 0; in isAltPressed()
DKeyCharacterMap.java576 results.meta[2] = nativeGetCharacter(mPtr, keyCode, KeyEvent.META_ALT_ON); in getKeyData()
578 KeyEvent.META_ALT_ON | KeyEvent.META_SHIFT_ON); in getKeyData()
/frameworks/base/core/java/android/widget/
DGridView.java1656 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
1664 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
1694 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
1702 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
DListView.java2184 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
2201 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
2244 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
2252 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java113 KeyEvent.META_ALT_ON))); in testIsShortcutWithAlt()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuBuilder.java921 (metaState & KeyEvent.META_ALT_ON) == 0) in findItemWithShortcutForKey()
923 (metaState & KeyEvent.META_ALT_ON) != 0) in findItemWithShortcutForKey()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java877 (metaState & KeyEvent.META_ALT_ON) == 0) in findItemWithShortcutForKey()
879 (metaState & KeyEvent.META_ALT_ON) != 0) in findItemWithShortcutForKey()
/frameworks/base/core/java/android/text/
DLayout.java1318 int fn = TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_ALT_ON); in getCursorPath()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java2289 (metaState & KeyEvent.META_ALT_ON) == KeyEvent.META_ALT_ON) { in interceptKeyBeforeDispatching()
2483 if (KeyEvent.metaStateHasModifiers(shiftlessModifiers, KeyEvent.META_ALT_ON)) { in interceptKeyBeforeDispatching()
/frameworks/base/api/
Dcurrent.txt30135 field public static final int META_ALT_ON = 2; // 0x2
32544 field public static final int META_ALT_ON = 2; // 0x2