/cts/tests/tests/widget/src/android/widget/cts/ |
D | ListViewTest.java | 182 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 …]
|
D | SwitchTest.java | 168 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 …]
|
D | ListPopupWindowTest.java | 160 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 …]
|
D | ToolbarTest.java | 93 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 …]
|
D | AutoCompleteTextViewTest.java | 218 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 …]
|
D | ExpandableListViewBasicTest.java | 87 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()
|
D | GridViewTest.java | 225 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 …]
|
D | LinearLayoutTest.java | 449 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 …]
|
D | CheckedTextViewTest.java | 111 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 …]
|
D | ExpandableListViewWithHeadersTest.java | 73 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()
|
D | MediaControllerTest.java | 126 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()
|
D | ToastTest.java | 137 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 …]
|
D | ExpandableListTester.java | 58 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()
|
D | AbsListViewTest.java | 202 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 …]
|
D | ActionMenuViewTest.java | 110 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()
|
D | RelativeLayoutTest.java | 137 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 …]
|
D | ChronometerTest.java | 142 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()
|
D | SeekBarTest.java | 96 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSeekBar, null); in testSetOnSeekBarChangeListener() 108 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSeekBar, null); in testSetOnSeekBarChangeListener() 118 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSeekBar, null); in testSetOnSeekBarChangeListener()
|
D | TabWidgetTest.java | 300 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()
|
D | FrameLayoutTest.java | 110 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()
|
D | FilterTest.java | 85 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, in testFilter1() 104 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, in testFilter2()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | BaseMovementMethodTest.java | 95 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/ |
D | ListActivityTest.java | 73 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/ |
D | TextureViewTest.java | 102 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/ |
D | CtsTouchUtils.java | 103 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()
|