Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTestsBase.java58 static final int DISPLAY_WIDTH = 500; field in DisplayPolicyTestsBase
85 Math.min(DISPLAY_WIDTH, DISPLAY_HEIGHT) * DENSITY_DEFAULT / DISPLAY_DENSITY; in setUpDisplayPolicy()
87 Math.min(DISPLAY_WIDTH, DISPLAY_HEIGHT) * DENSITY_DEFAULT / DISPLAY_DENSITY; in setUpDisplayPolicy()
89 DISPLAY_WIDTH, DISPLAY_HEIGHT, shortSizeDp, longSizeDp); in setUpDisplayPolicy()
115 info.logicalWidth = flippedDimensions ? DISPLAY_HEIGHT : DISPLAY_WIDTH; in displayInfoAndCutoutForRotation()
116 info.logicalHeight = flippedDimensions ? DISPLAY_WIDTH : DISPLAY_HEIGHT; in displayInfoAndCutoutForRotation()
131 new RectF(DISPLAY_WIDTH / 4, 0, DISPLAY_WIDTH * 3 / 4, DISPLAY_CUTOUT_HEIGHT); in displayCutoutForRotation()
134 transformPhysicalToLogicalCoordinates(rotation, DISPLAY_WIDTH, DISPLAY_HEIGHT, m); in displayCutoutForRotation()
DDisplayPolicyLayoutTests.java351 mWindow.mAttrs.width = DISPLAY_WIDTH; in layoutWindowLw_withDisplayCutout_floatingInScreen()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp42 static const int32_t DISPLAY_WIDTH = 480; variable
1096 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1126 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1129 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1132 mFakePolicy->addDisplayViewport(virtualDisplayId1, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1135 mFakePolicy->addDisplayViewport(virtualDisplayId2, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1184 mFakePolicy->addDisplayViewport(displayId1, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1187 mFakePolicy->addDisplayViewport(displayId2, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1229 mFakePolicy->addDisplayViewport(displayId1, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1232 mFakePolicy->addDisplayViewport(displayId2, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
[all …]