Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowFrameTests.java254 final int logicalHeight = displayInfo.logicalHeight; in testLayoutNonfullscreenTask() local
257 final int taskTop = logicalHeight / 4; in testLayoutNonfullscreenTask()
259 final int taskBottom = logicalHeight / 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()
277 final int cfBottom = logicalHeight / 2; in testLayoutNonfullscreenTask()
287 pf.set(0, 0, logicalWidth, logicalHeight); in testLayoutNonfullscreenTask()
292 final int insetTop = logicalHeight / 5; in testLayoutNonfullscreenTask()
313 final int logicalHeight = displayInfo.logicalHeight; in testCalculatePolicyCrop() local
314 final Rect pf = new Rect(0, 0, logicalWidth, logicalHeight); in testCalculatePolicyCrop()
[all …]
DAppBoundsTests.java119 mDisplayInfo.logicalHeight); in testFullScreenFreeFormBounds()
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java142 mInfo.logicalHeight = mOverrideDisplayInfo.logicalHeight; in getDisplayInfoLocked()
257 mBaseDisplayInfo.logicalHeight = deviceInfo.height; in updateLocked()
323 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight); in configureDisplayInTransactionLocked()
356 displayRectHeight = displayInfo.logicalHeight; in configureDisplayInTransactionLocked()
357 } else if (physWidth * displayInfo.logicalHeight in configureDisplayInTransactionLocked()
361 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth; in configureDisplayInTransactionLocked()
364 displayRectWidth = displayInfo.logicalWidth * physHeight / displayInfo.logicalHeight; in configureDisplayInTransactionLocked()
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.java766 mSurfaceControl.setPosition(0, displayInfo.logicalHeight);
771 displayInfo.logicalHeight);
/frameworks/base/core/java/android/view/
DDisplayInfo.java118 public int logicalHeight; field in DisplayInfo
292 && logicalHeight == other.logicalHeight in equals()
333 logicalHeight = other.logicalHeight; in copyFrom()
370 logicalHeight = source.readInt(); in readFromParcel()
416 dest.writeInt(logicalHeight); in writeToParcel()
522 getMetricsWithSize(outMetrics, compatInfo, configuration, logicalWidth, logicalHeight); in getLogicalMetrics()
527 logicalWidth : logicalHeight; in getNaturalWidth()
532 logicalHeight : logicalWidth; in getNaturalHeight()
593 sb.append(logicalHeight); in toString()
DDisplay.java662 return Math.max(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in getMaximumSizeDimension()
960 outSize.y = mDisplayInfo.logicalHeight; in getRealSize()
/frameworks/base/services/core/java/com/android/server/wm/
DPinnedStackController.java234 mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in transformBoundsToAspectRatio()
255 mDefaultMinSize, mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in getDefaultBounds()
435 mDisplayInfo.logicalHeight, mTmpInsets); in getInsetBounds()
438 mDisplayInfo.logicalHeight - mTmpInsets.bottom - mScreenEdgeInsets.y); in getInsetBounds()
473 mTmpDisplaySize.set(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight); in applyMinimizedOffset()
DStackWindowController.java272 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()
360 bounds.height() == displayInfo.logicalHeight)) { in getSmallestWidthForTaskBounds()
DWallpaperWindowToken.java93 final int dh = displayInfo.logicalHeight; in updateWallpaperVisibility()
134 final int dh = displayInfo.logicalHeight; in updateWallpaperWindows()
DDisplayContent.java1038 mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight)) { in updateRotationUnchecked()
1138 mDisplayInfo.logicalHeight = dh; in updateDisplayAndOrientation()
1173 final int dh = displayInfo.logicalHeight; in computeScreenConfiguration()
1589 updateBaseDisplayMetrics(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight, in initializeDisplayBaseInfo()
1592 mInitialDisplayHeight = mDisplayInfo.logicalHeight; in initializeDisplayBaseInfo()
1604 int height = mDisplayInfo.logicalHeight; in getLogicalDisplayRect()
1632 final int newWidth = rotated ? mDisplayInfo.logicalHeight : mDisplayInfo.logicalWidth; in updateBaseDisplayMetricsIfNeeded()
1633 final int newHeight = rotated ? mDisplayInfo.logicalWidth : mDisplayInfo.logicalHeight; in updateBaseDisplayMetricsIfNeeded()
2109 pw.print("x"); pw.print(mDisplayInfo.logicalHeight); in dump()
2698 final int dh = mDisplayInfo.logicalHeight; in applySurfaceChangesTransaction()
[all …]
DDockedStackDividerController.java190 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()
DTaskStack.java521 final int displayHeight = mDisplayContent.getDisplayInfo().logicalHeight; in snapDockedStackAfterRotation()
535 outBounds, displayInfo.logicalWidth, displayInfo.logicalHeight, in snapDockedStackAfterRotation()
827 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in getStackDockedModeBounds()
831 di.logicalHeight, in getStackDockedModeBounds()
DDimLayer.java215 dh = (int) (info.logicalHeight * 1.5); in getBoundsForFullscreen()
DWallpaperController.java383 final int dh = displayInfo.logicalHeight; in updateWallpaperOffsetLocked()
DWindowState.java793 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()
4258 displayInfo.logicalHeight - mCompatFrame.top); in calculatePolicyCrop()
4297 Math.max(height, displayInfo.logicalHeight)); in calculateSystemDecorRect()
DRootWindowContainer.java579 final int defaultDh = defaultInfo.logicalHeight; in performSurfacePlacement()
DScreenRotationAnimation.java241 originalHeight = displayInfo.logicalHeight; in ScreenRotationAnimation()
DWindowManagerService.java1501 displayInfo.logicalWidth, displayInfo.logicalHeight, outContentInsets, in addWindow()
2137 win, displayInfo.logicalWidth, displayInfo.logicalHeight, false); in relayoutWindow()
2322 displayInfo.logicalWidth, displayInfo.logicalHeight); in applyAnimationLocked()
6063 displayInfo.logicalHeight, mExitAnimId, mEnterAnimId)) { in stopFreezingDisplayLocked()
7056 mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, outInsets); in getStableInsetsLocked()
DWindowStateAnimator.java758 mTmpSize.bottom = mTmpSize.top + displayInfo.logicalHeight; in calculateSurfaceBounds()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
DWindowManagerImpl.java35 info.logicalHeight = mMetrics.heightPixels; in WindowManagerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java211 int surfaceHeight = Math.max(displayInfo.logicalHeight, mBackgroundHeight); in updateSurfaceSize()
330 mDisplayHeightAtLastSurfaceSizeUpdate = displayInfo.logicalHeight; in drawFrame()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java93 displayInfo.logicalWidth, displayInfo.logicalHeight, in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java879 mDisplayHeight = info.logicalHeight; in updateDisplayInfo()