Searched refs:mMinOffset (Results 1 – 1 of 1) sorted by relevance
115 private int mMinOffset; field in BottomSheetBehavior203 mMinOffset = Math.max(0, mParentHeight - child.getHeight()); in onLayoutChild()204 mMaxOffset = Math.max(mParentHeight - mPeekHeight, mMinOffset); in onLayoutChild()206 ViewCompat.offsetTopAndBottom(child, mMinOffset); in onLayoutChild()318 if (newTop < mMinOffset) { in onNestedPreScroll()319 consumed[1] = currentTop - mMinOffset; in onNestedPreScroll()347 if (child.getTop() == mMinOffset) { in onStopNestedScroll()357 top = mMinOffset; in onStopNestedScroll()364 if (Math.abs(currentTop - mMinOffset) < Math.abs(currentTop - mMaxOffset)) { in onStopNestedScroll()365 top = mMinOffset; in onStopNestedScroll()[all …]