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

Commit c32a98b8 authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android Git Automerger
Browse files

am f978f16e: resolved conflicts for merge of c76345a3 to klp-modular-dev-plus-aosp

* commit 'f978f16e':
  Fix the delegate method signatures in LayoutLib
parents 81686bd9 f978f16e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -401,17 +401,17 @@ public final class Path_Delegate {
    }

    @LayoutlibDelegate
    /*package*/ static void native_addPath(long nPath, int src, float dx, float dy) {
    /*package*/ static void native_addPath(long nPath, long src, float dx, float dy) {
        addPath(nPath, src, AffineTransform.getTranslateInstance(dx, dy));
    }

    @LayoutlibDelegate
    /*package*/ static void native_addPath(long nPath, int src) {
    /*package*/ static void native_addPath(long nPath, long src) {
        addPath(nPath, src, null /*transform*/);
    }

    @LayoutlibDelegate
    /*package*/ static void native_addPath(long nPath, int src, long matrix) {
    /*package*/ static void native_addPath(long nPath, long src, long matrix) {
        Matrix_Delegate matrixDelegate = Matrix_Delegate.getDelegate(matrix);
        if (matrixDelegate == null) {
            return;
@@ -474,7 +474,7 @@ public final class Path_Delegate {
    }

    @LayoutlibDelegate
    /*package*/ static boolean native_op(long nPath1, long nPath2, int op, int result) {
    /*package*/ static boolean native_op(long nPath1, long nPath2, int op, long result) {
        Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED, "Path.op() not supported", null);
        return false;
    }
+16 −0
Original line number Diff line number Diff line
@@ -136,6 +136,11 @@ public class ICU_Delegate {
        return "";
    }

    @LayoutlibDelegate
    /*package*/ static String getDisplayScriptNative(String variantCode, String locale) {
        return "";
    }

    @LayoutlibDelegate
    /*package*/ static String getISO3CountryNative(String locale) {
        return "";
@@ -166,6 +171,17 @@ public class ICU_Delegate {
        return Locale.getISOCountries();
    }


    @LayoutlibDelegate
    /*package*/ static String localeForLanguageTag(String languageTag, boolean strict) {
        return "";
    }

    @LayoutlibDelegate
    /*package*/ static String languageTagForLocale(String locale) {
        return "";
    }

    @LayoutlibDelegate
    /*package*/ static boolean initLocaleDataNative(String locale, LocaleData result) {