Home
last modified time | relevance | path

Searched refs:roundableState (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DRoundableTest.kt29 assertEquals(0f, roundable.roundableState.topRoundness)
30 assertEquals(0f, roundable.roundableState.bottomRoundness)
45 assertEquals(1f, roundable.roundableState.topRoundness)
53 assertEquals(1f, roundable.roundableState.bottomRoundness)
61 assertEquals(1f, roundable.roundableState.topRoundness)
62 assertEquals(1f, roundable.roundableState.bottomRoundness)
69 assertEquals(1f, roundable.roundableState.topRoundness)
74 assertEquals(0f, roundable.roundableState.topRoundness)
97 assertEquals(0.1f, roundable.roundableState.topRoundness)
198 override val roundableState =
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DRoundable.kt24 val roundableState: RoundableState
32 get() = roundableState.topRoundness
38 get() = roundableState.bottomRoundness
43 get() = roundableState.maxRadius
49 if (roundableState.newHeadsUpAnim.isEnabled) roundableState.topCornerRadius
56 if (roundableState.newHeadsUpAnim.isEnabled) roundableState.bottomCornerRadius
63 roundableState.radiiBuffer.also { radii ->
89 val roundnessMap = roundableState.topRoundnessMap
136 animate = roundableState.targetView.isShown
205 animate = roundableState.targetView.isShown
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DActivatableNotificationViewTest.kt90 val roundableState = mView.roundableState regex
98 assertThat(mView.roundableState.hashCode()).isEqualTo(roundableState.hashCode())