Searched refs:BLUR_FACTOR (Results 1 – 4 of 4) sorted by relevance
39 public static final float BLUR_FACTOR = 1.68f/48; field in ShadowGenerator58 mDefaultBlurMaskFilter = new BlurMaskFilter(mIconSize * BLUR_FACTOR, Blur.NORMAL); in ShadowGenerator()108 if (minSide < BLUR_FACTOR) { in getScaleForBounds()109 scale = (HALF_DISTANCE - BLUR_FACTOR) / (HALF_DISTANCE - minSide); in getScaleForBounds()113 float bottomSpace = BLUR_FACTOR; in getScaleForBounds()
9 import static com.android.launcher3.icons.ShadowGenerator.BLUR_FACTOR;410 int offset = Math.max((int) Math.ceil(BLUR_FACTOR * size), in drawIconBitmap()
316 this.boundsOffset = Math.max(ShadowGenerator.BLUR_FACTOR, (1 - scale) / 2); in ClockBitmapInfo()
76 private static final float BLUR_FACTOR = 1.5f / 48; field in SimpleIconFactory183 mDefaultBlurMaskFilter = new BlurMaskFilter(iconBitmapSize * BLUR_FACTOR, in SimpleIconFactory()305 int offset = Math.max((int) Math.ceil(BLUR_FACTOR * size), 1); in maskBitmapToCircle()357 offset = Math.max((int) Math.ceil(BLUR_FACTOR * size), offset); in createIconBitmap()