Lines Matching refs:Math
156 int maxDim = Math.max(maxDims.x, maxDims.y);
157 int minDim = Math.max(minDims.x, minDims.y);
162 maxDim = Math.max(realSize.x, realSize.y);
163 minDim = Math.min(realSize.x, realSize.y);
174 defaultWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim);
280 int maxDim = Math.max(maxDims.x, maxDims.y);
281 final int minDim = Math.min(minDims.x, minDims.y);
287 defaultWallpaperWidth = Math.max((int)
298 portraitHeight = Math.max(maxDims.x, maxDims.y);
304 portraitHeight = Math.max(realSize.x, realSize.y);
316 rotatedInSize[0] = Math.abs(rotatedInSize[0]);
317 rotatedInSize[1] = Math.abs(rotatedInSize[1]);
325 extraSpace = Math.min(extraSpace, maxExtraSpace);
340 Math.min(Math.min(rotatedInSize[1] - cropRect.bottom, cropRect.top),
345 final int outWidth = (int) Math.round(cropRect.width() * cropScale);
346 final int outHeight = (int) Math.round(cropRect.height() * cropScale);
527 rotatedBounds[0] = Math.abs(rotatedBounds[0]);
528 rotatedBounds[1] = Math.abs(rotatedBounds[1]);
546 int scaleDownSampleSize = Math.min(roundedTrueCrop.width() / mOutWidth,
600 dimsAfter[0] = Math.abs(dimsAfter[0]);
601 dimsAfter[1] = Math.abs(dimsAfter[1]);
604 mOutWidth = Math.round(dimsAfter[0]);
605 mOutHeight = Math.round(dimsAfter[1]);