/frameworks/base/core/java/android/text/method/ |
D | MetaKeyKeyListener.java | 79 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 …]
|
D | DialerKeyListener.java | 63 if ((meta & (MetaKeyKeyListener.META_ALT_ON | MetaKeyKeyListener.META_SHIFT_ON)) == 0) { in lookup()
|
D | Touch.java | 133 boolean cap = (event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0 in onTouchEvent() 135 MetaKeyKeyListener.META_SHIFT_ON) == 1 in onTouchEvent()
|
D | ArrowKeyMovementMethod.java | 35 return ((MetaKeyKeyListener.getMetaState(buffer, MetaKeyKeyListener.META_SHIFT_ON) == 1) || in isSelecting()
|
D | BaseKeyListener.java | 336 boolean isShiftActive = (getMetaState(content, META_SHIFT_ON, event) == 1); in backspaceOrForwardDelete()
|
D | BaseMovementMethod.java | 100 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) { in onGenericMotionEvent()
|
/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/ |
D | SimpleKeyboard.java | 120 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/ |
D | ShortcutKeyTestBase.java | 37 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/ |
D | ShortcutKeyDispatcher.java | 46 protected final long SHIFT_MASK = ((long) KeyEvent.META_SHIFT_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 | 1118 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()
|
D | KeyCharacterMap.java | 650 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/ |
D | DatePickerFocusTest.java | 105 KeyEvent.META_SHIFT_ON); in sendShiftKey() 110 KeyEvent.META_SHIFT_ON); in sendShiftKey()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | ModifierShortcutManager.java | 143 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/ |
D | StickyModifierStateListenerTest.kt | 151 KeyEvent.META_SHIFT_ON or KeyEvent.META_SHIFT_LEFT_ON, in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputShellCommand.java | 40 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/ |
D | PhysicalKeyLayout.java | 406 KeyEvent.META_SHIFT_ON | KeyEvent.META_SHIFT_LEFT_ON); in KeyGlyph() 411 | KeyEvent.META_SHIFT_ON); in KeyGlyph()
|
D | InputManagerGlobal.java | 952 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/ |
D | KeyboardShortcutListSearch.java | 138 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()
|
D | KeyboardShortcuts.java | 95 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/ |
D | MenuItemImpl.java | 358 appendModifier(sb, modifiers, KeyEvent.META_SHIFT_ON, res.getString( in getShortcutLabel()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | KeyEventHandling.java | 244 metaState |= KeyEvent.META_SHIFT_ON; in javaToAndroidKeyEvent()
|
/frameworks/base/core/java/android/widget/ |
D | SimpleMonthView.java | 442 } else if (event.hasModifiers(KeyEvent.META_SHIFT_ON)) { in onKeyDown()
|
D | HorizontalScrollView.java | 869 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) { in onGenericMotionEvent()
|
D | GridView.java | 1750 } else if (event.hasModifiers(KeyEvent.META_SHIFT_ON)) { in commonKey()
|