Searched refs:COS_45 (Results 1 – 1 of 1) sorted by relevance
44 final static double COS_45 = Math.cos(Math.toRadians(45)); field in FakeShadowDrawable150 return (float) (maxShadowSize * SHADOW_MULTIPLIER + (1 - COS_45) * cornerRadius); in calculateVerticalPadding()159 return (float) (maxShadowSize + (1 - COS_45) * cornerRadius); in calculateHorizontalPadding()