Home
last modified time | relevance | path

Searched refs:getMetaState (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DMetaKeyKeyListenerTest.java177 assertEquals(0, MetaKeyKeyListener.getMetaState("123456")); in testGetMetaState()
178 assertEquals(0, MetaKeyKeyListener.getMetaState("abc")); in testGetMetaState()
179 assertEquals(0, MetaKeyKeyListener.getMetaState("@#$$#^$^")); in testGetMetaState()
182 MetaKeyKeyListener.getMetaState("123456"), in testGetMetaState()
185 MetaKeyKeyListener.getMetaState("abc"), in testGetMetaState()
188 MetaKeyKeyListener.getMetaState("@#$$#^$^"), in testGetMetaState()
191 assertEquals(0, MetaKeyKeyListener.getMetaState("123456", 0)); in testGetMetaState()
192 assertEquals(0, MetaKeyKeyListener.getMetaState("abc", -1)); in testGetMetaState()
193 assertEquals(0, MetaKeyKeyListener.getMetaState("@#$$#^$^", Integer.MAX_VALUE)); in testGetMetaState()
196 MetaKeyKeyListener.getMetaState("123456", MetaKeyKeyListener.META_SHIFT_ON)); in testGetMetaState()
[all …]
DArrowKeyMovementMethodTest.java1450 assertEquals(1, MetaKeyKeyListener.getMetaState(mEditable, expectedState)); in pressMetaKey()
/cts/tests/tests/view/jni/
Dandroid_view_cts_AInputNativeTest.cpp35 jmethodID getMetaState; member
58 jint metaState = env->CallIntMethod(obj, gMotionEventMethodIds.getMetaState); in nativeMotionEventTest()
177 gMotionEventMethodIds.getMetaState = env->GetMethodID(clazz, "getMetaState", "()I"); in register_android_view_cts_AMotionEventNativeTest()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java149 assertMetaState(mCurrentTestCase, expectedKeyEvent.getMetaState(), in assertReceivedKeyEvent()
150 receivedKeyEvent.getMetaState()); in assertReceivedKeyEvent()
378 event.getMetaState(), event.getButtonState(), in splitBatchedMotionEvent()
389 event.getMetaState(), event.getButtonState(), in splitBatchedMotionEvent()
/cts/tests/tests/view/src/android/view/cts/
DVerifyInputEventTest.java339 assertEquals(keyEvent.getMetaState(), verifiedKey.getMetaState()); in compareKeys()
359 assertEquals(motionEvent.getMetaState(), verifiedMotion.getMetaState()); in compareMotions()
DKeyEventTest.java258 assertEquals(metaState, mKeyEvent.getMetaState()); in testGetMetaState()
671 assertEquals(mKeyEvent.getMetaState(), keyEvent.getMetaState()); in testWriteToParcel()
859 assertEquals(javaKeyEvent.getMetaState(), keyEventFromNative.getMetaState()); in testNativeToJavaConverter()
DMotionEventTest.java153 assertEquals(META_STATE, mMotionEvent1.getMetaState()); in testObtainBasic()
174 assertEquals(mMotionEvent2.getMetaState(), mMotionEventDynamic.getMetaState()); in testObtainFromMotionEvent()
197 assertEquals(META_STATE, mMotionEventDynamic.getMetaState()); in testObtainAllFields()
1125 withMetaState(javaMotionEvent.getMetaState()), in testNativeToJavaConverter()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java607 event.getMetaState(), event.getButtonState(), in splitBatchedMotionEvent()
618 event.getMetaState(), event.getButtonState(), in splitBatchedMotionEvent()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java257 int metaState = event.getMetaState(); in sendKey()
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DTvAdServiceTest.java612 assertThat(actual.getMetaState()).isEqualTo(expected.getMetaState()); in assertKeyEventEquals()
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java276 assertEquals(orig.getMetaState(), motionEvent.getMetaState()); in testSendTrackballEventSync()
DDialogTest.java532 assertEquals(expected.getMetaState(), actual.getMetaState()); in assertMotionEventEquals()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java1244 assertThat(actual.getMetaState()).isEqualTo(expected.getMetaState()); in assertKeyEventEquals()
1265 assertThat(actual).hasMetaState(expected.getMetaState()); in assertMotionEventEquals()
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DTvInteractiveAppServiceTest.java2209 assertThat(actual.getMetaState()).isEqualTo(expected.getMetaState()); in assertKeyEventEquals()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt48506 method public static final int getMetaState(CharSequence);
48507 method public static final int getMetaState(CharSequence, android.view.KeyEvent);
48508 method public static final int getMetaState(CharSequence, int);
48509 method public static final int getMetaState(CharSequence, int, android.view.KeyEvent);
48510 method public static final int getMetaState(long);
48511 method public static final int getMetaState(long, int);
51179 method public final int getMetaState();
51809 method public int getMetaState();
52469 method public int getMetaState();
52480 method public int getMetaState();