Home
last modified time | relevance | path

Searched refs:RoundedCorner (Results 1 – 20 of 20) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DRoundedCornerTest.java39 RoundedCorner roundedCorner = new RoundedCorner( in testGetPosition()
40 RoundedCorner.POSITION_BOTTOM_LEFT, 2, 3, 4); in testGetPosition()
46 RoundedCorner roundedCorner = new RoundedCorner( in testGetRadius()
47 RoundedCorner.POSITION_BOTTOM_LEFT, 2, 3, 4); in testGetRadius()
53 RoundedCorner roundedCorner = new RoundedCorner( in testGetCenter()
54 RoundedCorner.POSITION_BOTTOM_LEFT, 2, 3, 4); in testGetCenter()
60 RoundedCorner roundedCorner = new RoundedCorner(RoundedCorner.POSITION_BOTTOM_LEFT); in testIsEmpty()
66 RoundedCorner roundedCorner = in testIsEmpty_negativeCenter()
67 new RoundedCorner(RoundedCorner.POSITION_BOTTOM_LEFT, 1, -2, -3); in testIsEmpty_negativeCenter()
73 RoundedCorner roundedCorner = new RoundedCorner( in testEquals()
[all …]
H A DRoundedCornersTest.java19 import static android.view.RoundedCorner.POSITION_BOTTOM_LEFT;
20 import static android.view.RoundedCorner.POSITION_BOTTOM_RIGHT;
21 import static android.view.RoundedCorner.POSITION_TOP_LEFT;
22 import static android.view.RoundedCorner.POSITION_TOP_RIGHT;
48 new RoundedCorner(POSITION_TOP_LEFT, 10, 10, 10),
49 new RoundedCorner(POSITION_TOP_RIGHT, 10, 190, 10),
50 new RoundedCorner(POSITION_BOTTOM_RIGHT, 20, 180, 380),
51 new RoundedCorner(POSITION_BOTTOM_LEFT, 20, 20, 380));
59 equalTo(new RoundedCorner(POSITION_TOP_LEFT, 10, 10, 10))); in testGetRoundedCorner()
97 RoundedCorner roundedCorner = new RoundedCorner(POSITION_BOTTOM_LEFT, 5, 6, 7); in testSetRoundedCorner()
[all …]
H A DInsetsStateTest.java25 import static android.view.RoundedCorner.POSITION_BOTTOM_LEFT;
26 import static android.view.RoundedCorner.POSITION_BOTTOM_RIGHT;
27 import static android.view.RoundedCorner.POSITION_TOP_LEFT;
28 import static android.view.RoundedCorner.POSITION_TOP_RIGHT;
625 new RoundedCorner(POSITION_TOP_LEFT, 10, 10, 10), in testCalculateRelativeRoundedCorners()
626 new RoundedCorner(POSITION_TOP_RIGHT, 10, 190, 10), in testCalculateRelativeRoundedCorners()
627 new RoundedCorner(POSITION_BOTTOM_RIGHT, 20, 180, 380), in testCalculateRelativeRoundedCorners()
628 new RoundedCorner(POSITION_BOTTOM_LEFT, 20, 20, 380))); in testCalculateRelativeRoundedCorners()
632 assertEquals(new RoundedCorner(POSITION_TOP_LEFT, 10, 9, 8), in testCalculateRelativeRoundedCorners()
634 assertEquals(new RoundedCorner(POSITION_TOP_RIGHT, 10, 189, 8), in testCalculateRelativeRoundedCorners()
[all …]
/aosp14/frameworks/base/core/java/android/view/
H A DRoundedCorners.java52 new RoundedCorner(POSITION_TOP_LEFT), new RoundedCorner(POSITION_TOP_RIGHT),
53 new RoundedCorner(POSITION_BOTTOM_RIGHT), new RoundedCorner(POSITION_BOTTOM_LEFT));
80 public RoundedCorners(RoundedCorner topLeft, RoundedCorner topRight, RoundedCorner bottomRight, in RoundedCorners()
133 final RoundedCorner[] roundedCorners = new RoundedCorner[ROUNDED_CORNER_POSITION_LENGTH]; in fromRadii()
352 final RoundedCorner[] roundedCorners = new RoundedCorner[ROUNDED_CORNER_POSITION_LENGTH]; in insetWithFrame()
393 final RoundedCorner[] roundedCorners = new RoundedCorner[ROUNDED_CORNER_POSITION_LENGTH]; in inset()
426 return new RoundedCorner( in insetRoundedCorner()
463 RoundedCorner[] roundedCorners = new RoundedCorner[ROUNDED_CORNER_POSITION_LENGTH]; in getAllRoundedCorners()
478 RoundedCorner[] roundedCorners = new RoundedCorner[ROUNDED_CORNER_POSITION_LENGTH]; in scale()
499 RoundedCorner[] newCorners = new RoundedCorner[ROUNDED_CORNER_POSITION_LENGTH]; in rotate()
[all …]
H A DRoundedCorner.java41 public final class RoundedCorner implements Parcelable { class
82 public RoundedCorner(@Position int position) { in RoundedCorner() method in RoundedCorner
101 public RoundedCorner(@Position int position, int radius, int centerX, in RoundedCorner() method in RoundedCorner
113 RoundedCorner(RoundedCorner rc) { in RoundedCorner() method in RoundedCorner
183 if (o instanceof RoundedCorner) { in equals()
184 RoundedCorner r = (RoundedCorner) o; in equals()
222 public static final @NonNull Creator<RoundedCorner> CREATOR = new Creator<RoundedCorner>() {
224 public RoundedCorner createFromParcel(Parcel in) {
225 return new RoundedCorner(in.readInt(), in.readInt(), in.readInt(), in.readInt());
229 public RoundedCorner[] newArray(int size) {
[all …]
H A DWindowInsets.java505 public RoundedCorner getRoundedCorner(@RoundedCorner.Position int position) { in getRoundedCorner()
1384 public Builder setRoundedCorner(@RoundedCorner.Position int position, in setRoundedCorner()
1385 @Nullable RoundedCorner roundedCorner) { in setRoundedCorner()
H A DDisplay.java1049 public RoundedCorner getRoundedCorner(@RoundedCorner.Position int position) { in getRoundedCorner()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DDividerRoundedCorner.java20 import static android.view.RoundedCorner.POSITION_BOTTOM_LEFT;
21 import static android.view.RoundedCorner.POSITION_BOTTOM_RIGHT;
22 import static android.view.RoundedCorner.POSITION_TOP_LEFT;
23 import static android.view.RoundedCorner.POSITION_TOP_RIGHT;
31 import android.view.RoundedCorner;
111 @RoundedCorner.Position
118 InvertedRoundedCornerDrawInfo(@RoundedCorner.Position int cornerPosition) { in InvertedRoundedCornerDrawInfo()
121 final RoundedCorner roundedCorner = getDisplay().getRoundedCorner(cornerPosition); in InvertedRoundedCornerDrawInfo()
H A DSplitLayout.java52 import android.view.RoundedCorner;
165 RoundedCorner corner = display.getRoundedCorner(RoundedCorner.POSITION_TOP_LEFT); in updateDividerConfig()
167 corner = display.getRoundedCorner(RoundedCorner.POSITION_TOP_RIGHT); in updateDividerConfig()
169 corner = display.getRoundedCorner(RoundedCorner.POSITION_BOTTOM_RIGHT); in updateDividerConfig()
171 corner = display.getRoundedCorner(RoundedCorner.POSITION_BOTTOM_LEFT); in updateDividerConfig()
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DFocusEventDebugView.java36 import android.view.RoundedCorner;
109 final RoundedCorner bottomLeft = in onApplyWindowInsets()
110 insets.getRoundedCorner(RoundedCorner.POSITION_BOTTOM_LEFT); in onApplyWindowInsets()
115 final RoundedCorner bottomRight = in onApplyWindowInsets()
116 insets.getRoundedCorner(RoundedCorner.POSITION_BOTTOM_RIGHT); in onApplyWindowInsets()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DScreenDecorHwcLayer.kt39 import android.view.RoundedCorner
340 for (i in RoundedCorner.POSITION_TOP_LEFT
348 if (hasTopRoundedCorner && (i == RoundedCorner.POSITION_TOP_LEFT ||
349 i == RoundedCorner.POSITION_TOP_RIGHT)) {
351 } else if (hasBottomRoundedCorner && (i == RoundedCorner.POSITION_BOTTOM_LEFT ||
352 i == RoundedCorner.POSITION_BOTTOM_RIGHT)) {
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java42 import android.view.RoundedCorner;
232 final RoundedCorner topLeftRounded = in onApplyWindowInsets()
233 insets.getRoundedCorner(RoundedCorner.POSITION_TOP_LEFT); in onApplyWindowInsets()
238 final RoundedCorner topRightRounded = in onApplyWindowInsets()
239 insets.getRoundedCorner(RoundedCorner.POSITION_TOP_RIGHT); in onApplyWindowInsets()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DLetterboxUiControllerTest.java85 import android.view.RoundedCorner;
577 /*bottomRight=*/ new RoundedCorner(RoundedCorner.POSITION_BOTTOM_RIGHT, in testGetRoundedCornersRadius_withRoundedCornersFromInsets()
579 /*bottomLeft=*/ new RoundedCorner(RoundedCorner.POSITION_BOTTOM_LEFT, in testGetRoundedCornersRadius_withRoundedCornersFromInsets()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DLetterboxUiController.java121 import android.view.RoundedCorner;
1540 getInsetsStateCornerRadius(insetsState, RoundedCorner.POSITION_BOTTOM_LEFT), in getRoundedCornersRadius()
1541 getInsetsStateCornerRadius(insetsState, RoundedCorner.POSITION_BOTTOM_RIGHT)); in getRoundedCornersRadius()
1587 InsetsState insetsState, @RoundedCorner.Position int position) { in getInsetsStateCornerRadius()
1588 RoundedCorner corner = insetsState.getRoundedCorners().getRoundedCorner(position); in getInsetsStateCornerRadius()
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt16938 HSPLandroid/view/RoundedCorner$1;-><init>()V
16939 HSPLandroid/view/RoundedCorner$1;->createFromParcel(Landroid/os/Parcel;)Landroid/view/RoundedCorner;
16941 HSPLandroid/view/RoundedCorner;-><clinit>()V
16942 HSPLandroid/view/RoundedCorner;-><init>(I)V
16943 HSPLandroid/view/RoundedCorner;-><init>(IIII)V
16946 HSPLandroid/view/RoundedCorner;->getRadius()I
16947 HSPLandroid/view/RoundedCorner;->isEmpty()Z
16952 …ners;-><init>(Landroid/view/RoundedCorner;Landroid/view/RoundedCorner;Landroid/view/RoundedCorner;…
31454 Landroid/view/RoundedCorner$1;
31455 Landroid/view/RoundedCorner;
[all …]
H A Dpreloaded-classes8656 android.view.RoundedCorner$1
8657 android.view.RoundedCorner
14032 [Landroid.view.RoundedCorner;
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt17002 HSPLandroid/view/RoundedCorner$1;-><init>()V
17003 HSPLandroid/view/RoundedCorner$1;->createFromParcel(Landroid/os/Parcel;)Landroid/view/RoundedCorner;
17005 HSPLandroid/view/RoundedCorner;-><clinit>()V
17006 HSPLandroid/view/RoundedCorner;-><init>(I)V
17007 HSPLandroid/view/RoundedCorner;-><init>(IIII)V
17010 HSPLandroid/view/RoundedCorner;->getRadius()I
17011 HSPLandroid/view/RoundedCorner;->isEmpty()Z
17016 …ners;-><init>(Landroid/view/RoundedCorner;Landroid/view/RoundedCorner;Landroid/view/RoundedCorner;…
41588 Landroid/view/RoundedCorner$1;
41589 Landroid/view/RoundedCorner;
[all …]
H A Dpreloaded-classes8687 android.view.RoundedCorner$1
8688 android.view.RoundedCorner
17027 [Landroid.view.RoundedCorner;
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt50256 method @Nullable public android.view.RoundedCorner getRoundedCorner(int);
51616 public final class RoundedCorner implements android.os.Parcelable {
51617 ctor public RoundedCorner(int, int, int, int);
51623 …field @NonNull public static final android.os.Parcelable.Creator<android.view.RoundedCorner> CREAT…
53781 method @Nullable public android.view.RoundedCorner getRoundedCorner(int);
53817 …blic android.view.WindowInsets.Builder setRoundedCorner(int, @Nullable android.view.RoundedCorner);
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...