Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 991872bd authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android (Google) Code Review
Browse files

Merge "Add isElegantHeight to Layoutlib"

parents 4b0ee78b 08ea918c
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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.