Lines Matching refs:scaleToFit
470 * @param scaleToFit If true, scale the wallpaper down rather than just cropping it
479 boolean scaleToFit, float horizontalAlignment, float verticalAlignment) {
480 return getBuiltInDrawable(outWidth, outHeight, scaleToFit,
490 * @param scaleToFit If true, scale the wallpaper down rather than just cropping it
500 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit,
551 if (scaleToFit) {
620 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);