Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleStackView.java2221 final float collapsePercent = in setFlyoutStateForDragLength() local
2223 mFlyout.setCollapsePercent(Math.min(1f, Math.max(0f, collapsePercent))); in setFlyoutStateForDragLength()
2227 if (collapsePercent < 0f || collapsePercent > 1f) { in setFlyoutStateForDragLength()
2229 final boolean overscrollingPastDot = collapsePercent > 1f; in setFlyoutStateForDragLength()
2235 (onLeft && collapsePercent > 1f) || (!onLeft && collapsePercent < 0f); in setFlyoutStateForDragLength()
2237 (overscrollingPastDot ? collapsePercent - 1f : collapsePercent * -1) in setFlyoutStateForDragLength()