Searched refs:ReportedDisplayMetrics (Results 1 – 4 of 4) sorted by relevance
134 final ReportedDisplayMetrics originalDisplayMetrics = in testShowKeyguardDialogDefaultDisplayChange()213 final ReportedDisplayMetrics displayMetrics = in testUnlockScreen_decoredSystemDisplayChanged_dismissesKeyguardOnUnlock()214 ReportedDisplayMetrics.getDisplayMetrics(decoredSystemDisplayId); in testUnlockScreen_decoredSystemDisplayChanged_dismissesKeyguardOnUnlock()
178 public static class ReportedDisplayMetrics { class in MultiDisplayTestBase206 public static ReportedDisplayMetrics getDisplayMetrics(int displayId) { in getDisplayMetrics()207 return new ReportedDisplayMetrics(executeShellCommand(WM_SIZE + " -d " + displayId) in getDisplayMetrics()248 private ReportedDisplayMetrics(final String lines, int displayId) { in ReportedDisplayMetrics() method in MultiDisplayTestBase.ReportedDisplayMetrics281 private final ReportedDisplayMetrics mInitialDisplayMetrics;286 mInitialDisplayMetrics = ReportedDisplayMetrics.getDisplayMetrics(mDisplayId); in DisplayMetricsSession()289 ReportedDisplayMetrics getInitialDisplayMetrics() { in getInitialDisplayMetrics()293 ReportedDisplayMetrics getDisplayMetrics() { in getDisplayMetrics()294 return ReportedDisplayMetrics.getDisplayMetrics(mDisplayId); in getDisplayMetrics()
162 final ReportedDisplayMetrics originalDisplayMetrics = in testForceDisplayMetrics()173 ReportedDisplayMetrics displayMetrics = displayMetricsSession.getDisplayMetrics(); in testForceDisplayMetrics()
98 private void assertBoundsEquals(ReportedDisplayMetrics expectedMetrics, in assertBoundsEquals()