Searched refs:BLUR_FACTOR (Results 1 – 3 of 3) sorted by relevance
35 public static final float BLUR_FACTOR = 0.5f/48; field in ShadowGenerator54 mDefaultBlurMaskFilter = new BlurMaskFilter(mIconSize * BLUR_FACTOR, Blur.NORMAL); in ShadowGenerator()89 if (minSide < BLUR_FACTOR) { in getScaleForBounds()90 scale = (HALF_DISTANCE - BLUR_FACTOR) / (HALF_DISTANCE - minSide); in getScaleForBounds()93 float bottomSpace = BLUR_FACTOR + KEY_SHADOW_DISTANCE; in getScaleForBounds()
6 import static com.android.launcher3.icons.ShadowGenerator.BLUR_FACTOR;296 int offset = Math.max((int) Math.ceil(BLUR_FACTOR * size), in createIconBitmap()
74 private static final float BLUR_FACTOR = 0.5f / 48; field in SimpleIconFactory170 mDefaultBlurMaskFilter = new BlurMaskFilter(iconBitmapSize * BLUR_FACTOR, in SimpleIconFactory()292 int offset = Math.max((int) Math.ceil(BLUR_FACTOR * size), 1); in maskBitmapToCircle()344 offset = Math.max((int) Math.ceil(BLUR_FACTOR * size), offset); in createIconBitmap()