Searched refs:overrideDensity (Results 1 – 4 of 4) sorted by relevance
73 if (mInitialDisplayMetrics.overrideDensity != null) { in changeDisplayMetrics()74 density = mInitialDisplayMetrics.overrideDensity; in changeDisplayMetrics()81 final int overrideDensity = (int)(density * densityRatio); in changeDisplayMetrics() local82 overrideDisplayMetrics(overrideSize, overrideDensity); in changeDisplayMetrics()
2801 final Integer overrideDensity;2820 return overrideDensity;2841 if (overrideDensity != null) {2842 setDensity(overrideDensity);2864 return overrideDensity != null ? overrideDensity : physicalDensity;2892 overrideDensity = Integer.parseInt(matcher.group(1));2894 overrideDensity = null;
179 final Integer overrideDensity = (int) (originalDisplayMetrics.getPhysicalDensity() * 1.1); in testForceDisplayMetrics() local180 displayMetricsSession.overrideDisplayMetrics(overrideSize, overrideDensity); in testForceDisplayMetrics()185 assertEquals(overrideDensity, displayMetrics.getOverrideDensity()); in testForceDisplayMetrics()195 assertEquals(overrideDensity, displayMetrics.getOverrideDensity()); in testForceDisplayMetrics()
141 final Integer overrideDensity = (int) (originalDisplayMetrics.getPhysicalDensity() * 1.1); in testShowKeyguardDialogDefaultDisplayChange() local142 displayMetricsSession.overrideDisplayMetrics(overrideSize, overrideDensity); in testShowKeyguardDialogDefaultDisplayChange()