/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowFrameTests.java | 268 final int logicalWidth = displayInfo.logicalWidth; in testLayoutNonfullscreenTask() local 271 final int taskLeft = logicalWidth / 4; in testLayoutNonfullscreenTask() 273 final int taskRight = logicalWidth / 4 * 3; in testLayoutNonfullscreenTask() 283 final Rect pf = new Rect(0, 0, logicalWidth, logicalHeight); in testLayoutNonfullscreenTask() 293 pf.set(0, 0, logicalWidth, logicalHeight); in testLayoutNonfullscreenTask() 295 final int cfRight = logicalWidth / 2; in testLayoutNonfullscreenTask() 307 pf.set(0, 0, logicalWidth, logicalHeight); in testLayoutNonfullscreenTask() 310 final int insetLeft = logicalWidth / 5; in testLayoutNonfullscreenTask() 333 final int logicalWidth = displayInfo.logicalWidth; in testCalculatePolicyCrop() local 335 final Rect pf = new Rect(0, 0, logicalWidth, logicalHeight); in testCalculatePolicyCrop() [all …]
|
D | DisplayPolicyInsetsTests.java | 135 equalTo(di.logicalWidth - insets.left - insets.right)); in verifyConsistency() 142 mDisplayPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in getStableInsetsLw() 149 mDisplayPolicy.getNonDecorInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in getNonDecorInsetsLw() 155 return mDisplayPolicy.getNonDecorDisplayWidth(di.logicalWidth, di.logicalHeight, in getNonDecorDisplayWidth() 160 return mDisplayPolicy.getNonDecorDisplayHeight(di.logicalWidth, di.logicalHeight, in getNonDecorDisplayHeight() 165 return mDisplayPolicy.getConfigDisplayWidth(di.logicalWidth, di.logicalHeight, in getConfigDisplayWidth() 170 return mDisplayPolicy.getConfigDisplayHeight(di.logicalWidth, di.logicalHeight, in getConfigDisplayHeight()
|
D | DisplayPolicyTestsBase.java | 115 info.logicalWidth = flippedDimensions ? DISPLAY_HEIGHT : DISPLAY_WIDTH; in displayInfoAndCutoutForRotation() 120 displayCutoutForRotation(rotation), info.logicalWidth, in displayInfoAndCutoutForRotation()
|
D | ScreenDecorWindowTests.java | 348 displayInfo.logicalWidth, displayInfo.logicalHeight, PixelFormat.RGBA_8888, 2); in createDisplay() 350 final VirtualDisplay display = dm.createVirtualDisplay(name, displayInfo.logicalWidth, in createDisplay()
|
D | TaskRecordTests.java | 225 final Rect fullScreenBounds = new Rect(0, 0, info.logicalWidth, info.logicalHeight); in testBoundsOnModeChangeFreeformToFullscreen() 264 info.logicalWidth = fullScreenBounds.width(); in testFullscreenBoundsForcedOrientation() 331 info.logicalWidth = fullScreenBounds.width(); in testIgnoresForcedOrientationWhenParentHandles()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplay.java | 151 mInfo.logicalWidth = mOverrideDisplayInfo.logicalWidth; in getDisplayInfoLocked() 277 mBaseDisplayInfo.logicalWidth = maskedWidth; in updateLocked() 374 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight); in configureDisplayLocked() 412 displayRectWidth = displayInfo.logicalWidth; in configureDisplayLocked() 415 < physHeight * displayInfo.logicalWidth) { in configureDisplayLocked() 418 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth; in configureDisplayLocked() 421 displayRectWidth = displayInfo.logicalWidth * physHeight / displayInfo.logicalHeight; in configureDisplayLocked()
|
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 | 777 t.setPosition(mSurfaceControl, displayInfo.logicalWidth, 782 t.setPosition(mSurfaceControl, displayInfo.logicalWidth, 0);
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 127 public int logicalWidth; field in DisplayInfo 322 && logicalWidth == other.logicalWidth in equals() 365 logicalWidth = other.logicalWidth; in copyFrom() 404 logicalWidth = source.readInt(); in readFromParcel() 452 dest.writeInt(logicalWidth); in writeToParcel() 560 getMetricsWithSize(outMetrics, compatInfo, configuration, logicalWidth, logicalHeight); in getLogicalMetrics() 565 logicalWidth : logicalHeight; in getNaturalWidth() 570 logicalHeight : logicalWidth; in getNaturalHeight() 631 sb.append(logicalWidth); in toString() 706 protoOutputStream.write(LOGICAL_WIDTH, logicalWidth); in writeToProto()
|
D | Display.java | 725 return Math.max(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in getMaximumSizeDimension() 1058 outSize.x = mDisplayInfo.logicalWidth; in getRealSize()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PinnedStackController.java | 252 mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in transformBoundsToAspectRatio() 299 mDefaultMinSize, mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in getDefaultBounds() 437 && (display1.logicalWidth == display2.logicalWidth) in isSameDimensionAndRotation() 529 mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight, in getInsetBounds() 532 mDisplayInfo.logicalWidth - mTmpInsets.right - mScreenEdgeInsets.x, in getInsetBounds() 570 mTmpDisplaySize.set(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in applyMinimizedOffset()
|
D | SeamlessRotator.java | 53 final int h = flipped ? info.logicalWidth : info.logicalHeight; in SeamlessRotator() 54 final int w = flipped ? info.logicalHeight : info.logicalWidth; in SeamlessRotator()
|
D | WallpaperWindowToken.java | 85 final int dw = displayInfo.logicalWidth; in updateWallpaperVisibility() 127 final int dw = displayInfo.logicalWidth; in updateWallpaperWindows()
|
D | DisplayFrames.java | 125 mDisplayWidth = info.logicalWidth; in onDisplayInfoUpdated()
|
D | DisplayContent.java | 1507 mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight)) { in applyRotationLocked() 1612 mDisplayInfo.logicalWidth = dw; in updateDisplayAndOrientation() 1684 final int dw = displayInfo.logicalWidth; in computeScreenConfiguration() 2241 updateBaseDisplayMetrics(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight, in initializeDisplayBaseInfo() 2243 mInitialDisplayWidth = mDisplayInfo.logicalWidth; in initializeDisplayBaseInfo() 2258 final int newWidth = rotated ? mDisplayInfo.logicalHeight : mDisplayInfo.logicalWidth; in updateBaseDisplayMetricsIfNeeded() 2259 final int newHeight = rotated ? mDisplayInfo.logicalWidth : mDisplayInfo.logicalHeight; in updateBaseDisplayMetricsIfNeeded() 2850 pw.print(mDisplayInfo.logicalWidth); in dump() 3806 int width = displayInfo.logicalWidth; in calculateBounds() 3848 final int dw = mDisplayInfo.logicalWidth; in performLayoutNoTrace() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarButtonTest.java | 76 mReader = ImageReader.newInstance(displayInfo.logicalWidth, in createVirtualDisplay() 81 mVirtualDisplay = displayManager.createVirtualDisplay(displayName, displayInfo.logicalWidth, in createVirtualDisplay()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | CoordinateTransforms.java | 109 final int h = flipped ? info.logicalWidth : info.logicalHeight; in transformToRotation() 110 final int w = flipped ? info.logicalHeight : info.logicalWidth; in transformToRotation()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 37 info.logicalWidth = mMetrics.widthPixels; in WindowManagerImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/ |
D | ImageWallpaperRenderer.java | 77 mScissor = new Rect(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight); in ImageWallpaperRenderer() 79 mScissor = new Rect(0, 0, displayInfo.logicalHeight, displayInfo.logicalWidth); in ImageWallpaperRenderer()
|
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.h | 73 int logicalWidth() const { return mWindowInfo.size.width(); } in logicalWidth() function
|
D | VulkanManager.cpp | 476 return Frame(surface->logicalWidth(), surface->logicalHeight(), bufferAge); in dequeueNextBuffer()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 144 int displayWidth = portrait ? mDisplayInfo.logicalWidth : mDisplayInfo.logicalHeight; in checkIfShouldStopTransition() 145 int displayHeight = portrait ? mDisplayInfo.logicalHeight : mDisplayInfo.logicalWidth; in checkIfShouldStopTransition()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DisplayFoldController.java | 97 final int dx = (mNonOverrideDisplayInfo.logicalWidth - foldedArea.width()) / 2 in setDeviceFolded()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | CoordinateTransformsTest.java | 178 di.logicalWidth = H; // dimensions are flipped in ROT_90 in transformBetweenRotations_displayInfo()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 96 displayInfo.logicalWidth, displayInfo.logicalHeight, in create()
|