Home
last modified time | relevance | path

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

/frameworks/support/design/src/android/support/design/widget/
DBottomSheetBehavior.java113 private int mPeekHeight; field in BottomSheetBehavior
204 mMaxOffset = Math.max(mParentHeight - mPeekHeight, mMinOffset); in onLayoutChild()
400 mPeekHeight = Math.max(0, peekHeight); in setPeekHeight()
411 return mPeekHeight; in getPeekHeight()
543 return Math.abs(newTop - mMaxOffset) / (float) mPeekHeight > HIDE_THRESHOLD; in shouldHide()
655 mCallback.onSlide(bottomSheet, (float) (mMaxOffset - top) / mPeekHeight); in dispatchOnSlide()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java59 private float mPeekHeight; field in PanelView
155 mPeekHeight = getPeekHeight(); in runPeekAnimation()
156 if (DEBUG) logf("peek to height=%.1f", mPeekHeight); in runPeekAnimation()
160 mPeekAnimator = ObjectAnimator.ofFloat(this, "expandedHeight", mPeekHeight) in runPeekAnimation()
319 if (newHeight > mPeekHeight) { in onTouchEvent()