/frameworks/base/core/java/android/text/method/ |
D | MetaKeyKeyListener.java | 159 public static final int getMetaState(CharSequence text) { in getMetaState() method in MetaKeyKeyListener 180 public static final int getMetaState(final CharSequence text, final KeyEvent event) { in getMetaState() method in MetaKeyKeyListener 181 int metaState = event.getMetaState(); in getMetaState() 184 metaState |= getMetaState(text); in getMetaState() 199 public static final int getMetaState(CharSequence text, int meta) { in getMetaState() method in MetaKeyKeyListener 230 public static final int getMetaState(final CharSequence text, final int meta, in getMetaState() method in MetaKeyKeyListener 232 int metaState = event.getMetaState(); in getMetaState() 235 metaState |= getMetaState(text); in getMetaState() 246 return getMetaState(metaState, meta); in getMetaState() 457 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 | 298 if (!KeyEvent.metaStateHasNoModifiers(event.getMetaState() in backspaceOrForwardDelete() 309 boolean isCtrlActive = ((event.getMetaState() & KeyEvent.META_CTRL_ON) != 0); in backspaceOrForwardDelete() 310 boolean isShiftActive = (getMetaState(content, META_SHIFT_ON, event) == 1); in backspaceOrForwardDelete() 311 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 | NumberKeyListener.java | 44 return event.getMatch(getAcceptedChars(), 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()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | Events.java | 77 return hasShiftBit(e.getMetaState()); in isShiftPressed() 166 return Events.hasShiftBit(mEvent.getMetaState()); in isShiftKeyDown()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | KeyEventCompat.java | 198 return IMPL.metaStateHasModifiers(event.getMetaState(), modifiers); in hasModifiers() 202 return IMPL.metaStateHasNoModifiers(event.getMetaState()); in hasNoModifiers()
|
/frameworks/base/core/java/android/view/ |
D | InputEventConsistencyVerifier.java | 203 ensureMetaStateIsNormalized(event.getMetaState()); in onKeyEvent() 265 ensureMetaStateIsNormalized(event.getMetaState()); in onTrackballEvent() 340 ensureMetaStateIsNormalized(event.getMetaState()); in onTouchEvent() 469 ensureMetaStateIsNormalized(event.getMetaState()); in onGenericMotionEvent()
|
/frameworks/base/core/jni/ |
D | android_view_InputEventSender.cpp | 118 event->getKeyCode(), event->getScanCode(), event->getMetaState(), in sendKeyEvent() 140 event->getEdgeFlags(), event->getMetaState(), event->getButtonState(), in sendMotionEvent()
|
D | android_view_KeyEvent.cpp | 63 event->getMetaState(), in android_view_KeyEvent_fromNative()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AutoclickController.java | 100 mClickScheduler.updateMetaState(event.getMetaState()); in onKeyEvent() 312 mMetaState = event.getMetaState(); in update()
|
D | MotionEventInjector.java | 174 mPointerProperties, mPointerCoords, event.getMetaState(), in injectEventsMainThread()
|
D | AccessibilityGestureDetector.java | 442 event.getMetaState(), event.getXPrecision(), event.getYPrecision(), in mapSecondPointerToFirstPointer()
|
/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/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 109 EXPECT_EQ(metaState, keyEvent->getMetaState()); in PublishAndConsumeKeyEvent() 192 EXPECT_EQ(metaState, motionEvent->getMetaState()); in PublishAndConsumeMotionEvent()
|
D | InputEvent_test.cpp | 192 ASSERT_EQ(AMETA_ALT_ON, event.getMetaState()); in TEST_F() 307 ASSERT_EQ(AMETA_ALT_ON, event->getMetaState()); in assertEqualsEventWithHistory() 443 ASSERT_EQ(AMETA_CTRL_ON, event.getMetaState()); in TEST_F()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
D | BaseKeyboardShortcutsTestCase.java | 123 event.getRepeatCount(), event.getMetaState() | KeyEvent.META_CTRL_ON); in sendControlChar()
|
/frameworks/native/include/input/ |
D | Input.h | 332 inline int32_t getMetaState() const { return mMetaState; } in getMetaState() function 395 inline int32_t getMetaState() const { return mMetaState; } in getMetaState() function
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatActivity.java | 519 event.getUnicodeChar(event.getMetaState() & ~KeyEvent.META_CTRL_MASK) == '<') { in dispatchKeyEvent()
|
/frameworks/base/docs/html/training/keyboard-input/ |
D | commands.jd | 79 and {@link android.view.KeyEvent#getMetaState()}. However, the simplest solution is to check whether
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuBuilder.java | 808 final int metaState = event.getMetaState(); in findItemsWithShortcutForKey() 858 final int metaState = event.getMetaState(); in findItemWithShortcutForKey()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 921 virtual int32_t getMetaState() { in getMetaState() function in android::FakeInputMapper 1275 ASSERT_EQ(0, mDevice->getMetaState()); in TEST_F() 1345 ASSERT_EQ(AMETA_ALT_ON | AMETA_SHIFT_ON, mDevice->getMetaState()) in TEST_F() 1691 ASSERT_EQ(AMETA_NONE, mapper->getMetaState()); in TEST_F() 1699 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper->getMetaState()); in TEST_F() 1707 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper->getMetaState()); in TEST_F() 1714 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper->getMetaState()); in TEST_F() 1721 ASSERT_EQ(AMETA_NONE, mapper->getMetaState()); in TEST_F() 1893 ASSERT_EQ(AMETA_CAPS_LOCK_ON, mapper->getMetaState()); in TEST_F() 1903 ASSERT_EQ(AMETA_CAPS_LOCK_ON | AMETA_NUM_LOCK_ON, mapper->getMetaState()); in TEST_F() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | MenuBuilder.java | 859 final int metaState = event.getMetaState(); in findItemsWithShortcutForKey() 910 final int metaState = event.getMetaState(); in findItemWithShortcutForKey()
|