/cts/tests/tests/text/src/android/text/method/cts/ |
MetaKeyKeyListenerTest.java | 155 assertEquals(0, MetaKeyKeyListener.getMetaState("123456")); 156 assertEquals(0, MetaKeyKeyListener.getMetaState("abc")); 157 assertEquals(0, MetaKeyKeyListener.getMetaState("@#$$#^$^")); 160 MetaKeyKeyListener.getMetaState("123456"), 163 MetaKeyKeyListener.getMetaState("abc"), 166 MetaKeyKeyListener.getMetaState("@#$$#^$^"), 169 assertEquals(0, MetaKeyKeyListener.getMetaState("123456", 0)); 170 assertEquals(0, MetaKeyKeyListener.getMetaState("abc", -1)); 171 assertEquals(0, MetaKeyKeyListener.getMetaState("@#$$#^$^", Integer.MAX_VALUE)); 174 MetaKeyKeyListener.getMetaState("123456", MetaKeyKeyListener.META_SHIFT_ON)) [all...] |
/frameworks/base/core/java/android/text/method/ |
MetaKeyKeyListener.java | 39 * {@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) { 180 public static final int getMetaState(final CharSequence text, final KeyEvent event) { 181 int metaState = event.getMetaState(); 184 metaState |= getMetaState(text); 199 public static final int getMetaState(CharSequence text, int meta) [all...] |
BaseKeyListener.java | 67 if (!KeyEvent.metaStateHasNoModifiers(event.getMetaState() 78 if (getMetaState(content, META_ALT_ON, event) == 1) { 88 || getMetaState(content, META_SHIFT_ON) == 1) {
|
DialerKeyListener.java | 56 int meta = getMetaState(content, event);
|
Touch.java | 133 boolean cap = (event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0 134 || MetaKeyKeyListener.getMetaState(buffer, 136 || MetaKeyKeyListener.getMetaState(buffer,
|
ArrowKeyMovementMethod.java | 34 return ((MetaKeyKeyListener.getMetaState(buffer, MetaKeyKeyListener.META_SHIFT_ON) == 1) || 35 (MetaKeyKeyListener.getMetaState(buffer, MetaKeyKeyListener.META_SELECTING) != 0)); 58 && MetaKeyKeyListener.getMetaState(buffer,
|
NumberKeyListener.java | 44 return event.getMatch(getAcceptedChars(), getMetaState(content, event));
|
BaseMovementMethod.java | 99 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) { 138 int metaState = MetaKeyKeyListener.getMetaState(buffer, event)
|
QwertyKeyListener.java | 111 int i = event.getUnicodeChar(getMetaState(content, event));
|
/frameworks/support/v4/java/android/support/v4/view/ |
KeyEventCompat.java | 188 return IMPL.metaStateHasModifiers(event.getMetaState(), modifiers); 192 return IMPL.metaStateHasNoModifiers(event.getMetaState());
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMotionEvent.java | 49 return obtain(motionEvent.getDownTime(), motionEvent.getEventTime(), motionEvent.getAction(), motionEvent.getX(), motionEvent.getY(), motionEvent.getMetaState());
|
/frameworks/base/core/java/android/view/ |
InputEventConsistencyVerifier.java | 199 ensureMetaStateIsNormalized(event.getMetaState()); 261 ensureMetaStateIsNormalized(event.getMetaState()); 336 ensureMetaStateIsNormalized(event.getMetaState()); 465 ensureMetaStateIsNormalized(event.getMetaState());
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
MotionEventHelper.java | 54 int metaState = e.getMetaState();
|
/frameworks/base/core/jni/ |
android_view_InputEventSender.cpp | 117 event->getKeyCode(), event->getScanCode(), event->getMetaState(), 138 event->getEdgeFlags(), event->getMetaState(), event->getButtonState(),
|
android_view_KeyEvent.cpp | 60 event->getMetaState(),
|
/frameworks/base/native/android/ |
input.cpp | 70 return static_cast<const KeyEvent*>(key_event)->getMetaState(); 94 return static_cast<const MotionEvent*>(motion_event)->getMetaState();
|
/frameworks/native/libs/input/tests/ |
InputPublisherAndConsumer_test.cpp | 109 EXPECT_EQ(metaState, keyEvent->getMetaState()); 191 EXPECT_EQ(metaState, motionEvent->getMetaState());
|
InputEvent_test.cpp | 192 ASSERT_EQ(AMETA_ALT_ON, event.getMetaState()); 307 ASSERT_EQ(AMETA_ALT_ON, event->getMetaState()); 443 ASSERT_EQ(AMETA_CTRL_ON, event.getMetaState());
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
SoftKeyboard.java | 314 int c = event.getUnicodeChar(MetaKeyKeyListener.getMetaState(mMetaState)); 382 && (event.getMetaState()&KeyEvent.META_ALT_ON) != 0) {
|
/frameworks/native/include/input/ |
Input.h | 277 inline int32_t getMetaState() const { return mMetaState; } 345 inline int32_t getMetaState() const { return mMetaState; }
|
/cts/tests/tests/view/src/android/view/cts/ |
MotionEventTest.java | 85 assertEquals(META_STATE, mMotionEvent1.getMetaState()); 106 assertEquals(motionEvent.getMetaState(), mMotionEvent1.getMetaState()); 128 assertEquals(META_STATE, mMotionEvent1.getMetaState());
|
KeyEventTest.java | 156 assertEquals(metaState, mKeyEvent.getMetaState()); 543 assertEquals(mKeyEvent.getMetaState(), keyEvent.getMetaState());
|
/cts/tests/tests/app/src/android/app/cts/ |
InstrumentationTest.java | 179 assertEquals(orig.getMetaState(), motionEvent.getMetaState());
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
ImeAdapter.java | 373 getModifiers(event.getMetaState()), event.getEventTime(), event.getKeyCode(),
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
GalleryActivity.java | 270 event.getEventTime(), event.getAction(), x, y, event.getMetaState());
|