Home
last modified time | relevance | path

Searched refs:setDensityDpi (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplay.java170 setDensityDpi((int) (density * DisplayMetrics.DENSITY_DEFAULT)); in setDensity()
179 public void setDensityDpi(int densityDpi) { in setDensityDpi() method in ShadowDisplay
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDisplayTest.java35 shadow.setDensityDpi(DisplayMetrics.DENSITY_HIGH); in shouldProvideDisplayMetrics()