/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 | 322 if (!KeyEvent.metaStateHasNoModifiers(event.getMetaState() in backspaceOrForwardDelete() 333 boolean isCtrlActive = ((event.getMetaState() & KeyEvent.META_CTRL_ON) != 0); in backspaceOrForwardDelete() 334 boolean isShiftActive = (getMetaState(content, META_SHIFT_ON, event) == 1); in backspaceOrForwardDelete() 335 boolean isAltActive = (getMetaState(content, META_ALT_ON, event) == 1); in backspaceOrForwardDelete()
|
D | ArrowKeyMovementMethod.java | 34 return ((MetaKeyKeyListener.getMetaState(buffer, MetaKeyKeyListener.META_SHIFT_ON) == 1) || in isSelecting() 35 (MetaKeyKeyListener.getMetaState(buffer, MetaKeyKeyListener.META_SELECTING) != 0)); in isSelecting() 58 && MetaKeyKeyListener.getMetaState(buffer, in handleMovementKey()
|
D | DialerKeyListener.java | 56 int meta = getMetaState(content, event); in lookup()
|
D | BaseMovementMethod.java | 99 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) { in onGenericMotionEvent() 138 int metaState = MetaKeyKeyListener.getMetaState(buffer, event) in getMovementMetaState()
|
D | NumberKeyListener.java | 54 return event.getMatch(getAcceptedChars(), getMetaState(content, event)); in lookup()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 64 assertEquals(METASTATE, keyEvent.getMetaState()); in testObtain() 91 assertEquals(METASTATE, keyEvent.getMetaState()); in testObtainWithDisplayId() 178 assertEquals(key1.getMetaState(), key2.getMetaState()); in compareKeys()
|
/frameworks/native/libs/input/tests/ |
D | VerifiedInputEvent_test.cpp | 68 ASSERT_EQ(event.getMetaState(), verified.metaState); in TEST() 100 ASSERT_EQ(event.getMetaState(), verified.metaState); in TEST()
|
D | InputPublisherAndConsumer_test.cpp | 120 EXPECT_EQ(metaState, keyEvent->getMetaState()); in PublishAndConsumeKeyEvent() 218 EXPECT_EQ(metaState, motionEvent->getMetaState()); in PublishAndConsumeMotionEvent()
|
D | InputEvent_test.cpp | 200 ASSERT_EQ(AMETA_ALT_ON, event.getMetaState()); in TEST_F() 326 ASSERT_EQ(AMETA_ALT_ON, event->getMetaState()); in assertEqualsEventWithHistory() 470 ASSERT_EQ(AMETA_CTRL_ON, event.getMetaState()); in TEST_F()
|
/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 | 276 public int getMetaState() { in getMetaState() method in VerifiedKeyEvent
|
D | VerifiedMotionEvent.java | 256 public int getMetaState() { in getMetaState() method in VerifiedMotionEvent
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | InputMapper.h | 69 virtual int32_t getMetaState();
|
D | InputMapper.cpp | 66 int32_t InputMapper::getMetaState() { in getMetaState() function in android::InputMapper
|
D | KeyboardInputMapper.h | 42 virtual int32_t getMetaState() override;
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AutoclickController.java | 94 mClickScheduler.updateMetaState(event.getMetaState()); in onKeyEvent() 290 mMetaState = event.getMetaState(); in update()
|
/frameworks/base/core/jni/ |
D | android_view_InputEventSender.cpp | 121 event->getMetaState(), event->getRepeatCount(), in sendKeyEvent() 146 event->getMetaState(), event->getButtonState(), in sendMotionEvent()
|
D | android_view_KeyEvent.cpp | 104 event->getRepeatCount(), event->getMetaState(), in android_view_KeyEvent_fromNative()
|
/frameworks/base/native/android/ |
D | input.cpp | 70 return static_cast<const KeyEvent*>(key_event)->getMetaState(); in AKeyEvent_getMetaState() 94 return static_cast<const MotionEvent*>(motion_event)->getMetaState(); in AMotionEvent_getMetaState()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 442 int32_t InputDevice::getMetaState() { in getMetaState() function in android::InputDevice 444 for_each_mapper([&result](InputMapper& mapper) { result |= mapper.getMetaState(); }); in getMetaState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProvider.java | 243 motionEvent.getMetaState(), in unpackMotionEvent()
|
/frameworks/native/include/input/ |
D | Input.h | 448 inline int32_t getMetaState() const { return mMetaState; } in getMetaState() function 506 inline int32_t getMetaState() const { return mMetaState; } in getMetaState() function
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | EventDispatcher.java | 218 event.getMetaState(), in offsetEvent()
|