Searched refs:roundableState (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | RoundableTest.kt | 27 assertEquals(0f, roundable.roundableState.topRoundness) in defaultConfig_shouldNotHaveRoundedCorner() 28 assertEquals(0f, roundable.roundableState.bottomRoundness) in defaultConfig_shouldNotHaveRoundedCorner() 43 assertEquals(1f, roundable.roundableState.topRoundness) in requestTopRoundness_update_and_invalidate_targetView() 51 assertEquals(1f, roundable.roundableState.bottomRoundness) in requestBottomRoundness_update_and_invalidate_targetView() 59 assertEquals(1f, roundable.roundableState.topRoundness) in requestRoundness_update_and_invalidate_targetView() 60 assertEquals(1f, roundable.roundableState.bottomRoundness) in requestRoundness_update_and_invalidate_targetView() 67 assertEquals(1f, roundable.roundableState.topRoundness) in requestRoundnessReset_update_and_invalidate_targetView() 68 assertEquals(1f, roundable.roundableState.bottomRoundness) in requestRoundnessReset_update_and_invalidate_targetView() 72 assertEquals(0f, roundable.roundableState.topRoundness) in requestRoundnessReset_update_and_invalidate_targetView() 73 assertEquals(0f, roundable.roundableState.bottomRoundness) in requestRoundnessReset_update_and_invalidate_targetView() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | Roundable.kt | 22 val roundableState: RoundableState in <lambda>() constant 29 get() = roundableState.topRoundness in <lambda>() 34 get() = roundableState.bottomRoundness in <lambda>() 38 get() = roundableState.maxRadius in <lambda>() 43 if (NotificationsImprovedHunAnimation.isEnabled) roundableState.topCornerRadius in <lambda>() 49 if (NotificationsImprovedHunAnimation.isEnabled) roundableState.bottomCornerRadius in <lambda>() 55 roundableState.radiiBuffer.also { radii -> in <lambda>() 80 val roundnessMap = roundableState.topRoundnessMap in <lambda>() 93 val wasAnimating = roundableState.isTopAnimating() in <lambda>() 101 roundableState.setTopRoundness(value = newValue, animated = shouldAnimate || animate) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | ActivatableNotificationViewTest.kt | 91 val roundableState = mView.roundableState in roundnessShouldBeTheSame_after_onDensityOrFontScaleChanged() constant 99 assertThat(mView.roundableState.hashCode()).isEqualTo(roundableState.hashCode()) in roundnessShouldBeTheSame_after_onDensityOrFontScaleChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | StackScrollAlgorithmTest.kt | 100 whenever(notificationRow.roundableState) in <lambda>()
|