Home
last modified time | relevance | path

Searched refs:DISPLAY_WIDTH (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTestsBase.java58 static final int DISPLAY_WIDTH = 500; field in DisplayPolicyTestsBase
88 Math.min(DISPLAY_WIDTH, DISPLAY_HEIGHT) * DENSITY_DEFAULT / DISPLAY_DENSITY; in setUpDisplayPolicy()
90 Math.min(DISPLAY_WIDTH, DISPLAY_HEIGHT) * DENSITY_DEFAULT / DISPLAY_DENSITY; in setUpDisplayPolicy()
92 DISPLAY_WIDTH, DISPLAY_HEIGHT, shortSizeDp, longSizeDp); in setUpDisplayPolicy()
120 info.logicalWidth = flippedDimensions ? DISPLAY_HEIGHT : DISPLAY_WIDTH; in displayInfoAndCutoutForRotation()
121 info.logicalHeight = flippedDimensions ? DISPLAY_WIDTH : DISPLAY_HEIGHT; in displayInfoAndCutoutForRotation()
139 rectF.set(DISPLAY_WIDTH / 4, 0, DISPLAY_WIDTH * 3 / 4, DISPLAY_CUTOUT_HEIGHT); in displayCutoutForRotation()
143 transformPhysicalToLogicalCoordinates(rotation, DISPLAY_WIDTH, DISPLAY_HEIGHT, m); in displayCutoutForRotation()
DDisplayPolicyLayoutTests.java541 mWindow.mAttrs.width = DISPLAY_WIDTH; in layoutWindowLw_withDisplayCutout_floatingInScreen()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DImageWallpaperTest.java61 private static final int DISPLAY_WIDTH = 1920; field in ImageWallpaperTest
89 displayInfo.logicalWidth = DISPLAY_WIDTH; in setUp()
130 verifySurfaceSize(DISPLAY_WIDTH /* bmpWidth */,
131 DISPLAY_WIDTH /* bmpHeight */,
132 DISPLAY_WIDTH /* surfaceWidth */,
133 DISPLAY_WIDTH /* surfaceHeight */);
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DLogicalDisplayTest.java36 private static final int DISPLAY_WIDTH = 100; field in LogicalDisplayTest
48 displayDeviceInfo.width = DISPLAY_WIDTH; in setUp()
75 displayInfo.logicalHeight = DISPLAY_WIDTH; in testGetDisplayPosition()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp49 static const int32_t DISPLAY_WIDTH = 480; variable
1195 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1225 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1228 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1231 mFakePolicy->addDisplayViewport(virtualDisplayId1, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1234 mFakePolicy->addDisplayViewport(virtualDisplayId2, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1283 mFakePolicy->addDisplayViewport(displayId1, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1286 mFakePolicy->addDisplayViewport(displayId2, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1328 mFakePolicy->addDisplayViewport(displayId1, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1331 mFakePolicy->addDisplayViewport(displayId2, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
[all …]