Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DDragAction.java51 UiController wrapUiController(UiController uiController); in wrapUiController() argument
66 UiController uiController, float[] coordinates, float[] precision) {
68 uiController, coordinates, precision)
76 UiController uiController, in sendSwipe() argument
79 uiController, downMotion, startCoordinates, endCoordinates, precision); in sendSwipe()
88 public UiController wrapUiController(UiController uiController) { in wrapUiController() argument
89 return new MouseUiController(uiController); in wrapUiController()
101 UiController uiController, float[] coordinates, float[] precision) {
102 return performDoubleTap(uiController, coordinates, precision);
108 UiController uiController, in sendSwipe() argument
[all …]
DMouseClickAction.java43 public Tapper.Status sendTap(UiController uiController, float[] coordinates, in sendTap() argument
45 Tapper.Status stat = sendSingleTap(uiController, coordinates, precision); in sendTap()
56 uiController.loopMainThreadForAtLeast(doubleTapMinimumTimeout); in sendTap()
58 stat = sendSingleTap(uiController, coordinates, precision); in sendTap()
74 private static Tapper.Status sendSingleTap(UiController uiController, in sendSingleTap() argument
76 DownResultHolder res = MotionEvents.sendDown(uiController, coordinates, precision); in sendSingleTap()
78 if (!MotionEvents.sendUp(uiController, res.down)) { in sendSingleTap()
79 MotionEvents.sendCancel(uiController, res.down); in sendSingleTap()
117 public void perform(UiController uiController, View view) { in perform() argument
118 mViewClickAction.perform(new MouseUiController(uiController, mButton), view); in perform()
DMouseUiController.java44 public MouseUiController(UiController uiController) { in MouseUiController() argument
45 this(uiController, MotionEvent.BUTTON_PRIMARY); in MouseUiController()
54 public MouseUiController(UiController uiController, @MouseButton int button) { in MouseUiController() argument
55 mUiController = checkNotNull(uiController); in MouseUiController()
DViewClickAction.java50 public void perform(UiController uiController, View view) { in perform() argument
51 mGeneralClickAction.perform(uiController, view); in perform()
58 uiController.loopMainThreadForAtLeast(doubleTapTimeout); in perform()
DSuggestionsPopupwindowUtils.java117 public void perform(UiController uiController, View view) { in perform() argument
118 mViewClickAction.perform(uiController, view); in perform()
/frameworks/support/design/tests/src/android/support/design/testutils/
DNavigationViewActions.java53 public void perform(UiController uiController, View view) { in setItemTextAppearance() argument
54 uiController.loopMainThreadUntilIdle(); in setItemTextAppearance()
59 uiController.loopMainThreadUntilIdle(); in setItemTextAppearance()
80 public void perform(UiController uiController, View view) {
81 uiController.loopMainThreadUntilIdle();
86 uiController.loopMainThreadUntilIdle();
107 public void perform(UiController uiController, View view) {
108 uiController.loopMainThreadUntilIdle();
113 uiController.loopMainThreadUntilIdle();
134 public void perform(UiController uiController, View view) {
[all …]
DViewPagerActions.java53 public void perform(UiController uiController, View view) { in scrollRight() argument
54 uiController.loopMainThreadUntilIdle(); in scrollRight()
60 uiController.loopMainThreadUntilIdle(); in scrollRight()
81 public void perform(UiController uiController, View view) {
82 uiController.loopMainThreadUntilIdle();
88 uiController.loopMainThreadUntilIdle();
109 public void perform(UiController uiController, View view) {
110 uiController.loopMainThreadUntilIdle();
118 uiController.loopMainThreadUntilIdle();
139 public void perform(UiController uiController, View view) {
[all …]
DTestUtilsActions.java55 public void perform(UiController uiController, View view) { in replaceTabLayout() argument
56 uiController.loopMainThreadUntilIdle(); in replaceTabLayout()
77 uiController.loopMainThreadUntilIdle(); in replaceTabLayout()
98 public void perform(UiController uiController, View view) {
99 uiController.loopMainThreadUntilIdle();
103 uiController.loopMainThreadUntilIdle();
124 public void perform(UiController uiController, View view) {
125 uiController.loopMainThreadUntilIdle();
131 uiController.loopMainThreadUntilIdle();
152 public void perform(UiController uiController, View view) {
[all …]
DTabLayoutActions.java54 public void perform(UiController uiController, View view) { in setupWithViewPager() argument
55 uiController.loopMainThreadUntilIdle(); in setupWithViewPager()
60 uiController.loopMainThreadUntilIdle(); in setupWithViewPager()
82 public void perform(UiController uiController, View view) {
83 uiController.loopMainThreadUntilIdle();
88 uiController.loopMainThreadUntilIdle();
109 public void perform(UiController uiController, View view) {
110 uiController.loopMainThreadUntilIdle();
115 uiController.loopMainThreadUntilIdle();
136 public void perform(UiController uiController, View view) {
[all …]
DFloatingActionButtonActions.java46 public void perform(UiController uiController, View view) { in setBackgroundTintColor() argument
47 uiController.loopMainThreadUntilIdle(); in setBackgroundTintColor()
52 uiController.loopMainThreadUntilIdle(); in setBackgroundTintColor()
70 public void perform(UiController uiController, View view) {
71 uiController.loopMainThreadUntilIdle();
76 uiController.loopMainThreadUntilIdle();
94 public void perform(UiController uiController, View view) {
95 uiController.loopMainThreadUntilIdle();
100 uiController.loopMainThreadUntilIdle();
DDrawerLayoutActions.java44 public void perform(UiController uiController, View view) { in openDrawer() argument
45 uiController.loopMainThreadUntilIdle(); in openDrawer()
51 uiController.loopMainThreadForAtLeast(1000); in openDrawer()
72 public void perform(UiController uiController, View view) {
73 uiController.loopMainThreadUntilIdle();
79 uiController.loopMainThreadForAtLeast(1000);
DTextInputLayoutActions.java44 public void perform(UiController uiController, View view) { in setErrorEnabled() argument
45 uiController.loopMainThreadUntilIdle(); in setErrorEnabled()
50 uiController.loopMainThreadUntilIdle(); in setErrorEnabled()
68 public void perform(UiController uiController, View view) {
69 uiController.loopMainThreadUntilIdle();
74 uiController.loopMainThreadUntilIdle();
/frameworks/support/v4/tests/java/android/support/v4/testutils/
DTextViewActions.java50 public void perform(UiController uiController, View view) { in setMaxLines() argument
51 uiController.loopMainThreadUntilIdle(); in setMaxLines()
56 uiController.loopMainThreadUntilIdle(); in setMaxLines()
77 public void perform(UiController uiController, View view) {
78 uiController.loopMainThreadUntilIdle();
83 uiController.loopMainThreadUntilIdle();
104 public void perform(UiController uiController, View view) {
105 uiController.loopMainThreadUntilIdle();
110 uiController.loopMainThreadUntilIdle();
131 public void perform(UiController uiController, View view) {
[all …]
DLayoutDirectionActions.java44 public void perform(UiController uiController, View view) { in setLayoutDirection() argument
45 uiController.loopMainThreadUntilIdle(); in setLayoutDirection()
49 uiController.loopMainThreadUntilIdle(); in setLayoutDirection()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DTestUtilsActions.java50 public void perform(UiController uiController, View view) { in setLayoutDirection() argument
51 uiController.loopMainThreadUntilIdle(); in setLayoutDirection()
55 uiController.loopMainThreadUntilIdle(); in setLayoutDirection()
76 public void perform(UiController uiController, View view) {
77 uiController.loopMainThreadUntilIdle();
82 uiController.loopMainThreadUntilIdle();
104 public void perform(UiController uiController, View view) {
105 uiController.loopMainThreadUntilIdle();
109 uiController.loopMainThreadUntilIdle();
131 public void perform(UiController uiController, View view) {
[all …]
DAppCompatTintableViewActions.java54 public void perform(UiController uiController, View view) { in setEnabled() argument
55 uiController.loopMainThreadUntilIdle(); in setEnabled()
59 uiController.loopMainThreadUntilIdle(); in setEnabled()
81 public void perform(UiController uiController, View view) {
82 uiController.loopMainThreadUntilIdle();
87 uiController.loopMainThreadUntilIdle();
109 public void perform(UiController uiController, View view) {
110 uiController.loopMainThreadUntilIdle();
115 uiController.loopMainThreadUntilIdle();
137 public void perform(UiController uiController, View view) {
[all …]
DDrawerLayoutActions.java116 public final void perform(UiController uiController, View view) { in wrap() argument
130 baseAction.perform(uiController, view); in wrap()
132 uiController.loopMainThreadUntilIdle(); in wrap()
160 public void perform(UiController uiController, View view) {
161 uiController.loopMainThreadUntilIdle();
185 public void perform(UiController uiController, View view) {
186 uiController.loopMainThreadUntilIdle();
210 public void perform(UiController uiController, View view) {
211 uiController.loopMainThreadUntilIdle();
235 public void perform(UiController uiController, View view) {
[all …]
/frameworks/support/v4/tests/java/android/support/v4/view/
DViewPagerActions.java112 public final void perform(UiController uiController, View view) { in wrap() argument
126 baseAction.perform(uiController, view); in wrap()
128 uiController.loopMainThreadUntilIdle(); in wrap()
156 public void perform(UiController uiController, View view) {
157 uiController.loopMainThreadUntilIdle();
163 uiController.loopMainThreadUntilIdle();
184 public void perform(UiController uiController, View view) {
185 uiController.loopMainThreadUntilIdle();
191 uiController.loopMainThreadUntilIdle();
212 public void perform(UiController uiController, View view) {
[all …]
/frameworks/support/design/tests/src/android/support/design/widget/
DDesignViewActions.java48 public void perform(UiController uiController, View view) { in withCustomConstraints() argument
49 action.perform(uiController, view); in withCustomConstraints()
67 public void perform(UiController uiController, View view) {
68 uiController.loopMainThreadUntilIdle();
70 uiController.loopMainThreadUntilIdle();
DBaseDynamicCoordinatorLayoutTest.java93 public void perform(UiController uiController, View view) {
94 uiController.loopMainThreadUntilIdle();
103 uiController.loopMainThreadUntilIdle();
121 public void perform(UiController uiController, View view) {
122 uiController.loopMainThreadUntilIdle();
126 uiController.loopMainThreadUntilIdle();
DBottomSheetBehaviorTest.java142 public void perform(UiController uiController, View view) { in perform() argument
149 MotionEvent downEvent = MotionEvents.sendDown(uiController, start, precision).down; in perform()
156 uiController.loopMainThreadForAtLeast(timeUntilDesired); in perform()
159 if (!MotionEvents.sendMovement(uiController, downEvent, steps[i])) { in perform()
160 MotionEvents.sendCancel(uiController, downEvent); in perform()
167 uiController.loopMainThreadForAtLeast((long) duration); in perform()
205 public void perform(UiController uiController, View view) { in perform() argument
/frameworks/support/v4/tests/java/android/support/v4/widget/
DSwipeRefreshLayoutActions.java42 public void perform(UiController uiController, View view) { in setRefreshing() argument
43 uiController.loopMainThreadUntilIdle(); in setRefreshing()
67 public void perform(UiController uiController, View view) {
68 uiController.loopMainThreadUntilIdle();
73 uiController.loopMainThreadUntilIdle();
/frameworks/support/percent/tests/java/android/support/percent/
DLayoutDirectionActions.java44 public void perform(UiController uiController, View view) { in setLayoutDirection() argument
45 uiController.loopMainThreadUntilIdle(); in setLayoutDirection()
49 uiController.loopMainThreadUntilIdle(); in setLayoutDirection()
DPercentDynamicLayoutTest.java94 public void perform(UiController uiController, View view) {
95 uiController.loopMainThreadUntilIdle();
101 uiController.loopMainThreadUntilIdle();
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerDynamicLayoutTest.java98 public void perform(UiController uiController, View view) {
99 uiController.loopMainThreadUntilIdle();
105 uiController.loopMainThreadUntilIdle();

12