Searched refs:maxLeft (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 994 final float maxLeft = mAllowCrop ? mCropRect.left : 0.0f; in translate() local 1002 translateX = Math.max(maxLeft - mTranslateRect.right, 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() 1056 float maxLeft = mAllowCrop ? mCropRect.left : 0.0f; in snap() local 1062 if (r - l < maxRight - maxLeft) { in snap() 1064 translateX = maxLeft + ((maxRight - maxLeft) - (r + l)) / 2; in snap() 1065 } else if (l > maxLeft) { in snap() 1067 translateX = maxLeft - l; in snap()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioner.java | 609 final int maxLeft = stackBounds.right - mMinVisibleWidth; in updateWindowDragBounds() local 618 Math.min(Math.max(mWindowOriginalBounds.left + offsetX, minLeft), maxLeft), in updateWindowDragBounds()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | ViewDragHelper.java | 698 public void flingCapturedView(int minLeft, int minTop, int maxLeft, int maxTop) { in flingCapturedView() argument 707 minLeft, maxLeft, minTop, maxTop); in flingCapturedView() local
|