Searched refs:overrideDensity (Results 1 – 3 of 3) sorted by relevance
169 final Integer overrideDensity = (int) (originalDisplayMetrics.physicalDensity * 1.1); in testForceDisplayMetrics() local170 displayMetricsSession.overrideDisplayMetrics(overrideSize, overrideDensity); in testForceDisplayMetrics()175 assertEquals(overrideDensity, displayMetrics.overrideDensity); in testForceDisplayMetrics()187 assertEquals(overrideDensity, displayMetrics.overrideDensity); in testForceDisplayMetrics()
201 final Integer overrideDensity; field in MultiDisplayTestBase.ReportedDisplayMetrics222 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() local331 overrideDisplayMetrics(overrideSize, overrideDensity); in changeDisplayMetrics()
139 final Integer overrideDensity = (int) (originalDisplayMetrics.physicalDensity * 1.1); in testShowKeyguardDialogDefaultDisplayChange() local140 displayMetricsSession.overrideDisplayMetrics(overrideSize, overrideDensity); in testShowKeyguardDialogDefaultDisplayChange()