Home
last modified time | relevance | path

Searched refs:RoundedCorners (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DRoundedCornersTest.java74 final RoundedCorners mRoundedCorners = new RoundedCorners(
83 RoundedCorners roundedCorners = RoundedCorners.fromRadii(radius, 200, 400); in testGetRoundedCorner()
97 RoundedCorners roundedCorners = RoundedCorners.NO_ROUNDED_CORNERS; in testGetRoundedCorner_noRoundedCorners()
108 equalTo(RoundedCorners.fromRadii(new Pair<>(10, 20), 200, 400).hashCode())); in testHashCode()
110 not(equalTo(RoundedCorners.fromRadii(new Pair<>(5, 10), 200, 400).hashCode()))); in testHashCode()
116 equalTo(RoundedCorners.fromRadii(new Pair<>(10, 20), 200, 400))); in testEquals()
119 not(equalTo(RoundedCorners.fromRadii(new Pair<>(5, 10), 200, 400)))); in testEquals()
141 RoundedCorners roundedCorners = mRoundedCorners.inset(1, 2, 3, 4); in testInsetRoundedCorners_partialOverlap()
155 RoundedCorners roundedCorners = mRoundedCorners.inset(20, 20, 20, 20); in testInsetRoundedCorners_noOverlap()
166 RoundedCorners roundedCorners = RoundedCorners.fromRadii(radius, 200, 400) in testRotateRoundedCorners_90()
[all …]
DInsetsStateTest.java654 mState.setRoundedCorners(new RoundedCorners( in testCalculateRelativeRoundedCorners()
/frameworks/base/core/java/android/view/
DRoundedCorners.java49 public class RoundedCorners implements Parcelable { class
51 public static final RoundedCorners NO_ROUNDED_CORNERS = new RoundedCorners(
69 private static RoundedCorners sCachedRoundedCorners;
76 public RoundedCorners(RoundedCorner[] roundedCorners) { in RoundedCorners() method in RoundedCorners
80 public RoundedCorners(RoundedCorner topLeft, RoundedCorner topRight, RoundedCorner bottomRight, in RoundedCorners() method in RoundedCorners
89 public RoundedCorners(RoundedCorners roundedCorners) { in RoundedCorners() method in RoundedCorners
100 public static RoundedCorners fromResources( in fromResources()
111 public static RoundedCorners fromRadii(Pair<Integer, Integer> radii, int displayWidth, in fromRadii()
116 private static RoundedCorners fromRadii(Pair<Integer, Integer> radii, int physicalDisplayWidth, in fromRadii()
148 final RoundedCorners result = new RoundedCorners(roundedCorners); in fromRadii()
[all …]
DRoundedCorners.aidl19 parcelable RoundedCorners;
DInsetsState.java89 private RoundedCorners mRoundedCorners = RoundedCorners.NO_ROUNDED_CORNERS;
205 private RoundedCorners calculateRelativeRoundedCorners(Rect frame) { in calculateRelativeRoundedCorners()
207 return RoundedCorners.NO_ROUNDED_CORNERS; in calculateRelativeRoundedCorners()
503 public void setRoundedCorners(RoundedCorners roundedCorners) { in setRoundedCorners()
507 public RoundedCorners getRoundedCorners() { in getRoundedCorners()
802 mRoundedCorners = in.readTypedObject(RoundedCorners.CREATOR);
DWindowInsets.java93 @Nullable private final RoundedCorners mRoundedCorners;
149 RoundedCorners roundedCorners, in WindowInsets()
1190 ? RoundedCorners.NO_ROUNDED_CORNERS in insetUnchecked()
1365 private RoundedCorners mRoundedCorners = RoundedCorners.NO_ROUNDED_CORNERS;
1612 public Builder setRoundedCorners(RoundedCorners roundedCorners) { in setRoundedCorners()
1614 ? roundedCorners : RoundedCorners.NO_ROUNDED_CORNERS; in setRoundedCorners()
DDisplayShape.java91 final boolean isScreenRound = RoundedCorners.getBuiltInDisplayIsRound(res, displayUniqueId); in fromResources()
DDisplayInfo.java346 public RoundedCorners roundedCorners;
585 roundedCorners = source.readTypedObject(RoundedCorners.CREATOR); in readFromParcel()
DDisplay.java1135 final RoundedCorners roundedCorners = mDisplayInfo.roundedCorners; in getRoundedCorner()
/frameworks/base/core/java/com/android/internal/policy/
DScreenDecorationsUtils.java24 import android.view.RoundedCorners;
49 float defaultRadius = RoundedCorners.getRoundedCornerRadius(resources, displayUniqueId) in getWindowCornerRadius()
50 - RoundedCorners.getRoundedCornerRadiusAdjustment(resources, displayUniqueId); in getWindowCornerRadius()
52 float topRadius = RoundedCorners.getRoundedCornerTopRadius(resources, displayUniqueId) in getWindowCornerRadius()
53 - RoundedCorners.getRoundedCornerRadiusTopAdjustment(resources, displayUniqueId); in getWindowCornerRadius()
57 float bottomRadius = RoundedCorners.getRoundedCornerBottomRadius(resources, displayUniqueId) in getWindowCornerRadius()
58 - RoundedCorners.getRoundedCornerRadiusBottomAdjustment(resources, displayUniqueId); in getWindowCornerRadius()
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DRoundedCornerResDelegate.kt25 import android.view.RoundedCorners in <lambda>()
105 val hasDefaultRadius = RoundedCorners.getRoundedCornerRadius(res, displayUniqueId) > 0 in reloadRes()
107 (RoundedCorners.getRoundedCornerTopRadius(res, displayUniqueId) > 0) in reloadRes()
109 (RoundedCorners.getRoundedCornerBottomRadius(res, displayUniqueId) > 0) in reloadRes()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDeferredDisplayUpdaterDiffTest.java21 import static android.view.RoundedCorners.NO_ROUNDED_CORNERS;
43 import android.view.RoundedCorners;
207 } else if (type.equals(RoundedCorners.class)) { in setDifferentFieldValues()
210 final RoundedCorners other = new RoundedCorners(NO_ROUNDED_CORNERS); in setDifferentFieldValues()
DDisplayPolicyLayoutTests.java43 import android.view.RoundedCorners;
129 final RoundedCorners roundedCorners = mHasRoundedCorners in createDisplayFrames()
131 : RoundedCorners.NO_ROUNDED_CORNERS; in createDisplayFrames()
DWallpaperControllerTests.java64 import android.view.RoundedCorners;
161 info, cutout, RoundedCorners.NO_ROUNDED_CORNERS, new PrivacyIndicatorBounds(), in testWallpaperSizeWithFixedTransform()
DLetterboxUiControllerTest.java95 import android.view.RoundedCorners;
622 RoundedCorners roundedCorners = new RoundedCorners( in testGetRoundedCornersRadius_withRoundedCornersFromInsets()
DDisplayPolicyTests.java22 import static android.view.RoundedCorners.NO_ROUNDED_CORNERS;
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java30 import android.view.RoundedCorners;
64 RoundedCorners roundedCorners, PrivacyIndicatorBounds indicatorBounds, in DisplayFrames()
81 @NonNull RoundedCorners roundedCorners, in update()
DDisplayContent.java234 import android.view.RoundedCorners;
414 RoundedCorners mInitialRoundedCorners;
415 private final RotationCache<RoundedCorners, RoundedCorners> mRoundedCornerCache =
435 RoundedCorners mBaseRoundedCorners;
2062 final RoundedCorners roundedCorners = calculateRoundedCornersForRotation(rotation); in startFixedRotationTransform()
2276 final RoundedCorners roundedCorners = calculateRoundedCornersForRotation(rotation); in updateDisplayAndOrientation()
2367 RoundedCorners calculateRoundedCornersForRotation(int rotation) { in calculateRoundedCornersForRotation()
2372 private RoundedCorners calculateRoundedCornersForRotationUncached( in calculateRoundedCornersForRotationUncached()
2373 RoundedCorners roundedCorners, int rotation) { in calculateRoundedCornersForRotationUncached()
2374 if (roundedCorners == null || roundedCorners == RoundedCorners.NO_ROUNDED_CORNERS) { in calculateRoundedCornersForRotationUncached()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarViewTest.kt28 import android.view.RoundedCorners
339 /* roundedCorners = */ RoundedCorners.NO_ROUNDED_CORNERS,
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorHwcLayer.kt40 import android.view.RoundedCorners in <lambda>()
341 until RoundedCorners.ROUNDED_CORNER_POSITION_LENGTH) { in <lambda>()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java29 import android.view.RoundedCorners;
378 public RoundedCorners roundedCorners;
DLocalDisplayAdapter.java48 import android.view.RoundedCorners;
744 mInfo.roundedCorners = RoundedCorners.fromResources( in getDisplayDeviceInfoLocked()
/frameworks/base/boot/
Dboot-image-profile.txt16477 …InsetsState;->calculateRelativeRoundedCorners(Landroid/graphics/Rect;)Landroid/view/RoundedCorners;
16489 HSPLandroid/view/InsetsState;->getRoundedCorners()Landroid/view/RoundedCorners;
16498 HSPLandroid/view/InsetsState;->setRoundedCorners(Landroid/view/RoundedCorners;)V
16671 HSPLandroid/view/RoundedCorners$1;-><init>()V
16672 HSPLandroid/view/RoundedCorners$1;->createFromParcel(Landroid/os/Parcel;)Landroid/view/RoundedCorne…
16673 HSPLandroid/view/RoundedCorners$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
16674 HSPLandroid/view/RoundedCorners;-><clinit>()V
16675 HSPLandroid/view/RoundedCorners;-><init>(Landroid/view/RoundedCorner;Landroid/view/RoundedCorner;La…
16676 HSPLandroid/view/RoundedCorners;-><init>([Landroid/view/RoundedCorner;)V
16677 HSPLandroid/view/RoundedCorners;->equals(Ljava/lang/Object;)Z
[all …]
/frameworks/base/config/
Ddirty-image-objects303 Landroid/view/RoundedCorners; 11
Dboot-image-profile.txt16541 …InsetsState;->calculateRelativeRoundedCorners(Landroid/graphics/Rect;)Landroid/view/RoundedCorners;
16553 HSPLandroid/view/InsetsState;->getRoundedCorners()Landroid/view/RoundedCorners;
16562 HSPLandroid/view/InsetsState;->setRoundedCorners(Landroid/view/RoundedCorners;)V
16735 HSPLandroid/view/RoundedCorners$1;-><init>()V
16736 HSPLandroid/view/RoundedCorners$1;->createFromParcel(Landroid/os/Parcel;)Landroid/view/RoundedCorne…
16737 HSPLandroid/view/RoundedCorners$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
16738 HSPLandroid/view/RoundedCorners;-><clinit>()V
16739 HSPLandroid/view/RoundedCorners;-><init>(Landroid/view/RoundedCorner;Landroid/view/RoundedCorner;La…
16740 HSPLandroid/view/RoundedCorners;-><init>([Landroid/view/RoundedCorner;)V
16741 HSPLandroid/view/RoundedCorners;->equals(Ljava/lang/Object;)Z
[all …]

12