Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DMagnifier.java343 int rightBound = Math.max(leftBound, (int) rightEdge); in show() local
348 rightBound = Math.min( in show()
349 rightBound + mViewCoordinatesInSurface[0], mContentCopySurface.mWidth); in show()
351 mRightCutWidth = Math.max(0, startX + mSourceWidth - rightBound); in show()
DEditor.java5485 float leftBound, rightBound; in obtainMagnifierShowCoordinates() local
5488 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()