Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplayManager.java73 displayInfo.logicalDensityDpi = displayMetrics.densityDpi; in createDisplayInfo()
108 / baseDisplayInfo.logicalDensityDpi; in createDisplayInfo()
110 / baseDisplayInfo.logicalDensityDpi; in createDisplayInfo()
111 configuration.densityDpi = baseDisplayInfo.logicalDensityDpi; in createDisplayInfo()
112 displayMetrics.densityDpi = baseDisplayInfo.logicalDensityDpi; in createDisplayInfo()
114 baseDisplayInfo.logicalDensityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE; in createDisplayInfo()
DShadowDisplay.java184 di -> di.logicalDensityDpi = densityDpi); in setDensityDpi()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/internal/
DDisplayConfig.java193 public int logicalDensityDpi; field in DisplayConfig
304 logicalDensityDpi = other.logicalDensityDpi; in DisplayConfig()
352 && logicalDensityDpi == other.logicalDensityDpi in equals()
395 logicalDensityDpi = other.logicalDensityDpi; in copyFrom()
445 other.logicalDensityDpi = logicalDensityDpi; in copyTo()
512 sb.append(logicalDensityDpi); in toString()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DBootstrapTest.java97 assertThat(displayInfo.logicalDensityDpi).isEqualTo(160); in shouldSetUpRealisticDisplay()
132 assertThat(displayInfo.logicalDensityDpi).isEqualTo(240); in shouldSetUpRealisticDisplay_landscapeHighDensity()