Lines Matching refs:displayInfo
320 final DisplayInfo displayInfo = getDisplayInfoLocked();
326 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight);
333 orientation = displayInfo.rotation;
350 // physWidth / displayInfo.logicalWidth => letter box
351 // or physHeight / displayInfo.logicalHeight => pillar box
357 if ((displayInfo.flags & Display.FLAG_SCALING_DISABLED) != 0) {
358 displayRectWidth = displayInfo.logicalWidth;
359 displayRectHeight = displayInfo.logicalHeight;
360 } else if (physWidth * displayInfo.logicalHeight
361 < physHeight * displayInfo.logicalWidth) {
364 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth;
367 displayRectWidth = displayInfo.logicalWidth * physHeight / displayInfo.logicalHeight;