am e465b117: Merge "Better debug info for layers." into honeycomb

* commit 'e465b11745cdc49283c360fb2acf01649f4f4fb0':
  Better debug info for layers.
This commit is contained in:
Romain Guy
2011-01-12 14:17:59 -08:00
committed by Android Git Automerger

View File

@@ -2226,7 +2226,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
*/
public static final int LAYER_TYPE_HARDWARE = 2;
@ViewDebug.ExportedProperty(category = "drawing")
@ViewDebug.ExportedProperty(category = "drawing", mapping = {
@ViewDebug.IntToString(from = LAYER_TYPE_NONE, to = "NONE"),
@ViewDebug.IntToString(from = LAYER_TYPE_SOFTWARE, to = "SOFTWARE"),
@ViewDebug.IntToString(from = LAYER_TYPE_HARDWARE, to = "HARDWARE")
})
int mLayerType = LAYER_TYPE_NONE;
Paint mLayerPaint;