am e465b117: Merge "Better debug info for layers." into honeycomb
* commit 'e465b11745cdc49283c360fb2acf01649f4f4fb0': Better debug info for layers.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user