Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayTests.java159 final Integer overrideDensity = (int) (originalDisplayMetrics.physicalDensity * 1.1); in testForceDisplayMetrics() local
160 displayMetricsSession.overrideDisplayMetrics(overrideSize, overrideDensity); in testForceDisplayMetrics()
165 assertEquals(overrideDensity, displayMetrics.overrideDensity); in testForceDisplayMetrics()
177 assertEquals(overrideDensity, displayMetrics.overrideDensity); in testForceDisplayMetrics()
DMultiDisplayTestBase.java168 final Integer overrideDensity; field in MultiDisplayTestBase.ReportedDisplayMetrics
187 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()