HomeSort by relevance Sort by last modified time
    Searched refs:displayInfo (Results 1 - 8 of 8) sorted by null

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowDisplayManager.java 11 import android.view.DisplayInfo;
49 private static DisplayInfo createDisplayInfo(Configuration configuration, DisplayMetrics displayMetrics) {
53 DisplayInfo displayInfo = new DisplayInfo();
54 displayInfo.name = "Built-in screen";
56 displayInfo.uniqueId = "screen0";
58 displayInfo.appWidth = widthPx;
59 displayInfo.appHeight = heightPx;
60 fixNominalDimens(displayInfo);
    [all...]
ShadowDisplayManagerGlobal.java 11 import android.view.DisplayInfo;
51 int addDisplay(DisplayInfo displayInfo) {
52 fixNominalDimens(displayInfo);
54 return mDm.addDisplay(displayInfo);
57 private void fixNominalDimens(DisplayInfo displayInfo) {
58 int min = Math.min(displayInfo.appWidth, displayInfo.appHeight);
59 int max = Math.max(displayInfo.appWidth, displayInfo.appHeight)
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
BootstrapTest.java 49 import android.view.DisplayInfo;
83 DisplayInfo displayInfo = new DisplayInfo();
85 display.getDisplayInfo(displayInfo);
87 assertThat(displayInfo.name).isEqualTo("Built-in screen");
88 assertThat(displayInfo.appWidth).isEqualTo(480);
89 assertThat(displayInfo.appHeight).isEqualTo(640);
90 assertThat(displayInfo.smallestNominalAppWidth).isEqualTo(480);
91 assertThat(displayInfo.smallestNominalAppHeight).isEqualTo(480)
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowDisplayManagerTest.java 16 import android.view.DisplayInfo;
53 DisplayInfo displayInfo = getGlobal().getDisplayInfo(Display.DEFAULT_DISPLAY);
54 int origAppWidth = displayInfo.appWidth;
55 displayInfo.appWidth++;
93 DisplayInfo di = getGlobal().getDisplayInfo(displayId);
220 // because DisplayInfo and DisplayManagerGlobal don't exist in Jelly Bean,
223 static DisplayInfo createDisplayInfo(int width, int height) {
224 DisplayInfo displayInfo = new DisplayInfo()
    [all...]
  /development/tools/winscope/src/
transform_wm.js 135 width: entry.displayInfo.logicalWidth || 0,
136 height: entry.displayInfo.logicalHeight || 0,
  /cts/tests/tests/keystore/src/android/server/am/
WindowManagerState.java 435 DisplayInfoProto infoProto = proto.displayInfo;
  /cts/tests/framework/base/windowmanager/util/src/android/server/wm/
WindowManagerState.java 753 DisplayInfoProto infoProto = proto.displayInfo;
    [all...]
  /external/error_prone/error_prone/
error_prone_core-2.3.2-with-dependencies.jar 

Completed in 86 milliseconds