Home
last modified time | relevance | path

Searched refs:getMetaState (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/core/java/android/text/method/
DMetaKeyKeyListener.java160 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 …]
DTouch.java133 boolean cap = (event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0 in onTouchEvent()
134 || MetaKeyKeyListener.getMetaState(buffer, in onTouchEvent()
136 || MetaKeyKeyListener.getMetaState(buffer, in onTouchEvent()
DBaseKeyListener.java322 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()
DArrowKeyMovementMethod.java34 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()
DDialerKeyListener.java56 int meta = getMetaState(content, event); in lookup()
DBaseMovementMethod.java99 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) { in onGenericMotionEvent()
138 int metaState = MetaKeyKeyListener.getMetaState(buffer, event) in getMovementMetaState()
DNumberKeyListener.java54 return event.getMatch(getAcceptedChars(), getMetaState(content, event)); in lookup()
/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java64 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/
DVerifiedInputEvent_test.cpp68 ASSERT_EQ(event.getMetaState(), verified.metaState); in TEST()
100 ASSERT_EQ(event.getMetaState(), verified.metaState); in TEST()
DInputPublisherAndConsumer_test.cpp120 EXPECT_EQ(metaState, keyEvent->getMetaState()); in PublishAndConsumeKeyEvent()
218 EXPECT_EQ(metaState, motionEvent->getMetaState()); in PublishAndConsumeMotionEvent()
DInputEvent_test.cpp200 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/
DInputEventConsistencyVerifier.java206 ensureMetaStateIsNormalized(event.getMetaState()); in onKeyEvent()
268 ensureMetaStateIsNormalized(event.getMetaState()); in onTrackballEvent()
344 ensureMetaStateIsNormalized(event.getMetaState()); in onTouchEvent()
473 ensureMetaStateIsNormalized(event.getMetaState()); in onGenericMotionEvent()
DVerifiedKeyEvent.java276 public int getMetaState() { in getMetaState() method in VerifiedKeyEvent
DVerifiedMotionEvent.java256 public int getMetaState() { in getMetaState() method in VerifiedMotionEvent
/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.h69 virtual int32_t getMetaState();
DInputMapper.cpp66 int32_t InputMapper::getMetaState() { in getMetaState() function in android::InputMapper
DKeyboardInputMapper.h42 virtual int32_t getMetaState() override;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java94 mClickScheduler.updateMetaState(event.getMetaState()); in onKeyEvent()
290 mMetaState = event.getMetaState(); in update()
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp121 event->getMetaState(), event->getRepeatCount(), in sendKeyEvent()
146 event->getMetaState(), event->getButtonState(), in sendMotionEvent()
Dandroid_view_KeyEvent.cpp104 event->getRepeatCount(), event->getMetaState(), in android_view_KeyEvent_fromNative()
/frameworks/base/native/android/
Dinput.cpp70 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/
DInputDevice.cpp442 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/
DFalsingDataProvider.java243 motionEvent.getMetaState(), in unpackMotionEvent()
/frameworks/native/include/input/
DInput.h448 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/
DEventDispatcher.java218 event.getMetaState(), in offsetEvent()

12