Searched refs:pixelizationFactor (Results 1 – 1 of 1) sorted by relevance
155 public BitmapDrawable customImagePixelization(float pixelizationFactor, Bitmap bitmap) { in customImagePixelization() argument165 int xPixels = (int) (pixelizationFactor * ((float)width)); in customImagePixelization()167 int yPixels = (int) (pixelizationFactor * ((float)height)); in customImagePixelization()216 public BitmapDrawable builtInPixelization(float pixelizationFactor, Bitmap bitmap) { in builtInPixelization() argument221 int downScaleFactorWidth = (int)(pixelizationFactor * width); in builtInPixelization()223 int downScaleFactorHeight = (int)(pixelizationFactor * height); in builtInPixelization()278 public BitmapDrawable pixelizeImage(float pixelizationFactor, Bitmap bitmap) { in pixelizeImage() argument280 return builtInPixelization(pixelizationFactor, bitmap); in pixelizeImage()282 return customImagePixelization(pixelizationFactor, bitmap); in pixelizeImage()295 float pixelizationFactor = (Float)params[0]; in doInBackground() local[all …]