Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/display/
DDisplayViewport.java171 public static String typeToString(@ViewportType int viewportType) { in typeToString() argument
172 switch (viewportType) { in typeToString()
180 return "UNKNOWN (" + viewportType + ")"; in typeToString()
/frameworks/native/services/inputflinger/tests/
DInputMapperTest.cpp179 ViewportType viewportType) { in setDisplayInfoAndReconfigure() argument
181 uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()
DInputMapperTest.h134 ViewportType viewportType);
DInputReader_test.cpp1680 ViewportType viewportType) { in setDisplayInfoAndReconfigure() argument
1682 uniqueId, physicalPort, viewportType); in setDisplayInfoAndReconfigure()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java3050 final Optional<Integer> viewportType = getViewportType(info); in configureDisplayLocked() local
3051 if (viewportType.isPresent()) { in configureDisplayLocked()
3052 populateViewportLocked(viewportType.get(), display.getDisplayIdLocked(), device, info); in configureDisplayLocked()
3061 private DisplayViewport getViewportLocked(int viewportType, String uniqueId) { in getViewportLocked() argument
3062 if (viewportType != VIEWPORT_INTERNAL && viewportType != VIEWPORT_EXTERNAL in getViewportLocked()
3063 && viewportType != VIEWPORT_VIRTUAL) { in getViewportLocked()
3065 + DisplayViewport.typeToString(viewportType)); in getViewportLocked()
3073 if (viewport.type == viewportType && uniqueId.equals(viewport.uniqueId)) { in getViewportLocked()
3080 viewport.type = viewportType; in getViewportLocked()
3086 private void populateViewportLocked(int viewportType, int displayId, DisplayDevice device, in populateViewportLocked() argument
[all …]