/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | WindowFrameTests.java | 253 final int logicalWidth = displayInfo.logicalWidth; in testLayoutNonfullscreenTask() local 256 final int taskLeft = logicalWidth / 4; in testLayoutNonfullscreenTask() 258 final int taskRight = logicalWidth / 4 * 3; in testLayoutNonfullscreenTask() 266 final Rect pf = new Rect(0, 0, logicalWidth, logicalHeight); in testLayoutNonfullscreenTask() 274 pf.set(0, 0, logicalWidth, logicalHeight); in testLayoutNonfullscreenTask() 276 final int cfRight = logicalWidth / 2; in testLayoutNonfullscreenTask() 287 pf.set(0, 0, logicalWidth, logicalHeight); in testLayoutNonfullscreenTask() 291 final int insetLeft = logicalWidth / 5; in testLayoutNonfullscreenTask() 312 final int logicalWidth = displayInfo.logicalWidth; in testCalculatePolicyCrop() local 314 final Rect pf = new Rect(0, 0, logicalWidth, logicalHeight); in testCalculatePolicyCrop() [all …]
|
D | AppBoundsTests.java | 118 final Rect fullScreenBounds = new Rect(0, 0, mDisplayInfo.logicalWidth, in testFullScreenFreeFormBounds()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplay.java | 141 mInfo.logicalWidth = mOverrideDisplayInfo.logicalWidth; in getDisplayInfoLocked() 256 mBaseDisplayInfo.logicalWidth = deviceInfo.width; in updateLocked() 323 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight); in configureDisplayInTransactionLocked() 355 displayRectWidth = displayInfo.logicalWidth; in configureDisplayInTransactionLocked() 358 < physHeight * displayInfo.logicalWidth) { in configureDisplayInTransactionLocked() 361 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth; in configureDisplayInTransactionLocked() 364 displayRectWidth = displayInfo.logicalWidth * physHeight / displayInfo.logicalHeight; in configureDisplayInTransactionLocked()
|
D | OverlayDisplayWindow.java | 240 0 : mDefaultDisplayInfo.logicalWidth; in createWindow() 248 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalWidth / mWidth); in updateWindowParams() 257 x = Math.max(0, Math.min(x, mDefaultDisplayInfo.logicalWidth - width)); in updateWindowParams()
|
D | ColorFade.java | 770 mSurfaceControl.setPosition(displayInfo.logicalWidth, 775 mSurfaceControl.setPosition(displayInfo.logicalWidth, 0);
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 111 public int logicalWidth; field in DisplayInfo 291 && logicalWidth == other.logicalWidth in equals() 332 logicalWidth = other.logicalWidth; in copyFrom() 369 logicalWidth = source.readInt(); in readFromParcel() 415 dest.writeInt(logicalWidth); in writeToParcel() 522 getMetricsWithSize(outMetrics, compatInfo, configuration, logicalWidth, logicalHeight); in getLogicalMetrics() 527 logicalWidth : logicalHeight; in getNaturalWidth() 532 logicalHeight : logicalWidth; in getNaturalHeight() 591 sb.append(logicalWidth); in toString()
|
D | Display.java | 662 return Math.max(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in getMaximumSizeDimension() 959 outSize.x = mDisplayInfo.logicalWidth; in getRealSize()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PinnedStackController.java | 234 mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in transformBoundsToAspectRatio() 255 mDefaultMinSize, mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in getDefaultBounds() 434 mService.mPolicy.getStableInsetsLw(mDisplayInfo.rotation, mDisplayInfo.logicalWidth, in getInsetBounds() 437 mDisplayInfo.logicalWidth - mTmpInsets.right - mScreenEdgeInsets.x, in getInsetBounds() 473 mTmpDisplaySize.set(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in applyMinimizedOffset()
|
D | StackWindowController.java | 272 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in adjustConfigurationForBounds() 274 mService.mPolicy.getNonDecorInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in adjustConfigurationForBounds() 276 mTmpDisplayBounds.set(0, 0, di.logicalWidth, di.logicalHeight); in adjustConfigurationForBounds() 359 if (bounds == null || (bounds.width() == displayInfo.logicalWidth && in getSmallestWidthForTaskBounds()
|
D | WallpaperWindowToken.java | 92 final int dw = displayInfo.logicalWidth; in updateWallpaperVisibility() 133 final int dw = displayInfo.logicalWidth; in updateWallpaperWindows()
|
D | DisplayContent.java | 1038 mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight)) { in updateRotationUnchecked() 1137 mDisplayInfo.logicalWidth = dw; in updateDisplayAndOrientation() 1172 final int dw = displayInfo.logicalWidth; in computeScreenConfiguration() 1589 updateBaseDisplayMetrics(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight, in initializeDisplayBaseInfo() 1591 mInitialDisplayWidth = mDisplayInfo.logicalWidth; in initializeDisplayBaseInfo() 1602 int width = mDisplayInfo.logicalWidth; in getLogicalDisplayRect() 1632 final int newWidth = rotated ? mDisplayInfo.logicalHeight : mDisplayInfo.logicalWidth; in updateBaseDisplayMetricsIfNeeded() 1633 final int newHeight = rotated ? mDisplayInfo.logicalWidth : mDisplayInfo.logicalHeight; in updateBaseDisplayMetricsIfNeeded() 2108 pw.print(mDisplayInfo.logicalWidth); in dump() 2697 final int dw = mDisplayInfo.logicalWidth; in applySurfaceChangesTransaction() [all …]
|
D | DockedStackDividerController.java | 190 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in getHomeStackBoundsInDockedMode() 198 di.logicalWidth, di.logicalHeight); in getHomeStackBoundsInDockedMode() 203 0, di.logicalWidth, di.logicalHeight); in getHomeStackBoundsInDockedMode()
|
D | TaskStack.java | 520 final int displayWidth = mDisplayContent.getDisplayInfo().logicalWidth; in snapDockedStackAfterRotation() 535 outBounds, displayInfo.logicalWidth, displayInfo.logicalHeight, in snapDockedStackAfterRotation() 827 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in getStackDockedModeBounds() 830 di.logicalWidth, in getStackDockedModeBounds()
|
D | DimLayer.java | 214 dw = (int) (info.logicalWidth * 1.5); in getBoundsForFullscreen()
|
D | WallpaperController.java | 382 final int dw = displayInfo.logicalWidth; in updateWallpaperOffsetLocked()
|
D | WindowState.java | 793 mTmpRect.set(0, 0, dc.getDisplayInfo().logicalWidth, dc.getDisplayInfo().logicalHeight); in computeFrameLw() 970 this, displayInfo.logicalWidth, displayInfo.logicalHeight, false); in computeFrameLw() 3087 mTmpRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight); in getBackdropFrame() 4257 displayInfo.logicalWidth - mCompatFrame.left, in calculatePolicyCrop() 4296 Math.max(width, displayInfo.logicalWidth), in calculateSystemDecorRect()
|
D | RootWindowContainer.java | 578 final int defaultDw = defaultInfo.logicalWidth; in performSurfacePlacement()
|
D | ScreenRotationAnimation.java | 240 originalWidth = displayInfo.logicalWidth; in ScreenRotationAnimation()
|
D | WindowManagerService.java | 1501 displayInfo.logicalWidth, displayInfo.logicalHeight, outContentInsets, in addWindow() 2137 win, displayInfo.logicalWidth, displayInfo.logicalHeight, false); in relayoutWindow() 2322 displayInfo.logicalWidth, displayInfo.logicalHeight); in applyAnimationLocked() 6062 getTransitionAnimationScaleLocked(), displayInfo.logicalWidth, in stopFreezingDisplayLocked() 7056 mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, outInsets); in getStableInsetsLocked()
|
D | WindowStateAnimator.java | 757 mTmpSize.right = mTmpSize.left + displayInfo.logicalWidth; in calculateSurfaceBounds()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 36 info.logicalWidth = mMetrics.widthPixels; in WindowManagerImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 210 int surfaceWidth = Math.max(displayInfo.logicalWidth, mBackgroundWidth); in updateSurfaceSize() 329 mDisplayWidthAtLastSurfaceSizeUpdate = displayInfo.logicalWidth; in drawFrame()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 93 displayInfo.logicalWidth, displayInfo.logicalHeight, in create()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerView.java | 878 mDisplayWidth = info.logicalWidth; in updateDisplayInfo()
|