Home
last modified time | relevance | path

Searched refs:displayId (Results 1 – 12 of 12) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDisplayManagerTest.java90 int displayId = ShadowDisplayManager.addDisplay("w100dp-h200dp"); in addDisplay() local
91 assertThat(displayId).isGreaterThan(0); in addDisplay()
93 DisplayInfo di = getGlobal().getDisplayInfo(displayId); in addDisplay()
97 Display display = instance.getDisplay(displayId); in addDisplay()
98 assertThat(display.getDisplayId()).isEqualTo(displayId); in addDisplay()
105 int displayId = ShadowDisplayManager.addDisplay("w100dp-h200dp"); in addDisplay_shouldNotifyListeners() local
106 assertThat(events).containsExactly("Added " + displayId); in addDisplay_shouldNotifyListeners()
149 int displayId = ShadowDisplayManager.addDisplay("w100dp-h200dp"); in changeAndRemoveDisplay_shouldNotifyListeners() local
151 ShadowDisplayManager.changeDisplay(displayId, "w300dp-h400dp"); in changeAndRemoveDisplay_shouldNotifyListeners()
153 Display display = getGlobal().getRealDisplay(displayId); in changeAndRemoveDisplay_shouldNotifyListeners()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplayManagerGlobal.java64 void changeDisplay(int displayId, DisplayInfo displayInfo) { in changeDisplay() argument
65 mDm.changeDisplay(displayId, displayInfo); in changeDisplay()
68 void removeDisplay(int displayId) { in removeDisplay() argument
69 mDm.removeDisplay(displayId); in removeDisplay()
87 for (Integer displayId : displayInfos.keySet()) { in getDisplayIds()
88 ids[i++] = displayId; in getDisplayIds()
105 synchronized private void changeDisplay(int displayId, DisplayInfo displayInfo) { in changeDisplay() argument
106 if (!displayInfos.containsKey(displayId)) { in changeDisplay()
107 throw new IllegalStateException("no display " + displayId); in changeDisplay()
110 displayInfos.put(displayId, displayInfo); in changeDisplay()
[all …]
DShadowDisplayManager.java133 public static void changeDisplay(int displayId, String qualifiersStr) { in changeDisplay() argument
134 DisplayInfo baseDisplayInfo = DisplayManagerGlobal.getInstance().getDisplayInfo(displayId); in changeDisplay()
136 getShadowDisplayManagerGlobal().changeDisplay(displayId, displayInfo); in changeDisplay()
147 static void changeDisplay(int displayId, Consumer<DisplayConfig> consumer) { in changeDisplay() argument
148 DisplayInfo displayInfo = DisplayManagerGlobal.getInstance().getDisplayInfo(displayId); in changeDisplay()
156 getShadowDisplayManagerGlobal().changeDisplay(displayId, displayInfo); in changeDisplay()
164 public static void removeDisplay(int displayId) { in removeDisplay() argument
165 getShadowDisplayManagerGlobal().removeDisplay(displayId); in removeDisplay()
DShadowDisplay.java47 private Integer displayId; field in ShadowDisplay
113 return displayId == null in getDisplayId()
115 : displayId; in getDisplayId()
237 public void setDisplayId(int displayId) { in setDisplayId() argument
238 this.displayId = displayId; in setDisplayId()
404 displayId = 0; in configureForJBOnly()
DShadowMotionEvent.java306 int displayId, in nativeInitialize() argument
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DDisplayFacade.java72 Integer displayId) { in displayGetSize()
74 Display d = mDisplays.get(displayId); in displayGetSize()
83 Integer displayId) { in displayGetMaximumSizeDimension()
84 Display d = mDisplays.get(displayId); in displayGetMaximumSizeDimension()
92 Integer displayId) { in displayGetRealMetrics()
93 Display d = mDisplays.get(displayId); in displayGetRealMetrics()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DDisplayRotationHelper.java103 public void onDisplayAdded(int displayId) { in onDisplayAdded() argument
107 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument
111 public void onDisplayChanged(int displayId) { in onDisplayChanged() argument
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DDisplayRotationHelper.java103 public void onDisplayAdded(int displayId) { in onDisplayAdded() argument
107 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument
111 public void onDisplayChanged(int displayId) { in onDisplayChanged() argument
/external/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java353 public void onDisplayAdded(int displayId) { in onDisplayAdded() argument
357 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument
361 public void onDisplayChanged(int displayId) { in onDisplayChanged() argument
/external/skqp/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java353 public void onDisplayAdded(int displayId) { in onDisplayAdded() argument
357 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument
361 public void onDisplayChanged(int displayId) { in onDisplayChanged() argument
/external/wayland-protocols/flinger_headers/
DArcInputBridgeProtocol.h209 int32_t displayId; member
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga_reg.h1159 uint16 displayId; member