Home
last modified time | relevance | path

Searched refs:maxRight (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java995 final float maxRight = mAllowCrop ? mCropRect.right : getWidth(); in translate() local
1003 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() local
1062 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()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewAssertions.java219 int maxRight = editText.getWidth() - editText.getCompoundPaddingRight()
221 diff = drawableBounds.right - drawablePadding.right - maxRight;
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java1905 final int maxRight = layoutManager.getDecoratedRight(target.itemView); in onMoved() local
1906 if (maxRight >= recyclerView.getWidth() - recyclerView.getPaddingRight()) { in onMoved()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java1911 final int maxRight = layoutManager.getDecoratedRight(target.itemView); in onMoved() local
1912 if (maxRight >= recyclerView.getWidth() - recyclerView.getPaddingRight()) { in onMoved()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java4853 final int maxRight = stackBounds.right in fitWithinBounds() local
4856 if ((horizontalDiff < 0 && bounds.left >= maxRight) in fitWithinBounds()
4857 || (bounds.left + horizontalDiff >= maxRight)) { in fitWithinBounds()
4858 horizontalDiff = maxRight - bounds.left; in fitWithinBounds()
/frameworks/base/core/java/android/view/
DView.java14571 int maxRight;
14573 maxRight = mRight;
14575 maxRight = right;
14577 invalidate(0, 0, maxRight - mLeft, mBottom - mTop);
15141 int maxRight;
15144 maxRight = mRight;
15147 maxRight = mRight + offset;
15149 r.set(0, 0, maxRight - minLeft, mBottom - mTop);