summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-10-03 18:47:35 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-10-03 18:47:35 -0700
commitf7ee2a03c1f930db4b20c04225f496ada97e646b (patch)
treebdd44e34bd6dbec8006b96b7a0e2af68eb8e6115 /graphics
parent6fb7fd3a0939413d8968fc0d404ed499d7f7dc52 (diff)
parentdfab363807b3b44be4032e410f016e0a0d018426 (diff)
downloadframeworks_base-f7ee2a03c1f930db4b20c04225f496ada97e646b.zip
frameworks_base-f7ee2a03c1f930db4b20c04225f496ada97e646b.tar.gz
frameworks_base-f7ee2a03c1f930db4b20c04225f496ada97e646b.tar.bz2
Merge "Fix rendering artifacts on tiled renderers Bug #7275145" into jb-mr1-dev
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/drawable/ColorDrawable.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/drawable/ColorDrawable.java b/graphics/java/android/graphics/drawable/ColorDrawable.java
index 4561397..d11e554 100644
--- a/graphics/java/android/graphics/drawable/ColorDrawable.java
+++ b/graphics/java/android/graphics/drawable/ColorDrawable.java
@@ -20,6 +20,7 @@ import android.graphics.*;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.util.AttributeSet;
+import android.view.ViewDebug;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
@@ -34,6 +35,7 @@ import java.io.IOException;
* @attr ref android.R.styleable#ColorDrawable_color
*/
public class ColorDrawable extends Drawable {
+ @ViewDebug.ExportedProperty(deepExport = true, prefix = "state_")
private ColorState mState;
private final Paint mPaint = new Paint();
private boolean mMutated;
@@ -174,6 +176,7 @@ public class ColorDrawable extends Drawable {
final static class ColorState extends ConstantState {
int mBaseColor; // base color, independent of setAlpha()
+ @ViewDebug.ExportedProperty
int mUseColor; // basecolor modulated by setAlpha()
int mChangingConfigurations;