Home
last modified time | relevance | path

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

123

/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.java324 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()
DArrowKeyMovementMethod.java35 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()
DDialerKeyListener.java56 int meta = getMetaState(content, event); in lookup()
DBaseMovementMethod.java100 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) { in onGenericMotionEvent()
139 int metaState = MetaKeyKeyListener.getMetaState(buffer, event) in getMovementMetaState()
DNumberKeyListener.java52 return event.getMatch(getAcceptedChars(), getMetaState(content, event)); in lookup()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp72 ASSERT_EQ(event.getMetaState(), verified.metaState); in TEST()
104 ASSERT_EQ(event.getMetaState(), verified.metaState); in TEST()
/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.java272 public int getMetaState() { in getMetaState() method in VerifiedKeyEvent
DVerifiedMotionEvent.java257 public int getMetaState() { in getMetaState() method in VerifiedMotionEvent
/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java273 .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/
DEventDispatcher.java129 event.getMetaState(), event.getButtonState(), in sendMotionEvent()
237 event.getMetaState(), in offsetEvent()
368 prototype.getMetaState(), in computeInjectionDownEvent()
/frameworks/native/services/inputflinger/tests/fuzzers/
DKeyboardInputFuzzer.cpp101 [&]() -> void { mapper.getMetaState(); }, in LLVMFuzzerTestOneInput()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java105 mClickScheduler.updateMetaState(event.getMetaState()); in onKeyEvent()
301 mMetaState = event.getMetaState(); in update()
/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.h47 int32_t getMetaState() override;
DInputMapper.cpp107 int32_t InputMapper::getMetaState() { in getMetaState() function in android::InputMapper
DInputMapper.h111 virtual int32_t getMetaState();
/frameworks/base/native/android/
Dinput.cpp78 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/
Dandroid_view_InputEventSender.cpp129 event->getMetaState(), event->getRepeatCount(), in sendKeyEvent()
155 event->getMetaState(), event->getButtonState(), in sendMotionEvent()
Dandroid_view_KeyEvent.cpp105 event.getRepeatCount(), event.getMetaState(), in android_view_KeyEvent_obtainAsCopy()
/frameworks/native/libs/input/
DInput.cpp295 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 <<()
DMotionPredictor.cpp319 event.getMetaState(), event.getButtonState(), in predict()
/frameworks/native/include/input/
DInputEventBuilders.h192 mMetaState = event.getMetaState(); in KeyEventBuilder()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp354 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 …]

123