Searched refs:viewportType (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayViewport.java | 171 public static String typeToString(@ViewportType int viewportType) { in typeToString() argument 172 switch (viewportType) { in typeToString() 180 return "UNKNOWN (" + viewportType + ")"; in typeToString()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 977 final Optional<Integer> viewportType = getViewportType(info); in handleDisplayDeviceChanged() local 978 if (viewportType.isPresent()) { in handleDisplayDeviceChanged() 980 if (d.type == viewportType.get() && info.uniqueId.equals(d.uniqueId)) { in handleDisplayDeviceChanged() 1568 final Optional<Integer> viewportType = getViewportType(info); in configureDisplayLocked() local 1569 if (viewportType.isPresent()) { in configureDisplayLocked() 1570 populateViewportLocked(viewportType.get(), display.getDisplayIdLocked(), device, info); in configureDisplayLocked() 1579 private DisplayViewport getViewportLocked(int viewportType, String uniqueId) { in getViewportLocked() argument 1580 if (viewportType != VIEWPORT_INTERNAL && viewportType != VIEWPORT_EXTERNAL in getViewportLocked() 1581 && viewportType != VIEWPORT_VIRTUAL) { in getViewportLocked() 1583 + DisplayViewport.typeToString(viewportType)); in getViewportLocked() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 226 ViewportType viewportType) { in addDisplayViewport() argument 228 orientation, uniqueId, physicalPort, viewportType); in addDisplayViewport() 1897 ViewportType viewportType) { in setDisplayInfoAndReconfigure() argument 1899 physicalPort, viewportType); in setDisplayInfoAndReconfigure() 2302 std::optional<uint8_t> physicalPort, ViewportType viewportType) { in setDisplayInfoAndReconfigure() argument 2304 displayId, width, height, orientation, uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure() 3038 const ViewportType viewportType = ViewportType::VIEWPORT_INTERNAL; in prepareDisplay() local 3040 orientation, uniqueId, NO_PORT, viewportType); in prepareDisplay()
|