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

Commit 68fc1dfc authored by Romain Guy's avatar Romain Guy
Browse files

Remove unused code

Change-Id: Ife0a43f3cfe64a1e74401b10bf74d37cbeefb5af
parent f9d9c065
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2144,8 +2144,6 @@ public class Paint {
    private static native void native_setTextAlign(int native_object,
                                                   int align);

    private static native float native_getFontMetrics(int native_paint,
                                                      FontMetrics metrics);
    private static native int native_getTextWidths(int native_object,
                            char[] text, int index, int count, float[] widths);
    private static native int native_getTextWidths(int native_object,
+0 −11
Original line number Diff line number Diff line
@@ -903,17 +903,6 @@ public class Paint_Delegate {
        delegate.mTextAlign = align;
    }

    @LayoutlibDelegate
    /*package*/ static float native_getFontMetrics(int native_paint, FontMetrics metrics) {
        // get the delegate from the native int.
        Paint_Delegate delegate = sManager.getDelegate(native_paint);
        if (delegate == null) {
            return 0.f;
        }

        return delegate.getFontMetrics(metrics);
    }

    @LayoutlibDelegate
    /*package*/ static int native_getTextWidths(int native_object, char[] text, int index,
            int count, float[] widths) {