diff options
author | Deepanshu Gupta <deepanshu@google.com> | 2015-05-13 21:47:10 -0700 |
---|---|---|
committer | Deepanshu Gupta <deepanshu@google.com> | 2015-05-13 21:47:10 -0700 |
commit | 1ae505060e9726782bc14af4e612b624cf2d038a (patch) | |
tree | 8623643684282019684fbe83453b160abcb0491d | |
parent | 5987e553c2b6eb2a341bf13ec50daff0b541e4e8 (diff) | |
download | frameworks_base-1ae505060e9726782bc14af4e612b624cf2d038a.zip frameworks_base-1ae505060e9726782bc14af4e612b624cf2d038a.tar.gz frameworks_base-1ae505060e9726782bc14af4e612b624cf2d038a.tar.bz2 |
Update rendering fidelity tag to use constant.
Change-Id: If6c1076aa1e070c6bda7be16516fe0e18a95fe2d
-rw-r--r-- | tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java index a2e9a85..3b1e3f9 100644 --- a/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java +++ b/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java @@ -1102,8 +1102,8 @@ public class Paint_Delegate { @LayoutlibDelegate /*package*/ static void native_setLetterSpacing(long nativePaint, float letterSpacing) { - Bridge.getLog().fidelityWarning("textRendering", "Paint.setLetterSpacing() not supported.", - null, null); + Bridge.getLog().fidelityWarning(LayoutLog.TAG_TEXT_RENDERING, + "Paint.setLetterSpacing() not supported.", null, null); Paint_Delegate delegate = sManager.getDelegate(nativePaint); if (delegate == null) { return; @@ -1113,7 +1113,7 @@ public class Paint_Delegate { @LayoutlibDelegate /*package*/ static void native_setFontFeatureSettings(long nativePaint, String settings) { - Bridge.getLog().fidelityWarning("textRendering", + Bridge.getLog().fidelityWarning(LayoutLog.TAG_TEXT_RENDERING, "Paint.setFontFeatureSettings() not supported.", null, null); } @@ -1146,7 +1146,7 @@ public class Paint_Delegate { return false; } if (string.length() > 1) { - Bridge.getLog().fidelityWarning("textRendering", + Bridge.getLog().fidelityWarning(LayoutLog.TAG_TEXT_RENDERING, "Paint.hasGlyph() is not supported for ligatures.", null, null); return false; } |