Searched refs:overrideDensity (Results 1 – 2 of 2) sorted by relevance
159 final Integer overrideDensity = (int) (originalDisplayMetrics.physicalDensity * 1.1); in testForceDisplayMetrics() local160 displayMetricsSession.overrideDisplayMetrics(overrideSize, overrideDensity); in testForceDisplayMetrics()165 assertEquals(overrideDensity, displayMetrics.overrideDensity); in testForceDisplayMetrics()177 assertEquals(overrideDensity, displayMetrics.overrideDensity); in testForceDisplayMetrics()
168 final Integer overrideDensity; field in MultiDisplayTestBase.ReportedDisplayMetrics187 if (overrideDensity != null) { in restoreDisplayMetrics()188 setDensity(overrideDensity); in restoreDisplayMetrics()209 return overrideDensity != null ? overrideDensity : physicalDensity; in getDensity()236 overrideDensity = Integer.parseInt(matcher.group(1)); in ReportedDisplayMetrics()238 overrideDensity = null; in ReportedDisplayMetrics()