Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java77 private final DisplayInfo mDefaultDisplayInfo = new DisplayInfo(); field in OverlayDisplayWindow
187 if (!mDefaultDisplay.getDisplayInfo(mDefaultDisplayInfo)) { in updateDefaultDisplayInfo()
240 0 : mDefaultDisplayInfo.logicalWidth; in createWindow()
242 0 : mDefaultDisplayInfo.logicalHeight; in createWindow()
248 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalWidth / mWidth); in updateWindowParams()
249 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalHeight / mHeight); in updateWindowParams()
257 x = Math.max(0, Math.min(x, mDefaultDisplayInfo.logicalWidth - width)); in updateWindowParams()
258 y = Math.max(0, Math.min(y, mDefaultDisplayInfo.logicalHeight - height)); in updateWindowParams()
300 mListener.onStateChanged(mDefaultDisplayInfo.state);
321 mDefaultDisplayInfo.getMode().getRefreshRate(),
[all …]