HomeSort by relevance Sort by last modified time
    Searched defs:mActivityRule (Results 201 - 225 of 269) sorted by null

1 2 3 4 5 6 7 891011

  /cts/tests/tests/widget/src/android/widget/cts/
ZoomButtonTest.java 57 public ActivityTestRule<ZoomButtonCtsActivity> mActivityRule =
63 mActivity = mActivityRule.getActivity();
145 CtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, mActivityRule, mZoomButton,
HorizontalScrollViewTest.java 78 public ActivityTestRule<HorizontalScrollViewCtsActivity> mActivityRule =
84 mActivity = mActivityRule.getActivity();
291 mActivityRule.runOnUiThread(() -> mScrollViewCustom.fullScroll(View.FOCUS_RIGHT));
294 mActivityRule.runOnUiThread(() -> mScrollViewCustom.fullScroll(View.FOCUS_LEFT));
301 mActivityRule.runOnUiThread(() -> mScrollViewCustom.fullScroll(View.FOCUS_RIGHT));
305 mActivityRule.runOnUiThread(() -> mScrollViewCustom.fullScroll(View.FOCUS_LEFT));
613 mActivityRule.runOnUiThread(() -> mScrollViewCustom.smoothScrollBy(SCROLL_RIGHT, 0));
618 mActivityRule.runOnUiThread(() -> mScrollViewCustom.smoothScrollBy(-SCROLL_RIGHT, 0));
629 mActivityRule.runOnUiThread(() -> mScrollViewCustom.smoothScrollTo(SCROLL_RIGHT, 0));
634 mActivityRule.runOnUiThread(() -> mScrollViewCustom.smoothScrollTo(0, 0))
    [all...]
