/frameworks/native/libs/input/ |
D | KeyCharacterMap.cpp | 50 int32_t metaState; member 226 char16_t KeyCharacterMap::getCharacter(int32_t keyCode, int32_t metaState) const { in getCharacter() 228 const Behavior* behavior = getKeyBehavior(keyCode, metaState); in getCharacter() 233 ALOGD("getCharacter: keyCode=%d, metaState=0x%08x ~ Result %d.", keyCode, metaState, result); in getCharacter() 238 bool KeyCharacterMap::getFallbackAction(int32_t keyCode, int32_t metaState, in getFallbackAction() argument 241 outFallbackAction->metaState = 0; in getFallbackAction() 244 const Behavior* behavior = getKeyBehavior(keyCode, metaState); in getFallbackAction() 248 outFallbackAction->metaState = metaState & ~behavior->metaState; in getFallbackAction() 255 keyCode, metaState, result ? "true" : "false", in getFallbackAction() 256 outFallbackAction->keyCode, outFallbackAction->metaState); in getFallbackAction() [all …]
|
D | KeyboardClassifier.cpp | 81 void KeyboardClassifier::processKey(DeviceId deviceId, int32_t evdevCode, uint32_t metaState) { in processKey() argument 85 metaState); in processKey()
|
/frameworks/native/include/input/ |
D | KeyCharacterMap.h | 71 int32_t metaState; member 107 char16_t getCharacter(int32_t keyCode, int32_t metaState) const; 113 bool getFallbackAction(int32_t keyCode, int32_t metaState, 121 size_t numChars, int32_t metaState) const; 143 int32_t metaState) const; 158 int32_t metaState = 0; member 199 inline explicit Property(int32_t property = 0, int32_t metaState = 0) : 200 property(property), metaState(metaState) { } in property() 203 int32_t metaState; member 239 const Behavior* getKeyBehavior(int32_t keyCode, int32_t metaState) const; [all …]
|
D | InputTransport.h | 105 int32_t metaState; member 124 int32_t metaState; member 358 int32_t metaState, int32_t repeatCount, nsecs_t downTime, 372 int32_t edgeFlags, int32_t metaState, int32_t buttonState,
|
/frameworks/base/services/tests/servicestests/res/raw-watch/ |
D | a11y_three_finger_swipe_down_gesture.log | 2 …50.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 3 …70.0, toolType[1]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 4 …70.0, toolType[1]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 5 …00.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 6 …00.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 7 …10.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 8 …20.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 9 …30.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 10 …40.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 11 …50.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… [all …]
|
/frameworks/base/services/tests/servicestests/res/raw/ |
D | a11y_three_finger_swipe_down_gesture.log | 2 …96.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 3 …01.0, toolType[1]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 4 …01.0, toolType[1]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 5 …49.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 6 …49.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 7 …49.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 8 …76.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 9 …11.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 10 …41.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 11 …76.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… [all …]
|
D | a11y_touch_explore_gesture.log | 2 …28.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 3 …28.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed… 4 …28.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, ed…
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 1608 int code, int repeat, int metaState) { in KeyEvent() argument 1609 this(downTime, eventTime, action, code, repeat, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, in KeyEvent() 1630 int code, int repeat, int metaState, in KeyEvent() argument 1632 this(downTime, eventTime, action, code, repeat, metaState, deviceId, scancode, in KeyEvent() 1654 int code, int repeat, int metaState, in KeyEvent() argument 1656 this(downTime, eventTime, action, code, repeat, metaState, deviceId, scancode, flags, in KeyEvent() 1679 int code, int repeat, int metaState, in KeyEvent() argument 1681 this(downTime, eventTime, action, code, repeat, metaState, deviceId, scancode, flags, in KeyEvent() 1685 private KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, in KeyEvent() argument 1695 mMetaState = metaState; in KeyEvent() [all …]
|
D | KeyCharacterMap.java | 302 private static native char nativeGetCharacter(long ptr, int keyCode, int metaState); in nativeGetCharacter() argument 303 private static native boolean nativeGetFallbackAction(long ptr, int keyCode, int metaState, in nativeGetFallbackAction() argument 306 private static native char nativeGetMatch(long ptr, int keyCode, char[] chars, int metaState); in nativeGetMatch() argument 428 public int get(int keyCode, int metaState) { in get() argument 429 metaState = KeyEvent.normalizeMetaState(metaState); in get() 430 char ch = nativeGetCharacter(mPtr, keyCode, metaState); in get() 457 public FallbackAction getFallbackAction(int keyCode, int metaState) { in getFallbackAction() argument 459 metaState = KeyEvent.normalizeMetaState(metaState); in getFallbackAction() 460 if (nativeGetFallbackAction(mPtr, keyCode, metaState, action)) { in getFallbackAction() 461 action.metaState = KeyEvent.normalizeMetaState(action.metaState); in getFallbackAction() [all …]
|
D | MotionEvent.java | 1808 int metaState, int buttonState, @Classification int classification, in nativeInitialize() argument 1814 PointerCoords[] pointerCoords, int metaState); in nativeAddBatch() argument 1990 @SuppressLint("ArrayReturn") @NonNull PointerCoords[] pointerCoords, int metaState, in obtain() argument 1995 metaState, buttonState, classification, 0, 0, xPrecision, yPrecision, in obtain() 2038 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() argument 2042 metaState, buttonState, xPrecision, yPrecision, deviceId, edgeFlags, source, in obtain() 2076 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() argument 2080 metaState, buttonState, xPrecision, yPrecision, deviceId, edgeFlags, source, in obtain() 2116 int metaState, float xPrecision, float yPrecision, int deviceId, in obtain() argument 2126 pointerCoords, metaState, 0, xPrecision, yPrecision, deviceId, in obtain() [all …]
|
D | VerifiedKeyEvent.java | 195 int metaState, argument 205 this.mMetaState = metaState; 361 int metaState = in.readInt(); in VerifiedKeyEvent() local 371 this.mMetaState = metaState; in VerifiedKeyEvent()
|
D | VerifiedMotionEvent.java | 183 int metaState, argument 193 this.mMetaState = metaState; 345 int metaState = in.readInt(); in VerifiedMotionEvent() local 355 this.mMetaState = metaState; in VerifiedMotionEvent()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | ModifierShortcutManager.java | 141 private Intent getIntent(KeyCharacterMap kcm, int keyCode, int metaState) { in getIntent() argument 143 final boolean isShiftOn = KeyEvent.metaStateHasModifiers(metaState, KeyEvent.META_SHIFT_ON); in getIntent() 144 if (!isShiftOn && !KeyEvent.metaStateHasNoModifiers(metaState)) { in getIntent() 154 int shortcutChar = kcm.get(keyCode, metaState); in getIntent() 315 private boolean handleShortcutService(int keyCode, int metaState) { in handleShortcutService() argument 317 if ((metaState & KeyEvent.META_CTRL_ON) != 0) { in handleShortcutService() 321 if ((metaState & KeyEvent.META_ALT_ON) != 0) { in handleShortcutService() 325 if ((metaState & KeyEvent.META_SHIFT_ON) != 0) { in handleShortcutService() 329 if ((metaState & KeyEvent.META_META_ON) != 0) { in handleShortcutService() 354 private boolean handleIntentShortcut(KeyCharacterMap kcm, KeyEvent keyEvent, int metaState) { in handleIntentShortcut() argument [all …]
|
/frameworks/base/core/jni/ |
D | android_view_KeyCharacterMap.cpp | 45 jfieldID metaState; member 130 jint keyCode, jint metaState) { in nativeGetCharacter() argument 135 return map->getMap()->getCharacter(keyCode, metaState); in nativeGetCharacter() 139 jint metaState, jobject fallbackActionObj) { in nativeGetFallbackAction() argument 146 bool result = map->getMap()->getFallbackAction(keyCode, metaState, &fallbackAction); in nativeGetFallbackAction() 150 env->SetIntField(fallbackActionObj, gFallbackActionClassInfo.metaState, in nativeGetFallbackAction() 151 fallbackAction.metaState); in nativeGetFallbackAction() 167 jcharArray charsArray, jint metaState) { in nativeGetMatch() argument 179 size_t(numChars), metaState); in nativeGetMatch() 313 gFallbackActionClassInfo.metaState = GetFieldIDOrDie(env, clazz, "metaState", "I"); in register_android_view_KeyCharacterMap()
|
/frameworks/native/services/inputflinger/ |
D | NotifyArgs.cpp | 48 int32_t metaState, nsecs_t downTime) in NotifyKeyArgs() argument 59 metaState(metaState), in NotifyKeyArgs() 68 int32_t flags, int32_t metaState, int32_t buttonState, MotionClassification classification, in NotifyMotionArgs() argument 82 metaState(metaState), in NotifyMotionArgs() 107 actionButton == rhs.actionButton && flags == rhs.flags && metaState == rhs.metaState && in operator ==()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.cpp | 41 entry.metaState, in verifiedKeyEventFromKeyEntry() 57 entry.metaState, in verifiedMotionEventFromMotionEntry() 137 int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime) in KeyEntry() argument 145 metaState(metaState), in KeyEntry() 165 KeyEvent::getLabel(keyCode), keyCode, scanCode, metaState, repeatCount, in getDescription() 191 int32_t actionButton, int32_t flags, int32_t metaState, in MotionEntry() argument 204 metaState(metaState), in MotionEntry() 231 actionButton, flags, metaState, buttonState, in getDescription()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | ShortcutKeyTestBase.java | 144 int metaState = 0; in sendKeyCombination() local 149 0 /*repeat*/, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0 /*scancode*/, in sendKeyCombination() 154 metaState |= MODIFIER.getOrDefault(keyCode, 0); in sendKeyCombination() 166 KeyEvent.ACTION_DOWN, keyCode, 1 /*repeat*/, metaState, in sendKeyCombination() 178 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0 /*scancode*/, 0 /*flags*/, in sendKeyCombination() 182 metaState &= ~MODIFIER.getOrDefault(keyCode, 0); in sendKeyCombination()
|
/frameworks/base/core/java/android/text/method/ |
D | MetaKeyKeyListener.java | 182 int metaState = event.getMetaState(); in getMetaState() local 185 metaState |= getMetaState(text); in getMetaState() 187 return metaState; in getMetaState() 233 int metaState = event.getMetaState(); in getMetaState() local 236 metaState |= getMetaState(text); in getMetaState() 241 if ((metaState & META_SELECTING) != 0) { in getMetaState() 247 return getMetaState(metaState, meta); in getMetaState()
|
/frameworks/native/services/inputflinger/include/ |
D | NotifyArgs.h | 70 int32_t metaState; member 79 int32_t metaState, nsecs_t downTime); 99 int32_t metaState; member 127 int32_t action, int32_t actionButton, int32_t flags, int32_t metaState,
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 92 public static KeyEvent generateKeyEvent(int keycode, int keyEventAction, int metaState) { in generateKeyEvent() argument 95 0 /* repeat */, metaState); in generateKeyEvent()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VerifiedKeyEventTest.kt | 51 assertEquals(META_STATE, event.metaState) in testConstructor() 163 assertEquals(event1.metaState, event2.metaState) in compareVerifiedKeyEvents()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | GestureLogParser.java | 37 final int metaState; in getMotionEventFromLogLine() local 60 metaState = findInt(line, "metaState=(\\d+)"); in getMotionEventFromLogLine() 69 pointerCount, properties, pointerCoords, metaState, buttonState, in getMotionEventFromLogLine()
|
/frameworks/native/services/inputflinger/dispatcher/trace/ |
D | InputTracingBackendInterface.h | 57 int32_t metaState; member 77 int32_t metaState; member
|
/frameworks/native/services/inputflinger/tests/ |
D | NotifyArgs_test.cpp | 44 int32_t metaState = AMETA_SCROLL_LOCK_ON; in TEST() local 74 action, actionButton, flags, metaState, buttonState, classification, in TEST()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 184 public boolean sendKeyAndWaitForEvent(final int keyCode, final int metaState, in sendKeyAndWaitForEvent() argument 191 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, in sendKeyAndWaitForEvent() 195 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, in sendKeyAndWaitForEvent() 541 public boolean sendKey(int keyCode, int metaState) { 543 Log.d(LOG_TAG, "sendKey (" + keyCode + ", " + metaState + ")"); 548 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, 552 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0,
|