Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayTestBase.java281 private final ReportedDisplayMetrics mInitialDisplayMetrics; field in MultiDisplayTestBase.DisplayMetricsSession
286 mInitialDisplayMetrics = ReportedDisplayMetrics.getDisplayMetrics(mDisplayId); in DisplayMetricsSession()
290 return mInitialDisplayMetrics; in getInitialDisplayMetrics()
298 final Size originalSize = mInitialDisplayMetrics.physicalSize; in changeAspectRatio()
308 overrideDisplayMetrics(overrideSize, mInitialDisplayMetrics.physicalDensity); in changeAspectRatio()
316 if (mInitialDisplayMetrics.overrideSize != null) { in changeDisplayMetrics()
317 originalSize = mInitialDisplayMetrics.overrideSize; in changeDisplayMetrics()
319 originalSize = mInitialDisplayMetrics.physicalSize; in changeDisplayMetrics()
322 if (mInitialDisplayMetrics.overrideDensity != null) { in changeDisplayMetrics()
323 density = mInitialDisplayMetrics.overrideDensity; in changeDisplayMetrics()
[all …]