/frameworks/base/core/tests/coretests/src/android/view/ |
D | RoundedCornersTest.java | 47 final RoundedCorners mRoundedCorners = new RoundedCorners( 56 RoundedCorners roundedCorners = RoundedCorners.fromRadii(radius, 200, 400); in testGetRoundedCorner() 70 RoundedCorners roundedCorners = RoundedCorners.NO_ROUNDED_CORNERS; in testGetRoundedCorner_noRoundedCorners() 81 equalTo(RoundedCorners.fromRadii(new Pair<>(10, 20), 200, 400).hashCode())); in testHashCode() 83 not(equalTo(RoundedCorners.fromRadii(new Pair<>(5, 10), 200, 400).hashCode()))); in testHashCode() 89 equalTo(RoundedCorners.fromRadii(new Pair<>(10, 20), 200, 400))); in testEquals() 92 not(equalTo(RoundedCorners.fromRadii(new Pair<>(5, 10), 200, 400)))); in testEquals() 114 RoundedCorners roundedCorners = mRoundedCorners.inset(1, 2, 3, 4); in testInsetRoundedCorners_partialOverlap() 128 RoundedCorners roundedCorners = mRoundedCorners.inset(20, 20, 20, 20); in testInsetRoundedCorners_noOverlap() 139 RoundedCorners roundedCorners = RoundedCorners.fromRadii(radius, 200, 400) in testRotateRoundedCorners_90() [all …]
|
D | InsetsStateTest.java | 502 mState.setRoundedCorners(new RoundedCorners( in testCalculateRelativeRoundedCorners()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | ScreenDecorationsUtils.java | 21 import android.view.RoundedCorners; 46 float defaultRadius = RoundedCorners.getRoundedCornerRadius(resources, displayUniqueId) in getWindowCornerRadius() 47 - RoundedCorners.getRoundedCornerRadiusAdjustment(resources, displayUniqueId); in getWindowCornerRadius() 49 float topRadius = RoundedCorners.getRoundedCornerTopRadius(resources, displayUniqueId) in getWindowCornerRadius() 50 - RoundedCorners.getRoundedCornerRadiusTopAdjustment(resources, displayUniqueId); in getWindowCornerRadius() 54 float bottomRadius = RoundedCorners.getRoundedCornerBottomRadius(resources, displayUniqueId) in getWindowCornerRadius() 55 - RoundedCorners.getRoundedCornerRadiusBottomAdjustment(resources, displayUniqueId); in getWindowCornerRadius()
|
/frameworks/base/core/java/android/view/ |
D | RoundedCorners.java | 49 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 …]
|
D | RoundedCorners.aidl | 19 parcelable RoundedCorners;
|
D | WindowInsets.java | 83 @Nullable private final RoundedCorners mRoundedCorners; 154 RoundedCorners roundedCorners, in WindowInsets() 1012 ? RoundedCorners.NO_ROUNDED_CORNERS in insetUnchecked() 1104 private RoundedCorners mRoundedCorners = RoundedCorners.NO_ROUNDED_CORNERS; 1339 public Builder setRoundedCorners(RoundedCorners roundedCorners) { in setRoundedCorners() 1341 ? roundedCorners : RoundedCorners.NO_ROUNDED_CORNERS; in setRoundedCorners()
|
D | InsetsState.java | 192 private RoundedCorners mRoundedCorners = RoundedCorners.NO_ROUNDED_CORNERS; 296 private RoundedCorners calculateRelativeRoundedCorners(Rect frame) { in calculateRelativeRoundedCorners() 298 return RoundedCorners.NO_ROUNDED_CORNERS; in calculateRelativeRoundedCorners() 568 public void setRoundedCorners(RoundedCorners roundedCorners) { in setRoundedCorners() 572 public RoundedCorners getRoundedCorners() { in getRoundedCorners() 982 mRoundedCorners = in.readTypedObject(RoundedCorners.CREATOR); in readFromParcel()
|
D | DisplayInfo.java | 318 public RoundedCorners roundedCorners; 502 roundedCorners = source.readTypedObject(RoundedCorners.CREATOR); in readFromParcel()
|
D | Display.java | 986 final RoundedCorners roundedCorners = mDisplayInfo.roundedCorners; in getRoundedCorner()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
D | RoundedCornerResDelegate.kt | 25 import android.view.RoundedCorners in <lambda>() 99 val hasDefaultRadius = RoundedCorners.getRoundedCornerRadius(res, displayUniqueId) > 0 in <lambda>() 101 (RoundedCorners.getRoundedCornerTopRadius(res, displayUniqueId) > 0) in <lambda>() 103 (RoundedCorners.getRoundedCornerBottomRadius(res, displayUniqueId) > 0) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayFrames.java | 31 import android.view.RoundedCorners; 59 RoundedCorners roundedCorners, PrivacyIndicatorBounds indicatorBounds) { in DisplayFrames() 75 @NonNull RoundedCorners roundedCorners, in update()
|
D | DisplayContent.java | 224 import android.view.RoundedCorners; 384 RoundedCorners mInitialRoundedCorners; 385 private final RotationCache<RoundedCorners, RoundedCorners> mRoundedCornerCache = 401 RoundedCorners mBaseRoundedCorners; 1966 final RoundedCorners roundedCorners = calculateRoundedCornersForRotation(rotation); in startFixedRotationTransform() 2181 final RoundedCorners roundedCorners = calculateRoundedCornersForRotation(rotation); in updateDisplayAndOrientation() 2251 RoundedCorners calculateRoundedCornersForRotation(int rotation) { in calculateRoundedCornersForRotation() 2256 private RoundedCorners calculateRoundedCornersForRotationUncached( in calculateRoundedCornersForRotationUncached() 2257 RoundedCorners roundedCorners, int rotation) { in calculateRoundedCornersForRotationUncached() 2258 if (roundedCorners == null || roundedCorners == RoundedCorners.NO_ROUNDED_CORNERS) { in calculateRoundedCornersForRotationUncached() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyLayoutTests.java | 48 import android.view.RoundedCorners; 133 final RoundedCorners roundedCorners = mHasRoundedCorners in createDisplayFrames() 135 : RoundedCorners.NO_ROUNDED_CORNERS; in createDisplayFrames()
|
D | LetterboxUiControllerTest.java | 75 import android.view.RoundedCorners; 532 RoundedCorners roundedCorners = new RoundedCorners( in testGetRoundedCornersRadius_withRoundedCornersFromInsets()
|
D | WallpaperControllerTests.java | 61 import android.view.RoundedCorners; 170 info, cutout, RoundedCorners.NO_ROUNDED_CORNERS, new PrivacyIndicatorBounds()); in testWallpaperSizeWithFixedTransform()
|
D | DisplayPolicyTests.java | 23 import static android.view.RoundedCorners.NO_ROUNDED_CORNERS;
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 26 import android.view.RoundedCorners; 303 public RoundedCorners roundedCorners;
|
D | LocalDisplayAdapter.java | 41 import android.view.RoundedCorners; 691 mInfo.roundedCorners = RoundedCorners.fromResources( in getDisplayDeviceInfoLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorHwcLayer.kt | 40 import android.view.RoundedCorners in <lambda>() 310 until RoundedCorners.ROUNDED_CORNER_POSITION_LENGTH) { in <lambda>()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 16429 …InsetsState;->calculateRelativeRoundedCorners(Landroid/graphics/Rect;)Landroid/view/RoundedCorners; 16442 HSPLandroid/view/InsetsState;->getRoundedCorners()Landroid/view/RoundedCorners; 16455 HSPLandroid/view/InsetsState;->setRoundedCorners(Landroid/view/RoundedCorners;)V 16638 HSPLandroid/view/RoundedCorners$1;-><init>()V 16639 HSPLandroid/view/RoundedCorners$1;->createFromParcel(Landroid/os/Parcel;)Landroid/view/RoundedCorne… 16640 HSPLandroid/view/RoundedCorners$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; 16641 HSPLandroid/view/RoundedCorners;-><clinit>()V 16642 HSPLandroid/view/RoundedCorners;-><init>(Landroid/view/RoundedCorner;Landroid/view/RoundedCorner;La… 16643 HSPLandroid/view/RoundedCorners;-><init>([Landroid/view/RoundedCorner;)V 16644 HSPLandroid/view/RoundedCorners;->equals(Ljava/lang/Object;)Z [all …]
|
D | preloaded-classes | 8150 android.view.RoundedCorners$1 8151 android.view.RoundedCorners
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 16492 …InsetsState;->calculateRelativeRoundedCorners(Landroid/graphics/Rect;)Landroid/view/RoundedCorners; 16505 HSPLandroid/view/InsetsState;->getRoundedCorners()Landroid/view/RoundedCorners; 16518 HSPLandroid/view/InsetsState;->setRoundedCorners(Landroid/view/RoundedCorners;)V 16701 HSPLandroid/view/RoundedCorners$1;-><init>()V 16702 HSPLandroid/view/RoundedCorners$1;->createFromParcel(Landroid/os/Parcel;)Landroid/view/RoundedCorne… 16703 HSPLandroid/view/RoundedCorners$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; 16704 HSPLandroid/view/RoundedCorners;-><clinit>()V 16705 HSPLandroid/view/RoundedCorners;-><init>(Landroid/view/RoundedCorner;Landroid/view/RoundedCorner;La… 16706 HSPLandroid/view/RoundedCorners;-><init>([Landroid/view/RoundedCorner;)V 16707 HSPLandroid/view/RoundedCorners;->equals(Ljava/lang/Object;)Z [all …]
|
D | preloaded-classes | 8181 android.view.RoundedCorners$1 8182 android.view.RoundedCorners
|
/frameworks/base/services/ |
D | art-profile | 52736 …o(Lcom/android/server/wm/DisplayContent;Landroid/view/RoundedCorners;I)Landroid/view/RoundedCorner… 52779 …/DisplayContent;->calculateRoundedCornersForRotation(I)Landroid/view/RoundedCorners;+]Lcom/android… 52780 …culateRoundedCornersForRotationUncached(Landroid/view/RoundedCorners;I)Landroid/view/RoundedCorner… 53068 …;Landroid/view/DisplayInfo;Landroid/view/DisplayCutout;Landroid/view/RoundedCorners;Landroid/view/… 53071 …/DisplayFrames;->update(IIILandroid/view/DisplayCutout;Landroid/view/RoundedCorners;Landroid/view/…
|