Home
last modified time | relevance | path

Searched refs:windowWidth (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/lowram/
DTaskStackLowRamLayoutAlgorithm.java68 int windowWidth = mWindowRect.width() - mSystemInsets.right - mSystemInsets.left; in initialize() local
69 int width = Math.min(windowWidth, windowHeight) - mPadding * 2; in initialize()
70 boolean isLandscape = windowWidth > windowHeight; in initialize()
72 mPaddingLeftRight = (windowWidth - mTaskRect.width()) / 2; in initialize()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DDetailsSupportFragmentTest.java166 final int windowWidth = verticalGridView.getWidth(); in parallaxTest() local
170 assertEquals(windowWidth, activity.getWindow().getDecorView().getWidth()); in parallaxTest()
174 assertEquals(windowWidth, bitmapDrawable.getBounds().width()); in parallaxTest()
208 assertEquals(windowWidth, bitmapDrawable.getBounds().width()); in parallaxTest()
211 assertEquals(windowWidth, colorDrawable.getBounds().width()); in parallaxTest()
DDetailsFragmentTest.java169 final int windowWidth = verticalGridView.getWidth(); in parallaxTest() local
173 assertEquals(windowWidth, activity.getWindow().getDecorView().getWidth()); in parallaxTest()
177 assertEquals(windowWidth, bitmapDrawable.getBounds().width()); in parallaxTest()
211 assertEquals(windowWidth, bitmapDrawable.getBounds().width()); in parallaxTest()
214 assertEquals(windowWidth, colorDrawable.getBounds().width()); in parallaxTest()