Home
last modified time | relevance | path

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

/frameworks/support/design/src/android/support/design/widget/
DBottomSheetBehavior.java225 int peekHeight; in onLayoutChild() local
231 peekHeight = Math.max(mPeekHeightMin, mParentHeight - parent.getWidth() * 9 / 16); in onLayoutChild()
233 peekHeight = mPeekHeight; in onLayoutChild()
236 mMaxOffset = Math.max(mParentHeight - peekHeight, mMinOffset); in onLayoutChild()
436 public final void setPeekHeight(int peekHeight) { in setPeekHeight() argument
438 if (peekHeight == PEEK_HEIGHT_AUTO) { in setPeekHeight()
443 } else if (mPeekHeightAuto || mPeekHeight != peekHeight) { in setPeekHeight()
445 mPeekHeight = Math.max(0, peekHeight); in setPeekHeight()
446 mMaxOffset = mParentHeight - peekHeight; in setPeekHeight()
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DWearableDrawerLayout.java1042 int peekHeight = mTopDrawerView.getPeekContainer().getHeight(); in clampViewPositionVertical() local
1044 return Math.max(peekHeight - child.getHeight(), Math.min(top, 0)); in clampViewPositionVertical()
1115 int peekHeight = mBottomDrawerView.getPeekContainer().getHeight(); in clampViewPositionVertical() local
1117 Math.min(top, parentHeight - peekHeight)); in clampViewPositionVertical()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java154 private void runPeekAnimation(long duration, float peekHeight, boolean collapseWhenFinished) { in runPeekAnimation() argument
155 mPeekHeight = peekHeight; in runPeekAnimation()