diff options
author | Xavier Ducrohet <xav@android.com> | 2011-01-13 10:59:34 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2011-01-13 11:08:27 -0800 |
commit | 918aaa5717fce6081557c82ce1c439b6922737d5 (patch) | |
tree | bf78b135a70551d4b6f071abea94f31d327ac934 /tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java | |
parent | 310a4d815b693e358d151b9aa2823c5022993f9b (diff) | |
download | frameworks_base-918aaa5717fce6081557c82ce1c439b6922737d5.zip frameworks_base-918aaa5717fce6081557c82ce1c439b6922737d5.tar.gz frameworks_base-918aaa5717fce6081557c82ce1c439b6922737d5.tar.bz2 |
LayoutLib: Use the new log tag constants from LayoutLog
Change-Id: I29dd578ae16405358d3673caf13528be393f0967
Diffstat (limited to 'tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java')
-rw-r--r-- | tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java index 7db3486..67afeca 100644 --- a/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java +++ b/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java @@ -16,8 +16,8 @@ package android.graphics; +import com.android.ide.common.rendering.api.LayoutLog; import com.android.layoutlib.bridge.Bridge; -import com.android.layoutlib.bridge.BridgeConstants; import com.android.layoutlib.bridge.impl.DelegateManager; import android.graphics.Paint.FontMetrics; @@ -180,7 +180,7 @@ public class Paint_Delegate { return stroke; } } else { - Bridge.getLog().fidelityWarning(BridgeConstants.TAG_PATHEFFECT, + Bridge.getLog().fidelityWarning(LayoutLog.TAG_PATHEFFECT, effectDelegate.getSupportMessage(), null); } @@ -376,7 +376,7 @@ public class Paint_Delegate { /*package*/ static void nSetShadowLayer(Paint thisPaint, float radius, float dx, float dy, int color) { // FIXME - Bridge.getLog().fidelityWarning(BridgeConstants.TAG_UNSUPPORTED, + Bridge.getLog().fidelityWarning(LayoutLog.TAG_UNSUPPORTED, "Paint.setShadowLayer is not supported.", null); } @@ -693,7 +693,7 @@ public class Paint_Delegate { // since none of those are supported, display a fidelity warning right away ColorFilter_Delegate filterDelegate = delegate.getColorFilter(); if (filterDelegate != null && filterDelegate.isSupported() == false) { - Bridge.getLog().fidelityWarning(BridgeConstants.TAG_COLORFILTER, + Bridge.getLog().fidelityWarning(LayoutLog.TAG_COLORFILTER, filterDelegate.getSupportMessage(), null); } @@ -732,7 +732,7 @@ public class Paint_Delegate { // since none of those are supported, display a fidelity warning right away MaskFilter_Delegate filterDelegate = delegate.getMaskFilter(); if (filterDelegate != null && filterDelegate.isSupported() == false) { - Bridge.getLog().fidelityWarning(BridgeConstants.TAG_MASKFILTER, + Bridge.getLog().fidelityWarning(LayoutLog.TAG_MASKFILTER, filterDelegate.getSupportMessage(), null); } @@ -763,7 +763,7 @@ public class Paint_Delegate { // since none of those are supported, display a fidelity warning right away Rasterizer_Delegate rasterizerDelegate = delegate.getRasterizer(); if (rasterizerDelegate != null && rasterizerDelegate.isSupported() == false) { - Bridge.getLog().fidelityWarning(BridgeConstants.TAG_RASTERIZER, + Bridge.getLog().fidelityWarning(LayoutLog.TAG_RASTERIZER, rasterizerDelegate.getSupportMessage(), null); } |