Home | History | Annotate | Download | only in display

Lines Matching refs:DisplayInfo

21 import android.view.DisplayInfo;
57 private final DisplayInfo mBaseDisplayInfo = new DisplayInfo();
65 private DisplayInfo mOverrideDisplayInfo; // set by the window manager
66 private DisplayInfo mInfo;
114 public DisplayInfo getDisplayInfoLocked() {
116 mInfo = new DisplayInfo();
137 public boolean setDisplayInfoOverrideFromWindowManagerLocked(DisplayInfo info) {
140 mOverrideDisplayInfo = new DisplayInfo(info);
258 final DisplayInfo displayInfo = getDisplayInfoLocked();
270 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight);
277 orientation = displayInfo.rotation;
294 // physWidth / displayInfo.logicalWidth => letter box
295 // or physHeight / displayInfo.logicalHeight => pillar box
301 if (physWidth * displayInfo.logicalHeight
302 < physHeight * displayInfo.logicalWidth) {
305 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth;
308 displayRectWidth = displayInfo.logicalWidth * physHeight / displayInfo.logicalHeight;