Searched refs:topRoundness (Results 1 – 6 of 6) 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() 43 assertEquals(1f, roundable.roundableState.topRoundness) in requestTopRoundness_update_and_invalidate_targetView() 59 assertEquals(1f, roundable.roundableState.topRoundness) in requestRoundness_update_and_invalidate_targetView() 67 assertEquals(1f, roundable.roundableState.topRoundness) in requestRoundnessReset_update_and_invalidate_targetView() 72 assertEquals(0f, roundable.roundableState.topRoundness) in requestRoundnessReset_update_and_invalidate_targetView() 95 assertEquals(0.1f, roundable.roundableState.topRoundness) in roundness_take_maxValue_onMultipleSources_first_lower() 100 assertEquals(0.2f, roundable.roundableState.topRoundness) in roundness_take_maxValue_onMultipleSources_first_lower() 107 assertEquals(0.5f, roundable.roundableState.topRoundness) in roundness_take_maxValue_onMultipleSources_first_higher() 112 assertEquals(0.5f, roundable.roundableState.topRoundness) in roundness_take_maxValue_onMultipleSources_first_higher() 119 assertEquals(0.1f, roundable.roundableState.topRoundness) in roundness_take_maxValue_onMultipleSources_first_higher_second_step() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | Roundable.kt | 28 val topRoundness: Float in <lambda>() constant 29 get() = roundableState.topRoundness in <lambda>() 44 else topRoundness * maxRadius in <lambda>() 283 return topRoundness != 0f || bottomRoundness != 0f in <lambda>() 331 internal var topRoundness = 0f variable 342 val topRadius = topRoundness * maxRadius 350 return topRadius - (overShoot * topRoundness / (topRoundness + bottomRoundness)) 359 val topRadius = topRoundness * maxRadius 368 (overShoot * bottomRoundness / (topRoundness + bottomRoundness)) 414 append("top: { value: $topRoundness, requests: $topRoundnessMap}") in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationBackgroundView.java | 269 public void setRadius(float topRoundness, float bottomRoundness) { in setRadius() argument 270 if (topRoundness == mCornerRadii[0] && bottomRoundness == mCornerRadii[4]) { in setRadius() 274 mCornerRadii[0] = topRoundness; in setRadius() 275 mCornerRadii[1] = topRoundness; in setRadius() 276 mCornerRadii[2] = topRoundness; in setRadius() 277 mCornerRadii[3] = topRoundness; in setRadius()
|
D | ExpandableOutlineView.java | 148 float topRoundness, in getRoundedRectPath() argument 152 mTmpCornerRadii[0] = topRoundness; in getRoundedRectPath() 153 mTmpCornerRadii[1] = topRoundness; in getRoundedRectPath() 154 mTmpCornerRadii[2] = topRoundness; in getRoundedRectPath() 155 mTmpCornerRadii[3] = topRoundness; in getRoundedRectPath()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | ActivatableNotificationViewTest.kt | 92 assertThat(mView.topRoundness).isEqualTo(0f) in roundnessShouldBeTheSame_after_onDensityOrFontScaleChanged() 94 assertThat(mView.topRoundness).isEqualTo(1f) in roundnessShouldBeTheSame_after_onDensityOrFontScaleChanged() 98 assertThat(mView.topRoundness).isEqualTo(1f) in roundnessShouldBeTheSame_after_onDensityOrFontScaleChanged()
|
D | NotificationTestHelper.java | 285 float topRoundness, in createRowWithRoundness() argument 290 row.requestRoundness(topRoundness, bottomRoundness, sourceType, /*animate = */ false); in createRowWithRoundness() 291 assertEquals(topRoundness, row.getTopRoundness(), /* delta = */ 0f); in createRowWithRoundness()
|