diff options
| author | 2014-04-18 23:11:27 +0000 | |
|---|---|---|
| committer | 2014-04-18 23:11:27 +0000 | |
| commit | 991872bd43f0778f58de6004c60544e8d331f39d (patch) | |
| tree | 3831797e7da3e761e2eb5c73aa221f55fd8b57a7 | |
| parent | 4b0ee78bfa0df6e278c7327822fd9a0eff52b584 (diff) | |
| parent | 08ea918c86175d313c8e7f10c0b4a25c1424639b (diff) | |
Merge "Add isElegantHeight to Layoutlib"
| -rw-r--r-- | tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java index de2e5922f0bf..25eaaf596880 100644 --- a/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java +++ b/tools/layoutlib/bridge/src/android/graphics/Paint_Delegate.java @@ -428,6 +428,16 @@ public class Paint_Delegate { } @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. Paint_Delegate delegate = sManager.getDelegate(thisPaint.mNativePaint); |