/frameworks/base/core/java/android/text/method/ |
D | DialerKeyListener.java | 56 int meta = event.getMetaState() | getMetaState(content); in lookup()
|
D | BaseKeyListener.java | 67 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()
|
D | NumberKeyListener.java | 44 return event.getMatch(getAcceptedChars(), event.getMetaState() | getMetaState(content)); in lookup()
|
D | Touch.java | 131 boolean cap = (event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0 in onTouchEvent() 132 || MetaKeyKeyListener.getMetaState(buffer, in onTouchEvent() 134 || MetaKeyKeyListener.getMetaState(buffer, in onTouchEvent()
|
D | MetaKeyKeyListener.java | 156 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
|
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 | BaseMovementMethod.java | 99 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) { in onGenericMotionEvent() 138 int metaState = (event.getMetaState() | MetaKeyKeyListener.getMetaState(buffer)) in getMovementMetaState()
|
D | QwertyKeyListener.java | 111 int i = event.getUnicodeChar(event.getMetaState() | getMetaState(content)); in onKeyDown()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | KeyEventCompat.java | 139 return IMPL.metaStateHasModifiers(event.getMetaState(), modifiers); in hasModifiers() 143 return IMPL.metaStateHasNoModifiers(event.getMetaState()); in hasNoModifiers()
|
/frameworks/base/core/java/android/view/ |
D | InputEventConsistencyVerifier.java | 199 ensureMetaStateIsNormalized(event.getMetaState()); in onKeyEvent() 261 ensureMetaStateIsNormalized(event.getMetaState()); in onTrackballEvent() 336 ensureMetaStateIsNormalized(event.getMetaState()); in onTouchEvent() 465 ensureMetaStateIsNormalized(event.getMetaState()); in onGenericMotionEvent()
|
D | MotionEvent.java | 2168 public final int getMetaState() { in getMetaState() method in MotionEvent 2994 msg.append(", metaState=").append(KeyEvent.metaStateToString(getMetaState())); in toString()
|
/frameworks/base/native/android/ |
D | input.cpp | 67 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/ |
D | InputPublisherAndConsumer_test.cpp | 108 EXPECT_EQ(metaState, keyEvent->getMetaState()); in PublishAndConsumeKeyEvent() 190 EXPECT_EQ(metaState, motionEvent->getMetaState()); in PublishAndConsumeMotionEvent()
|
D | InputEvent_test.cpp | 193 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/ |
D | Input.h | 269 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/ |
D | android_view_KeyEvent.cpp | 59 event->getMetaState(), in android_view_KeyEvent_fromNative()
|
D | android_view_MotionEvent.cpp | 430 event->setMetaState(event->getMetaState() | metaState); in android_view_MotionEvent_nativeAddBatch() 496 return event->getMetaState(); in android_view_MotionEvent_nativeGetMetaState()
|
/frameworks/base/services/input/ |
D | InputReader.h | 493 int32_t getMetaState(); 889 virtual int32_t getMetaState(); 966 virtual int32_t getMetaState();
|
D | InputDispatcher.cpp | 2527 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/ |
D | MenuBuilder.java | 782 final int metaState = event.getMetaState(); in findItemsWithShortcutForKey() 832 final int metaState = event.getMetaState(); in findItemWithShortcutForKey()
|
/frameworks/base/services/input/tests/ |
D | InputReader_test.cpp | 883 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/ |
D | Layout.java | 1273 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/ |
D | BaseInputConnection.java | 491 if (start == end && MetaKeyKeyListener.getMetaState(content, in setSelection()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 1193 me.getX(), me.getY(), me.getMetaState()); 1203 mOldPointerX, mOldPointerY, me.getMetaState());
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 870 int metaState = event.getMetaState(); in sendKeySync()
|