Home
last modified time | relevance | path

Searched refs:uiController (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DDragAction.java54 UiController wrapUiController(UiController uiController); in wrapUiController() argument
69 UiController uiController, float[] coordinates, float[] precision) {
71 uiController, coordinates, precision)
79 UiController uiController, in sendSwipe() argument
82 uiController, downMotion, startCoordinates, endCoordinates, precision); in sendSwipe()
91 public UiController wrapUiController(UiController uiController) { in wrapUiController() argument
92 return new MouseUiController(uiController); in wrapUiController()
104 UiController uiController, float[] coordinates, float[] precision) {
105 return performDoubleTap(uiController, coordinates, precision);
111 UiController uiController, in sendSwipe() argument
[all …]
DMouseClickAction.java45 public Tapper.Status sendTap(UiController uiController, float[] coordinates, in sendTap() argument
47 Tapper.Status stat = sendSingleTap(uiController, coordinates, precision, in sendTap()
59 uiController.loopMainThreadForAtLeast(doubleTapMinimumTimeout); in sendTap()
61 stat = sendSingleTap(uiController, coordinates, precision, inputDevice, in sendTap()
78 public Tapper.Status sendTap(UiController uiController, float[] coordinates, in sendTap() argument
80 return sendTap(uiController, coordinates, precision, InputDevice.SOURCE_UNKNOWN, in sendTap()
85 private static Tapper.Status sendSingleTap(UiController uiController, in sendSingleTap() argument
87 DownResultHolder res = MotionEvents.sendDown(uiController, coordinates, precision, in sendSingleTap()
90 if (!MotionEvents.sendUp(uiController, res.down)) { in sendSingleTap()
91 MotionEvents.sendCancel(uiController, res.down); in sendSingleTap()
[all …]
DMouseUiController.java47 public MouseUiController(UiController uiController) { in MouseUiController() argument
48 this(uiController, MotionEvent.BUTTON_PRIMARY); in MouseUiController()
57 public MouseUiController(UiController uiController, @MouseButton int button) { in MouseUiController() argument
58 mUiController = checkNotNull(uiController); in MouseUiController()
DViewClickAction.java51 public void perform(UiController uiController, View view) { in perform() argument
52 mGeneralClickAction.perform(uiController, view); in perform()
59 uiController.loopMainThreadForAtLeast(doubleTapTimeout); in perform()
DSuggestionsPopupwindowUtils.java121 public void perform(UiController uiController, View view) { in perform() argument
122 mViewClickAction.perform(uiController, view); in perform()
DFloatingToolbarEspressoUtils.java258 public void perform(UiController uiController, View view) {
259 uiController.loopMainThreadForAtLeast(SLEEP_DURATION);
/frameworks/base/core/tests/coretests/src/android/view/
DPinchZoomAction.java46 public static Swiper.Status sendPinchZoomAction(UiController uiController, in sendPinchZoomAction() argument
52 checkNotNull(uiController); in sendPinchZoomAction()
96 uiController.injectMotionEvent(firstFingerEvent); in sendPinchZoomAction()
106 uiController.injectMotionEvent(secondFingerEvent); in sendPinchZoomAction()
135 uiController.injectMotionEvent(event); in sendPinchZoomAction()
144 uiController.loopMainThreadForAtLeast(800); in sendPinchZoomAction()
154 uiController.injectMotionEvent(secondFingerUpEvent); in sendPinchZoomAction()
169 uiController.injectMotionEvent(firstFingerUpEvent); in sendPinchZoomAction()
219 public void perform(UiController uiController, View view) { in perform() argument
220 checkNotNull(uiController); in perform()
[all …]