/cts/tests/tests/widget/src/android/widget/cts/ |
CheckBoxTest.java | 53 public ActivityTestRule<CheckBoxCtsActivity> mActivityRule = 59 mActivity = mActivityRule.getActivity(); 172 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mCheckBox); 177 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mCheckBox);
|
ChronometerTest.java | 59 public ActivityTestRule<ChronometerCtsActivity> mActivityRule = 65 mActivity = mActivityRule.getActivity(); 142 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, chronometer, () -> { 156 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, chronometer, () -> { 175 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, chronometer, () -> { 195 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, chronometer, () -> { 214 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, chronometer, () -> {
|
DigitalClockTest.java | 55 public ActivityTestRule<DigitalClockCtsActivity> mActivityRule = 60 mActivity = mActivityRule.getActivity();
|
ExpandableListViewBasicTest.java | 58 public ActivityTestRule<ExpandableListBasic> mActivityRule = 64 mActivity = mActivityRule.getActivity(); 87 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); 90 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); 108 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); 117 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); 120 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); 135 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, 147 ExpandableListTester tester = new ExpandableListTester(mActivityRule, mExpandableListView); 153 ExpandableListTester tester = new ExpandableListTester(mActivityRule, mExpandableListView) [all...] |
ExpandableListViewWithHeadersTest.java | 52 public ActivityTestRule<ExpandableListWithHeaders> mActivityRule = 58 mActivity = mActivityRule.getActivity(); 73 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); 77 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); 86 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); 90 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mExpandableListView, null); 97 ExpandableListTester tester = new ExpandableListTester(mActivityRule, mExpandableListView); 103 ExpandableListTester tester = new ExpandableListTester(mActivityRule, mExpandableListView); 110 ExpandableListTester tester = new ExpandableListTester(mActivityRule, mExpandableListView);
|
RadioButtonTest.java | 53 public ActivityTestRule<RadioButtonCtsActivity> mActivityRule = 59 mActivity = mActivityRule.getActivity(); 172 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mRadioButton); 177 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mRadioButton);
|
RatingBarTest.java | 52 public ActivityTestRule<RatingBarCtsActivity> mActivityRule = 57 mActivity = mActivityRule.getActivity();
|
SwitchTest.java | 62 public ActivityTestRule<SwitchCtsActivity> mActivityRule = 68 mActivity = mActivityRule.getActivity(); 168 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, 176 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, 184 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, () -> { 197 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, 208 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, 217 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, 226 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, () -> { 243 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, container [all...] |
TableRow_LayoutParamsTest.java | 54 public ActivityTestRule<TableCtsActivity> mActivityRule = 59 mActivity = mActivityRule.getActivity();
|
TextSwitcherTest.java | 58 public ActivityTestRule<TextSwitcherCtsActivity> mActivityRule = 63 mActivity = mActivityRule.getActivity();
|
TextViewFadingEdgeTest.java | 54 public ActivityTestRule<EmptyCtsActivity> mActivityRule = 141 mActivity = mActivityRule.getActivity(); 179 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, layout, 182 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, textView, () -> {
|
TwoLineListItemTest.java | 51 public ActivityTestRule<TwoLineListItemCtsActivity> mActivityRule = 56 mActivity = mActivityRule.getActivity();
|
AbsListView_ScrollTest.java | 72 public ActivityTestRule<ListViewFixedCtsActivity> mActivityRule = 91 final Activity activity = mActivityRule.getActivity(); 99 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, 194 mActivityRule.runOnUiThread(() -> mListView.smoothScrollToPosition( 253 mActivityRule.runOnUiThread(() -> mListView.smoothScrollToPosition( 320 mActivityRule.runOnUiThread(() -> mListView.smoothScrollToPositionFromTop( 323 mActivityRule.runOnUiThread(() -> mListView.smoothScrollToPositionFromTop( 439 mActivityRule.runOnUiThread(() -> mListView.scrollListBy(y)); 506 mActivityRule.runOnUiThread(() -> mListView.smoothScrollToPosition(30)); 520 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mListView) [all...] |
AbsSeekBarTest.java | 71 public ActivityTestRule<AbsSeekBarCtsActivity> mActivityRule = 77 mActivity = mActivityRule.getActivity(); 218 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), 223 mActivityRule.runOnUiThread(() -> { 437 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, inflatedView, 441 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, inflatedView,
|
ArrayAdapterTest.java | 62 public ActivityTestRule<CtsActivity> mActivityRule = 199 mActivityRule.runOnUiThread(() -> {
|
CalendarViewTest.java | 63 public ActivityTestRule<CalendarViewCtsActivity> mActivityRule = 70 mActivity = mActivityRule.getActivity(); 221 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, calendarView, 236 CtsTouchUtils.emulateTapOnView(mInstrumentation, mActivityRule, calendarView, 253 mActivityRule.runOnUiThread(() -> scroller.scrollTo(0, container.getHeight()));
|
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/ |
LoginTest.java | 56 mActivityRule.runOnUiThread(() -> { 76 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); 79 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); 81 mActivityRule.runOnUiThread(() -> { 108 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); 113 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); 123 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); 128 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); 161 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); 166 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()) [all...] |
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
EditTextBackspacePerfTest.java | 83 public ActivityTestRule<StubActivity> mActivityRule = new ActivityTestRule(StubActivity.class); 111 EditText editText = new EditText(mActivityRule.getActivity());
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
CollectionAppWidgetTest.java | 88 public ActivityTestRule<EmptyActivity> mActivityRule = 178 mActivityRule.runOnUiThread( 191 mActivityRule.runOnUiThread(() -> { 192 EmptyActivity activity = mActivityRule.getActivity(); 314 mActivityRule.runOnUiThread(() -> receiver.register(BROADCAST_ACTION)); 319 mActivityRule.runOnUiThread(
|
WidgetTransitionTest.java | 77 public ActivityTestRule<EmptyActivity> mActivityRule = 99 mActivity = mActivityRule.getActivity(); 100 mActivityRule.runOnUiThread(this::bindNewWidget); 192 mActivityRule.runOnUiThread( 238 mActivityRule.runOnUiThread(() -> mAppWidgetHostView.getViewTreeObserver() 282 mActivityRule.runOnUiThread(() -> parent.findViewById(R.id.hello).performClick());
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
AnimatedVectorDrawableTest.java | 64 public ActivityTestRule<DrawableStubActivity> mActivityRule = 75 mActivity = mActivityRule.getActivity(); 219 mActivityRule.runOnUiThread(() -> { 234 mActivityRule.runOnUiThread(() -> { 248 mActivityRule.runOnUiThread(() -> { 266 mActivityRule.runOnUiThread(() -> { 288 mActivityRule.runOnUiThread(() -> { 308 mActivityRule.runOnUiThread(() -> { 329 mActivityRule.runOnUiThread(() -> {
|
/cts/tests/tests/text/src/android/text/method/cts/ |
PasswordTransformationMethodTest.java | 86 public ActivityTestRule<CtsActivity> mActivityRule = new ActivityTestRule<>(CtsActivity.class); 90 mActivity = mActivityRule.getActivity(); 95 mActivityRule.runOnUiThread(() -> { 161 mActivityRule.runOnUiThread(() -> 181 mActivityRule.runOnUiThread(() -> mEditText.append(" "));
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationTest.java | 87 public ActivityTestRule<AnimationTestCtsActivity> mActivityRule = 93 mActivity = mActivityRule.getActivity(); 156 AnimationTestUtils.assertRunAnimation(mInstrumentation, mActivityRule, animWindow, 178 AnimationTestUtils.assertRunAnimation(mInstrumentation, mActivityRule, animWindow, 197 AnimationTestUtils.assertRunAnimation(mInstrumentation, mActivityRule, animWindow, 247 AnimationTestUtils.assertRunAnimation(mInstrumentation, mActivityRule, animWindow, anim); 254 mActivityRule.runOnUiThread(() -> animWindow.startAnimation(anim)); 299 mActivityRule.runOnUiThread(() -> animWindow.startAnimation(anim)); 360 AnimationTestUtils.assertRunAnimation(mInstrumentation, mActivityRule, animWindow, 407 AnimationTestUtils.assertRunAnimation(mInstrumentation, mActivityRule, animWindow, anim) [all...] |
AnimatorInflaterTest.java | 69 public ActivityTestRule<AnimationTestCtsActivity> mActivityRule = 75 mActivity = mActivityRule.getActivity(); 135 mActivityRule.runOnUiThread(() -> { 231 mActivityRule.runOnUiThread(() -> { 257 mActivityRule.runOnUiThread(() -> { 286 mActivityRule.runOnUiThread(() -> {
|
/cts/tests/tests/view/src/android/view/cts/ |
FocusFinderTest.java | 53 public ActivityTestRule<FocusFinderCtsActivity> mActivityRule = 58 FocusFinderCtsActivity activity = mActivityRule.getActivity(); 103 mActivityRule.runOnUiThread(() -> { 273 mActivityRule.getActivity().runOnUiThread(() -> { 385 LayoutInflater inflater = mActivityRule.getActivity().getLayoutInflater(); 386 mLayout = (ViewGroup) mActivityRule.getActivity().findViewById(R.id.inflate_layout); 389 mActivityRule.runOnUiThread(() -> { 445 mActivityRule.getActivity().runOnUiThread(
|