Home
last modified time | relevance | path

Searched refs:logicalHeight (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowFrameTests.java269 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 …]
DDisplayPolicyInsetsTests.java137 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()
DDisplayPolicyTestsBase.java116 info.logicalHeight = flippedDimensions ? DISPLAY_WIDTH : DISPLAY_HEIGHT; in displayInfoAndCutoutForRotation()
121 info.logicalHeight); in displayInfoAndCutoutForRotation()
DScreenDecorWindowTests.java348 displayInfo.logicalWidth, displayInfo.logicalHeight, PixelFormat.RGBA_8888, 2); in createDisplay()
351 displayInfo.logicalHeight, displayInfo.logicalDensityDpi, imageReader.getSurface(), in createDisplay()
DTaskRecordTests.java225 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/
DLogicalDisplay.java152 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()
DOverlayDisplayWindow.java242 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()
DColorFade.java773 t.setPosition(mSurfaceControl, 0, displayInfo.logicalHeight);
778 displayInfo.logicalHeight);
/frameworks/base/core/java/android/view/
DDisplayInfo.java135 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()
DDisplay.java725 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/
DPinnedStackController.java252 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()
DSeamlessRotator.java53 final int h = flipped ? info.logicalWidth : info.logicalHeight; in SeamlessRotator()
54 final int w = flipped ? info.logicalHeight : info.logicalWidth; in SeamlessRotator()
DWallpaperWindowToken.java86 final int dh = displayInfo.logicalHeight; in updateWallpaperVisibility()
128 final int dh = displayInfo.logicalHeight; in updateWallpaperWindows()
DDisplayFrames.java126 mDisplayHeight = info.logicalHeight; in onDisplayInfoUpdated()
DDisplayContent.java1507 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/
DNavigationBarButtonTest.java77 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/
DCoordinateTransforms.java109 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/
DWindowManagerImpl.java36 info.logicalHeight = mMetrics.heightPixels; in WindowManagerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageWallpaperRenderer.java77 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/
DVulkanSurface.h74 int logicalHeight() const { return mWindowInfo.size.height(); } in logicalHeight() function
DVulkanSurface.cpp533 aRect.top = logicalHeight() - irect.top(); in presentCurrentBuffer()
535 aRect.bottom = logicalHeight() - irect.bottom(); in presentCurrentBuffer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java144 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/
DDisplayFoldController.java99 final int dy = (mNonOverrideDisplayInfo.logicalHeight - foldedArea.height()) / 2 in setDeviceFolded()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCoordinateTransformsTest.java179 di.logicalHeight = W; in transformBetweenRotations_displayInfo()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java96 displayInfo.logicalWidth, displayInfo.logicalHeight, in create()

12