Home
last modified time | relevance | path

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

/frameworks/support/cardview/src/main/java/androidx/cardview/widget/
DRoundRectDrawableWithShadow.java74 private float mRawShadowSize; field in RoundRectDrawableWithShadow
158 if (mRawShadowSize == shadowSize && mRawMaxShadowSize == maxShadowSize) { in setShadowSize()
161 mRawShadowSize = shadowSize; in setShadowSize()
242 canvas.translate(0, mRawShadowSize / 2); in draw()
244 canvas.translate(0, -mRawShadowSize / 2); in draw()
250 final float inset = mCornerRadius + mInsetShadow + mRawShadowSize / 2; in drawShadow()
353 setShadowSize(mRawShadowSize, size); in setMaxShadowSize()
357 return mRawShadowSize; in getShadowSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java70 float mRawShadowSize; field in FakeShadowDrawable
126 if (mRawShadowSize == shadowSize && mRawMaxShadowSize == maxShadowSize) { in setShadowSize()
129 mRawShadowSize = shadowSize; in setShadowSize()
182 canvas.translate(0, mRawShadowSize / 4); in draw()
184 canvas.translate(0, -mRawShadowSize / 4); in draw()
189 final float inset = mCornerRadius + mInsetShadow + mRawShadowSize / 2; in drawShadow()