/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowFrameTests.java | 269 final int logicalHeight = displayInfo.logicalHeight; in testLayoutNonfullscreenTask() local 272 final int taskTop = logicalHeight / 4; in testLayoutNonfullscreenTask() 274 final int taskBottom = logicalHeight / 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() 296 final int cfBottom = logicalHeight / 2; in testLayoutNonfullscreenTask() 307 pf.set(0, 0, logicalWidth, logicalHeight); in testLayoutNonfullscreenTask() 311 final int insetTop = logicalHeight / 5; in testLayoutNonfullscreenTask() 334 final int logicalHeight = displayInfo.logicalHeight; in testCalculatePolicyCrop() local 335 final Rect pf = new Rect(0, 0, logicalWidth, logicalHeight); in testCalculatePolicyCrop() [all …]
|
D | DisplayPolicyInsetsTests.java | 137 equalTo(di.logicalHeight - insets.top - insets.bottom)); 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 | 116 info.logicalHeight = flippedDimensions ? DISPLAY_WIDTH : DISPLAY_HEIGHT; in displayInfoAndCutoutForRotation() 121 info.logicalHeight); in displayInfoAndCutoutForRotation()
|
D | ScreenDecorWindowTests.java | 348 displayInfo.logicalWidth, displayInfo.logicalHeight, PixelFormat.RGBA_8888, 2); in createDisplay() 351 displayInfo.logicalHeight, displayInfo.logicalDensityDpi, imageReader.getSurface(), in createDisplay()
|
D | TaskRecordTests.java | 225 final Rect fullScreenBounds = new Rect(0, 0, info.logicalWidth, info.logicalHeight); in testBoundsOnModeChangeFreeformToFullscreen() 265 info.logicalHeight = fullScreenBounds.height(); in testFullscreenBoundsForcedOrientation() 332 info.logicalHeight = fullScreenBounds.height(); in testIgnoresForcedOrientationWhenParentHandles()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplay.java | 152 mInfo.logicalHeight = mOverrideDisplayInfo.logicalHeight; in getDisplayInfoLocked() 278 mBaseDisplayInfo.logicalHeight = maskedHeight; in updateLocked() 374 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight); in configureDisplayLocked() 413 displayRectHeight = displayInfo.logicalHeight; in configureDisplayLocked() 414 } else if (physWidth * displayInfo.logicalHeight in configureDisplayLocked() 418 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth; in configureDisplayLocked() 421 displayRectWidth = displayInfo.logicalWidth * physHeight / displayInfo.logicalHeight; in configureDisplayLocked()
|
D | OverlayDisplayWindow.java | 242 0 : mDefaultDisplayInfo.logicalHeight; in createWindow() 249 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalHeight / mHeight); in updateWindowParams() 258 y = Math.max(0, Math.min(y, mDefaultDisplayInfo.logicalHeight - height)); in updateWindowParams()
|
D | ColorFade.java | 773 t.setPosition(mSurfaceControl, 0, displayInfo.logicalHeight); 778 displayInfo.logicalHeight);
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 135 public int logicalHeight; field in DisplayInfo 323 && logicalHeight == other.logicalHeight in equals() 366 logicalHeight = other.logicalHeight; in copyFrom() 405 logicalHeight = source.readInt(); in readFromParcel() 453 dest.writeInt(logicalHeight); in writeToParcel() 560 getMetricsWithSize(outMetrics, compatInfo, configuration, logicalWidth, logicalHeight); in getLogicalMetrics() 565 logicalWidth : logicalHeight; in getNaturalWidth() 570 logicalHeight : logicalWidth; in getNaturalHeight() 633 sb.append(logicalHeight); in toString() 707 protoOutputStream.write(LOGICAL_HEIGHT, logicalHeight); in writeToProto()
|
D | Display.java | 725 return Math.max(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in getMaximumSizeDimension() 1059 outSize.y = mDisplayInfo.logicalHeight; 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() 438 && (display1.logicalHeight == display2.logicalHeight)); in isSameDimensionAndRotation() 529 mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight, in getInsetBounds() 533 mDisplayInfo.logicalHeight - mTmpInsets.bottom - mScreenEdgeInsets.y); 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 | 86 final int dh = displayInfo.logicalHeight; in updateWallpaperVisibility() 128 final int dh = displayInfo.logicalHeight; in updateWallpaperWindows()
|
D | DisplayFrames.java | 126 mDisplayHeight = info.logicalHeight; in onDisplayInfoUpdated()
|
D | DisplayContent.java | 1507 mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight)) { in applyRotationLocked() 1613 mDisplayInfo.logicalHeight = dh; in updateDisplayAndOrientation() 1685 final int dh = displayInfo.logicalHeight; in computeScreenConfiguration() 2241 updateBaseDisplayMetrics(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight, in initializeDisplayBaseInfo() 2244 mInitialDisplayHeight = mDisplayInfo.logicalHeight; in initializeDisplayBaseInfo() 2258 final int newWidth = rotated ? mDisplayInfo.logicalHeight : mDisplayInfo.logicalWidth; in updateBaseDisplayMetricsIfNeeded() 2259 final int newHeight = rotated ? mDisplayInfo.logicalWidth : mDisplayInfo.logicalHeight; in updateBaseDisplayMetricsIfNeeded() 2851 pw.print("x"); pw.print(mDisplayInfo.logicalHeight); in dump() 3808 int height = displayInfo.logicalHeight; in calculateBounds() 3849 final int dh = mDisplayInfo.logicalHeight; in performLayoutNoTrace() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarButtonTest.java | 77 displayInfo.logicalHeight, PixelFormat.RGBA_8888, 2); in createVirtualDisplay() 82 displayInfo.logicalHeight, displayInfo.logicalDensityDpi, mReader.getSurface(), 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 | 36 info.logicalHeight = mMetrics.heightPixels; 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 | 74 int logicalHeight() const { return mWindowInfo.size.height(); } in logicalHeight() function
|
D | VulkanSurface.cpp | 533 aRect.top = logicalHeight() - irect.top(); in presentCurrentBuffer() 535 aRect.bottom = logicalHeight() - irect.bottom(); in presentCurrentBuffer()
|
/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 | 99 final int dy = (mNonOverrideDisplayInfo.logicalHeight - foldedArea.height()) / 2 in setDeviceFolded()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | CoordinateTransformsTest.java | 179 di.logicalHeight = W; in transformBetweenRotations_displayInfo()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 96 displayInfo.logicalWidth, displayInfo.logicalHeight, in create()
|