/cts/tests/tests/widget/src/android/widget/cts/ |
MagnifierTest.java | 88 public ActivityTestRule<MagnifierCtsActivity> mActivityRule = 93 mActivity = mActivityRule.getActivity(); 103 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mLayout, null); 108 mActivityRule.runOnUiThread(() -> { 110 mActivityRule.getActivity().getWindow().setElevation(WINDOW_ELEVATION); 351 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, () -> { 371 mActivityRule.runOnUiThread(() -> { 388 mActivityRule.runOnUiThread(() -> { 415 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, quadrant1, () -> { 577 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, () -> [all...] |
RemoteViewsTest.java | 104 public ActivityTestRule<RemoteViewsCtsActivity> mActivityRule = 128 ViewGroup root = (ViewGroup) mActivityRule.getActivity().findViewById 175 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); 185 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); 189 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); 193 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); 204 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); 208 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); 221 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); 237 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)) [all...] |
TableLayoutTest.java | 70 public ActivityTestRule<TableCtsActivity> mActivityRule = 75 mActivity = mActivityRule.getActivity(); 237 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTableDefault, 259 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTableDefault, 273 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTableDefault, 287 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTableDefault, 304 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, mTableDefault, 323 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, mTableDefault,
|
AbsListViewTest.java | 117 public ActivityTestRule<ListViewCtsActivity> mActivityRule = 133 final Activity activity = mActivityRule.getActivity(); 202 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, 207 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, 232 CtsTouchUtils.emulateScrollToBottom(mInstrumentation, mActivityRule, mListView); 298 mActivityRule.runOnUiThread(() -> mListView.fling(velocityY)); 335 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, 340 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, 381 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, 397 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mListView, mListView::requestLayout) [all...] |
PopupWindowTest.java | 96 public ActivityTestRule<PopupWindowCtsActivity> mActivityRule = 103 mActivity = mActivityRule.getActivity(); 254 mActivityRule.runOnUiThread(() -> mTextView = new TextView(mActivity)); 567 mActivityRule.runOnUiThread(() -> popup.showAsDropDown( 583 mActivityRule.runOnUiThread(popup::dismiss); 662 mActivityRule.runOnUiThread( 693 mActivityRule.runOnUiThread(() -> mPopupWindow.showAsDropDown(upperAnchor, xOff, yOff)); 718 mActivityRule.runOnUiThread(() -> mPopupWindow.showAsDropDown(upperAnchor, 0, 0)); [all...] |
ImageViewTest.java | 97 public ActivityTestRule<ImageViewCtsActivity> mActivityRule = 102 mActivity = mActivityRule.getActivity(); [all...] |
ListPopupWindowTest.java | 106 public ActivityTestRule<ListPopupWindowCtsActivity> mActivityRule 112 mActivity = mActivityRule.getActivity(); 122 mActivityRule.runOnUiThread(mPopupWindow::dismiss); 160 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), 174 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), 189 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), 231 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, 266 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), 296 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), 309 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView() [all...] |
TextViewTest.java | 206 public ActivityTestRule<TextViewCtsActivity> mActivityRule = 212 mActivity = mActivityRule.getActivity(); 234 mActivityRule.runOnUiThread(this::initTextViewForTyping); 284 mActivityRule.runOnUiThread(() -> { 298 mActivityRule.runOnUiThread(runnable); 306 mActivityRule.runOnUiThread(() -> mTextView = findTextView(R.id.textview_text)); 313 mActivityRule.runOnUiThread(() -> mTextView.setKeyListener(digitsKeyListener)); 319 mActivityRule.runOnUiThread(() -> mTextView.setKeyListener(qwertyKeyListener)); 333 mActivityRule.runOnUiThread(() -> { 352 mActivityRule.runOnUiThread(() -> [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
Camera2MultiViewTestCase.java | 92 public ActivityTestRule<Camera2MultiViewCtsActivity> mActivityRule = 97 mActivity = mActivityRule.getActivity();
|
Camera2SurfaceViewTestCase.java | 117 public ActivityTestRule<Camera2SurfaceViewCtsActivity> mActivityRule = 122 mContext = mActivityRule.getActivity().getApplicationContext(); 686 Camera2SurfaceViewCtsActivity ctsActivity = mActivityRule.getActivity(); 713 Camera2SurfaceViewCtsActivity ctsActivity = mActivityRule.getActivity(); 731 final Camera2SurfaceViewCtsActivity ctsActivity = mActivityRule.getActivity(); [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
TransitionTest.java | 92 mActivityRule.runOnUiThread(() -> { 123 mActivityRule.runOnUiThread(() -> mTransition.removeListener(listener)); 125 mActivityRule.runOnUiThread(() -> verify(listener, never()).onTransitionEnd(any())); 193 mActivityRule.runOnUiThread(() -> target[0] = mActivity.findViewById(R.id.hello)); 196 mActivityRule.runOnUiThread(() -> { 211 mActivityRule.runOnUiThread(() -> { 223 mActivityRule.runOnUiThread(() -> { 271 mActivityRule.runOnUiThread(() -> { 321 mActivityRule.runOnUiThread(() -> { 339 mActivityRule.runOnUiThread(() -> [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ASurfaceControlTest.java | 69 public ActivityTestRule<CapturedActivity> mActivityRule = 79 mActivity = mActivityRule.getActivity(); [all...] |
View_FocusHandlingTest.java | 48 public ActivityTestRule<FocusHandlingCtsActivity> mActivityRule = 56 Activity activity = mActivityRule.getActivity(); 246 Activity activity = mActivityRule.getActivity(); 305 Activity activity = mActivityRule.getActivity(); 421 Activity activity = mActivityRule.getActivity(); 460 final Activity activity = mActivityRule.getActivity(); 477 final Activity activity = mActivityRule.getActivity(); 524 final Activity activity = mActivityRule.getActivity();
|
ViewTest.java | 152 public ActivityTestRule<ViewTestCtsActivity> mActivityRule = 163 mActivity = mActivityRule.getActivity(); 313 mActivityRule.runOnUiThread(() -> view.startAnimation(animation)); 404 mActivityRule.runOnUiThread(() -> mActivity.addContentView(button, 415 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, view); 741 mActivityRule.runOnUiThread(() -> viewGroup.addView(mockView)); 755 mActivityRule.runOnUiThread(() -> view.setLayoutParams(layoutParams)); 829 mActivityRule.runOnUiThread(view::requestLayout); [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityEndToEndTest.java | 135 public ActivityTestRule<AccessibilityEndToEndActivity> mActivityRule = 152 sInstrumentation, sUiAutomation, mActivityRule); [all...] |
AccessibilityWindowQueryTest.java | 113 public ActivityTestRule<AccessibilityWindowQueryActivity> mActivityRule = 137 sInstrumentation, sUiAutomation, mActivityRule); [all...] |
/cts/tests/camera/src/android/hardware/cts/ |
CameraGLTest.java | 90 public ActivityTestRule<GLSurfaceViewCtsActivity> mActivityRule = 105 GLSurfaceViewCtsActivity ctsActivity = mActivityRule.getActivity(); 141 mActivityRule.getActivity().getApplicationContext(), cameraId); 321 PowerManager pm = (PowerManager) mActivityRule.getActivity().getSystemService( [all...] |
CameraTest.java | 132 public ActivityTestRule<CameraCtsActivity> mActivityRule = 153 final CameraCtsActivity activity = mActivityRule.getActivity(); 570 SurfaceHolder holder = mActivityRule.getActivity().getSurfaceView().getHolder(); [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecodeAccuracyTestBase.java | 94 public ActivityTestRule<DecodeAccuracyTestActivity> mActivityRule = 99 mActivity = mActivityRule.getActivity(); 110 mActivityRule = null; [all...] |