Home | History | Annotate | Download | only in bitmap

Lines Matching refs:Math

69         final float scale = Math.min(sampleSize, regularScale);
71 final int srcCroppedW = Math.round(dstW * scale);
72 final int srcCroppedH = Math.round(dstH * scale);
73 final int srcCroppedSliceH = Math.round(dstSliceH * scale);
74 final int srcHalfSliceH = Math.min(srcCroppedSliceH, srcH) / 2;
83 centerV = Math.max(minCenterV, Math.min(maxCenterV, Math.round(srcH * vertSliceFrac)));
85 centerV = Math
86 .round(Math.abs(srcH - srcCroppedSliceH) * vertSliceFrac + srcHalfSliceH);