Home | History | Annotate | Download | only in display

Lines Matching refs:displayInfo

21 import android.view.DisplayInfo;
56 private final DisplayInfo mBaseDisplayInfo = new DisplayInfo();
64 private DisplayInfo mOverrideDisplayInfo; // set by the window manager
65 private DisplayInfo mInfo;
110 public DisplayInfo getDisplayInfoLocked() {
112 mInfo = new DisplayInfo();
131 public boolean setDisplayInfoOverrideFromWindowManagerLocked(DisplayInfo info) {
134 mOverrideDisplayInfo = new DisplayInfo(info);
246 final DisplayInfo displayInfo = getDisplayInfoLocked();
255 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight);
263 orientation = displayInfo.rotation;
280 // physWidth / displayInfo.logicalWidth => letter box
281 // or physHeight / displayInfo.logicalHeight => pillar box
287 if (physWidth * displayInfo.logicalHeight
288 < physHeight * displayInfo.logicalWidth) {
291 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth;
294 displayRectWidth = displayInfo.logicalWidth * physHeight / displayInfo.logicalHeight;