Lines Matching refs:displayInfo

1194         final DisplayInfo displayInfo = updateDisplayAndOrientation(config.uiMode);
1196 final int dw = displayInfo.logicalWidth;
1197 final int dh = displayInfo.logicalHeight;
1202 (int)(mService.mPolicy.getConfigDisplayWidth(dw, dh, displayInfo.rotation,
1205 (int)(mService.mPolicy.getConfigDisplayHeight(dw, dh, displayInfo.rotation,
1208 mService.mPolicy.getNonDecorInsetsLw(displayInfo.rotation, dw, dh, mTmpRect);
1212 config.setAppBounds(leftInset /*left*/, topInset /*top*/, leftInset + displayInfo.appWidth /*right*/,
1213 topInset + displayInfo.appHeight /*bottom*/);
1214 final boolean rotated = (displayInfo.rotation == Surface.ROTATION_90
1215 || displayInfo.rotation == Surface.ROTATION_270);
1217 computeSizeRangesAndScreenLayout(displayInfo, mDisplayId, rotated, config.uiMode, dw, dh,
1221 | ((displayInfo.flags & Display.FLAG_ROUND) != 0
1229 config.densityDpi = displayInfo.logicalDensityDpi;
1232 (displayInfo.isHdr()
1235 | (displayInfo.isWideColorGamut() && mService.hasWideColorGamutSupport()
1341 private void computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, int displayId,
1356 displayInfo.smallestNominalAppWidth = 1<<30;
1357 displayInfo.smallestNominalAppHeight = 1<<30;
1358 displayInfo.largestNominalAppWidth = 0;
1359 displayInfo.largestNominalAppHeight = 0;
1360 adjustDisplaySizeRanges(displayInfo, displayId, Surface.ROTATION_0, uiMode, unrotDw,
1362 adjustDisplaySizeRanges(displayInfo, displayId, Surface.ROTATION_90, uiMode, unrotDh,
1364 adjustDisplaySizeRanges(displayInfo, displayId, Surface.ROTATION_180, uiMode, unrotDw,
1366 adjustDisplaySizeRanges(displayInfo, displayId, Surface.ROTATION_270, uiMode, unrotDh,
1377 outConfig.smallestScreenWidthDp = (int)(displayInfo.smallestNominalAppWidth / density);
1400 private void adjustDisplaySizeRanges(DisplayInfo displayInfo, int displayId, int rotation,
1404 if (width < displayInfo.smallestNominalAppWidth) {
1405 displayInfo.smallestNominalAppWidth = width;
1407 if (width > displayInfo.largestNominalAppWidth) {
1408 displayInfo.largestNominalAppWidth = width;
1412 if (height < displayInfo.smallestNominalAppHeight) {
1413 displayInfo.smallestNominalAppHeight = height;
1415 if (height > displayInfo.largestNominalAppHeight) {
1416 displayInfo.largestNominalAppHeight = height;