Searched refs:SCREEN_WIDTH (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DBackgroundFallbackTest.java51 private static final int SCREEN_WIDTH = 1000; field in class:BackgroundFallbackTest
177 verify(mDrawableMock).setBounds(0, 0, SCREEN_WIDTH, size);
188 verify(mDrawableMock).setBounds(SCREEN_WIDTH - size, mLastTop, SCREEN_WIDTH, SCREEN_HEIGHT);
193 verify(mDrawableMock).setBounds(0, SCREEN_HEIGHT - size, SCREEN_WIDTH, SCREEN_HEIGHT);
203 mStatusBarView = mockView(0, 0, SCREEN_WIDTH, STATUS_HEIGHT,
211 mNavigationBarView = mockView(0, SCREEN_HEIGHT - NAV_SIZE, SCREEN_WIDTH,
225 mNavigationBarView = mockView(SCREEN_WIDTH - NAV_SIZE, 0, SCREEN_WIDTH,
233 mContentMock = mockView(0, 0, SCREEN_WIDTH
[all...]
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/graphics/
H A DFitWidthBitmapDrawableTest.java42 private final static int SCREEN_WIDTH = 1600; field in class:FitWidthBitmapDrawableTest
55 Rect bounds = new Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
65 int nH = (int) (((float)SCREEN_WIDTH/WIDTH * HEIGHT) + offset);
66 Rect expectedDest = new Rect(0, offset, SCREEN_WIDTH, nH);
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DGraphicsPerformanceTests.java69 private static final int SCREEN_WIDTH = 320; field in class:GraphicsPerformanceTests.GraphicsTestBase
88 mDestBitmap = Bitmap.createBitmap(SCREEN_WIDTH, SCREEN_HEIGHT,

Completed in 584 milliseconds