Home
last modified time | relevance | path

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

/cts/hostsidetests/theme/src/android/theme/cts/
DThemeHostTest.java283 int restoreDensity = Integer.parseInt(m.group(1)); in resetDensityIfNeeded() local
284 return restoreDensity; in resetDensityIfNeeded()
289 private static void restoreDensityIfNeeded(ITestDevice device, int restoreDensity) in restoreDensityIfNeeded() argument
291 if (restoreDensity > 0) { in restoreDensityIfNeeded()
292 device.executeShellCommand(WM_DENSITY + " " + restoreDensity); in restoreDensityIfNeeded()
/cts/tests/app/src/android/app/cts/
DActivityManagerMemoryClassTest.java205 int restoreDensity = Integer.parseInt(m.group(1)); in resetDensityIfNeeded() local
206 return restoreDensity; in resetDensityIfNeeded()
211 private void restoreDensityIfNeeded(UiDevice device, int restoreDensity) throws Exception { in restoreDensityIfNeeded() argument
212 if (restoreDensity > 0) { in restoreDensityIfNeeded()
213 device.executeShellCommand("wm density " + restoreDensity); in restoreDensityIfNeeded()