diff options
author | Xavier Ducrohet <xav@android.com> | 2010-12-21 06:20:28 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2010-12-22 10:30:53 -0800 |
commit | d38e776a3cc8cb53945cbebafbe6f6c2e3501fa5 (patch) | |
tree | 91f1359ed446aeafc20c8322073612a77c1652d5 /tools/layoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java | |
parent | 70119929549b6d241244c51952ed1f4a313a5ff7 (diff) | |
download | frameworks_base-d38e776a3cc8cb53945cbebafbe6f6c2e3501fa5.zip frameworks_base-d38e776a3cc8cb53945cbebafbe6f6c2e3501fa5.tar.gz frameworks_base-d38e776a3cc8cb53945cbebafbe6f6c2e3501fa5.tar.bz2 |
LayoutLib: support for layers.
Layers require that drawing methods potentially
draw in more than one bitmaps.
To handle this this patch offers the following:
- move all drawing methods to use Drawable
- Drawables are now handled by GcSnapshot since
its the one handling the layers
- moved Canvas_Delegate.createCustomGraphics to
GcSnapshot which does not expose the Graphics2D
objects anymore so its draw() methods are the only
way to draw.
- handles creating layers in GcSnapshot.save() and
blitting them in restore()
Other changes:
- Clean up the create/save API in GcSnapshot
- Fixed drawing bitmaps with alpha and other
composite modes.
Change-Id: I1e230087493d044a10de71f4b6d29083e3f3bf64
Diffstat (limited to 'tools/layoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java')
-rw-r--r-- | tools/layoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java index 954c658..a6844d4 100644 --- a/tools/layoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java +++ b/tools/layoutlib/bridge/src/android/graphics/ComposePathEffect_Delegate.java @@ -55,7 +55,7 @@ public class ComposePathEffect_Delegate extends PathEffect_Delegate { @Override public String getSupportMessage() { - return "Composte Path Effects are not supported in Layout Preview mode."; + return "Compose Path Effects are not supported in Layout Preview mode."; } // ---- native methods ---- |