Searched refs:maxLeft (Results 1 – 2 of 2) sorted by relevance
994 final float maxLeft = mAllowCrop ? mCropRect.left : 0.0f; in translate() local1002 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() local1062 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()
641 final int maxLeft = stackBounds.right - mMinVisibleWidth; in updateWindowDragBounds() local650 Math.min(Math.max(mWindowOriginalBounds.left + offsetX, minLeft), maxLeft), in updateWindowDragBounds()