Home
last modified time | relevance | path

Searched refs:runOnMainAndDrawSync (Results 1 – 25 of 43) sorted by relevance

12

/cts/tests/tests/widget/src/android/widget/cts/
DListViewTest.java182 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in setAdapter()
188 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in testAccessDividerHeight()
195 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in testAccessDividerHeight()
201 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in testAccessDividerHeight()
221 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in testAccessAdapter()
227 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in testAccessAdapter()
310 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, () -> { in testAccessFooterView()
332 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in testAccessFooterView()
335 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in testAccessFooterView()
340 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in testAccessFooterView()
[all …]
DSwitchTest.java168 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, in testAccessThumbDrawable()
176 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, in testAccessThumbDrawable()
184 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, () -> { in testAccessThumbDrawable()
197 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, in testAccessTrackDrawable()
208 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, in testAccessTrackDrawable()
217 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, in testAccessTrackDrawable()
226 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, () -> { in testAccessTrackDrawable()
243 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, container, in testAccessText()
247 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, in testAccessText()
252 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, in testAccessText()
[all …]
DListPopupWindowTest.java160 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAccessBackground()
174 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAccessAnimationStyle()
189 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAccessHeight()
231 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, in testAccessWidth()
266 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in verifyAnchoring()
296 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoring()
309 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithHorizontalOffset()
322 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithVerticalOffset()
335 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithRightGravity()
348 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithEndGravity()
[all …]
DToolbarTest.java93 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mMainToolbar, in testTitleAndSubtitleContent()
97 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mMainToolbar, in testTitleAndSubtitleContent()
101 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mMainToolbar, in testTitleAndSubtitleContent()
105 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mMainToolbar, in testTitleAndSubtitleContent()
112 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mMainToolbar, in testTitleAndSubtitleAppearance()
114 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mMainToolbar, in testTitleAndSubtitleAppearance()
120 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mMainToolbar, in testTitleAndSubtitleAppearance()
122 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mMainToolbar, in testTitleAndSubtitleAppearance()
125 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mMainToolbar, in testTitleAndSubtitleAppearance()
128 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mMainToolbar, in testTitleAndSubtitleAppearance()
[all …]
DAutoCompleteTextViewTest.java218 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, in testEnoughToFilter()
222 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, in testEnoughToFilter()
411 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> { in testDropDownBackground()
421 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> { in testDropDownBackground()
440 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> { in refreshAutoCompleteResults_addItem()
452 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> { in refreshAutoCompleteResults_addItem()
472 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> { in refreshAutoCompleteResults_removeItem()
484 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> { in refreshAutoCompleteResults_removeItem()
502 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> { in refreshAutoCompleteResults_threshold_changeText()
509 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAutoCompleteTextView, () -> { in refreshAutoCompleteResults_threshold_changeText()
[all …]
DExpandableListViewBasicTest.java87 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); in expandGroup()
90 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); in expandGroup()
108 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); in testCollapseGroup()
117 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); in testExpandedGroupMovement()
120 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); in testExpandedGroupMovement()
135 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, in testExpandedGroupMovement()
DGridViewTest.java225 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView, () -> { in testSetGravity()
279 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView, () -> { in verifyAccessHorizontalSpacing()
294 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView, in verifyAccessHorizontalSpacing()
310 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView, () -> { in testAccessVerticalSpacing()
320 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView, in testAccessVerticalSpacing()
418 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView, () -> {
429 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView,
437 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView,
454 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView, () -> { in testGetNumColumns()
461 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mGridView, in testGetNumColumns()
[all …]
DLinearLayoutTest.java449 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, in testVerticalCenterGravityOnHorizontalLayout()
459 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, in testVerticalCenterGravityOnHorizontalLayout()
496 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, in testBottomGravityOnHorizontalLayout()
506 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, in testBottomGravityOnHorizontalLayout()
540 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, in testHorizontalCenterGravityOnVerticalLayout()
552 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, in testHorizontalCenterGravityOnVerticalLayout()
588 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, in testRightGravityOnVerticalLayout()
600 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, in testRightGravityOnVerticalLayout()
849 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, in testDividersInVerticalLayout()
856 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, parent, in testDividersInVerticalLayout()
[all …]
DCheckedTextViewTest.java111 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, () -> { in testChecked()
130 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, () -> { in testChecked()
173 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, () -> { in testSetPadding()
183 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, () -> { in testSetPadding()
314 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mCheckedTextView,
324 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mCheckedTextView, () -> {
338 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mCheckedTextView,
350 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mCheckedTextView,
363 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mCheckedTextView, in testCheckMarkTintBlendMode()
373 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mCheckedTextView, () -> { in testCheckMarkTintBlendMode()
[all …]
DExpandableListViewWithHeadersTest.java73 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); in testExpandOnFirstPosition()
77 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); in testExpandOnFirstPosition()
86 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); in testExpandOnFirstGroup()
90 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); in testExpandOnFirstGroup()
DMediaControllerTest.java126 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testShow()
137 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testShow()
141 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testShow()
146 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testShow()
173 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testOnTrackballEvent()
181 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testOnTrackballEvent()
200 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testOnTrackballEvent()
DToastTest.java137 runOnMainAndDrawSync(view, mToast::show); in testShow()
178 runOnMainAndDrawSync(imageView, () -> { in testAccessView()
190 runOnMainAndDrawSync(mToast.getView(), mToast::show); in testAccessDuration()
198 runOnMainAndDrawSync(mToast.getView(), () -> { in testAccessDuration()
219 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_withA11yTimeoutEnabled()
232 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_withA11yTimeoutEnabled()
283 runOnMainAndDrawSync(view, () -> { in testAccessMargin()
303 runOnMainAndDrawSync(view, () -> { in testAccessMargin()
339 runOnMainAndDrawSync(mToast.getView(), () -> {
354 runOnMainAndDrawSync(mToast.getView(), () -> {
[all …]
DExpandableListTester.java58 WidgetTestUtils.runOnMainAndDrawSync(mActivityTestRule, mExpandableListView, null); in expandGroup()
61 WidgetTestUtils.runOnMainAndDrawSync(mActivityTestRule, mExpandableListView, null); in expandGroup()
82 WidgetTestUtils.runOnMainAndDrawSync(mActivityTestRule, mExpandableListView, in testContextMenus()
100 WidgetTestUtils.runOnMainAndDrawSync(mActivityTestRule, mExpandableListView, in testContextMenus()
112 WidgetTestUtils.runOnMainAndDrawSync(mActivityTestRule, mExpandableListView, in testContextMenus()
127 WidgetTestUtils.runOnMainAndDrawSync(mActivityTestRule, mExpandableListView, in testContextMenus()
DAbsListViewTest.java202 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in setAdapter()
207 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in setListSelection()
335 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in testAccessStackFromBottom()
340 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in testAccessStackFromBottom()
381 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, in testAccessListPadding()
397 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, mListView::requestLayout); in testAccessSelector()
404 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, mListView::requestLayout); in testAccessSelector()
422 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, null); in testSelectorOnScreen()
428 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, () -> { in testSelectorOnScreen()
443 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, () -> { in testSelectorOnScreen()
[all …]
DActionMenuViewTest.java110 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActionMenuView, in testMenuOverflowShowHide()
115 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActionMenuView, in testMenuOverflowShowHide()
129 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActionMenuView, in testMenuOverflowSubmenu()
147 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActionMenuView, in testMenuOverflowSubmenu()
160 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActionMenuView, in testMenuOverflowIcon()
DRelativeLayoutTest.java137 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, in testAccessGravity()
146 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, in testAccessGravity()
155 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, in testAccessGravity()
165 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, in testAccessGravity()
191 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, in testSetHorizontalGravity()
200 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, in testSetHorizontalGravity()
225 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, in testSetVerticalGravity()
234 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, relativeLayout, in testSetVerticalGravity()
349 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testBaselineAlignment()
367 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testBidiWidth()
[all …]
DChronometerTest.java142 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, chronometer, () -> { in testStartAndStop()
156 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, chronometer, () -> { in testStartAndStop()
175 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, chronometer, () -> { in testAccessOnChronometerTickListener()
195 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, chronometer, () -> { in testCountDown()
214 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, chronometer, () -> { in testCountUp()
DSeekBarTest.java96 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSeekBar, null); in testSetOnSeekBarChangeListener()
108 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSeekBar, null); in testSetOnSeekBarChangeListener()
118 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSeekBar, null); in testSetOnSeekBarChangeListener()
DTabWidgetTest.java300 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTabWidget, in testStripDrawables()
308 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTabWidget, in testStripDrawables()
316 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTabWidget, in testStripDrawables()
322 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTabWidget, in testStripDrawables()
330 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTabWidget, in testStripDrawables()
339 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTabWidget, in testStripDrawables()
DFrameLayoutTest.java110 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mFrameLayout, in testSetForegroundGravity()
128 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mFrameLayout, () -> { in testSetForegroundGravity()
146 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mFrameLayout, () -> { in testGatherTransparentRegion()
153 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mFrameLayout, in testGatherTransparentRegion()
173 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, frameLayout, () -> { in testAccessMeasureAllChildren()
185 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, frameLayout, () -> { in testAccessMeasureAllChildren()
DFilterTest.java85 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, in testFilter1()
104 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, in testFilter2()
/cts/tests/tests/text/src/android/text/method/cts/
DBaseMovementMethodTest.java95 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, null); in testOnGenericMotionEvent_horizontalScroll()
102 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, null); in testOnGenericMotionEvent_horizontalScroll()
112 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, in testOnGenericMotionEvent_horizontalScroll()
120 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, in testOnGenericMotionEvent_horizontalScroll()
126 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, null); in testOnGenericMotionEvent_horizontalScroll()
133 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, null); in testOnGenericMotionEvent_horizontalScroll()
157 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, null); in testOnGenericMotionEvent_verticalScroll()
164 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, null); in testOnGenericMotionEvent_verticalScroll()
174 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, in testOnGenericMotionEvent_verticalScroll()
/cts/tests/app/src/android/app/cts/
DListActivityTest.java73 runOnMainAndDrawSync(getInstrumentation(), mActivity.getListView(), new Runnable() { in testSelection()
109 private static void runOnMainAndDrawSync(Instrumentation instrumentation, in runOnMainAndDrawSync() method in ListActivityTest
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java102 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, in testFirstFrames()
130 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, activity.getTextureView(), null); in testRotateScale()
143 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, in testRotateScale()
169 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, activity.getTextureView(), null); in testTransformScale()
185 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, in testTransformScale()
303 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, activity.getTextureView(), null); in testSamplingWithTransform()
305 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, in testSamplingWithTransform()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java103 WidgetTestUtils.runOnMainAndDrawSync(activityTestRule, in emulateTapOnView()
152 WidgetTestUtils.runOnMainAndDrawSync(activityTestRule, in emulateDoubleTapOnView()
208 WidgetTestUtils.runOnMainAndDrawSync(activityTestRule, in emulateDragGesture()
267 WidgetTestUtils.runOnMainAndDrawSync(activityTestRule, in emulateDragGesture()
609 WidgetTestUtils.runOnMainAndDrawSync(activityTestRule, in emulateLongPressOnScreen()

12