Searched refs:event1 (Results 1 – 5 of 5) sorted by relevance
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityGestureEventTest.java | 93 … AccessibilityGestureEvent event1 = new AccessibilityGestureEvent(SENT_GESTURE,TARGET_DISPLAY); in testDescribeContents() local 95 event1.describeContents()); in testDescribeContents()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | NumberKeyListenerTest.java | 102 KeyEvent event1 = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); in testLookup() local 104 assertEquals('0', mMockNumberKeyListener.lookup(event1, str)); in testLookup()
|
D | TouchTest.java | 141 final MotionEvent event1 = MotionEvent.obtain(downTime, eventTime, in testOnTouchEvent() local 151 () -> mReturnFromTouchEvent = Touch.onTouchEvent(mTextView, spannable, event1)); in testOnTouchEvent()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3187 private static void compareAndRecycleMotionEvents(MotionEvent event1, MotionEvent event2) { in compareAndRecycleMotionEvents() argument 3188 if (event1 == null && event2 == null) { in compareAndRecycleMotionEvents() 3192 if (event1 == null) { in compareAndRecycleMotionEvents() 3197 event1.recycle(); in compareAndRecycleMotionEvents() 3201 assertEquals(event1.getAction(), event2.getAction()); in compareAndRecycleMotionEvents() 3202 assertEquals(event1.getPointerCount(), event2.getPointerCount()); in compareAndRecycleMotionEvents() 3203 assertEquals(event1.getSource(), event2.getSource()); in compareAndRecycleMotionEvents() 3204 assertEquals(event1.getDownTime(), event2.getDownTime()); in compareAndRecycleMotionEvents() 3210 if (event1.getHistorySize() == 0 && event2.getHistorySize() == 0) { in compareAndRecycleMotionEvents() 3211 assertEquals(event1.getEventTime(), event2.getEventTime()); in compareAndRecycleMotionEvents() [all …]
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivityTest.java | 321 final ContentCaptureEvent event1 = assertContextUpdated(events, LoginActivity.MIN_EVENTS); in testSimpleLifecycle_changeContextAfterCreate() local 322 final ContentCaptureContext actualContext = event1.getContentCaptureContext(); in testSimpleLifecycle_changeContextAfterCreate()
|