Home
last modified time | relevance | path

Searched refs:mBaseDisplayWidth (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsTests.java221 final int originalWidth = mSecondaryDisplay.mBaseDisplayWidth; in testDefaultToOriginalMetrics()
228 assertEquals(originalWidth, mSecondaryDisplay.mBaseDisplayWidth); in testDefaultToOriginalMetrics()
246 assertEquals(1000 /* width */, mSecondaryDisplay.mBaseDisplayWidth); in testSetForcedSize()
250 assertEquals(mSecondaryDisplay.mInitialDisplayWidth, mSecondaryDisplay.mBaseDisplayWidth); in testSetForcedSize()
DDisplayContentTests.java565 dc.mBaseDisplayWidth = 1000; in testOrientationForAspectRatio()
566 dc.mBaseDisplayHeight = (int) (dc.mBaseDisplayWidth * dc.mCloseToSquareMaxAspectRatio * 2f); in testOrientationForAspectRatio()
575 dc.mBaseDisplayHeight = dc.mBaseDisplayWidth; in testOrientationForAspectRatio()
884 assertEquals(displayContent.mBaseDisplayWidth, expectedBaseWidth); in verifySizes()
DActivityRecordTests.java645 displayContent.mBaseDisplayWidth = width; in setupDisplayAndParentSize()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java312 int mBaseDisplayWidth = 0; field in DisplayContent
1555 final int width = mBaseDisplayWidth; in configureDisplayPolicy()
1600 final int dw = rotated ? mBaseDisplayHeight : mBaseDisplayWidth; in updateDisplayAndOrientation()
1601 final int dh = rotated ? mBaseDisplayWidth : mBaseDisplayHeight; in updateDisplayAndOrientation()
2270 final boolean isDisplaySizeForced = mBaseDisplayWidth != mInitialDisplayWidth in updateBaseDisplayMetricsIfNeeded()
2275 updateBaseDisplayMetrics(isDisplaySizeForced ? mBaseDisplayWidth : newWidth, in updateBaseDisplayMetricsIfNeeded()
2297 updateBaseDisplayMetrics(mBaseDisplayWidth, mBaseDisplayHeight, mBaseDisplayDensity); in setMaxUiWidth()
2302 mBaseDisplayWidth = baseWidth; in updateBaseDisplayMetrics()
2306 if (mMaxUiWidth > 0 && mBaseDisplayWidth > mMaxUiWidth) { in updateBaseDisplayMetrics()
2307 mBaseDisplayHeight = (mMaxUiWidth * mBaseDisplayHeight) / mBaseDisplayWidth; in updateBaseDisplayMetrics()
[all …]
DDockedStackDividerController.java160 final int baseDisplayWidth = mDisplayContent.mBaseDisplayWidth; in getSmallestWidthDpForBounds()
278 : mDisplayContent.mBaseDisplayWidth; in initSnapAlgorithmForRotations()
280 ? mDisplayContent.mBaseDisplayWidth in initSnapAlgorithmForRotations()
DScreenRotationAnimation.java240 originalWidth = displayContent.mBaseDisplayWidth; in ScreenRotationAnimation()
DWindowManagerService.java5024 size.x = displayContent.mBaseDisplayWidth; in getBaseDisplaySize()
5087 if (displayContent.mBaseDisplayWidth != width in applyForcedPropertiesForDefaultDisplay()
DActivityRecord.java3877 mDisplayWidth = display.mBaseDisplayWidth; in CompatDisplayInsets()
DDisplayPolicy.java2750 mDisplayContent.mBaseDisplayWidth != mDisplayContent.mBaseDisplayHeight