Searched refs:decor (Results 1 – 6 of 6) sorted by relevance
326 View decor = mWindow.getDecorView(); in testDecorView() local327 assertNotNull(decor); in testDecorView()328 verifyDecorView(decor); in testDecorView()330 decor = mWindow.peekDecorView(); in testDecorView()331 if (decor != null) { in testDecorView()332 verifyDecorView(decor); in testDecorView()336 private void verifyDecorView(View decor) { in verifyDecorView() argument341 assertTrue(decor.getWidth() >= screenWidth); in verifyDecorView()342 assertTrue(decor.getHeight() >= screenHeight); in verifyDecorView()343 assertTrue(decor.getContext() instanceof ContextThemeWrapper); in verifyDecorView()[all …]
26 ":cts-wm-decor-inset-test-base",
104 final View decor = mActivity.getWindow().getDecorView(); in watchForRedSquareMoving() local106 decor.getViewTreeObserver().addOnPreDrawListener( in watchForRedSquareMoving()139 decor.getViewTreeObserver().removeOnPreDrawListener(this); in watchForRedSquareMoving()
30 name: "cts-wm-decor-inset-test-base",
854 final View decor = mActivity.getWindow().getDecorView(); in testCachedValues() local855 decor.postOnAnimation(new Runnable() { in testCachedValues()861 decor.postOnAnimation(this); in testCachedValues()
246 final View decor = d.getWindow().getDecorView(); in testShow() local253 assertEquals(View.GONE, decor.getVisibility()); in testShow()261 assertEquals(View.VISIBLE, decor.getVisibility()); in testShow()