Home
last modified time | relevance | path

Searched refs:DisplayUtils (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/assist/ui/
DDisplayUtilsTest.java53 assertEquals(0, DisplayUtils.getCornerRadiusBottom(mContext)); in testGetCornerRadii_noOverlay()
54 assertEquals(0, DisplayUtils.getCornerRadiusTop(mContext)); in testGetCornerRadii_noOverlay()
62 assertEquals(100, DisplayUtils.getCornerRadiusBottom(mMockContext)); in testGetCornerRadii_onlyDefaultOverridden()
63 assertEquals(100, DisplayUtils.getCornerRadiusTop(mMockContext)); in testGetCornerRadii_onlyDefaultOverridden()
75 assertEquals(200, DisplayUtils.getCornerRadiusBottom(mMockContext)); in testGetCornerRadii_allOverridden()
76 assertEquals(150, DisplayUtils.getCornerRadiusTop(mMockContext)); in testGetCornerRadii_allOverridden()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DCircularCornerPathRenderer.java34 mCornerRadiusBottom = DisplayUtils.getCornerRadiusBottom(context); in CircularCornerPathRenderer()
35 mCornerRadiusTop = DisplayUtils.getCornerRadiusTop(context); in CircularCornerPathRenderer()
36 mHeight = DisplayUtils.getHeight(context); in CircularCornerPathRenderer()
37 mWidth = DisplayUtils.getWidth(context); in CircularCornerPathRenderer()
DPathSpecCornerPathRenderer.java45 mWidth = DisplayUtils.getWidth(context); in PathSpecCornerPathRenderer()
46 mHeight = DisplayUtils.getHeight(context); in PathSpecCornerPathRenderer()
48 mBottomCornerRadius = DisplayUtils.getCornerRadiusBottom(context); in PathSpecCornerPathRenderer()
49 mTopCornerRadius = DisplayUtils.getCornerRadiusTop(context); in PathSpecCornerPathRenderer()
DInvocationLightsView.java89 mStrokeWidth = DisplayUtils.convertDpToPx(LIGHT_HEIGHT_DP, context); in InvocationLightsView()
96 int displayWidth = DisplayUtils.getWidth(context); in InvocationLightsView()
97 int displayHeight = DisplayUtils.getHeight(context); in InvocationLightsView()
101 int cornerRadiusBottom = DisplayUtils.getCornerRadiusBottom(context); in InvocationLightsView()
102 int cornerRadiusTop = DisplayUtils.getCornerRadiusTop(context); in InvocationLightsView()
105 DisplayUtils.convertDpToPx(LIGHT_HEIGHT_DP, context)); in InvocationLightsView()
DDisplayUtils.java29 public class DisplayUtils { class
DPerimeterPathGuide.java90 mTopCornerRadiusPx = DisplayUtils.getCornerRadiusTop(context); in PerimeterPathGuide()
91 mBottomCornerRadiusPx = DisplayUtils.getCornerRadiusBottom(context); in PerimeterPathGuide()
/frameworks/base/core/java/android/view/
DRoundedCorners.java34 import android.util.DisplayUtils;
122 final float physicalPixelDisplaySizeRatio = DisplayUtils.getPhysicalPixelDisplaySizeRatio( in fromRadii()
192 final int index = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId); in getRoundedCornerRadius()
214 final int index = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId); in getRoundedCornerTopRadius()
236 final int index = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId); in getRoundedCornerBottomRadius()
259 final int index = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId); in getRoundedCornerRadiusAdjustment()
282 final int index = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId); in getRoundedCornerRadiusTopAdjustment()
306 final int index = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId); in getRoundedCornerRadiusBottomAdjustment()
328 final int index = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId); in getBuiltInDisplayIsRound()
DDisplayCutout.java42 import android.util.DisplayUtils;
952 final int index = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId); in getDisplayCutoutPath()
967 final int index = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId); in getDisplayCutoutApproximationRect()
986 final int index = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId); in getMaskBuiltInDisplayCutout()
1008 final int index = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId); in getFillBuiltInDisplayCutout()
1031 final int index = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId); in getWaterfallInsets()
1101 final float physicalPixelDisplaySizeRatio = DisplayUtils.getPhysicalPixelDisplaySizeRatio( in pathAndDisplayCutoutFromSpec()
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DRoundedCornerResDelegate.kt23 import android.util.DisplayUtils in <lambda>()
97 val configIdx = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId) in <lambda>()
/frameworks/base/core/java/android/util/
DDisplayUtils.java29 public class DisplayUtils { class
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java60 import android.util.DisplayUtils;
564 DisplayUtils.getMaximumResolutionDisplayMode(mCachedDisplayInfo.supportedModes); in updateSensorLocations()
565 final float scaleFactor = android.util.DisplayUtils.getPhysicalPixelDisplaySizeRatio( in updateSensorLocations()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java46 import android.util.DisplayUtils;
963 DisplayUtils.getMaximumResolutionDisplayMode(mDisplayInfo.supportedModes); in getPhysicalPixelDisplaySizeRatio()
967 return DisplayUtils.getPhysicalPixelDisplaySizeRatio( in getPhysicalPixelDisplaySizeRatio()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java33 import android.util.DisplayUtils;
683 DisplayUtils.getMaximumResolutionDisplayMode(mInfo.supportedModes); in getDisplayDeviceInfoLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java199 import android.util.DisplayUtils;
2855 DisplayUtils.getMaximumResolutionDisplayMode(mDisplayInfo.supportedModes); in initializeDisplayBaseInfo()
/frameworks/base/boot/
Dboot-image-profile.txt15372 HSPLandroid/util/DisplayUtils;->getDisplayUniqueIdConfigIndex(Landroid/content/res/Resources;Ljava/…
/frameworks/base/config/
Dboot-image-profile.txt15435 HSPLandroid/util/DisplayUtils;->getDisplayUniqueIdConfigIndex(Landroid/content/res/Resources;Ljava/…