Searched refs:mBaseDisplayWidth (Results 1 – 9 of 9) sorted by relevance
221 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()
565 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()
645 displayContent.mBaseDisplayWidth = width; in setupDisplayAndParentSize()
312 int mBaseDisplayWidth = 0; field in DisplayContent1555 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 …]
160 final int baseDisplayWidth = mDisplayContent.mBaseDisplayWidth; in getSmallestWidthDpForBounds()278 : mDisplayContent.mBaseDisplayWidth; in initSnapAlgorithmForRotations()280 ? mDisplayContent.mBaseDisplayWidth in initSnapAlgorithmForRotations()
240 originalWidth = displayContent.mBaseDisplayWidth; in ScreenRotationAnimation()
5024 size.x = displayContent.mBaseDisplayWidth; in getBaseDisplaySize()5087 if (displayContent.mBaseDisplayWidth != width in applyForcedPropertiesForDefaultDisplay()
3877 mDisplayWidth = display.mBaseDisplayWidth; in CompatDisplayInsets()
2750 mDisplayContent.mBaseDisplayWidth != mDisplayContent.mBaseDisplayHeight