Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowTest.java319 View decor = mWindow.getDecorView(); in testDecorView() local
320 assertNotNull(decor); in testDecorView()
321 verifyDecorView(decor); in testDecorView()
323 decor = mWindow.peekDecorView(); in testDecorView()
324 if (decor != null) { in testDecorView()
325 verifyDecorView(decor); in testDecorView()
329 private void verifyDecorView(View decor) { in verifyDecorView() argument
334 assertTrue(decor.getWidth() >= screenWidth); in verifyDecorView()
335 assertTrue(decor.getHeight() >= screenHeight); in verifyDecorView()
336 assertTrue(decor.getContext() instanceof ContextThemeWrapper); in verifyDecorView()
[all …]
/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/tests/animation/src/android/animation/cts/
DObjectAnimatorTest.java854 final View decor = mActivity.getWindow().getDecorView(); in testCachedValues() local
855 decor.postOnAnimation(new Runnable() { in testCachedValues()
861 decor.postOnAnimation(this); in testCachedValues()
/cts/tests/app/src/android/app/cts/
DDialogTest.java244 final View decor = d.getWindow().getDecorView(); in testShow() local
253 assertEquals(View.GONE, decor.getVisibility()); in testShow()
263 assertEquals(View.VISIBLE, decor.getVisibility()); in testShow()