1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


__jni_bindgen! {
    /// public enum [Path.Direction](https://developer.android.com/reference/android/graphics/Path.Direction.html)
    ///
    /// Required feature: android-graphics-Path_Direction
    #[cfg(any(feature = "all", feature = "android-graphics-Path_Direction"))]
    public enum Path_Direction extends crate::java::lang::Enum {

        // // Not emitting: Returning arrays of objects not yet supported
        // /// [values](https://developer.android.com/reference/android/graphics/Path.Direction.html#values())
        // ///
        // /// Required features: "android-graphics-Path_Direction"
        // #[cfg(any(feature = "all", all(feature = "android-graphics-Path_Direction")))]
        // pub fn values<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<Array { levels: 1, inner: Class(Id("android/graphics/Path$Direction")) }> {
        //     // class.path == "android/graphics/Path$Direction", java.flags == PUBLIC | STATIC, .name == "values", .descriptor == "()[Landroid/graphics/Path$Direction;"
        //     unsafe {
        //         let __jni_args = [];
        //         let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/graphics/Path$Direction\0", "values\0", "()[Landroid/graphics/Path$Direction;\0");
        //         __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
        //     }
        // }

        /// [valueOf](https://developer.android.com/reference/android/graphics/Path.Direction.html#valueOf(java,%2520lang,%2520String))
        ///
        /// Required features: "android-graphics-Path_Direction", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-graphics-Path_Direction", feature = "java-lang-String")))]
        pub fn value_of<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::graphics::Path_Direction>>> {
            // class.path == "android/graphics/Path$Direction", java.flags == PUBLIC | STATIC, .name == "valueOf", .descriptor == "(Ljava/lang/String;)Landroid/graphics/Path$Direction;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/graphics/Path$Direction\0", "valueOf\0", "(Ljava/lang/String;)Landroid/graphics/Path$Direction;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        // // Not emitting: Non-public method
        // /// <init>
        // ///
        // /// Required features: "java-lang-String"
        // #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        // fn new<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i32) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::android::graphics::Path_Direction>> {
        //     // class.path == "android/graphics/Path$Direction", java.flags == PRIVATE, .name == "<init>", .descriptor == "(Ljava/lang/String;I)V"
        //     unsafe {
        //         let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
        //         let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/Path$Direction\0", "<init>\0", "(Ljava/lang/String;I)V\0");
        //         __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
        //     }
        // }

        // // Not emitting: Failed to mangle method name
        // // Not emitting: Non-public method
        // // Not emitting: Static class constructor - never needs to be called by Rust.
        // /// <clinit>
        // fn <clinit><'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<()> {
        //     // class.path == "android/graphics/Path$Direction", java.flags == STATIC, .name == "<clinit>", .descriptor == "()V"
        //     unsafe {
        //         let __jni_args = [];
        //         let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/graphics/Path$Direction\0", "<clinit>\0", "()V\0");
        //         __jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
        //     }
        // }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public static final [CW](https://developer.android.com/reference/android/graphics/Path.Direction.html#CW)
        // ///
        // /// Required feature: android-graphics-Path_Direction
        // #[cfg(any(feature = "all", feature = "android-graphics-Path_Direction"))]
        // pub fn cw<'env>(env: &'env __jni_bindgen::Env) -> android/graphics/Path$Direction {
        //     unsafe {
        //         let (class, field) = env.require_class_static_field("android/graphics/Path$Direction\0", "CW\0", "Landroid/graphics/Path$Direction;\0");
        //         env.get_static_object_field(class, field)
        //     }
        // }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public static final [CCW](https://developer.android.com/reference/android/graphics/Path.Direction.html#CCW)
        // ///
        // /// Required feature: android-graphics-Path_Direction
        // #[cfg(any(feature = "all", feature = "android-graphics-Path_Direction"))]
        // pub fn ccw<'env>(env: &'env __jni_bindgen::Env) -> android/graphics/Path$Direction {
        //     unsafe {
        //         let (class, field) = env.require_class_static_field("android/graphics/Path$Direction\0", "CCW\0", "Landroid/graphics/Path$Direction;\0");
        //         env.get_static_object_field(class, field)
        //     }
        // }

        // // Not emitting: Non-public method
        // // Not emitting: Haven't yet implemented array field types
        // // Not emitting: Failed to mangle field name(s)
        // pub fn get_"$VALUES"<'env>(env: &'env __jni_bindgen::Env) -> ??? { ... }
    }
}