Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableOutlineView.java111 float topRoundness = mAlwaysRoundBothCorners in getClipPath() local
123 Math.max(getActualHeight() - mClipBottomAmount, (int) (top + topRoundness))); in getClipPath()
136 if (topRoundness + bottomRoundness > height) { in getClipPath()
137 float overShoot = topRoundness + bottomRoundness - height; in getClipPath()
138 topRoundness -= overShoot * mCurrentTopRoundness in getClipPath()
143 getRoundedRectPath(left, top, right, bottom, topRoundness, in getClipPath()
149 float topRoundness, float bottomRoundness, Path outPath) { in getRoundedRectPath() argument
152 float topRoundnessX = topRoundness; in getRoundedRectPath()
156 if (topRoundness > 0.0f) { in getRoundedRectPath()
157 outPath.moveTo(left, top + topRoundness); 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()
235 mCornerRadii[0] = topRoundness; in setRoundness()
236 mCornerRadii[1] = topRoundness; in setRoundness()
237 mCornerRadii[2] = topRoundness; in setRoundness()
238 mCornerRadii[3] = topRoundness; in setRoundness()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationRoundnessManager.java91 float topRoundness = getRoundness(view, true /* top */); in updateViewWithoutCallback() local
93 boolean topChanged = view.setTopRoundness(topRoundness, animate); in updateViewWithoutCallback()