/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 | 124 RoundedCorner roundedCorner = new RoundedCorner(POSITION_BOTTOM_LEFT, 5, 6, 7); in testSetRoundedCorner() local 125 mRoundedCorners.setRoundedCorner(POSITION_BOTTOM_LEFT, roundedCorner); in testSetRoundedCorner() 127 assertThat(mRoundedCorners.getRoundedCorner(POSITION_BOTTOM_LEFT), equalTo(roundedCorner)); in testSetRoundedCorner()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/ |
D | ProgressBarPreference.kt | 64 val roundedCorner: Boolean constant 80 roundedCorner = model.roundedCorner, in ProgressBarPreference() 98 roundedCorner = model.roundedCorner, in ProgressBarWithDataPreference() 108 roundedCorner: Boolean = true, in ProgressBarPreference() 113 LinearProgressBar(progress, height, roundedCorner) in ProgressBarPreference() 129 roundedCorner: Boolean = true, 142 LinearProgressBar(progress, height, roundedCorner) in <lambda>()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/ui/ |
D | ProgressBar.kt | 49 roundedCorner: Boolean = true in LinearProgressBar() 60 drawLinearBarTrack(trackColor, roundedCorner) in LinearProgressBar() 61 drawLinearBar(progress, color, roundedCorner) in LinearProgressBar() 69 roundedCorner: Boolean in DrawScope() 77 cornerRadius = if (roundedCorner) CornerRadius( in DrawScope() 86 roundedCorner: Boolean in DrawScope() 87 ) = drawLinearBar(1f, color, roundedCorner) in DrawScope()
|
/frameworks/base/core/java/android/view/ |
D | RoundedCorners.java | 457 public void setRoundedCorner(@Position int position, @Nullable RoundedCorner roundedCorner) { in setRoundedCorner() argument 458 mRoundedCorners[position] = roundedCorner == null in setRoundedCorner() 459 ? new RoundedCorner(position) : roundedCorner; in setRoundedCorner() 486 final RoundedCorner roundedCorner = mRoundedCorners[i]; in scale() local 489 (int) (roundedCorner.getRadius() * scale), in scale() 490 (int) (roundedCorner.getCenter().x * scale), in scale() 491 (int) (roundedCorner.getCenter().y * scale)); in scale() 558 for (RoundedCorner roundedCorner : mRoundedCorners) { in hashCode() 559 result = result * 31 + roundedCorner.hashCode(); in hashCode()
|
D | WindowInsets.java | 1628 @Nullable RoundedCorner roundedCorner) { in setRoundedCorner() argument 1629 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 | 66 val roundedCorner = in onInitialized() constant 70 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()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshotBuilder.cpp | 353 snapshot.roundedCorner = RoundedCornerState(); in getRootSnapshot() 910 snapshot.isOpaque = snapshot.contentOpaque && !snapshot.roundedCorner.hasRoundedCorners() && in updateSnapshot() 926 snapshot.roundedCorner = RoundedCornerState(); in updateRoundedCorner() 929 snapshot.roundedCorner = RoundedCornerState(); in updateRoundedCorner() 931 if (parentSnapshot.roundedCorner.hasRoundedCorners()) { in updateRoundedCorner() 932 parentRoundedCorner = parentSnapshot.roundedCorner; in updateRoundedCorner() 952 snapshot.roundedCorner = parentRoundedCorner; in updateRoundedCorner() 954 snapshot.roundedCorner = layerSettings; in updateRoundedCorner() 957 snapshot.roundedCorner = layerSettings; in updateRoundedCorner() 959 snapshot.roundedCorner = parentRoundedCorner; in updateRoundedCorner()
|
D | LayerSnapshot.h | 69 RoundedCornerState roundedCorner; member
|
D | LayerSnapshot.cpp | 507 isOpaque = contentOpaque && !roundedCorner.hasRoundedCorners() && color.a == 1.f; in merge()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerFE.cpp | 139 const auto& roundedCornerState = mSnapshot->roundedCorner; in prepareClientCompositionInternal() 373 return mSnapshot->roundedCorner.hasRoundedCorners(); in hasRoundedCorners()
|
D | LayerProtoHelper.cpp | 383 (snapshot.roundedCorner.radius.x + snapshot.roundedCorner.radius.y) / 2.0); in writeSnapshotToProto() 404 LayerProtoHelper::writeToProto(snapshot.roundedCorner.cropRect, in writeSnapshotToProto()
|
D | Layer.cpp | 4341 snapshot->roundedCorner = getRoundedCornerState(); in updateSnapshot()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerSnapshotTest.cpp | 1075 EXPECT_TRUE(getSnapshot({.id = 1})->roundedCorner.hasRoundedCorners()); in TEST_F() 1076 EXPECT_EQ(getSnapshot({.id = 1})->roundedCorner.radius.x, 42.f); in TEST_F() 1077 EXPECT_TRUE(getSnapshot({.id = 2})->roundedCorner.hasRoundedCorners()); in TEST_F() 1099 EXPECT_FALSE(getSnapshot({.id = 1})->roundedCorner.hasRoundedCorners()); in TEST_F() 1101 EXPECT_TRUE(getSnapshot({.id = 2})->roundedCorner.hasRoundedCorners()); in TEST_F() 1110 EXPECT_TRUE(getSnapshot({.id = 1})->roundedCorner.hasRoundedCorners()); in TEST_F() 1111 EXPECT_EQ(getSnapshot({.id = 1})->roundedCorner.radius.x, 42.f); in TEST_F()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |