Home
last modified time | relevance | path

Searched refs:maxRight (Results 1 – 7 of 7) 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.java223 int maxRight = editText.getWidth() - editText.getCompoundPaddingRight()
225 diff = drawableBounds.right - drawablePadding.right - maxRight;
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java183 float maxRight = getWidth() - getPaddingRight() - totalDrawingWidth; in onDraw() local
185 currentDrawPosition = center > 0 ? center : maxRight; in onDraw()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipKeepClearAlgorithm.kt381 val maxRight = areasOverlappingPipY.maxByOrNull { it.right }!!.right in <lambda>() constant
382 val partialStashRight = maxRight + pipAreaPadding in <lambda>()
/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/base/core/java/android/service/wallpaper/
DWallpaperService.java2023 float maxRight = (float) (pageInx + 1) / (float) (numPages); in generateSubRect() local
2029 if (right > maxRight) right = maxRight; in generateSubRect()
/frameworks/base/core/java/android/view/
DView.java19696 int maxRight; in setRight() local
19698 maxRight = mRight; in setRight()
19700 maxRight = right; in setRight()
19702 invalidate(0, 0, maxRight - mLeft, mBottom - mTop); in setRight()
20460 int maxRight; in offsetLeftAndRight() local
20463 maxRight = mRight; in offsetLeftAndRight()
20466 maxRight = mRight + offset; in offsetLeftAndRight()
20468 r.set(0, 0, maxRight - minLeft, mBottom - mTop); in offsetLeftAndRight()