Merge \\"Clip GradientDrawable\\'s saveLayer\\" into nyc-mr1-dev am: 694acb1e36
am: b22e745278 Change-Id: I331574caa364e87c5178bee544e1b6d570fb4ea5
This commit is contained in:
commit
17b49651af
@ -700,7 +700,7 @@ public class GradientDrawable extends Drawable {
|
||||
float rad = mStrokePaint.getStrokeWidth();
|
||||
canvas.saveLayer(mRect.left - rad, mRect.top - rad,
|
||||
mRect.right + rad, mRect.bottom + rad,
|
||||
mLayerPaint, Canvas.HAS_ALPHA_LAYER_SAVE_FLAG);
|
||||
mLayerPaint);
|
||||
|
||||
// don't perform the filter in our individual paints
|
||||
// since the layer will do it for us
|
||||
|
Loading…
x
Reference in New Issue
Block a user