Searched defs:peekHeight (Results 1 - 2 of 2) sorted by relevance

/frameworks/support/design/src/android/support/design/widget/
H A DBottomSheetBehavior.java225 int peekHeight;
231 peekHeight = Math.max(mPeekHeightMin, mParentHeight - parent.getWidth() * 9 / 16);
233 peekHeight = mPeekHeight;
236 mMaxOffset = Math.max(mParentHeight - peekHeight, mMinOffset);
433 * @param peekHeight The height of the collapsed bottom sheet in pixels, or
438 public final void setPeekHeight(int peekHeight) { argument
440 if (peekHeight == PEEK_HEIGHT_AUTO) {
445 } else if (mPeekHeightAuto || mPeekHeight != peekHeight) {
447 mPeekHeight = Math.max(0, peekHeight);
448 mMaxOffset = mParentHeight - peekHeight;
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java165 private void runPeekAnimation(long duration, float peekHeight, boolean collapseWhenFinished) { argument
166 mPeekHeight = peekHeight;

Completed in 919 milliseconds