Home
last modified time | relevance | path

Searched refs:leftBound (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListItemView.java615 int leftBound = getPaddingLeft(); in onLayout() local
635 leftBound += mHeaderWidth; in onLayout()
640 mLeftOffset = left + leftBound; in onLayout()
694 leftBound, in onLayout()
721 leftBound += mTextIndent; in onLayout()
816 mStatusView.layout(leftBound, in onLayout()
822 int statusLeftBound = leftBound; in onLayout()
826 leftBound, in onLayout()
828 leftBound + iconWidth, in onLayout()
846 int dataLeftBound = leftBound; in onLayout()
[all …]
/aosp12/frameworks/base/core/java/android/widget/
H A DMagnifier.java326 int leftBound = Math.min((int) leftEdge, mView.getWidth()); in show() local
343 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()
H A DEditor.java5201 float leftBound, rightBound; in obtainMagnifierShowCoordinates() local
5203 leftBound = 0; in obtainMagnifierShowCoordinates()
5205 if (touchXInView < leftBound || touchXInView > rightBound) { in obtainMagnifierShowCoordinates()
5210 leftBound = mTextView.getTotalPaddingLeft() - mTextView.getScrollX(); in obtainMagnifierShowCoordinates()
5214 leftBound += getHorizontal(mTextView.getLayout(), otherHandleOffset); in obtainMagnifierShowCoordinates()
5216 leftBound += mTextView.getLayout().getLineLeft(lineNumber); in obtainMagnifierShowCoordinates()
5224 leftBound *= mTextViewScaleX; in obtainMagnifierShowCoordinates()
5228 if (touchXInView < leftBound - contentWidth / 2 in obtainMagnifierShowCoordinates()
5249 showPosInView.x = Math.max(leftBound, Math.min(rightBound, scaledTouchXInView)); in obtainMagnifierShowCoordinates()