Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayTests.java169 final Integer overrideDensity = (int) (originalDisplayMetrics.physicalDensity * 1.1); in testForceDisplayMetrics() local
170 displayMetricsSession.overrideDisplayMetrics(overrideSize, overrideDensity); in testForceDisplayMetrics()
175 assertEquals(overrideDensity, displayMetrics.overrideDensity); in testForceDisplayMetrics()
187 assertEquals(overrideDensity, displayMetrics.overrideDensity); in testForceDisplayMetrics()
DMultiDisplayTestBase.java201 final Integer overrideDensity; field in MultiDisplayTestBase.ReportedDisplayMetrics
222 if (overrideDensity != null) { in restoreDisplayMetrics()
223 setDensity(overrideDensity); in restoreDisplayMetrics()
245 return overrideDensity != null ? overrideDensity : physicalDensity; in getDensity()
273 overrideDensity = Integer.parseInt(matcher.group(1)); in ReportedDisplayMetrics()
275 overrideDensity = null; in ReportedDisplayMetrics()
322 if (mInitialDisplayMetrics.overrideDensity != null) { in changeDisplayMetrics()
323 density = mInitialDisplayMetrics.overrideDensity; in changeDisplayMetrics()
330 final int overrideDensity = (int)(density * densityRatio); in changeDisplayMetrics() local
331 overrideDisplayMetrics(overrideSize, overrideDensity); in changeDisplayMetrics()
DMultiDisplayKeyguardTests.java139 final Integer overrideDensity = (int) (originalDisplayMetrics.physicalDensity * 1.1); in testShowKeyguardDialogDefaultDisplayChange() local
140 displayMetricsSession.overrideDisplayMetrics(overrideSize, overrideDensity); in testShowKeyguardDialogDefaultDisplayChange()