Searched defs:getMetaState (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/android/text/method/
H A DMetaKeyKeyListener.java39 * {@link #getMetaState(long)} operate on a meta key state bit mask.</li>
41 * {@link #getMetaState(CharSequence, int)} operate on meta key state flags stored
55 * keyboard already reported as being pressed in {@link KeyEvent#getMetaState()}.
68 * int metaState = event.getMetaState() | listener.getMetaState(textBuffer);
159 public static final int getMetaState(CharSequence text) { method in class:MetaKeyKeyListener
180 public static final int getMetaState(final CharSequence text, final KeyEvent event) { method in class:MetaKeyKeyListener
181 int metaState = event.getMetaState();
184 metaState |= getMetaState(text);
199 public static final int getMetaState(CharSequenc method in class:MetaKeyKeyListener
230 public static final int getMetaState(final CharSequence text, final int meta, method in class:MetaKeyKeyListener
457 public static final int getMetaState(long state) { method in class:MetaKeyKeyListener
489 public static final int getMetaState(long state, int meta) { method in class:MetaKeyKeyListener
[all...]
/frameworks/native/include/input/
H A DInput.h301 inline int32_t getMetaState() const { return mMetaState; } function in class:android::KeyEvent
364 inline int32_t getMetaState() const { return mMetaState; } function in class:android::MotionEvent
/frameworks/base/core/java/android/view/
H A DMotionEvent.java2194 * returned by {@link KeyEvent#getMetaState() KeyEvent.getMetaState}.
2199 * @see KeyEvent#getMetaState()
2201 public final int getMetaState() { method in class:MotionEvent
3027 msg.append(", metaState=").append(KeyEvent.metaStateToString(getMetaState()));
H A DKeyEvent.java40 * scan code ({@link #getScanCode()}) and meta state ({@link #getMetaState()}).
867 * @see #getMetaState()
877 * @see #getMetaState()
886 * @see #getMetaState()
895 * @see #getMetaState()
905 * @see #getMetaState()
914 * @see #getMetaState()
923 * @see #getMetaState()
931 * @see #getMetaState()
939 * @see #getMetaState()
1874 public final int getMetaState() { method in class:KeyEvent
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp913 virtual int32_t getMetaState() { function in class:android::FakeInputMapper
1267 ASSERT_EQ(0, mDevice->getMetaState());
1337 ASSERT_EQ(AMETA_ALT_ON | AMETA_SHIFT_ON, mDevice->getMetaState())
1683 ASSERT_EQ(AMETA_NONE, mapper->getMetaState());
1691 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper->getMetaState());
1699 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper->getMetaState());
1706 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, mapper->getMetaState());
1713 ASSERT_EQ(AMETA_NONE, mapper->getMetaState());
1885 ASSERT_EQ(AMETA_CAPS_LOCK_ON, mapper->getMetaState());
1895 ASSERT_EQ(AMETA_CAPS_LOCK_ON | AMETA_NUM_LOCK_ON, mapper->getMetaState());
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.cpp529 mGlobalMetaState |= device->getMetaState();
1081 int32_t InputDevice::getMetaState() { function in class:android::InputDevice
1086 result |= mapper->getMetaState();
1789 int32_t InputMapper::getMetaState() { function in class:android::InputMapper
2221 int32_t KeyboardInputMapper::getMetaState() { function in class:android::KeyboardInputMapper

Completed in 188 milliseconds