Searched refs:BLUR_FACTOR (Results 1 – 2 of 2) sorted by relevance
36 public static final float BLUR_FACTOR = 0.5f/48; field in ShadowGenerator55 mDefaultBlurMaskFilter = new BlurMaskFilter(mIconSize * BLUR_FACTOR, Blur.NORMAL); in ShadowGenerator()90 if (minSide < BLUR_FACTOR) { in getScaleForBounds()91 scale = (HALF_DISTANCE - BLUR_FACTOR) / (HALF_DISTANCE - minSide); in getScaleForBounds()94 float bottomSpace = BLUR_FACTOR + KEY_SHADOW_DISTANCE; in getScaleForBounds()
6 import static com.android.launcher3.icons.ShadowGenerator.BLUR_FACTOR;280 int offset = Math.max((int) Math.ceil(BLUR_FACTOR * size), in createIconBitmap()