Searched refs:maxRight (Results 1 – 6 of 6) sorted by relevance
995 final float maxRight = mAllowCrop ? mCropRect.right : getWidth(); in translate() local1003 Math.min(maxRight - mTranslateRect.left, tx)); in translate()1006 if (r - l < maxRight - maxLeft) { in translate()1007 translateX = maxLeft + ((maxRight - maxLeft) - (r + l)) / 2; in translate()1009 translateX = Math.max(maxRight - r, Math.min(maxLeft - l, tx)); in translate()1057 float maxRight = mAllowCrop ? mCropRect.right : getWidth(); in snap() local1062 if (r - l < maxRight - maxLeft) { in snap()1064 translateX = maxLeft + ((maxRight - maxLeft) - (r + l)) / 2; in snap()1068 } else if (r < maxRight) { in snap()1070 translateX = maxRight - r; in snap()
223 int maxRight = editText.getWidth() - editText.getCompoundPaddingRight()225 diff = drawableBounds.right - drawablePadding.right - maxRight;
186 float maxRight = getWidth() - getPaddingRight() - totalDrawingWidth; in onDraw() local188 currentDrawPosition = center > 0 ? center : maxRight; in onDraw()
1624 float maxRight = (float) (pageInx + 1) / (float) (numPages); in generateSubRect() local1630 if (right > maxRight) right = maxRight; in generateSubRect()
1905 final int maxRight = layoutManager.getDecoratedRight(target.itemView); in onMoved() local1906 if (maxRight >= recyclerView.getWidth() - recyclerView.getPaddingRight()) { in onMoved()
17681 int maxRight; in setRight() local17683 maxRight = mRight; in setRight()17685 maxRight = right; in setRight()17687 invalidate(0, 0, maxRight - mLeft, mBottom - mTop); in setRight()18384 int maxRight; in offsetLeftAndRight() local18387 maxRight = mRight; in offsetLeftAndRight()18390 maxRight = mRight + offset; in offsetLeftAndRight()18392 r.set(0, 0, maxRight - minLeft, mBottom - mTop); in offsetLeftAndRight()