Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDragDownHelper.java164 float rubberband = heightDelta * rubberbandFactor; in handleExpansion() local
165 if (expandable && (rubberband + child.getMinHeight()) > child.getMaxContentHeight()) { in handleExpansion()
166 float overshoot = (rubberband + child.getMinHeight()) - child.getMaxContentHeight(); in handleExpansion()
168 rubberband -= overshoot; in handleExpansion()
170 child.setContentHeight((int) (child.getMinHeight() + rubberband)); in handleExpansion()