Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplayManager.java107 configuration.screenWidthDp = baseDisplayInfo.logicalWidth * DisplayMetrics.DENSITY_DEFAULT in createDisplayInfo()
109 configuration.screenHeightDp = baseDisplayInfo.logicalHeight * DisplayMetrics.DENSITY_DEFAULT in createDisplayInfo()
DShadowDrawable.java64 opts.inScreenDensity = DisplayMetrics.DENSITY_DEFAULT; in createFromResourceStream()
DShadowDisplay.java170 setDensityDpi((int) (density * DisplayMetrics.DENSITY_DEFAULT)); in setDensity()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DGlideBitmapDrawable.java40 targetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in GlideBitmapDrawable()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DBootstrapTest.java170 assertThat(configuration.densityDpi).isEqualTo(DisplayMetrics.DENSITY_DEFAULT); in applyQualifiers_shouldAddDefaults()
172 assertThat(displayMetrics.densityDpi).isEqualTo(DisplayMetrics.DENSITY_DEFAULT); in applyQualifiers_shouldAddDefaults()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DConfigDescription.java696 out.density = ResTable_config.DENSITY_DEFAULT; in parseDensity()
1011 || config.density != ResTable_config.DENSITY_DEFAULT) { in applyVersionForCompatibility()
DResTable_config.java246 public static final int DENSITY_DEFAULT = ACONFIGURATION_DENSITY_DEFAULT; field in ResTable_config
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DDeviceConfig.java195 if (resTab.density != ResTable_config.DENSITY_DEFAULT) { in applyToConfiguration()