Searched refs:mShadowSize (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/SystemUI/legacy/recents/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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonDrawable.java | 145 || mState.mShadowSize != size || mState.mShadowColor != color) { in setShadowProperties() 148 mState.mShadowSize = size; in setShadowProperties() 207 return mState.mBaseHeight + (mState.mShadowSize + Math.abs(mState.mShadowOffsetY)) * 2; in getIntrinsicHeight() 212 return mState.mBaseWidth + (mState.mShadowSize + Math.abs(mState.mShadowOffsetX)) * 2; in getIntrinsicWidth() 260 if (mState.mShadowSize > 0) { in draw() 315 if (mState.mShadowSize == 0) { in regenerateBitmapShadowCache() 338 paint.setMaskFilter(new BlurMaskFilter(mState.mShadowSize, Blur.NORMAL)); in regenerateBitmapShadowCache() 367 final int offsetX = mState.mShadowSize + Math.abs(mState.mShadowOffsetX); in setDrawableBounds() 368 final int offsetY = mState.mShadowSize + Math.abs(mState.mShadowOffsetY); in setDrawableBounds() 382 int mShadowSize; field in KeyButtonDrawable.ShadowDrawableState
|