am eba0a750: Merge "Clean up GradientDrawable styled attributes, fix useLevelForShape" into lmp-mr1-dev automerge: 91a1a72

* commit 'eba0a7509178094a46c3cca212bc3f07e70b159e':
  Clean up GradientDrawable styled attributes, fix useLevelForShape
This commit is contained in:
Alan Viverette
2014-10-24 23:03:11 +00:00
committed by Android Git Automerger

View File

@@ -1552,14 +1552,15 @@ public class GradientDrawable extends Drawable {
public int mThickness = -1; public int mThickness = -1;
public boolean mDither = false; public boolean mDither = false;
private float mCenterX = 0.5f; float mCenterX = 0.5f;
private float mCenterY = 0.5f; float mCenterY = 0.5f;
private float mGradientRadius = 0.5f; float mGradientRadius = 0.5f;
private int mGradientRadiusType = RADIUS_TYPE_PIXELS; int mGradientRadiusType = RADIUS_TYPE_PIXELS;
private boolean mUseLevel; boolean mUseLevel = false;
private boolean mUseLevelForShape; boolean mUseLevelForShape = true;
private boolean mOpaqueOverBounds;
private boolean mOpaqueOverShape; boolean mOpaqueOverBounds;
boolean mOpaqueOverShape;
ColorStateList mTint = null; ColorStateList mTint = null;
PorterDuff.Mode mTintMode = DEFAULT_TINT_MODE; PorterDuff.Mode mTintMode = DEFAULT_TINT_MODE;