Home
last modified time | relevance | path

Searched refs:POSITION_TOP_LEFT (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A DRoundedCornersTest.java21 import static android.view.RoundedCorner.POSITION_TOP_LEFT;
48 new RoundedCorner(POSITION_TOP_LEFT, 10, 10, 10),
58 assertThat(roundedCorners.getRoundedCorner(POSITION_TOP_LEFT), in testGetRoundedCorner()
59 equalTo(new RoundedCorner(POSITION_TOP_LEFT, 10, 10, 10))); in testGetRoundedCorner()
72 assertThat(roundedCorners.getRoundedCorner(POSITION_TOP_LEFT), nullValue()); in testGetRoundedCorner_noRoundedCorners()
116 assertThat(roundedCorners.mRoundedCorners[POSITION_TOP_LEFT], in testInsetRoundedCorners_partialOverlap()
117 equalTo(new RoundedCorner(POSITION_TOP_LEFT, 10, 9, 8))); in testInsetRoundedCorners_partialOverlap()
142 assertThat(roundedCorners.getRoundedCorner(POSITION_TOP_LEFT), in testRotateRoundedCorners_90()
143 equalTo(new RoundedCorner(POSITION_TOP_LEFT, 10, 10, 10))); in testRotateRoundedCorners_90()
158 assertThat(roundedCorners.getRoundedCorner(POSITION_TOP_LEFT), in testRotateRoundedCorners_270()
[all …]
H A DInsetsStateTest.java32 import static android.view.RoundedCorner.POSITION_TOP_LEFT;
483 new RoundedCorner(POSITION_TOP_LEFT, 10, 10, 10), in testCalculateRelativeRoundedCorners()
490 assertEquals(new RoundedCorner(POSITION_TOP_LEFT, 10, 9, 8), in testCalculateRelativeRoundedCorners()
491 windowInsets.getRoundedCorner(POSITION_TOP_LEFT)); in testCalculateRelativeRoundedCorners()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DDividerRoundedCorner.java22 import static android.view.RoundedCorner.POSITION_TOP_LEFT;
64 mTopLeftCorner = new InvertedRoundedCornerDrawInfo(POSITION_TOP_LEFT); in onAttachedToWindow()
153 return mCornerPosition == POSITION_TOP_LEFT || mCornerPosition == POSITION_BOTTOM_LEFT; in isLeftCorner()
157 return mCornerPosition == POSITION_TOP_LEFT || mCornerPosition == POSITION_TOP_RIGHT; in isTopCorner()
H A DSplitLayout.java135 RoundedCorner corner = display.getRoundedCorner(RoundedCorner.POSITION_TOP_LEFT); in getDividerInsets()
/aosp12/frameworks/base/core/java/android/view/
H A DRoundedCorner.java46 public static final int POSITION_TOP_LEFT = 0; field in RoundedCorner
64 POSITION_TOP_LEFT,
165 case POSITION_TOP_LEFT: in getPositionString()
H A DRoundedCorners.java21 import static android.view.RoundedCorner.POSITION_TOP_LEFT;
52 new RoundedCorner(POSITION_TOP_LEFT), new RoundedCorner(POSITION_TOP_RIGHT),
81 mRoundedCorners[POSITION_TOP_LEFT] = topLeft; in RoundedCorners()
345 case POSITION_TOP_LEFT: in insetRoundedCorner()
450 case POSITION_TOP_LEFT: in createRoundedCorner()
452 POSITION_TOP_LEFT, in createRoundedCorner()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/stagesplit/
H A DOutlineView.java21 import static android.view.RoundedCorner.POSITION_TOP_LEFT;
54 mRadii[0] = mRadii[1] = getCornerRadius(POSITION_TOP_LEFT); in onAttachedToWindow()
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt48284 field public static final int POSITION_TOP_LEFT = 0; // 0x0