Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowFrameTests.java253 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 …]
DAppBoundsTests.java118 final Rect fullScreenBounds = new Rect(0, 0, mDisplayInfo.logicalWidth, in testFullScreenFreeFormBounds()
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java141 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()
DOverlayDisplayWindow.java240 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()
DColorFade.java770 mSurfaceControl.setPosition(displayInfo.logicalWidth,
775 mSurfaceControl.setPosition(displayInfo.logicalWidth, 0);
/frameworks/base/core/java/android/view/
DDisplayInfo.java111 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()
DDisplay.java662 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/
DPinnedStackController.java234 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()
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()
359 if (bounds == null || (bounds.width() == displayInfo.logicalWidth && in getSmallestWidthForTaskBounds()
DWallpaperWindowToken.java92 final int dw = displayInfo.logicalWidth; in updateWallpaperVisibility()
133 final int dw = displayInfo.logicalWidth; in updateWallpaperWindows()
DDisplayContent.java1038 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 …]
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.java520 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()
DDimLayer.java214 dw = (int) (info.logicalWidth * 1.5); in getBoundsForFullscreen()
DWallpaperController.java382 final int dw = displayInfo.logicalWidth; 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()
4257 displayInfo.logicalWidth - mCompatFrame.left, in calculatePolicyCrop()
4296 Math.max(width, displayInfo.logicalWidth), in calculateSystemDecorRect()
DRootWindowContainer.java578 final int defaultDw = defaultInfo.logicalWidth; in performSurfacePlacement()
DScreenRotationAnimation.java240 originalWidth = displayInfo.logicalWidth; 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()
6062 getTransitionAnimationScaleLocked(), displayInfo.logicalWidth, in stopFreezingDisplayLocked()
7056 mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, outInsets); in getStableInsetsLocked()
DWindowStateAnimator.java757 mTmpSize.right = mTmpSize.left + displayInfo.logicalWidth; in calculateSurfaceBounds()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
DWindowManagerImpl.java36 info.logicalWidth = mMetrics.widthPixels; in WindowManagerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java210 int surfaceWidth = Math.max(displayInfo.logicalWidth, mBackgroundWidth); in updateSurfaceSize()
329 mDisplayWidthAtLastSurfaceSizeUpdate = displayInfo.logicalWidth; 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.java878 mDisplayWidth = info.logicalWidth; in updateDisplayInfo()