Searched refs:roundedCorner (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | RoundedCornerTest.java | 39 RoundedCorner roundedCorner = new RoundedCorner( in testGetPosition() local 41 assertThat(roundedCorner.getPosition(), is(RoundedCorner.POSITION_BOTTOM_LEFT)); in testGetPosition() 46 RoundedCorner roundedCorner = new RoundedCorner( in testGetRadius() local 48 assertThat(roundedCorner.getRadius(), is(2)); in testGetRadius() 53 RoundedCorner roundedCorner = new RoundedCorner( in testGetCenter() local 55 assertThat(roundedCorner.getCenter(), equalTo(new Point(3, 4))); in testGetCenter() 60 RoundedCorner roundedCorner = new RoundedCorner(RoundedCorner.POSITION_BOTTOM_LEFT); in testIsEmpty() local 61 assertThat(roundedCorner.isEmpty(), is(true)); in testIsEmpty() 66 RoundedCorner roundedCorner = in testIsEmpty_negativeCenter() local 68 assertThat(roundedCorner.isEmpty(), is(true)); in testIsEmpty_negativeCenter() [all …]
|
D | RoundedCornersTest.java | 97 RoundedCorner roundedCorner = new RoundedCorner(POSITION_BOTTOM_LEFT, 5, 6, 7); in testSetRoundedCorner() local 98 mRoundedCorners.setRoundedCorner(POSITION_BOTTOM_LEFT, roundedCorner); in testSetRoundedCorner() 100 assertThat(mRoundedCorners.getRoundedCorner(POSITION_BOTTOM_LEFT), equalTo(roundedCorner)); in testSetRoundedCorner()
|
/frameworks/base/core/java/android/view/ |
D | RoundedCorners.java | 451 public void setRoundedCorner(@Position int position, @Nullable RoundedCorner roundedCorner) { in setRoundedCorner() argument 452 mRoundedCorners[position] = roundedCorner == null in setRoundedCorner() 453 ? new RoundedCorner(position) : roundedCorner; in setRoundedCorner() 480 final RoundedCorner roundedCorner = mRoundedCorners[i]; in scale() local 483 (int) (roundedCorner.getRadius() * scale), in scale() 484 (int) (roundedCorner.getCenter().x * scale), in scale() 485 (int) (roundedCorner.getCenter().y * scale)); in scale() 552 for (RoundedCorner roundedCorner : mRoundedCorners) { in hashCode() 553 result = result * 31 + roundedCorner.hashCode(); in hashCode()
|
D | WindowInsets.java | 1355 @Nullable RoundedCorner roundedCorner) { in setRoundedCorner() argument 1356 mRoundedCorners.setRoundedCorner(position, roundedCorner); in setRoundedCorner()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | DividerRoundedCorner.java | 121 final RoundedCorner roundedCorner = getDisplay().getRoundedCorner(cornerPosition); in InvertedRoundedCornerDrawInfo() local 122 mRadius = roundedCorner == null ? 0 : roundedCorner.getRadius(); in InvertedRoundedCornerDrawInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | PanelTaskViewController.kt | 72 val roundedCorner = in onInitialized() constant 76 val radii = FloatArray(8) { roundedCorner.toFloat() } in onInitialized()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
D | TestHelper.java | 75 public ListRowPresenterBuilder configRoundedCorner(boolean roundedCorner) { in configRoundedCorner() argument 76 mRoundedCorner = roundedCorner; in configRoundedCorner()
|