summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-01-14 16:40:43 -0800
committerXavier Ducrohet <xav@android.com>2011-01-14 16:56:00 -0800
commit51a7e5447de94791c464cda5cc6ebbf616d73c80 (patch)
treef0ddc73ed710701422dff1a01bf2cffb1df34cb1 /tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
parent0831b3fae504e8fa94e6b1cc0d4e6c3fccaef231 (diff)
downloadframeworks_base-51a7e5447de94791c464cda5cc6ebbf616d73c80.zip
frameworks_base-51a7e5447de94791c464cda5cc6ebbf616d73c80.tar.gz
frameworks_base-51a7e5447de94791c464cda5cc6ebbf616d73c80.tar.bz2
LayoutLib: update logs to use new data bundle
Also change some resource.resolve tags to resource.format Change-Id: I3f0b0d2eb69a5ec98375e4014a3bb1bfceb8c855
Diffstat (limited to 'tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java')
-rw-r--r--tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
index 18bf4b5..108d183 100644
--- a/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
+++ b/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
@@ -250,7 +250,7 @@ public final class Bitmap_Delegate {
/*package*/ static boolean nativeCompress(int nativeBitmap, int format, int quality,
OutputStream stream, byte[] tempStorage) {
Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED,
- "Bitmap.compress() is not supported");
+ "Bitmap.compress() is not supported", null /*data*/);
return true;
}
@@ -386,7 +386,8 @@ public final class Bitmap_Delegate {
// This is only called by Bitmap.CREATOR (Parcelable.Creator<Bitmap>), which is only
// used during aidl call so really this should not be called.
Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED,
- "AIDL is not suppored, and therefore Bitmaps cannot be created from parcels.");
+ "AIDL is not suppored, and therefore Bitmaps cannot be created from parcels.",
+ null /*data*/);
return null;
}
@@ -395,7 +396,8 @@ public final class Bitmap_Delegate {
// This is only called when sending a bitmap through aidl, so really this should not
// be called.
Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED,
- "AIDL is not suppored, and therefore Bitmaps cannot be written to parcels.");
+ "AIDL is not suppored, and therefore Bitmaps cannot be written to parcels.",
+ null /*data*/);
return false;
}
@@ -412,7 +414,7 @@ public final class Bitmap_Delegate {
if (paint != null && paint.getMaskFilter() != null) {
Bridge.getLog().fidelityWarning(LayoutLog.TAG_MASKFILTER,
"MaskFilter not supported in Bitmap.extractAlpha",
- null);
+ null, null /*data*/);
}
int alpha = paint != null ? paint.getAlpha() : 0xFF;