Loading tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java +10 −0 Original line number Diff line number Diff line Loading @@ -427,6 +427,16 @@ public class Paint_Delegate { "Paint.setShadowLayer is not supported.", null, null /*data*/); } @LayoutlibDelegate /*package*/ static boolean isElegantTextHeight(Paint thisPaint) { return false; } @LayoutlibDelegate /*package*/ static void setElegantTextHeight(Paint thisPaint, boolean elegant) { // TODO } @LayoutlibDelegate /*package*/ static float getTextSize(Paint thisPaint) { // get the delegate from the native int. Loading Loading
tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java +10 −0 Original line number Diff line number Diff line Loading @@ -427,6 +427,16 @@ public class Paint_Delegate { "Paint.setShadowLayer is not supported.", null, null /*data*/); } @LayoutlibDelegate /*package*/ static boolean isElegantTextHeight(Paint thisPaint) { return false; } @LayoutlibDelegate /*package*/ static void setElegantTextHeight(Paint thisPaint, boolean elegant) { // TODO } @LayoutlibDelegate /*package*/ static float getTextSize(Paint thisPaint) { // get the delegate from the native int. Loading