Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDisplayManagerTest.java76 int displayId = ShadowDisplayManager.addDisplay("w100dp-h200dp"); in addDisplay() local
77 assertThat(displayId).isGreaterThan(0); in addDisplay()
79 DisplayInfo di = getGlobal().getDisplayInfo(displayId); in addDisplay()
83 Display display = instance.getDisplay(displayId); in addDisplay()
84 assertThat(display.getDisplayId()).isEqualTo(displayId); in addDisplay()
91 int displayId = ShadowDisplayManager.addDisplay("w100dp-h200dp"); in addDisplay_shouldNotifyListeners() local
92 assertThat(events).containsExactly("Added " + displayId); in addDisplay_shouldNotifyListeners()
135 int displayId = ShadowDisplayManager.addDisplay("w100dp-h200dp"); in changeAndRemoveDisplay_shouldNotifyListeners() local
137 ShadowDisplayManager.changeDisplay(displayId, "w300dp-h400dp"); in changeAndRemoveDisplay_shouldNotifyListeners()
139 Display display = getGlobal().getRealDisplay(displayId); in changeAndRemoveDisplay_shouldNotifyListeners()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplayManagerGlobal.java57 void changeDisplay(int displayId, DisplayInfo displayInfo) { in changeDisplay() argument
58 mDm.changeDisplay(displayId, displayInfo); in changeDisplay()
61 void removeDisplay(int displayId) { in removeDisplay() argument
62 mDm.removeDisplay(displayId); in removeDisplay()
80 for (Integer displayId : displayInfos.keySet()) { in getDisplayIds()
81 ids[i++] = displayId; in getDisplayIds()
98 synchronized private void changeDisplay(int displayId, DisplayInfo displayInfo) { in changeDisplay() argument
99 if (!displayInfos.containsKey(displayId)) { in changeDisplay()
100 throw new IllegalStateException("no display " + displayId); in changeDisplay()
103 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()
/external/swiftshader/src/OpenGL/libGL/
DDisplay.cpp34 Display *Display::getDisplay(NativeDisplayType displayId) in getDisplay() argument
36 if(displays.find(displayId) != displays.end()) in getDisplay()
38 return displays[displayId]; in getDisplay()
42 Display *display = new Display(displayId); in getDisplay()
44 displays[displayId] = display; in getDisplay()
48 Display::Display(NativeDisplayType displayId) : displayId(displayId) in Display() argument
58 displays.erase(displayId); in ~Display()
169 Status status = XGetWindowAttributes(displayId, window, &windowAttributes); in isValidWindow()
189 Surface *surface = new Surface(this, WindowFromDC(displayId)); in getPrimarySurface()
207 return displayId; in getNativeDisplay()
[all …]
DDisplay.h41 static Display *getDisplay(NativeDisplayType displayId);
64 Display(NativeDisplayType displayId);
68 const NativeDisplayType displayId; variable
/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDisplay.java16 private int displayId; field in ShadowDisplay
51 return displayId; in getDisplayId()
109 public void setDisplayId(int displayId) { in setDisplayId() argument
110 this.displayId = displayId; in setDisplayId()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga_reg.h1159 uint16 displayId; member