/frameworks/base/core/java/android/text/method/ |
D | MetaKeyKeyListener.java | 160 public static final int getMetaState(CharSequence text) { in getMetaState() method in MetaKeyKeyListener 181 public static final int getMetaState(final CharSequence text, final KeyEvent event) { in getMetaState() method in MetaKeyKeyListener 182 int metaState = event.getMetaState(); in getMetaState() 185 metaState |= getMetaState(text); in getMetaState() 200 public static final int getMetaState(CharSequence text, int meta) { in getMetaState() method in MetaKeyKeyListener 231 public static final int getMetaState(final CharSequence text, final int meta, in getMetaState() method in MetaKeyKeyListener 233 int metaState = event.getMetaState(); in getMetaState() 236 metaState |= getMetaState(text); in getMetaState() 247 return getMetaState(metaState, meta); in getMetaState() 460 public static final int getMetaState(long state) { in getMetaState() method in MetaKeyKeyListener [all …]
|
D | Touch.java | 133 boolean cap = (event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0 in onTouchEvent() 134 || MetaKeyKeyListener.getMetaState(buffer, in onTouchEvent() 136 || MetaKeyKeyListener.getMetaState(buffer, in onTouchEvent()
|
D | BaseKeyListener.java | 324 if (!KeyEvent.metaStateHasNoModifiers(event.getMetaState() in backspaceOrForwardDelete() 335 boolean isCtrlActive = ((event.getMetaState() & KeyEvent.META_CTRL_ON) != 0); in backspaceOrForwardDelete() 336 boolean isShiftActive = (getMetaState(content, META_SHIFT_ON, event) == 1); in backspaceOrForwardDelete() 337 boolean isAltActive = (getMetaState(content, META_ALT_ON, event) == 1); in backspaceOrForwardDelete()
|
D | ArrowKeyMovementMethod.java | 35 return ((MetaKeyKeyListener.getMetaState(buffer, MetaKeyKeyListener.META_SHIFT_ON) == 1) || in isSelecting() 36 (MetaKeyKeyListener.getMetaState(buffer, MetaKeyKeyListener.META_SELECTING) != 0)); in isSelecting() 59 && MetaKeyKeyListener.getMetaState(buffer, in handleMovementKey()
|
D | DialerKeyListener.java | 56 int meta = getMetaState(content, event); in lookup()
|
D | BaseMovementMethod.java | 100 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) { in onGenericMotionEvent() 139 int metaState = MetaKeyKeyListener.getMetaState(buffer, event) in getMovementMetaState()
|
D | NumberKeyListener.java | 52 return event.getMatch(getAcceptedChars(), getMetaState(content, event)); in lookup()
|
/frameworks/native/libs/input/tests/ |
D | VerifiedInputEvent_test.cpp | 72 ASSERT_EQ(event.getMetaState(), verified.metaState); in TEST() 104 ASSERT_EQ(event.getMetaState(), verified.metaState); in TEST()
|
/frameworks/base/core/java/android/view/ |
D | InputEventConsistencyVerifier.java | 206 ensureMetaStateIsNormalized(event.getMetaState()); in onKeyEvent() 268 ensureMetaStateIsNormalized(event.getMetaState()); in onTrackballEvent() 344 ensureMetaStateIsNormalized(event.getMetaState()); in onTouchEvent() 473 ensureMetaStateIsNormalized(event.getMetaState()); in onGenericMotionEvent()
|
D | VerifiedKeyEvent.java | 272 public int getMetaState() { in getMetaState() method in VerifiedKeyEvent
|
D | VerifiedMotionEvent.java | 257 public int getMetaState() { in getMetaState() method in VerifiedMotionEvent
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 273 .that(key2.getMetaState()).isEqualTo(key1.getMetaState()); in compareKeys() 307 .that(keyEvent.getMetaState()).isEqualTo(metaState); in assertKeyEventFields()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | EventDispatcher.java | 129 event.getMetaState(), event.getButtonState(), in sendMotionEvent() 237 event.getMetaState(), in offsetEvent() 368 prototype.getMetaState(), in computeInjectionDownEvent()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | KeyboardInputFuzzer.cpp | 101 [&]() -> void { mapper.getMetaState(); }, in LLVMFuzzerTestOneInput()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AutoclickController.java | 105 mClickScheduler.updateMetaState(event.getMetaState()); in onKeyEvent() 301 mMetaState = event.getMetaState(); in update()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | KeyboardInputMapper.h | 47 int32_t getMetaState() override;
|
D | InputMapper.cpp | 107 int32_t InputMapper::getMetaState() { in getMetaState() function in android::InputMapper
|
D | InputMapper.h | 111 virtual int32_t getMetaState();
|
/frameworks/base/native/android/ |
D | input.cpp | 78 return static_cast<const KeyEvent*>(key_event)->getMetaState(); in AKeyEvent_getMetaState() 108 return static_cast<const MotionEvent*>(motion_event)->getMetaState(); in AMotionEvent_getMetaState()
|
/frameworks/base/core/jni/ |
D | android_view_InputEventSender.cpp | 129 event->getMetaState(), event->getRepeatCount(), in sendKeyEvent() 155 event->getMetaState(), event->getButtonState(), in sendMotionEvent()
|
D | android_view_KeyEvent.cpp | 105 event.getRepeatCount(), event.getMetaState(), in android_view_KeyEvent_obtainAsCopy()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 295 event.getMetaState(), in verifiedKeyEventFromKeyEvent() 307 event.getMetaState(), in verifiedMotionEventFromMotionEvent() 421 if (event.getMetaState() != 0) { in operator <<() 422 out << ", metaState=" << event.getMetaState(); in operator <<() 1174 if (event.getMetaState() != 0) { in operator <<() 1175 out << ", metaState=" << event.getMetaState(); in operator <<()
|
D | MotionPredictor.cpp | 319 event.getMetaState(), event.getButtonState(), in predict()
|
/frameworks/native/include/input/ |
D | InputEventBuilders.h | 192 mMetaState = event.getMetaState(); in KeyEventBuilder()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 354 virtual int32_t getMetaState() { in getMetaState() function in android::FakeInputMapper 2676 ASSERT_EQ(0, mDevice->getMetaState()); in TEST_F() 2747 ASSERT_EQ(AMETA_ALT_ON | AMETA_SHIFT_ON, mDevice->getMetaState()) in TEST_F() 3378 ASSERT_EQ(AMETA_NONE, mapper.getMetaState()); in TEST_F() 3522 ASSERT_EQ(AMETA_NONE, mapper.getMetaState()); in TEST_F() 3529 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper.getMetaState()); in TEST_F() 3536 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper.getMetaState()); in TEST_F() 3542 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper.getMetaState()); in TEST_F() 3548 ASSERT_EQ(AMETA_NONE, mapper.getMetaState()); in TEST_F() 3758 ASSERT_EQ(AMETA_NONE, mapper.getMetaState()); in TEST_F() [all …]
|