Home
last modified time | relevance | path

Searched refs:motionEvent (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java95 MotionEvent motionEvent = MotionEvent.obtain(mDownTime, mEventTime, in testObtain2() local
97 mMotionEvent1 = MotionEvent.obtain(motionEvent); in testObtain2()
99 assertEquals(motionEvent.getDownTime(), mMotionEvent1.getDownTime()); in testObtain2()
100 assertEquals(motionEvent.getEventTime(), mMotionEvent1.getEventTime()); in testObtain2()
101 assertEquals(motionEvent.getAction(), mMotionEvent1.getAction()); in testObtain2()
102 assertEquals(motionEvent.getX(), mMotionEvent1.getX(), DELTA); in testObtain2()
103 assertEquals(motionEvent.getY(), mMotionEvent1.getY(), DELTA); in testObtain2()
104 assertEquals(motionEvent.getX(), mMotionEvent1.getRawX(), DELTA); in testObtain2()
105 assertEquals(motionEvent.getY(), mMotionEvent1.getRawY(), DELTA); in testObtain2()
106 assertEquals(motionEvent.getMetaState(), mMotionEvent1.getMetaState()); in testObtain2()
[all …]
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java180 MotionEvent motionEvent = mActivity.getMotionEvent(); in testSendTrackballEventSync() local
181 assertEquals(orig.getMetaState(), motionEvent.getMetaState()); in testSendTrackballEventSync()
182 assertEquals(orig.getEventTime(), motionEvent.getEventTime()); in testSendTrackballEventSync()
183 assertEquals(orig.getDownTime(), motionEvent.getDownTime()); in testSendTrackballEventSync()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java462 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() argument
464 if (motionEvent.getActionMasked() == MotionEvent.ACTION_UP) { in onTouch()
467 mMotionEvents.add(MotionEvent.obtain(motionEvent)); in onTouch()