Clean up GradientDrawable styled attributes, fix useLevelForShape
BUG: 18117976 Change-Id: Iff2ea392204346f68ea47d577e442d398114e5d8
This commit is contained in:
@@ -1552,14 +1552,15 @@ public class GradientDrawable extends Drawable {
|
||||
public int mThickness = -1;
|
||||
public boolean mDither = false;
|
||||
|
||||
private float mCenterX = 0.5f;
|
||||
private float mCenterY = 0.5f;
|
||||
private float mGradientRadius = 0.5f;
|
||||
private int mGradientRadiusType = RADIUS_TYPE_PIXELS;
|
||||
private boolean mUseLevel;
|
||||
private boolean mUseLevelForShape;
|
||||
private boolean mOpaqueOverBounds;
|
||||
private boolean mOpaqueOverShape;
|
||||
float mCenterX = 0.5f;
|
||||
float mCenterY = 0.5f;
|
||||
float mGradientRadius = 0.5f;
|
||||
int mGradientRadiusType = RADIUS_TYPE_PIXELS;
|
||||
boolean mUseLevel = false;
|
||||
boolean mUseLevelForShape = true;
|
||||
|
||||
boolean mOpaqueOverBounds;
|
||||
boolean mOpaqueOverShape;
|
||||
|
||||
ColorStateList mTint = null;
|
||||
PorterDuff.Mode mTintMode = DEFAULT_TINT_MODE;
|
||||
|
||||
Reference in New Issue
Block a user