Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableOutlineView.java110 float topRoundness = mAlwaysRoundBothCorners in getClipPath() local
122 Math.max(getActualHeight() - mClipBottomAmount, (int) (top + topRoundness))); in getClipPath()
135 if (topRoundness + bottomRoundness > height) { in getClipPath()
136 float overShoot = topRoundness + bottomRoundness - height; in getClipPath()
137 topRoundness -= overShoot * mCurrentTopRoundness in getClipPath()
142 getRoundedRectPath(left, top, right, bottom, topRoundness, bottomRoundness, mTmpPath); in getClipPath()
147 float topRoundness, float bottomRoundness, Path outPath) { in getRoundedRectPath() argument
149 mTmpCornerRadii[0] = topRoundness; in getRoundedRectPath()
150 mTmpCornerRadii[1] = topRoundness; in getRoundedRectPath()
151 mTmpCornerRadii[2] = 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()
DExpandableView.java794 public boolean setTopRoundness(float topRoundness, boolean animate) { in setTopRoundness() argument
/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()