Home
last modified time | relevance | path

Searched refs:META_ALT_ON (Results 1 – 19 of 19) 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.java82 boolean isAltActive = (getMetaState(content, META_ALT_ON, event) == 1); in backspaceOrForwardDelete()
DQwertyKeyListener.java304 && (event.hasNoModifiers() || event.hasModifiers(KeyEvent.META_ALT_ON)) in onKeyDown()
/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/base/core/java/android/view/
DKeyEvent.java894 public static final int META_ALT_ON = 0x02; field in KeyEvent
1052 public static final int META_ALT_MASK = META_ALT_ON
1931 | META_ALT_ON | META_ALT_LEFT_ON | META_ALT_RIGHT_ON
2037 metaState |= META_ALT_ON; in normalizeMetaState()
2049 metaState |= META_ALT_ON; in normalizeMetaState()
2120 META_ALT_ON, META_ALT_LEFT_ON, META_ALT_RIGHT_ON); in metaStateHasModifiers()
2207 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/tests/coretests/src/android/view/
DMenuTest.java113 KeyEvent.META_ALT_ON))); in testIsShortcutWithAlt()
/frameworks/base/core/java/android/widget/
DGridView.java1662 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
1670 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
1700 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
1708 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
DListView.java2196 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
2213 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
2256 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
2264 } else if (event.hasModifiers(KeyEvent.META_ALT_ON)) { in commonKey()
/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/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuBuilder.java930 (metaState & KeyEvent.META_ALT_ON) == 0) in findItemWithShortcutForKey()
932 (metaState & KeyEvent.META_ALT_ON) != 0) in findItemWithShortcutForKey()
/frameworks/base/core/java/android/text/
DLayout.java1398 int fn = TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_ALT_ON); in getCursorPath()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2760 (metaState & KeyEvent.META_ALT_ON) == KeyEvent.META_ALT_ON) { in interceptKeyBeforeDispatching()
2973 if (KeyEvent.metaStateHasModifiers(shiftlessModifiers, KeyEvent.META_ALT_ON)) { in interceptKeyBeforeDispatching()
/frameworks/base/api/
Dcurrent.txt32791 field public static final int META_ALT_ON = 2; // 0x2
35280 field public static final int META_ALT_ON = 2; // 0x2
Dsystem-current.txt35083 field public static final int META_ALT_ON = 2; // 0x2
37572 field public static final int META_ALT_ON = 2; // 0x2