Searched refs:restoreDensity (Results 1 – 2 of 2) sorted by relevance
283 int restoreDensity = Integer.parseInt(m.group(1)); in resetDensityIfNeeded() local284 return restoreDensity; in resetDensityIfNeeded()289 private static void restoreDensityIfNeeded(ITestDevice device, int restoreDensity) in restoreDensityIfNeeded() argument291 if (restoreDensity > 0) { in restoreDensityIfNeeded()292 device.executeShellCommand(WM_DENSITY + " " + restoreDensity); in restoreDensityIfNeeded()
205 int restoreDensity = Integer.parseInt(m.group(1)); in resetDensityIfNeeded() local206 return restoreDensity; in resetDensityIfNeeded()211 private void restoreDensityIfNeeded(UiDevice device, int restoreDensity) throws Exception { in restoreDensityIfNeeded() argument212 if (restoreDensity > 0) { in restoreDensityIfNeeded()213 device.executeShellCommand("wm density " + restoreDensity); in restoreDensityIfNeeded()