Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/display/
DDisplayViewport.java161 public static String typeToString(@ViewportType int viewportType) { in typeToString() argument
162 switch (viewportType) { in typeToString()
170 return "UNKNOWN (" + viewportType + ")"; in typeToString()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java1382 final int viewportType; in configureDisplayLocked() local
1385 viewportType = VIEWPORT_INTERNAL; in configureDisplayLocked()
1387 viewportType = VIEWPORT_EXTERNAL; in configureDisplayLocked()
1390 viewportType = VIEWPORT_VIRTUAL; in configureDisplayLocked()
1396 populateViewportLocked(viewportType, display.getDisplayIdLocked(), device, info.uniqueId); in configureDisplayLocked()
1404 private DisplayViewport getViewportLocked(int viewportType, String uniqueId) { in getViewportLocked() argument
1405 if (viewportType != VIEWPORT_INTERNAL && viewportType != VIEWPORT_EXTERNAL in getViewportLocked()
1406 && viewportType != VIEWPORT_VIRTUAL) { in getViewportLocked()
1408 + DisplayViewport.typeToString(viewportType)); in getViewportLocked()
1415 if (viewportType != VIEWPORT_VIRTUAL) { in getViewportLocked()
[all …]
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp198 ViewportType viewportType) { in addDisplayViewport() argument
200 orientation, uniqueId, physicalPort, viewportType); in addDisplayViewport()
1841 std::optional<uint8_t> physicalPort, ViewportType viewportType) { in setDisplayInfoAndReconfigure() argument
1843 displayId, width, height, orientation, uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()
2412 const ViewportType viewportType = ViewportType::VIEWPORT_INTERNAL; in prepareDisplay() local
2414 orientation, uniqueId, NO_PORT, viewportType); in prepareDisplay()