diff options
author | Xavier Ducrohet <xav@android.com> | 2010-01-13 16:43:07 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2010-01-13 16:43:07 -0800 |
commit | ae4bd059caa71aa4652c0f07fde7c2687169906e (patch) | |
tree | 1fdcb26ee1a43782b61459e1ec5aca9520e845db /tools/layoutlib/create | |
parent | 1193ae4e824c66b75083c444ce0f250594e138ee (diff) | |
download | frameworks_base-ae4bd059caa71aa4652c0f07fde7c2687169906e.zip frameworks_base-ae4bd059caa71aa4652c0f07fde7c2687169906e.tar.gz frameworks_base-ae4bd059caa71aa4652c0f07fde7c2687169906e.tar.bz2 |
ADT/Layoutlib: Reimplement parts of BitmapFactory
The original bitmap factory is mostly done in native and deals
with the normal android Bitmap class which has been replaced
in the layoutlib by a bitmap that is merely a wrapper around
an AWT BufferedImage.
This new BitmapFactory creates the layoutlib version of
Bitmap all in Java.
Change-Id: Ice8b5d19141a9a43f83349c159201bf85604b3b0
Diffstat (limited to 'tools/layoutlib/create')
-rw-r--r-- | tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java b/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java index 5a13b0b..2623570 100644 --- a/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java +++ b/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java @@ -43,6 +43,7 @@ public class CreateInfo { public final static String[] RENAMED_CLASSES = new String[] { "android.graphics.Bitmap", "android.graphics._Original_Bitmap", + "android.graphics.BitmapFactory", "android.graphics._Original_BitmapFactory", "android.graphics.BitmapShader", "android.graphics._Original_BitmapShader", "android.graphics.Canvas", "android.graphics._Original_Canvas", "android.graphics.ComposeShader", "android.graphics._Original_ComposeShader", |