Home
last modified time | relevance | path

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

/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
DViewPager.java2320 float rightBound = width * mLastOffset;
2332 rightBound = lastItem.offset * width;
2342 } else if (scrollX > rightBound) {
2344 float over = scrollX - rightBound;
2348 scrollX = rightBound;
2386 final float rightBound = offset + ii.widthFactor + marginOffset;
2388 if (scrollOffset < rightBound || i == mItems.size() - 1) {
2601 float rightBound = width * mLastOffset;
2609 rightBound = lastItem.offset * width;
2614 } else if (scrollX > rightBound) {
[all …]
/frameworks/base/core/java/android/widget/
DEditor.java4839 float rightBound = mTextView.getTotalPaddingLeft() - mTextView.getScrollX(); in obtainMagnifierShowCoordinates() local
4846 rightBound += getHorizontal(mTextView.getLayout(), otherHandleOffset); in obtainMagnifierShowCoordinates()
4848 rightBound += mTextView.getLayout().getLineRight(lineNumber); in obtainMagnifierShowCoordinates()
4853 || touchXInView > rightBound + contentWidth / 2) { in obtainMagnifierShowCoordinates()
4857 showPosInView.x = Math.max(leftBound, Math.min(rightBound, touchXInView)); in obtainMagnifierShowCoordinates()