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
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-text-Layout_Alignment"))]
__jni_bindgen! {
    /// public enum [Layout.Alignment](https://developer.android.com/reference/android/text/Layout.Alignment.html)
    ///
    /// Required feature: "android-text-Layout_Alignment"
    public enum Layout_Alignment ("android/text/Layout$Alignment") extends crate::java::lang::Enum {

        /// [values](https://developer.android.com/reference/android/text/Layout.Alignment.html#values())
        ///
        /// Required features: "android-text-Layout_Alignment"
        #[cfg(any(feature = "all", all(feature = "android-text-Layout_Alignment")))]
        pub fn values<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ObjectArray<crate::android::text::Layout_Alignment, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/text/Layout$Alignment", java.flags == PUBLIC | STATIC, .name == "values", .descriptor == "()[Landroid/text/Layout$Alignment;"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/Layout$Alignment\0", "values\0", "()[Landroid/text/Layout$Alignment;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [valueOf](https://developer.android.com/reference/android/text/Layout.Alignment.html#valueOf(java.lang.String))
        ///
        /// Required features: "android-text-Layout_Alignment", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-text-Layout_Alignment", feature = "java-lang-String")))]
        pub fn valueOf<'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::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::text::Layout_Alignment>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/text/Layout$Alignment", java.flags == PUBLIC | STATIC, .name == "valueOf", .descriptor == "(Ljava/lang/String;)Landroid/text/Layout$Alignment;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/Layout$Alignment\0", "valueOf\0", "(Ljava/lang/String;)Landroid/text/Layout$Alignment;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// **get** public static final [ALIGN_NORMAL](https://developer.android.com/reference/android/text/Layout.Alignment.html#ALIGN_NORMAL)
        ///
        /// Required feature: "android-text-Layout_Alignment"
        #[cfg(any(feature = "all", feature = "android-text-Layout_Alignment"))]
        pub fn ALIGN_NORMAL<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::text::Layout_Alignment>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("android/text/Layout$Alignment\0", "ALIGN_NORMAL\0", "Landroid/text/Layout$Alignment;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [ALIGN_OPPOSITE](https://developer.android.com/reference/android/text/Layout.Alignment.html#ALIGN_OPPOSITE)
        ///
        /// Required feature: "android-text-Layout_Alignment"
        #[cfg(any(feature = "all", feature = "android-text-Layout_Alignment"))]
        pub fn ALIGN_OPPOSITE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::text::Layout_Alignment>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("android/text/Layout$Alignment\0", "ALIGN_OPPOSITE\0", "Landroid/text/Layout$Alignment;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [ALIGN_CENTER](https://developer.android.com/reference/android/text/Layout.Alignment.html#ALIGN_CENTER)
        ///
        /// Required feature: "android-text-Layout_Alignment"
        #[cfg(any(feature = "all", feature = "android-text-Layout_Alignment"))]
        pub fn ALIGN_CENTER<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::text::Layout_Alignment>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("android/text/Layout$Alignment\0", "ALIGN_CENTER\0", "Landroid/text/Layout$Alignment;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [ALIGN_LEFT](https://developer.android.com/reference/android/text/Layout.Alignment.html#ALIGN_LEFT)
        ///
        /// Required feature: "android-text-Layout_Alignment"
        #[cfg(any(feature = "all", feature = "android-text-Layout_Alignment"))]
        pub fn ALIGN_LEFT<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::text::Layout_Alignment>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("android/text/Layout$Alignment\0", "ALIGN_LEFT\0", "Landroid/text/Layout$Alignment;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [ALIGN_RIGHT](https://developer.android.com/reference/android/text/Layout.Alignment.html#ALIGN_RIGHT)
        ///
        /// Required feature: "android-text-Layout_Alignment"
        #[cfg(any(feature = "all", feature = "android-text-Layout_Alignment"))]
        pub fn ALIGN_RIGHT<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::text::Layout_Alignment>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("android/text/Layout$Alignment\0", "ALIGN_RIGHT\0", "Landroid/text/Layout$Alignment;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }
    }
}