ScrollViewTest.java 86 public ActivityTestRule<ScrollViewCtsActivity> mActivityRule =
92 mActivity = mActivityRule.getActivity();
304 mActivityRule.runOnUiThread(() -> mScrollViewCustom.fullScroll(View.FOCUS_DOWN));
308 mActivityRule.runOnUiThread(() -> mScrollViewCustom.fullScroll(View.FOCUS_UP));
315 mActivityRule.runOnUiThread(() -> mScrollViewCustom.fullScroll(View.FOCUS_DOWN));
319 mActivityRule.runOnUiThread(() -> mScrollViewCustom.fullScroll(View.FOCUS_UP));
633 mActivityRule.runOnUiThread(
640 mActivityRule.runOnUiThread(
652 mActivityRule.runOnUiThread(
659 mActivityRule.runOnUiThread
    [all...]
AbsSpinnerTest.java 59 public ActivityTestRule<RelativeLayoutCtsActivity> mActivityRule =
64 mActivity = mActivityRule.getActivity();
RelativeLayout_LayoutParamsTest.java 53 public ActivityTestRule<RelativeLayoutCtsActivity> mActivityRule =
58 mActivity = mActivityRule.getActivity();
TabWidgetTest.java 60 public ActivityTestRule<TabHostCtsActivity> mActivityRule =
65 mActivity = mActivityRule.getActivity();
300 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTabWidget,
308 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTabWidget,
316 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTabWidget,
322 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTabWidget,
330 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTabWidget,
339 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTabWidget,
  /cts/tests/fragment/src/android/fragment/cts/
FragmentLifecycleTest.java 68 public ActivityTestRule<FragmentTestActivity> mActivityRule =
73 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager();
100 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager();
139 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager();
169 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager();
192 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager();
216 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager();
256 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager();
315 final FragmentController fc = FragmentTestUtil.createController(mActivityRule);
316 FragmentTestUtil.resume(mActivityRule, fc, null)
    [all...]
PostponedTransitionTest.java 49 public ActivityTestRule<FragmentTestActivity> mActivityRule =
56 FragmentTestUtil.setContentView(mActivityRule, R.layout.simple_container);
57 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager();
62 FragmentTestUtil.waitForExecution(mActivityRule);
73 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager();
74 final View startBlue = mActivityRule.getActivity().findViewById(R.id.blueSquare);
83 FragmentTestUtil.waitForExecution(mActivityRule);
94 FragmentTestUtil.popBackStackImmediate(mActivityRule);
109 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager();
110 View startBlue = mActivityRule.getActivity().findViewById(R.id.blueSquare)
    [all...]
  /cts/tests/tests/animation/src/android/animation/cts/
ObjectAnimatorTest.java 81 public ActivityTestRule<AnimationActivity> mActivityRule =
88 mActivity = mActivityRule.getActivity();
123 mActivityRule.runOnUiThread(objAnimator::start);
127 mActivityRule.runOnUiThread(objAnimator::cancel);
162 mActivityRule.runOnUiThread(intAnimator::start);
196 mActivityRule.runOnUiThread(colorAnimator::start);
224 mActivityRule.runOnUiThread(intAnimator::start);
262 mActivityRule.runOnUiThread(animator::start);
277 mActivityRule.runOnUiThread(anim::start);
323 mActivityRule.runOnUiThread(objAnimator::start)
    [all...]
PropertyValuesHolderTest.java 82 public ActivityTestRule<AnimationActivity> mActivityRule =
89 mActivity = mActivityRule.getActivity();
153 mActivityRule.runOnUiThread(() -> animator.setTarget(target));
157 mActivityRule.runOnUiThread(() -> mActivity.startSingleAnimation(animator));
272 mActivityRule.runOnUiThread(objAnimator::start);
366 mActivityRule.runOnUiThread(anim::start);
405 mActivityRule.runOnUiThread(anim::start);
460 mActivityRule.runOnUiThread(anim::start);
501 mActivityRule.runOnUiThread(anim::start);
618 mActivityRule.runOnUiThread(() ->
    [all...]
ValueAnimatorTest.java 72 public ActivityTestRule<AnimationActivity> mActivityRule =
78 mActivity = mActivityRule.getActivity();
153 mActivityRule.runOnUiThread(() -> {
175 mActivityRule.runOnUiThread(() -> {
211 mActivityRule.runOnUiThread(() -> {
226 mActivityRule.runOnUiThread(delayedAnim::cancel);
237 mActivityRule.runOnUiThread(() -> {
264 mActivityRule.runOnUiThread(() -> {
294 mActivityRule.runOnUiThread(() -> {
329 mActivityRule.runOnUiThread(() -> mValueAnimator.setFrameDelay(frameDelay))
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
ArrowKeyMovementMethodTest.java 83 public ActivityTestRule<CtsActivity> mActivityRule = new ActivityTestRule<>(CtsActivity.class);
91 mActivityRule.runOnUiThread(() -> {;
94 Activity activity = mActivityRule.getActivity();
137 mActivityRule.runOnUiThread(() -> {
144 mActivityRule.runOnUiThread(() -> {
151 mActivityRule.runOnUiThread(mTextView::setSingleLine);
157 mActivityRule.runOnUiThread(() -> {
163 mActivityRule.runOnUiThread(() -> {
    [all...]
DigitsKeyListenerTest.java     [all...]
TextKeyListenerTest.java 108 mActivityRule.runOnUiThread(() -> {
210 mActivityRule.runOnUiThread(() -> {
241 mActivityRule.runOnUiThread(() -> {
  /cts/tests/tests/view/src/android/view/cts/
TooltipTest.java 71 public ActivityTestRule<TooltipActivity> mActivityRule =
81 mActivity = mActivityRule.getActivity();
101 mActivityRule.runOnUiThread(() -> view.setTooltipText(tooltipText));
111 mActivityRule.runOnUiThread(() -> parent.addView(view));
116 mActivityRule.runOnUiThread(() -> ((ViewGroup) (view.getParent())).removeView(view));
121 mActivityRule.runOnUiThread(() -> view.setVisibility(visibility));
125 mActivityRule.runOnUiThread(() -> view.setClickable(true));
129 mActivityRule.runOnUiThread(() -> view.setLongClickable(true));
133 mActivityRule.runOnUiThread(() -> view.setContextClickable(true));
137 mActivityRule.runOnUiThread(() -> view.performLongClick(0, 0))
    [all...]
View_UsingViewsTest.java 104 public ActivityTestRule<UsingViewsCtsActivity> mActivityRule =
110 mActivity = mActivityRule.getActivity();
391 CtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, mActivityRule, mEditText);
395 mActivityRule.runOnUiThread(() -> mEditText.setText("Germany"));
398 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mButtonCancel);
402 mActivityRule.runOnUiThread(() -> mEditText.setText(ARGENTINA));
405 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mButtonOk);
408 mActivityRule.runOnUiThread(() -> mEditText.setText(AMERICA));
411 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mButtonOk);
414 mActivityRule.runOnUiThread(() -> mEditText.setText(CHINA))
    [all...]
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityTextActionTest.java 84 public ActivityTestRule<AccessibilityTextTraversalActivity> mActivityRule =
96 sInstrumentation, sUiAutomation, mActivityRule);
AccessibilityTextTraversalTest.java 68 public ActivityTestRule<AccessibilityTextTraversalActivity> mActivityRule =
85 sInstrumentation, sUiAutomation, mActivityRule);
    [all...]
MagnificationGestureHandlerTest.java 99 public ActivityTestRule<GestureDispatchActivity> mActivityRule =
127 TextView view = mActivityRule.getActivity().findViewById(R.id.full_screen_text_view);
  /cts/tests/framework/base/windowmanager/src/android/server/wm/
ActivityViewTest.java 85 public final ActivityTestRule<ActivityViewTestActivity> mActivityRule =
95 ActivityViewTestActivity activity = mActivityRule.launchActivity(null);
SurfaceViewTest.java 55 public ActivityTestRule<SurfaceViewCtsActivity> mActivityRule =
61 mActivity = mActivityRule.getActivity();
171 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, () -> {
  /cts/tests/tests/opengl/src/android/opengl/cts/
OpenGlEsVersionTest.java 69 public ActivityTestRule<OpenGlEsVersionCtsActivity> mActivityRule =
78 mActivity = mActivityRule.getActivity();
  /cts/tests/tests/transition/src/android/transition/cts/
FadeTest.java 170 mActivityRule.runOnUiThread(() -> {
185 mActivityRule.runOnUiThread(() -> {
  /cts/tests/tests/view/src/android/view/animation/cts/
CycleInterpolatorTest.java 61 public ActivityTestRule<AnimationTestCtsActivity> mActivityRule =
67 mActivity = mActivityRule.getActivity();
91 AnimationTestUtils.assertRunAnimation(mInstrumentation, mActivityRule, animWindow, anim);
130 AnimationTestUtils.assertRunAnimation(mInstrumentation, mActivityRule, animWindow, anim);
  /cts/tests/app/src/android/app/cts/
AlertDialog_BuilderTest.java 92 public ActivityTestRule<DialogStubActivity> mActivityRule =
103 Activity activity = mActivityRule.getActivity();

Completed in 793 milliseconds

1 2 3 4 5 6 7 891011