Searched refs:overrideDensity (Results 1 – 2 of 2) sorted by relevance
158 final Integer overrideDensity = (int) (originalDisplayMetrics.physicalDensity * 1.1); in testForceDisplayMetrics() local159 displayMetricsSession.overrideDisplayMetrics(overrideSize, overrideDensity); in testForceDisplayMetrics()164 assertEquals(overrideDensity, displayMetrics.overrideDensity); in testForceDisplayMetrics()176 assertEquals(overrideDensity, displayMetrics.overrideDensity); in testForceDisplayMetrics()
167 final Integer overrideDensity; field in MultiDisplayTestBase.ReportedDisplayMetrics186 if (overrideDensity != null) { in restoreDisplayMetrics()187 setDensity(overrideDensity); in restoreDisplayMetrics()208 return overrideDensity != null ? overrideDensity : physicalDensity; in getDensity()235 overrideDensity = Integer.parseInt(matcher.group(1)); in ReportedDisplayMetrics()237 overrideDensity = null; in ReportedDisplayMetrics()