Home
last modified time | relevance | path

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

/frameworks/support/slidingpanelayout/src/main/java/androidx/slidingpanelayout/widget/
DSlidingPaneLayout.java347 final int endBound = isLayoutRtl ? getPaddingLeft() : (getWidth() - getPaddingRight()); in updateObscuredViewsVisibility() local
374 (isLayoutRtl ? endBound : startBound), child.getLeft()); in updateObscuredViewsVisibility()
377 (isLayoutRtl ? startBound : endBound), child.getRight()); in updateObscuredViewsVisibility()
1399 int endBound = startBound - mSlideRange; in clampViewPositionHorizontal() local
1400 newLeft = Math.max(Math.min(left, startBound), endBound); in clampViewPositionHorizontal()
1403 int endBound = startBound + mSlideRange; in clampViewPositionHorizontal() local
1404 newLeft = Math.min(Math.max(left, startBound), endBound); in clampViewPositionHorizontal()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java2112 final float endBound;
2116 endBound = endItem.offset * width;
2118 endBound = width * mLastOffset;
2129 } else if (scrollStart > endBound) {
2131 final float over = scrollStart - endBound;
2135 clampedScrollStart = endBound;
2190 final float endBound = offset + ii.widthFactor + marginOffset;
2191 if (scrollOffset < endBound || i == mItems.size() - 1) {