Searched refs:leftBound (Results 1 – 2 of 2) sorted by relevance
326 int leftBound = Math.min((int) leftEdge, mView.getWidth()); in show() local343 int rightBound = Math.max(leftBound, (int) rightEdge); in show()347 leftBound = Math.max(leftBound + mViewCoordinatesInSurface[0], 0); in show()350 mLeftCutWidth = Math.max(0, leftBound - startX); in show()352 startX = Math.max(startX, leftBound); in show()
5485 float leftBound, rightBound; in obtainMagnifierShowCoordinates() local5487 leftBound = 0; in obtainMagnifierShowCoordinates()5489 if (touchXInView < leftBound || touchXInView > rightBound) { in obtainMagnifierShowCoordinates()5494 leftBound = mTextView.getTotalPaddingLeft() - mTextView.getScrollX(); in obtainMagnifierShowCoordinates()5498 leftBound += getHorizontal(mTextView.getLayout(), otherHandleOffset); in obtainMagnifierShowCoordinates()5500 leftBound += mTextView.getLayout().getLineLeft(lineNumber); in obtainMagnifierShowCoordinates()5508 leftBound *= mTextViewScaleX; in obtainMagnifierShowCoordinates()5512 if (touchXInView < leftBound - contentWidth / 2 in obtainMagnifierShowCoordinates()5533 showPosInView.x = Math.max(leftBound, Math.min(rightBound, scaledTouchXInView)); in obtainMagnifierShowCoordinates()