Home
last modified time | relevance | path

Searched refs:bottomRoundness (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableOutlineView.java134 float bottomRoundness = mAlwaysRoundBothCorners in getClipPath() local
136 if (topRoundness + bottomRoundness > height) { in getClipPath()
137 float overShoot = topRoundness + bottomRoundness - height; in getClipPath()
140 bottomRoundness -= overShoot * mCurrentBottomRoundness in getClipPath()
144 bottomRoundness, mTmpPath); in getClipPath()
149 float topRoundness, float bottomRoundness, Path outPath) { in getRoundedRectPath() argument
153 float bottomRoundnessX = bottomRoundness; in getRoundedRectPath()
165 if (bottomRoundness > 0.0f) { in getRoundedRectPath()
166 outPath.lineTo(right, bottom - bottomRoundness); in getRoundedRectPath()
169 outPath.quadTo(left, bottom, left, bottom - bottomRoundness); in getRoundedRectPath()
[all …]
DNotificationBackgroundView.java230 public void setRoundness(float topRoundness, float bottomRoundness) { in setRoundness() argument
231 if (topRoundness == mCornerRadii[0] && bottomRoundness == mCornerRadii[4]) { in setRoundness()
234 mBottomIsRounded = bottomRoundness != 0.0f; in setRoundness()
239 mCornerRadii[4] = bottomRoundness; in setRoundness()
240 mCornerRadii[5] = bottomRoundness; in setRoundness()
241 mCornerRadii[6] = bottomRoundness; in setRoundness()
242 mCornerRadii[7] = bottomRoundness; in setRoundness()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationRoundnessManager.java92 float bottomRoundness = getRoundness(view, false /* top */); in updateViewWithoutCallback() local
94 boolean bottomChanged = view.setBottomRoundness(bottomRoundness, animate); in updateViewWithoutCallback()
DNotificationChildrenContainer.java1259 float bottomRoundness = last ? currentBottomRoundness : 0.0f;
1260 child.setBottomRoundness(bottomRoundness, isShown() /* animate */);