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.java158 final Integer overrideDensity = (int) (originalDisplayMetrics.physicalDensity * 1.1); in testForceDisplayMetrics() local
159 displayMetricsSession.overrideDisplayMetrics(overrideSize, overrideDensity); in testForceDisplayMetrics()
164 assertEquals(overrideDensity, displayMetrics.overrideDensity); in testForceDisplayMetrics()
176 assertEquals(overrideDensity, displayMetrics.overrideDensity); in testForceDisplayMetrics()
DMultiDisplayTestBase.java167 final Integer overrideDensity; field in MultiDisplayTestBase.ReportedDisplayMetrics
186 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()