Home
last modified time | relevance | path

Searched refs:SHADOW_MULTIPLIER (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java46 final static float SHADOW_MULTIPLIER = 1.5f; field in FakeShadowDrawable
131 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()
/frameworks/support/cardview/src/main/java/androidx/cardview/widget/
DRoundRectDrawableWithShadow.java43 private static final float SHADOW_MULTIPLIER = 1.5f; field in RoundRectDrawableWithShadow
163 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()