/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 | BaseKeyListener.java | 67 if (!KeyEvent.metaStateHasNoModifiers(event.getMetaState() in backspaceOrForwardDelete() 78 if (getMetaState(content, META_ALT_ON, event) == 1) { in backspaceOrForwardDelete() 88 || getMetaState(content, META_SHIFT_ON) == 1) { in backspaceOrForwardDelete()
|
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 | 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()
|
D | QwertyKeyListener.java | 111 int i = event.getUnicodeChar(getMetaState(content, event)); in onKeyDown()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | KeyEventCompat.java | 188 return IMPL.metaStateHasModifiers(event.getMetaState(), modifiers); in hasModifiers() 192 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 | 2166 public final int getMetaState() { in getMetaState() method in MotionEvent 2992 msg.append(", metaState=").append(KeyEvent.metaStateToString(getMetaState())); in toString()
|
/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/base/core/jni/ |
D | android_view_InputEventSender.cpp | 117 event->getKeyCode(), event->getScanCode(), event->getMetaState(), in sendKeyEvent() 138 event->getEdgeFlags(), event->getMetaState(), event->getButtonState(), in sendMotionEvent()
|
D | android_view_KeyEvent.cpp | 60 event->getMetaState(), in android_view_KeyEvent_fromNative()
|
D | android_view_MotionEvent.cpp | 429 event->setMetaState(event->getMetaState() | metaState); in android_view_MotionEvent_nativeAddBatch() 495 return event->getMetaState(); in android_view_MotionEvent_nativeGetMetaState()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 109 EXPECT_EQ(metaState, keyEvent->getMetaState()); in PublishAndConsumeKeyEvent() 191 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/native/include/input/ |
D | Input.h | 277 inline int32_t getMetaState() const { return mMetaState; } in getMetaState() function 345 inline int32_t getMetaState() const { return mMetaState; } in getMetaState() function
|
/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/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | MenuBuilder.java | 826 final int metaState = event.getMetaState(); in findItemsWithShortcutForKey() 879 final int metaState = event.getMetaState(); in findItemWithShortcutForKey()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuBuilder.java | 788 final int metaState = event.getMetaState(); in findItemsWithShortcutForKey() 838 final int metaState = event.getMetaState(); in findItemWithShortcutForKey()
|
/frameworks/base/services/input/tests/ |
D | InputReader_test.cpp | 903 virtual int32_t getMetaState() { in getMetaState() function in android::FakeInputMapper 1257 ASSERT_EQ(0, mDevice->getMetaState()); in TEST_F() 1327 ASSERT_EQ(AMETA_ALT_ON | AMETA_SHIFT_ON, mDevice->getMetaState()) in TEST_F() 1673 ASSERT_EQ(AMETA_NONE, mapper->getMetaState()); in TEST_F() 1681 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper->getMetaState()); in TEST_F() 1689 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper->getMetaState()); in TEST_F() 1696 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper->getMetaState()); in TEST_F() 1703 ASSERT_EQ(AMETA_NONE, mapper->getMetaState()); in TEST_F() 1875 ASSERT_EQ(AMETA_CAPS_LOCK_ON, mapper->getMetaState()); in TEST_F() 1885 ASSERT_EQ(AMETA_CAPS_LOCK_ON | AMETA_NUM_LOCK_ON, mapper->getMetaState()); in TEST_F() [all …]
|
/frameworks/base/services/input/ |
D | InputReader.h | 543 int32_t getMetaState(); 944 virtual int32_t getMetaState(); 1025 virtual int32_t getMetaState();
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 1315 int caps = TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_SHIFT_ON) | in getCursorPath() 1316 TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_SELECTING); in getCursorPath() 1317 int fn = TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_ALT_ON); in getCursorPath()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 494 if (start == end && MetaKeyKeyListener.getMetaState(content, in setSelection()
|