Searched refs:mShadowSize (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | FakeShadowDrawable.java | 67 float mShadowSize; field in FakeShadowDrawable 131 mShadowSize = shadowSize * SHADOW_MULTIPLIER + mInsetShadow; in setShadowSize() 188 final float edgeShadowTop = -mCornerRadius - mShadowSize; in drawShadow() 209 mCardBounds.width() - 2 * inset, -mCornerRadius + mShadowSize, in drawShadow() 238 outerBounds.inset(-mShadowSize, -mShadowSize); in buildShadowCorners() 247 mCornerShadowPath.rLineTo(-mShadowSize, 0); in buildShadowCorners() 254 float startRatio = mCornerRadius / (mCornerRadius + mShadowSize); in buildShadowCorners() 255 mCornerShadowPaint.setShader(new RadialGradient(0, 0, mCornerRadius + mShadowSize, in buildShadowCorners() 263 mEdgeShadowPaint.setShader(new LinearGradient(0, -mCornerRadius + mShadowSize, 0, in buildShadowCorners() 264 -mCornerRadius - mShadowSize, in buildShadowCorners()
|
/frameworks/support/cardview/src/main/java/androidx/cardview/widget/ |
D | RoundRectDrawableWithShadow.java | 71 private float mShadowSize; field in RoundRectDrawableWithShadow 163 mShadowSize = (int) (shadowSize * SHADOW_MULTIPLIER + mInsetShadow + .5f); in setShadowSize() 249 final float edgeShadowTop = -mCornerRadius - mShadowSize; in drawShadow() 270 mCardBounds.width() - 2 * inset, -mCornerRadius + mShadowSize, in drawShadow() 299 outerBounds.inset(-mShadowSize, -mShadowSize); in buildShadowCorners() 308 mCornerShadowPath.rLineTo(-mShadowSize, 0); in buildShadowCorners() 314 float startRatio = mCornerRadius / (mCornerRadius + mShadowSize); in buildShadowCorners() 315 mCornerShadowPaint.setShader(new RadialGradient(0, 0, mCornerRadius + mShadowSize, in buildShadowCorners() 323 mEdgeShadowPaint.setShader(new LinearGradient(0, -mCornerRadius + mShadowSize, 0, in buildShadowCorners() 324 -mCornerRadius - mShadowSize, in buildShadowCorners()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ShadowKeyDrawable.java | 65 || mState.mShadowSize != size || mState.mShadowColor != color) { in setShadowProperties() 68 mState.mShadowSize = size; in setShadowProperties() 142 if (mState.mShadowSize == 0) { in regenerateBitmapCache() 151 if (mState.mShadowSize > 0) { in regenerateBitmapCache() 154 paint.setMaskFilter(new BlurMaskFilter(mState.mShadowSize, Blur.NORMAL)); in regenerateBitmapCache() 186 int mShadowSize; field in ShadowKeyDrawable.ShadowDrawableState
|