Home
last modified time | relevance | path

Searched refs:mRootView (Results 1 – 15 of 15) sorted by relevance

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAbstractRootViewActivity.java38 private LinearLayout mRootView; field in AbstractRootViewActivity
60 mRootView = findViewById(getTargetRootView()); in onCreate()
62 Log.d(TAG, "onCreate(): parents for " + getClass() + ": rootView=" + mRootView in onCreate()
67 Log.d(TAG, "Applying visitor to " + this + "/" + mRootView); in onCreate()
69 sRootViewVisitor.visit(this, mRootView); in onCreate()
91 sOnAnimationVisitor.visit(this, mRootView); in onEnterAnimationComplete()
101 return mRootView; in getRootView()
107 return (ViewGroup) mRootView.getParent(); in getGrandParent()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceViewSurfaceValidatorTest.java64 private ViewGroup mRootView; field in SurfaceViewSurfaceValidatorTest
74 if (mRootView != null) { in tearDown()
75 mRootView.removeAllViews(); in tearDown()
118 CtsWindowInfoUtils.waitForWindowVisible(mRootView)); in testOnTopHasNoBackground()
137 mRootView.addView(sc.mSurfaceView, in testBackgroundIsBehindAllSurfaceView()
145 CtsWindowInfoUtils.waitForWindowVisible(mRootView)); in testBackgroundIsBehindAllSurfaceView()
156 mRootView = new FrameLayout(mActivity); in addSurfaceView()
157 mRootView.setBackgroundColor(Color.RED); in addSurfaceView()
158 mRootView.addView(surfaceView, in addSurfaceView()
164 mActivity.setContentView(mRootView, layoutParams); in addSurfaceView()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsAnimationTests.java73 mRootView = mActivity.getWindow().getDecorView(); in setup()
74 assumeTrue(hasWindowInsets(mRootView, systemBars())); in setup()
83 .runOnMainSync(() -> mRootView.getWindowInsetsController().hide(systemBars())); in testAnimationCallbacksHide()
94 .runOnMainSync(() -> mRootView.getWindowInsetsController().hide(systemBars())); in testAnimationCallbacksShow()
102 .runOnMainSync(() -> mRootView.getWindowInsetsController().show(systemBars())); in testAnimationCallbacksShow()
113 hasWindowInsets(mRootView, navigationBars()) in testAnimationCallbacks_overlapping()
114 && hasWindowInsets(mRootView, statusBars())); in testAnimationCallbacks_overlapping()
128 mRootView.postDelayed( in testAnimationCallbacks_overlapping()
129 () -> mRootView.getWindowInsetsController().hide(statusBars()), 50); in testAnimationCallbacks_overlapping()
132 .runOnMainSync(() -> mRootView.getWindowInsetsController().hide(navigationBars())); in testAnimationCallbacks_overlapping()
[all …]
DWindowInsetsAnimationControllerTests.java112 View mRootView; field in WindowInsetsAnimationControllerTests
194 mRootView = mActivity.getWindow().getDecorView(); in setUpWindowInsetsAnimationControllerTests()
219 if (mRootView != null) { in tearDown()
220 mRootView.setWindowInsetsAnimationCallback(null); in tearDown()
236 != mRootView.getRootWindowInsets().getInsetsIgnoringVisibility(mType)); in assumeTestCompatibility()
248 mRootView in awaitControl()
258 mRootView in awaitControl()
273 if (mRootView != null) { in retryIfCancelled()
274 mRootView.setWindowInsetsAnimationCallback(null); in retryIfCancelled()
292 mRootView in testControl_andCancel()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/
DRobustnessResultDialog.java43 mRootView = inflater.inflate(R.layout.dialog_result_robustness, null); in onCreateDialog()
45 … mTextViews.put(ResultType.WAYPOINT, (TextView) mRootView.findViewById(R.id.tvWaypointResult)); in onCreateDialog()
46 mTextViews.put(ResultType.PATH, (TextView) mRootView.findViewById(R.id.tvPathResult)); in onCreateDialog()
47 mTextViews.put(ResultType.TIME, (TextView) mRootView.findViewById(R.id.tvTimeResult)); in onCreateDialog()
48 … mTextViews.put(ResultType.ROTATION, (TextView) mRootView.findViewById(R.id.tvRotationResult)); in onCreateDialog()
DComplexMovementResultDialog.java43 mRootView = inflater.inflate(R.layout.dialog_result_complex_movement, null); in onCreateDialog()
45 … mTextViews.put(ResultType.WAYPOINT, (TextView) mRootView.findViewById(R.id.tvWaypointResult)); in onCreateDialog()
46 mTextViews.put(ResultType.RINGS, (TextView) mRootView.findViewById(R.id.tvRingsResult)); in onCreateDialog()
DAccuracyResultDialog.java43 mRootView = inflater.inflate(R.layout.dialog_result_accuracy, null); in onCreateDialog()
45 … mTextViews.put(ResultType.WAYPOINT, (TextView) mRootView.findViewById(R.id.tvWaypointResult)); in onCreateDialog()
46 mTextViews.put(ResultType.PATH, (TextView) mRootView.findViewById(R.id.tvPathResult)); in onCreateDialog()
DBaseResultsDialog.java45 protected View mRootView; field in BaseResultsDialog
65 mBuilder.setView(mRootView); in onCreateDialog()
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DVisibilitySetterActionTest.java40 private final ViewGroup mRootView = new ViewGroup(sContext) { field in VisibilitySetterActionTest
70 mRootView.addView(view); in testOneChild()
72 action.onClick(mRootView); in testOneChild()
85 mRootView.addView(view); in testOneChildAddedTwice()
87 action.onClick(mRootView); in testOneChildAddedTwice()
100 mRootView.addView(view1); in testMultipleChildren()
105 mRootView.addView(view2); in testMultipleChildren()
107 action.onClick(mRootView); in testMultipleChildren()
/cts/tests/tests/nfc/src/android/nfc/cts/interactive/
DTagVerifierActivity.java51 private LinearLayout mRootView; field in TagVerifierActivity
77 mRootView = findViewById(R.id.activity_main); in onCreate()
115 Snackbar.make(mRootView, getResources().getString(R.string.nfc_wrong_tag_title), in handleWriteStep()
151 Snackbar.make(mRootView, getResources().getString(stringResId), in onPostExecute()
181 Snackbar.make(mRootView, getResources().getString(R.string.nfc_reading_tag_error), in onPostExecute()
/cts/tests/tests/gameservice/src/android/service/games/
DTestGameSessionService.java91 private final FrameLayout mRootView; field in TestGameSessionService.TestGameSession
98 mRootView = new FrameLayout(context); in TestGameSession()
138 mRootView.addView(textView); in onCreate()
140 setTaskOverlayView(mRootView, in onCreate()
144 mRootView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/ime/
DWindowInsetsAnimationImeTests.java98 mRootView = mActivity.getWindow().getDecorView(); in initActivity()
111 assumeTrue(hasWindowInsets(mRootView, statusBars())); in testAnimationCallbacks_overlapping_opposite()
126 .runOnMainSync(() -> mRootView.getWindowInsetsController().hide(statusBars())); in testAnimationCallbacks_overlapping_opposite()
127 getInstrumentation().runOnMainSync(() -> mRootView.getWindowInsetsController().show(ime())); in testAnimationCallbacks_overlapping_opposite()
211 getInstrumentation().runOnMainSync(() -> mRootView.getWindowInsetsController().show(ime())); in testShowAndHide()
221 getInstrumentation().runOnMainSync(() -> mRootView.getWindowInsetsController().hide(ime())); in testShowAndHide()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DImeInsetsVisibilityTest.java447 private final View mRootView; field in ChildWindowHolder
450 mRootView = rootView; in ChildWindowHolder()
456 return mRootView; in getRootView()
461 TestUtils.runOnMainSync(() -> mRootView.getContext() in close()
462 .getSystemService(WindowManager.class).removeView(mRootView)); in close()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DKeepClearRectsTests.java715 private RelativeLayout mRootView; field in KeepClearRectsTests.TestActivity
718 mRootView.addView(v, params); in addView()
729 mRootView = findViewById(R.id.root); in onCreate()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowInsetsAnimationTestBase.java75 protected View mRootView; field in WindowInsetsAnimationTestBase