Home
last modified time | relevance | path

Searched refs:META_SHIFT_ON (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/java/android/text/method/
DMetaKeyKeyListener.java79 public static final int META_SHIFT_ON = KeyEvent.META_SHIFT_ON; field in MetaKeyKeyListener
124 private static final long META_SHIFT_MASK = META_SHIFT_ON
161 return getActive(text, CAP, META_SHIFT_ON, META_CAP_LOCKED) | in getMetaState()
202 case META_SHIFT_ON: in getMetaState()
425 if ((states&META_SHIFT_ON) != 0) content.removeSpan(CAP); in clearMetaKeyState()
465 } else if ((state & META_SHIFT_ON) != 0) { in getMetaState()
466 result |= META_SHIFT_ON; in getMetaState()
494 case META_SHIFT_ON: in getMetaState()
496 if ((state & META_SHIFT_ON) != 0) return PRESSED_RETURN_VALUE; in getMetaState()
522 state = (state & ~META_SHIFT_MASK) | META_SHIFT_ON | META_CAP_USED; in adjustMetaAfterKeypress()
[all …]
DDialerKeyListener.java63 if ((meta & (MetaKeyKeyListener.META_ALT_ON | MetaKeyKeyListener.META_SHIFT_ON)) == 0) { in lookup()
DTouch.java133 boolean cap = (event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0 in onTouchEvent()
135 MetaKeyKeyListener.META_SHIFT_ON) == 1 in onTouchEvent()
DArrowKeyMovementMethod.java35 return ((MetaKeyKeyListener.getMetaState(buffer, MetaKeyKeyListener.META_SHIFT_ON) == 1) || in isSelecting()
DBaseKeyListener.java336 boolean isShiftActive = (getMetaState(content, META_SHIFT_ON, event) == 1); in backspaceOrForwardDelete()
DBaseMovementMethod.java100 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) { in onGenericMotionEvent()
/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/
DSimpleKeyboard.java120 return (state & KeyEvent.META_SHIFT_ON) == KeyEvent.META_SHIFT_ON; in isShiftOn()
124 return state ^ KeyEvent.META_SHIFT_ON; in toggleShiftState()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DShortcutKeyTestBase.java37 import static android.view.KeyEvent.META_SHIFT_ON;
90 map.put(KEYCODE_SHIFT_LEFT, META_SHIFT_LEFT_ON | META_SHIFT_ON); in map.put() argument
91 map.put(KEYCODE_SHIFT_RIGHT, META_SHIFT_RIGHT_ON | META_SHIFT_ON); in map.put() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
DShortcutKeyDispatcher.java46 protected final long SHIFT_MASK = ((long) KeyEvent.META_SHIFT_ON) << Integer.SIZE;
/frameworks/base/core/java/android/view/
DMenu.java81 | KeyEvent.META_ALT_ON | KeyEvent.META_SHIFT_ON | KeyEvent.META_SYM_ON
DKeyEvent.java1118 public static final int META_SHIFT_ON = 0x1; field in KeyEvent
1246 META_SHIFT_ON,
1268 public static final int META_SHIFT_MASK = META_SHIFT_ON
2297 META_SHIFT_ON | META_SHIFT_LEFT_ON | META_SHIFT_RIGHT_ON
2405 metaState |= META_SHIFT_ON; in normalizeMetaState()
2489 META_SHIFT_ON, META_SHIFT_LEFT_ON, META_SHIFT_RIGHT_ON); in metaStateHasModifiers()
2591 return (mMetaState & META_SHIFT_ON) != 0; in isShiftPressed()
DKeyCharacterMap.java650 results.meta[1] = nativeGetCharacter(mPtr, keyCode, KeyEvent.META_SHIFT_ON); in getKeyData()
653 KeyEvent.META_ALT_ON | KeyEvent.META_SHIFT_ON); in getKeyData()
/frameworks/base/core/tests/coretests/src/android/widget/
DDatePickerFocusTest.java105 KeyEvent.META_SHIFT_ON); in sendShiftKey()
110 KeyEvent.META_SHIFT_ON); in sendShiftKey()
/frameworks/base/services/core/java/com/android/server/policy/
DModifierShortcutManager.java143 final boolean isShiftOn = KeyEvent.metaStateHasModifiers(metaState, KeyEvent.META_SHIFT_ON); in getIntent()
325 if ((metaState & KeyEvent.META_SHIFT_ON) != 0) { in handleShortcutService()
326 shortcutCode |= ((long) KeyEvent.META_SHIFT_ON) << Integer.SIZE; in handleShortcutService()
/frameworks/base/tests/Input/src/android/hardware/input/
DStickyModifierStateListenerTest.kt151 KeyEvent.META_SHIFT_ON or KeyEvent.META_SHIFT_LEFT_ON, in <lambda>()
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java40 import static android.view.KeyEvent.META_SHIFT_ON;
101 map.put(KEYCODE_SHIFT_LEFT, META_SHIFT_LEFT_ON | META_SHIFT_ON); in map.put() argument
102 map.put(KEYCODE_SHIFT_RIGHT, META_SHIFT_RIGHT_ON | META_SHIFT_ON); in map.put() argument
/frameworks/base/core/java/android/hardware/input/
DPhysicalKeyLayout.java406 KeyEvent.META_SHIFT_ON | KeyEvent.META_SHIFT_LEFT_ON); in KeyGlyph()
411 | KeyEvent.META_SHIFT_ON); in KeyGlyph()
DInputManagerGlobal.java952 return (mModifierState & KeyEvent.META_SHIFT_ON) != 0; in isShiftModifierOn()
957 return (mLockedModifierState & KeyEvent.META_SHIFT_ON) != 0; in isShiftModifierLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutListSearch.java138 KeyEvent.META_SHIFT_ON, KeyEvent.META_SYM_ON, KeyEvent.META_FUNCTION_ON
361 mModifierNames.put(KeyEvent.META_SHIFT_ON, "Shift"); in loadResources()
603 KeyEvent.META_SHIFT_ON | KeyEvent.META_ALT_ON))), in getMultiMappingSystemShortcuts()
733 KeyEvent.META_CTRL_ON | KeyEvent.META_SHIFT_ON), in getMultiMappingInputShortcuts()
DKeyboardShortcuts.java95 KeyEvent.META_SHIFT_ON, KeyEvent.META_SYM_ON, KeyEvent.META_FUNCTION_ON
342 mModifierNames.put(KeyEvent.META_SHIFT_ON, "Shift"); in loadResources()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java358 appendModifier(sb, modifiers, KeyEvent.META_SHIFT_ON, res.getString( in getShortcutLabel()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DKeyEventHandling.java244 metaState |= KeyEvent.META_SHIFT_ON; in javaToAndroidKeyEvent()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java442 } else if (event.hasModifiers(KeyEvent.META_SHIFT_ON)) { in onKeyDown()
DHorizontalScrollView.java869 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) { in onGenericMotionEvent()
DGridView.java1750 } else if (event.hasModifiers(KeyEvent.META_SHIFT_ON)) { in commonKey()

12