Searched refs:SHADOW_MULTIPLIER (Results 1 – 2 of 2) sorted by relevance
46 final static float SHADOW_MULTIPLIER = 1.5f; field in FakeShadowDrawable131 mShadowSize = shadowSize * SHADOW_MULTIPLIER + mInsetShadow; in setShadowSize()150 return (float) (maxShadowSize * SHADOW_MULTIPLIER + (1 - COS_45) * cornerRadius); in calculateVerticalPadding()152 return maxShadowSize * SHADOW_MULTIPLIER; in calculateVerticalPadding()273 final float verticalOffset = mMaxShadowSize * SHADOW_MULTIPLIER; in buildComponents()287 + mRawMaxShadowSize * SHADOW_MULTIPLIER / 2); in getMinHeight()288 return content + (mRawMaxShadowSize * SHADOW_MULTIPLIER + mInsetShadow) * 2; in getMinHeight()
43 private static final float SHADOW_MULTIPLIER = 1.5f; field in RoundRectDrawableWithShadow163 mShadowSize = (int) (shadowSize * SHADOW_MULTIPLIER + mInsetShadow + .5f); in setShadowSize()181 return (float) (maxShadowSize * SHADOW_MULTIPLIER + (1 - COS_45) * cornerRadius); in calculateVerticalPadding()183 return maxShadowSize * SHADOW_MULTIPLIER; in calculateVerticalPadding()334 final float verticalOffset = mRawMaxShadowSize * SHADOW_MULTIPLIER; in buildComponents()372 + mRawMaxShadowSize * SHADOW_MULTIPLIER / 2); in getMinHeight()373 return content + (mRawMaxShadowSize * SHADOW_MULTIPLIER + mInsetShadow) * 2; in getMinHeight()