Searched refs:DISPLAY_WIDTH (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyTestsBase.java | 58 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()
|
D | DisplayPolicyLayoutTests.java | 541 mWindow.mAttrs.width = DISPLAY_WIDTH; in layoutWindowLw_withDisplayCutout_floatingInScreen()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ImageWallpaperTest.java | 61 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/ |
D | LogicalDisplayTest.java | 36 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/ |
D | InputReader_test.cpp | 49 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 …]
|