Searched refs:decor (Results 1 – 9 of 9) sorted by relevance
361 View decor = mWindow.getDecorView(); in testDecorView() local362 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() argument376 assertTrue(decor.getWidth() >= screenWidth); in verifyDecorView()377 assertTrue(decor.getHeight() >= screenHeight); in verifyDecorView()378 assertTrue(decor.getContext() instanceof ContextThemeWrapper); in verifyDecorView()[all …]
91 final View decor = mActivity.getWindow().getDecorView(); in testSetDisablePreviewScreenshots() local92 final int captionBarHeight = decor.getRootWindowInsets().getInsets(captionBar()).top; in testSetDisablePreviewScreenshots()103 - (captionBarHeight * decor.getWidth()); in testSetDisablePreviewScreenshots()
27 ":cts-wm-decor-inset-test-base",
363 final View decor = activity.getDecorView(); in testAddImportantChildAfterSessionStarted() local370 .assertDecorViewAppeared(decor) in testAddImportantChildAfterSessionStarted()371 .assertViewAppeared(sessionId, grandpa2, decor.getAutofillId()) in testAddImportantChildAfterSessionStarted()390 final View decor = activity.getDecorView(); in testAddAndRemoveImportantChildOnDifferentSession() local424 .assertDecorViewAppeared(decor) in testAddAndRemoveImportantChildOnDifferentSession()425 .assertViewAppeared(mainSessionId, grandpa2, decor.getAutofillId()) in testAddAndRemoveImportantChildOnDifferentSession()744 final View decor = activity.getDecorView(); in testDinamicallyManageSiblingSessions() local749 .assertDecorViewAppeared(decor) in testDinamicallyManageSiblingSessions()750 .assertViewAppeared(grandpa2, decor.getAutofillId()) in testDinamicallyManageSiblingSessions()
104 final View decor = mActivity.getWindow().getDecorView(); in watchForRedSquareMoving() local106 decor.getViewTreeObserver().addOnPreDrawListener( in watchForRedSquareMoving()139 decor.getViewTreeObserver().removeOnPreDrawListener(this); in watchForRedSquareMoving()
26 name: "cts-wm-decor-inset-test-base",
247 final View decor = d.getWindow().getDecorView(); in testShow() local254 assertEquals(View.GONE, decor.getVisibility()); in testShow()262 assertEquals(View.VISIBLE, decor.getVisibility()); in testShow()
908 final View decor = mActivity.getWindow().getDecorView(); in testCachedValues() local909 decor.postOnAnimation(new Runnable() { in testCachedValues()915 decor.postOnAnimation(this); in testCachedValues()
1604 View decor = splitPrimaryActivity.getWindow().getDecorView(); in testIMEVisibleInSplitScreenAfterGainingFocus() local1606 ViewTreeObserver observer = decor.getViewTreeObserver(); in testIMEVisibleInSplitScreenAfterGainingFocus()