Home
last modified time | relevance | path

Searched refs:uiController (Results 1 – 12 of 12) 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()
/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 …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DControlsActivityTest.kt45 @Mock private lateinit var uiController: ControlsUiController variable in com.android.systemui.controls.ui.ControlsActivityTest
58 uiController, in <lambda>()
83 verify(uiController).onSizeChange() in testOrientationChangeForwardsToUiController()
93 verify(uiController).onSizeChange() in testScreenChangeForwardsToUiController()
104 verify(uiController).onSizeChange() in testChangeSmallestScreenSizeForwardsToUiController()
116 verify(uiController, times(2)).onSizeChange() in testConfigurationChangeSupportsInPlaceChange()
DTestableControlsActivity.kt28 uiController: ControlsUiController,
36 uiController,
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsActivity.kt51 private val uiController: ControlsUiController, in <lambda>() constant in com.android.systemui.controls.ui.ControlsActivity
104 uiController.onSizeChange() in <lambda>()
116 uiController.show(parent, { finishOrReturnToDream() }, this) in <lambda>()
119 uiController.show(parent, { finishOrReturnToDream() }, this) in <lambda>()
152 uiController.hide(parent) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/
DControlsComponentTest.kt52 @Mock private lateinit var uiController: ControlsUiController variable in com.android.systemui.controls.dagger.ControlsComponentTest
86 assertEquals(uiController, component.getControlsUiController().get()) in testFeatureEnabled()
176 { uiController }, in setupComponent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsControllerImplTest.kt82 private lateinit var uiController: ControlsUiController in <lambda>() variable in com.android.systemui.controls.controller.ControlsControllerImplTest
173 uiController, in <lambda>()
227 uiController, in <lambda>()
247 uiController, in <lambda>()
265 verify(uiController).onActionResponse(TEST_COMPONENT, TEST_CONTROL_ID, in <lambda>()
275 verify(uiController).onRefreshState(TEST_COMPONENT, list) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlsControllerImpl.kt61 private val uiController: ControlsUiController, in <lambda>() constant in com.android.systemui.controls.controller.ControlsControllerImpl
537 uiController.onRefreshState(componentName, listOf(control)) in <lambda>()
542 uiController.onActionResponse(componentName, controlId, response) in <lambda>()
572 return uiController.getPreferredSelectedItem(getFavorites()) in <lambda>()