Searched refs:DisplayUtils (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/assist/ui/ |
D | DisplayUtilsTest.java | 53 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/ |
D | CircularCornerPathRenderer.java | 34 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()
|
D | PathSpecCornerPathRenderer.java | 45 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()
|
D | InvocationLightsView.java | 89 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()
|
D | DisplayUtils.java | 29 public class DisplayUtils { class
|
D | PerimeterPathGuide.java | 90 mTopCornerRadiusPx = DisplayUtils.getCornerRadiusTop(context); in PerimeterPathGuide() 91 mBottomCornerRadiusPx = DisplayUtils.getCornerRadiusBottom(context); in PerimeterPathGuide()
|
/frameworks/base/core/java/android/view/ |
D | RoundedCorners.java | 34 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()
|
D | DisplayCutout.java | 42 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/ |
D | RoundedCornerResDelegate.kt | 23 import android.util.DisplayUtils in <lambda>() 97 val configIdx = DisplayUtils.getDisplayUniqueIdConfigIndex(res, displayUniqueId) in <lambda>()
|
/frameworks/base/core/java/android/util/ |
D | DisplayUtils.java | 29 public class DisplayUtils { class
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthController.java | 60 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/ |
D | ScreenDecorations.java | 46 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/ |
D | LocalDisplayAdapter.java | 33 import android.util.DisplayUtils; 683 DisplayUtils.getMaximumResolutionDisplayMode(mInfo.supportedModes); in getDisplayDeviceInfoLocked()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayContent.java | 199 import android.util.DisplayUtils; 2855 DisplayUtils.getMaximumResolutionDisplayMode(mDisplayInfo.supportedModes); in initializeDisplayBaseInfo()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 15372 HSPLandroid/util/DisplayUtils;->getDisplayUniqueIdConfigIndex(Landroid/content/res/Resources;Ljava/…
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 15435 HSPLandroid/util/DisplayUtils;->getDisplayUniqueIdConfigIndex(Landroid/content/res/Resources;Ljava/…
|