Home
last modified time | relevance | path

Searched refs:roundable (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DRoundableTest.kt31 assertEquals(false, roundable.hasRoundedCorner())
36 roundable.applyRoundnessAndInvalidate()
68 roundable.requestRoundness(1f, 1f, SOURCE1)
96 roundable.requestRoundness(0.1f, 0.1f, SOURCE1)
100 roundable.requestRoundness(0.2f, 0.2f, SOURCE2)
108 roundable.requestRoundness(0.5f, 0.5f, SOURCE1)
156 roundable.requestRoundness(1f, 1f, SOURCE1)
165 roundable.requestRoundness(1f, 0f, SOURCE1)
174 roundable.requestRoundness(0f, 1f, SOURCE1)
183 roundable.requestRoundness(1f, 1f, SOURCE1)
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DRoundable.kt336 private val roundable: Roundable,
346 private val topAnimatable = topAnimatable(roundable)
349 private val bottomAnimatable = bottomAnimatable(roundable)
363 val height = roundable.clipHeight
380 val height = roundable.clipHeight
430 roundable.applyRoundnessAndInvalidate()
447 private fun topAnimatable(roundable: Roundable): AnimatableProperty =
453 roundable.roundableState.topRoundness = value
454 roundable.applyRoundnessAndInvalidate()
468 roundable.roundableState.bottomRoundness = value
[all …]