Searched refs:rightBound (Results 1 – 2 of 2) sorted by relevance
343 int rightBound = Math.max(leftBound, (int) rightEdge); in show() local348 rightBound = Math.min( in show()349 rightBound + mViewCoordinatesInSurface[0], mContentCopySurface.mWidth); in show()351 mRightCutWidth = Math.max(0, startX + mSourceWidth - rightBound); in show()
5485 float leftBound, rightBound; in obtainMagnifierShowCoordinates() local5488 rightBound = mTextView.getWidth(); in obtainMagnifierShowCoordinates()5489 if (touchXInView < leftBound || touchXInView > rightBound) { in obtainMagnifierShowCoordinates()5495 rightBound = mTextView.getTotalPaddingLeft() - mTextView.getScrollX(); in obtainMagnifierShowCoordinates()5504 rightBound += getHorizontal(mTextView.getLayout(), otherHandleOffset); in obtainMagnifierShowCoordinates()5506 rightBound += mTextView.getLayout().getLineRight(lineNumber); in obtainMagnifierShowCoordinates()5509 rightBound *= mTextViewScaleX; in obtainMagnifierShowCoordinates()5513 || touchXInView > rightBound + contentWidth / 2) { in obtainMagnifierShowCoordinates()5533 showPosInView.x = Math.max(leftBound, Math.min(rightBound, scaledTouchXInView)); in obtainMagnifierShowCoordinates()