Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/text/method/
DDialerKeyListener.java56 int meta = event.getMetaState() | getMetaState(content); in lookup()
DBaseKeyListener.java67 if (!KeyEvent.metaStateHasNoModifiers(event.getMetaState() in backspaceOrForwardDelete()
78 if (event.isAltPressed() || getMetaState(content, META_ALT_ON) == 1) { in backspaceOrForwardDelete()
88 || getMetaState(content, META_SHIFT_ON) == 1) { in backspaceOrForwardDelete()
DNumberKeyListener.java44 return event.getMatch(getAcceptedChars(), event.getMetaState() | getMetaState(content)); in lookup()
DTouch.java131 boolean cap = (event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0 in onTouchEvent()
132 || MetaKeyKeyListener.getMetaState(buffer, in onTouchEvent()
134 || MetaKeyKeyListener.getMetaState(buffer, in onTouchEvent()
DMetaKeyKeyListener.java156 public static final int getMetaState(CharSequence text) { in getMetaState() method in MetaKeyKeyListener
171 public static final int getMetaState(CharSequence text, int meta) { in getMetaState() method in MetaKeyKeyListener
398 public static final int getMetaState(long state) { in getMetaState() method in MetaKeyKeyListener
430 public static final int getMetaState(long state, int meta) { in getMetaState() method in MetaKeyKeyListener
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()
DBaseMovementMethod.java99 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) { in onGenericMotionEvent()
138 int metaState = (event.getMetaState() | MetaKeyKeyListener.getMetaState(buffer)) in getMovementMetaState()
DQwertyKeyListener.java111 int i = event.getUnicodeChar(event.getMetaState() | getMetaState(content)); in onKeyDown()
/frameworks/support/v4/java/android/support/v4/view/
DKeyEventCompat.java139 return IMPL.metaStateHasModifiers(event.getMetaState(), modifiers); in hasModifiers()
143 return IMPL.metaStateHasNoModifiers(event.getMetaState()); in hasNoModifiers()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java199 ensureMetaStateIsNormalized(event.getMetaState()); in onKeyEvent()
261 ensureMetaStateIsNormalized(event.getMetaState()); in onTrackballEvent()
336 ensureMetaStateIsNormalized(event.getMetaState()); in onTouchEvent()
465 ensureMetaStateIsNormalized(event.getMetaState()); in onGenericMotionEvent()
DMotionEvent.java2168 public final int getMetaState() { in getMetaState() method in MotionEvent
2994 msg.append(", metaState=").append(KeyEvent.metaStateToString(getMetaState())); in toString()
/frameworks/base/native/android/
Dinput.cpp67 return static_cast<const KeyEvent*>(key_event)->getMetaState(); in AKeyEvent_getMetaState()
91 return static_cast<const MotionEvent*>(motion_event)->getMetaState(); in AMotionEvent_getMetaState()
/frameworks/base/libs/androidfw/tests/
DInputPublisherAndConsumer_test.cpp108 EXPECT_EQ(metaState, keyEvent->getMetaState()); in PublishAndConsumeKeyEvent()
190 EXPECT_EQ(metaState, motionEvent->getMetaState()); in PublishAndConsumeMotionEvent()
DInputEvent_test.cpp193 ASSERT_EQ(AMETA_ALT_ON, event.getMetaState()); in TEST_F()
308 ASSERT_EQ(AMETA_ALT_ON, event->getMetaState()); in assertEqualsEventWithHistory()
444 ASSERT_EQ(AMETA_CTRL_ON, event.getMetaState()); in TEST_F()
/frameworks/base/include/androidfw/
DInput.h269 inline int32_t getMetaState() const { return mMetaState; } in getMetaState() function
337 inline int32_t getMetaState() const { return mMetaState; } in getMetaState() function
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp59 event->getMetaState(), in android_view_KeyEvent_fromNative()
Dandroid_view_MotionEvent.cpp430 event->setMetaState(event->getMetaState() | metaState); in android_view_MotionEvent_nativeAddBatch()
496 return event->getMetaState(); in android_view_MotionEvent_nativeGetMetaState()
/frameworks/base/services/input/
DInputReader.h493 int32_t getMetaState();
889 virtual int32_t getMetaState();
966 virtual int32_t getMetaState();
DInputDispatcher.cpp2527 keyEvent->getKeyCode(), keyEvent->getScanCode(), keyEvent->getMetaState(), in injectInputEvent()
2553 motionEvent->getMetaState(), motionEvent->getButtonState(), in injectInputEvent()
2565 motionEvent->getMetaState(), motionEvent->getButtonState(), in injectInputEvent()
3588 keyEntry->metaState = event.getMetaState(); in afterKeyEventLockedInterruptible()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java782 final int metaState = event.getMetaState(); in findItemsWithShortcutForKey()
832 final int metaState = event.getMetaState(); in findItemWithShortcutForKey()
/frameworks/base/services/input/tests/
DInputReader_test.cpp883 virtual int32_t getMetaState() { in getMetaState() function in android::FakeInputMapper
1233 ASSERT_EQ(0, mDevice->getMetaState()); in TEST_F()
1303 ASSERT_EQ(AMETA_ALT_ON | AMETA_SHIFT_ON, mDevice->getMetaState()) in TEST_F()
1643 ASSERT_EQ(AMETA_NONE, mapper->getMetaState()); in TEST_F()
1651 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper->getMetaState()); in TEST_F()
1659 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper->getMetaState()); in TEST_F()
1666 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper->getMetaState()); in TEST_F()
1673 ASSERT_EQ(AMETA_NONE, mapper->getMetaState()); in TEST_F()
1845 ASSERT_EQ(AMETA_CAPS_LOCK_ON, mapper->getMetaState()); in TEST_F()
1855 ASSERT_EQ(AMETA_CAPS_LOCK_ON | AMETA_NUM_LOCK_ON, mapper->getMetaState()); in TEST_F()
[all …]
/frameworks/base/core/java/android/text/
DLayout.java1273 int caps = TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_SHIFT_ON) | in getCursorPath()
1274 TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_SELECTING); in getCursorPath()
1275 int fn = TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_ALT_ON); in getCursorPath()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java491 if (start == end && MetaKeyKeyListener.getMetaState(content, in setSelection()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java1193 me.getX(), me.getY(), me.getMetaState());
1203 mOldPointerX, mOldPointerY, me.getMetaState());
/frameworks/base/core/java/android/app/
DInstrumentation.java870 int metaState = event.getMetaState(); in sendKeySync()

12