Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowFrameTests.java268 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 …]
DDisplayPolicyInsetsTests.java135 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()
DDisplayPolicyTestsBase.java115 info.logicalWidth = flippedDimensions ? DISPLAY_HEIGHT : DISPLAY_WIDTH; in displayInfoAndCutoutForRotation()
120 displayCutoutForRotation(rotation), info.logicalWidth, in displayInfoAndCutoutForRotation()
DScreenDecorWindowTests.java348 displayInfo.logicalWidth, displayInfo.logicalHeight, PixelFormat.RGBA_8888, 2); in createDisplay()
350 final VirtualDisplay display = dm.createVirtualDisplay(name, displayInfo.logicalWidth, in createDisplay()
DTaskRecordTests.java225 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/
DLogicalDisplay.java151 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()
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.java777 t.setPosition(mSurfaceControl, displayInfo.logicalWidth,
782 t.setPosition(mSurfaceControl, displayInfo.logicalWidth, 0);
/frameworks/base/core/java/android/view/
DDisplayInfo.java127 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()
DDisplay.java725 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/
DPinnedStackController.java252 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()
DSeamlessRotator.java53 final int h = flipped ? info.logicalWidth : info.logicalHeight; in SeamlessRotator()
54 final int w = flipped ? info.logicalHeight : info.logicalWidth; in SeamlessRotator()
DWallpaperWindowToken.java85 final int dw = displayInfo.logicalWidth; in updateWallpaperVisibility()
127 final int dw = displayInfo.logicalWidth; in updateWallpaperWindows()
DDisplayFrames.java125 mDisplayWidth = info.logicalWidth; in onDisplayInfoUpdated()
DDisplayContent.java1507 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/
DNavigationBarButtonTest.java76 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/
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.java37 info.logicalWidth = mMetrics.widthPixels; 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.h73 int logicalWidth() const { return mWindowInfo.size.width(); } in logicalWidth() function
DVulkanManager.cpp476 return Frame(surface->logicalWidth(), surface->logicalHeight(), bufferAge); in dequeueNextBuffer()
/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.java97 final int dx = (mNonOverrideDisplayInfo.logicalWidth - foldedArea.width()) / 2 in setDeviceFolded()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCoordinateTransformsTest.java178 di.logicalWidth = H; // dimensions are flipped in ROT_90 in transformBetweenRotations_displayInfo()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java96 displayInfo.logicalWidth, displayInfo.logicalHeight, in create()

12