Home
last modified time | relevance | path

Searched refs:DisplayInfo (Results 1 – 8 of 8) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplayManagerGlobal.java11 import android.view.DisplayInfo;
51 int addDisplay(DisplayInfo displayInfo) { in addDisplay()
57 private void fixNominalDimens(DisplayInfo displayInfo) { in fixNominalDimens()
64 void changeDisplay(int displayId, DisplayInfo displayInfo) { in changeDisplay()
73 private final TreeMap<Integer, DisplayInfo> displayInfos = new TreeMap<>();
78 public DisplayInfo getDisplayInfo(int i) throws RemoteException { in getDisplayInfo()
79 DisplayInfo displayInfo = displayInfos.get(i); in getDisplayInfo()
80 return displayInfo == null ? null : new DisplayInfo(displayInfo); in getDisplayInfo()
98 synchronized private int addDisplay(DisplayInfo displayInfo) { in addDisplay()
105 synchronized private void changeDisplay(int displayId, DisplayInfo displayInfo) { in changeDisplay()
DShadowDisplayManager.java11 import android.view.DisplayInfo;
49 …private static DisplayInfo createDisplayInfo(Configuration configuration, DisplayMetrics displayMe… in createDisplayInfo()
53 DisplayInfo displayInfo = new DisplayInfo(); in createDisplayInfo()
87 private static void fixNominalDimens(DisplayInfo displayInfo) { in fixNominalDimens()
97 private static DisplayInfo createDisplayInfo(String qualifiersStr, DisplayInfo baseDisplayInfo) { in createDisplayInfo()
134 DisplayInfo baseDisplayInfo = DisplayManagerGlobal.getInstance().getDisplayInfo(displayId); in changeDisplay()
135 DisplayInfo displayInfo = createDisplayInfo(qualifiersStr, baseDisplayInfo); in changeDisplay()
148 DisplayInfo displayInfo = DisplayManagerGlobal.getInstance().getDisplayInfo(displayId); in changeDisplay()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDisplayManagerTest.java16 import android.view.DisplayInfo;
53 DisplayInfo displayInfo = getGlobal().getDisplayInfo(Display.DEFAULT_DISPLAY); in getDisplayInfo_shouldReturnCopy()
93 DisplayInfo di = getGlobal().getDisplayInfo(displayId); in addDisplay()
223 static DisplayInfo createDisplayInfo(int width, int height) { in createDisplayInfo()
224 DisplayInfo displayInfo = new DisplayInfo(); in createDisplayInfo()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DBootstrapTest.java49 import android.view.DisplayInfo;
83 DisplayInfo displayInfo = new DisplayInfo(); in shouldSetUpRealisticDisplay()
118 DisplayInfo displayInfo = new DisplayInfo(); in shouldSetUpRealisticDisplay_landscapeHighDensity()
/external/autotest/server/cros/multimedia/
Ddisplay_facade_adapter.py15 from autotest_lib.client.cros.multimedia.display_info import DisplayInfo
327 return map(DisplayInfo, self._display_proxy.get_display_info())
/external/autotest/client/cros/multimedia/
Ddisplay_facade_adapter.py14 from autotest_lib.client.cros.multimedia.display_info import DisplayInfo
307 return map(DisplayInfo, self._display_component.get_display_info())
Ddisplay_info.py7 class DisplayInfo(object): class
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/internal/
DDisplayConfig.java31 import android.view.DisplayInfo;
265 public DisplayConfig(DisplayInfo other) { in DisplayConfig()
406 public void copyTo(DisplayInfo other) { in copyTo()