Searched refs:peekHeight (Results 1 – 3 of 3) sorted by relevance
225 int peekHeight; in onLayoutChild() local231 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() argument438 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()
1042 int peekHeight = mTopDrawerView.getPeekContainer().getHeight(); in clampViewPositionVertical() local1044 return Math.max(peekHeight - child.getHeight(), Math.min(top, 0)); in clampViewPositionVertical()1115 int peekHeight = mBottomDrawerView.getPeekContainer().getHeight(); in clampViewPositionVertical() local1117 Math.min(top, parentHeight - peekHeight)); in clampViewPositionVertical()
154 private void runPeekAnimation(long duration, float peekHeight, boolean collapseWhenFinished) { in runPeekAnimation() argument155 mPeekHeight = peekHeight; in runPeekAnimation()