Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/internal/
DDisplayConfig.java119 public int logicalWidth; field in DisplayConfig
258 logicalWidth = other.logicalWidth; in DisplayConfig()
310 && logicalWidth == other.logicalWidth in equals()
347 logicalWidth = other.logicalWidth; in copyFrom()
385 other.logicalWidth = logicalWidth; in copyTo()
431 sb.append(logicalWidth); in toString()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplayManager.java61 displayInfo.logicalWidth = widthPx; in createDisplayInfo()
107 configuration.screenWidthDp = baseDisplayInfo.logicalWidth * DisplayMetrics.DENSITY_DEFAULT in createDisplayInfo()
DShadowDisplay.java318 di -> di.logicalWidth = width); in setRealWidth()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DBootstrapTest.java94 assertThat(displayInfo.logicalWidth).isEqualTo(480); in shouldSetUpRealisticDisplay()
129 assertThat(displayInfo.logicalWidth).isEqualTo(960); in shouldSetUpRealisticDisplay_landscapeHighDensity()