Home
last modified time | relevance | path

Searched refs:logicalWidth (Results 1 – 7 of 7) sorted by relevance

/external/robolectric/shadows/framework/src/main/java/org/robolectric/android/internal/
DDisplayConfig.java87 public int logicalWidth; field in DisplayConfig
212 logicalWidth = other.logicalWidth; in DisplayConfig()
266 && logicalWidth == other.logicalWidth in equals()
305 logicalWidth = other.logicalWidth; in copyFrom()
343 other.logicalWidth = logicalWidth; in copyTo()
390 sb.append(logicalWidth); in toString()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplayManager.java162 displayInfo.logicalWidth = widthPx; in createDisplayInfo()
201 baseDisplayInfo.logicalWidth in createDisplayInfo()
264 boolean isPortrait = config.logicalHeight > config.logicalWidth; in setNaturallyPortrait()
DShadowDisplayManagerGlobal.java233 displayInfo.logicalWidth = config.getWidth(); in createVirtualDisplay()
263 displayInfo.logicalWidth = width; in createVirtualDisplay()
280 displayInfo.logicalWidth = width; in resizeVirtualDisplay()
DShadowDisplay.java202 ShadowDisplayManager.changeDisplay(realObject.getDisplayId(), di -> di.logicalWidth = width); in setRealWidth()
DSystemUi.java531 return max(info.logicalWidth, info.logicalHeight) >= dpToPx(LARGE_SCREEN_DP, info); in isLargeScreen()
DShadowWindowManagerGlobal.java557 windowInfo.displayFrame.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight);
/external/robolectric/robolectric/src/test/java/org/robolectric/android/
DBootstrapTest.java93 assertThat(displayInfo.logicalWidth).isEqualTo(480); in shouldSetUpRealisticDisplay()
124 assertThat(displayInfo.logicalWidth).isEqualTo(960); in shouldSetUpRealisticDisplay_landscapeHighDensity()