Home
last modified time | relevance | path

Searched refs:dispatch (Results 1 – 8 of 8) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DTouchExplorerTest.java228 dispatch(swipe(mTapLocation, add(mTapLocation, mSwipeDistance, 0), mSwipeTimeMillis)); in testSlowSwipe_initiatesTouchExploration()
243 dispatch(swipe(mTapLocation, endPoint)); in testFastSwipe_doesNotInitiateTouchExploration()
274 dispatch( in testTwoFingerDrag_dispatchesEventsBetweenFingers()
284 dispatch(click(mTapLocation)); in testSingleTap_initiatesTouchExploration()
305 dispatch(multiTap(mTapLocation, 2, slop)); in testSloppyDoubleTapAccessibilityFocus_performsClick()
325 dispatch(doubleTap(mTapLocation)); in testDoubleTapAccessibilityFocus_performsClick()
341 dispatch(doubleTap(mTapLocation)); in testDoubleTapNoFocus_doesNotPerformClick()
360 dispatch(doubleTap(mTapLocation)); in testDoubleTapAndHoldNoFocus_doesNotPerformLongClick()
378 dispatch( in testSecondFingerDoubleTapTouchExploring_performsClick()
403 dispatch(click(mTapLocation)); in testDoubleTapNoAccessibilityFocus_sendsTouchEvents()
[all …]
DFullScreenMagnificationGestureHandlerTest.java311 dispatch(builder1.build()); in testPanning()
312 dispatch(builder2.build()); in testPanning()
335 dispatch(click(mNavigationBarTapLocation)); in testTapNavigationBar_zoomingAndFlagsOn_keepZooming()
353 dispatch(click(mNavigationBarTapLocation)); in testTapNavigationBar_zoomingAndFlagsOff_zoomOut()
369 dispatch(swipe(mNavigationBarTapLocation, mTapLocation)); in testSwipeUpFromNavigationBar_zooming_zoomOut()
378 dispatch(tripleTap(mTapLocation)); in setZoomByTripleTapping()
397 dispatch(drag); in tripleTapAndDragViewport()
402 dispatch(pointerUp(drag)); in tripleTapAndDragViewport()
410 dispatch(tap1, tap2, down); in tripleTapAndHold()
416 dispatch(click(mTapLocation)); in assertGesturesPropagateToView()
[all …]
DTouchInteractionControllerTest.java236 dispatch(click(mTapLocation)); in testSingleTap_initiatesTouchExploration()
262 dispatch(interruptedSwipe(startPoint, endPoint, mSwipeTimeMillis)); in testInterruptedSwipe_generatesConsistentEventStream()
300 dispatch( in testTwoFingerDrag_sendsTouchEvents()
332 dispatch(swipe1, swipe2); in testTwoFingersMovingIndependently_shouldDelegate()
343 dispatch(doubleTap(mTapLocation)); in testDoubleTap_producesSingleInteraction()
396 dispatch(click(mTapLocation)); in testPerformLongClick_sendsMotionEvents()
415 dispatch(swipe(mTapLocation, add(mTapLocation, mSwipeDistance, 0), mSwipeTimeMillis)); in testPerformLongClick_sendsMotionEvents()
426 dispatch(click(mTapLocation)); in testRemove_shouldReturnControlToFramework()
431 dispatch(click(mTapLocation)); in testRemove_shouldReturnControlToFramework()
449 dispatch(click(mTapLocation)); in testRebuildInputFilter_shouldRetainState()
[all …]
DAccessibilityGestureDispatchTest.java190 dispatch(clickWithinView(clickPoint), GESTURE_COMPLETION_TIMEOUT); in testClickAt_producesDownThenUp()
226 dispatch(longClickWithinView(clickPoint), in testLongClickAt_producesEventsWithLongClickTiming()
251 dispatch(swipeWithinView(startPoint, endPoint, gestureTime), in testSwipe_shouldContainPointsInALine()
278 public void dispatch(GestureDescription gesture, int timeoutMs) { in dispatch() method in AccessibilityGestureDispatchTest
295 dispatch(swipeWithinView(startPoint, endPoint, gestureTime), in testSlowSwipe_shouldNotContainMovesForTinyMovement()
319 dispatch(pinchWithinView(centerPoint, startSpacing, endSpacing, 45.0F, gestureTime), in testAngledPinch_looksReasonable()
423 dispatch(new GestureDescription.Builder() in testClickWhenMagnified_matchesActualTouch()
429 dispatch(new GestureDescription.Builder() in testClickWhenMagnified_matchesActualTouch()
485 dispatch(gesture1, gestureTime + GESTURE_COMPLETION_TIMEOUT); in testContinuedGestures_motionEventsContinue()
486 dispatch(gesture2, gestureTime + GESTURE_COMPLETION_TIMEOUT); in testContinuedGestures_motionEventsContinue()
[all …]
DAccessibilityEndToEndTest.java2125 dispatch(service, click(tapLocation)); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()
2131 dispatch(service, click(tapLocation)); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()
2147 dispatch(service, click(tapLocation)); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()
2153 dispatch(service, click(tapLocation)); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()
2219 dispatch(service, click(tapLocation)); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled()
2225 dispatch(service, click(tapLocation)); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled()
2546 private void dispatch( in dispatch() method
2555 dispatch(service, builder.build()); in dispatch()
2558 private void dispatch(InstrumentedAccessibilityService service, GestureDescription gesture) { in dispatch() method
/cts/hostsidetests/compilation/app/src/android/compilation/cts/
DCompilationTargetActivity.java82 int v = dispatch(random.nextInt()); in makeValues()
92 private int dispatch(int i) { in dispatch() method in CompilationTargetActivity
/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java221 assertTrue(mKeyEvent.dispatch(callback)); in testDispatch()
227 assertTrue(mKeyEvent.dispatch(callback)); in testDispatch()
235 assertTrue(mKeyEvent.dispatch(callback)); in testDispatch()
242 assertTrue(mKeyEvent.dispatch(callback)); in testDispatch()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt51163 method @Deprecated public final boolean dispatch(android.view.KeyEvent.Callback);
51164 …method public final boolean dispatch(android.view.KeyEvent.Callback, android.view.KeyEvent.Dispatc…