/frameworks/base/core/tests/coretests/src/android/view/ |
D | RoundedCornersTest.java | 74 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 …]
|
D | InsetsStateTest.java | 654 mState.setRoundedCorners(new RoundedCorners( in testCalculateRelativeRoundedCorners()
|
/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 | InsetsState.java | 89 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);
|
D | WindowInsets.java | 93 @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()
|
D | DisplayShape.java | 91 final boolean isScreenRound = RoundedCorners.getBuiltInDisplayIsRound(res, displayUniqueId); in fromResources()
|
D | DisplayInfo.java | 346 public RoundedCorners roundedCorners; 585 roundedCorners = source.readTypedObject(RoundedCorners.CREATOR); in readFromParcel()
|
D | Display.java | 1135 final RoundedCorners roundedCorners = mDisplayInfo.roundedCorners; in getRoundedCorner()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | ScreenDecorationsUtils.java | 24 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/ |
D | RoundedCornerResDelegate.kt | 25 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/ |
D | DeferredDisplayUpdaterDiffTest.java | 21 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()
|
D | DisplayPolicyLayoutTests.java | 43 import android.view.RoundedCorners; 129 final RoundedCorners roundedCorners = mHasRoundedCorners in createDisplayFrames() 131 : RoundedCorners.NO_ROUNDED_CORNERS; in createDisplayFrames()
|
D | WallpaperControllerTests.java | 64 import android.view.RoundedCorners; 161 info, cutout, RoundedCorners.NO_ROUNDED_CORNERS, new PrivacyIndicatorBounds(), in testWallpaperSizeWithFixedTransform()
|
D | LetterboxUiControllerTest.java | 95 import android.view.RoundedCorners; 622 RoundedCorners roundedCorners = new RoundedCorners( in testGetRoundedCornersRadius_withRoundedCornersFromInsets()
|
D | DisplayPolicyTests.java | 22 import static android.view.RoundedCorners.NO_ROUNDED_CORNERS;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayFrames.java | 30 import android.view.RoundedCorners; 64 RoundedCorners roundedCorners, PrivacyIndicatorBounds indicatorBounds, in DisplayFrames() 81 @NonNull RoundedCorners roundedCorners, in update()
|
D | DisplayContent.java | 234 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/ |
D | PhoneStatusBarViewTest.kt | 28 import android.view.RoundedCorners 339 /* roundedCorners = */ RoundedCorners.NO_ROUNDED_CORNERS,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorHwcLayer.kt | 40 import android.view.RoundedCorners in <lambda>() 341 until RoundedCorners.ROUNDED_CORNER_POSITION_LENGTH) { in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 29 import android.view.RoundedCorners; 378 public RoundedCorners roundedCorners;
|
D | LocalDisplayAdapter.java | 48 import android.view.RoundedCorners; 744 mInfo.roundedCorners = RoundedCorners.fromResources( in getDisplayDeviceInfoLocked()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 16477 …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/ |
D | dirty-image-objects | 303 Landroid/view/RoundedCorners; 11
|
D | boot-image-profile.txt | 16541 …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 …]
|