HomeSort by relevance Sort by last modified time
    Searched defs:maxRight (Results 1 - 3 of 3) sorted by null

  /frameworks/ex/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 795 final float maxRight = mAllowCrop ? mCropRect.right : getWidth();
803 Math.min(maxRight - mTranslateRect.left, tx));
806 if (r - l < maxRight - maxLeft) {
807 translateX = maxLeft + ((maxRight - maxLeft) - (r + l)) / 2;
809 translateX = Math.max(maxRight - r, Math.min(maxLeft - l, tx));
849 float maxRight = mAllowCrop ? mCropRect.right : getWidth();
854 if (r - l < maxRight - maxLeft) {
856 translateX = maxLeft + ((maxRight - maxLeft) - (r + l)) / 2;
860 } else if (r < maxRight) {
862 translateX = maxRight - r
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 801 final float maxRight = mAllowCrop ? mCropRect.right : getWidth();
809 Math.min(maxRight - mTranslateRect.left, tx));
812 if (r - l < maxRight - maxLeft) {
813 translateX = maxLeft + ((maxRight - maxLeft) - (r + l)) / 2;
815 translateX = Math.max(maxRight - r, Math.min(maxLeft - l, tx));
855 float maxRight = mAllowCrop ? mCropRect.right : getWidth();
860 if (r - l < maxRight - maxLeft) {
862 translateX = maxLeft + ((maxRight - maxLeft) - (r + l)) / 2;
866 } else if (r < maxRight) {
868 translateX = maxRight - r
    [all...]
  /external/webkit/Source/WebCore/rendering/
RenderBlock.cpp     [all...]

Completed in 349 milliseconds