Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java64 float mRawMaxShadowSize; field in FakeShadowDrawable
126 if (mRawShadowSize == shadowSize && mRawMaxShadowSize == maxShadowSize) { in setShadowSize()
130 mRawMaxShadowSize = maxShadowSize; in setShadowSize()
139 int vOffset = (int) Math.ceil(calculateVerticalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding()
141 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding()
281 Math.max(mRawMaxShadowSize, mCornerRadius + mInsetShadow + mRawMaxShadowSize / 2); in getMinWidth()
282 return content + (mRawMaxShadowSize + mInsetShadow) * 2; in getMinWidth()
286 final float content = 2 * Math.max(mRawMaxShadowSize, mCornerRadius + mInsetShadow in getMinHeight()
287 + mRawMaxShadowSize * SHADOW_MULTIPLIER / 2); in getMinHeight()
288 return content + (mRawMaxShadowSize * SHADOW_MULTIPLIER + mInsetShadow) * 2; in getMinHeight()