Home
last modified time | relevance | path

Searched refs:decor (Results 1 – 9 of 9) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowTest.java361 View decor = mWindow.getDecorView(); in testDecorView() local
362 assertNotNull(decor); in testDecorView()
363 verifyDecorView(decor); in testDecorView()
365 decor = mWindow.peekDecorView(); in testDecorView()
366 if (decor != null) { in testDecorView()
367 verifyDecorView(decor); in testDecorView()
371 private void verifyDecorView(View decor) { in verifyDecorView() argument
376 assertTrue(decor.getWidth() >= screenWidth); in verifyDecorView()
377 assertTrue(decor.getHeight() >= screenHeight); in verifyDecorView()
378 assertTrue(decor.getContext() instanceof ContextThemeWrapper); in verifyDecorView()
[all …]
DSnapshotTaskTests.java91 final View decor = mActivity.getWindow().getDecorView(); in testSetDisablePreviewScreenshots() local
92 final int captionBarHeight = decor.getRootWindowInsets().getInsets(captionBar()).top; in testSetDisablePreviewScreenshots()
103 - (captionBarHeight * decor.getWidth()); in testSetDisablePreviewScreenshots()
/cts/tests/framework/base/windowmanager/testsdk29/
DAndroid.bp27 ":cts-wm-decor-inset-test-base",
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DChildlessActivityTest.java363 final View decor = activity.getDecorView(); in testAddImportantChildAfterSessionStarted() local
370 .assertDecorViewAppeared(decor) in testAddImportantChildAfterSessionStarted()
371 .assertViewAppeared(sessionId, grandpa2, decor.getAutofillId()) in testAddImportantChildAfterSessionStarted()
390 final View decor = activity.getDecorView(); in testAddAndRemoveImportantChildOnDifferentSession() local
424 .assertDecorViewAppeared(decor) in testAddAndRemoveImportantChildOnDifferentSession()
425 .assertViewAppeared(mainSessionId, grandpa2, decor.getAutofillId()) in testAddAndRemoveImportantChildOnDifferentSession()
744 final View decor = activity.getDecorView(); in testDinamicallyManageSiblingSessions() local
749 .assertDecorViewAppeared(decor) in testDinamicallyManageSiblingSessions()
750 .assertViewAppeared(grandpa2, decor.getAutofillId()) in testDinamicallyManageSiblingSessions()
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionManagerTest.java104 final View decor = mActivity.getWindow().getDecorView(); in watchForRedSquareMoving() local
106 decor.getViewTreeObserver().addOnPreDrawListener( in watchForRedSquareMoving()
139 decor.getViewTreeObserver().removeOnPreDrawListener(this); in watchForRedSquareMoving()
/cts/tests/framework/base/windowmanager/
DAndroid.bp26 name: "cts-wm-decor-inset-test-base",
/cts/tests/app/src/android/app/cts/
DDialogTest.java247 final View decor = d.getWindow().getDecorView(); in testShow() local
254 assertEquals(View.GONE, decor.getVisibility()); in testShow()
262 assertEquals(View.VISIBLE, decor.getVisibility()); in testShow()
/cts/tests/tests/animation/src/android/animation/cts/
DObjectAnimatorTest.java908 final View decor = mActivity.getWindow().getDecorView(); in testCachedValues() local
909 decor.postOnAnimation(new Runnable() { in testCachedValues()
915 decor.postOnAnimation(this); in testCachedValues()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardVisibilityControlTest.java1604 View decor = splitPrimaryActivity.getWindow().getDecorView(); in testIMEVisibleInSplitScreenAfterGainingFocus() local
1606 ViewTreeObserver observer = decor.getViewTreeObserver(); in testIMEVisibleInSplitScreenAfterGainingFocus()