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


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

        /// [values](https://developer.android.com/reference/android/graphics/Matrix.ScaleToFit.html#values())
        ///
        /// Required features: "android-graphics-Matrix_ScaleToFit"
        #[cfg(any(feature = "all", all(feature = "android-graphics-Matrix_ScaleToFit")))]
        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::graphics::Matrix_ScaleToFit, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/graphics/Matrix$ScaleToFit", java.flags == PUBLIC | STATIC, .name == "values", .descriptor == "()[Landroid/graphics/Matrix$ScaleToFit;"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/graphics/Matrix$ScaleToFit\0", "values\0", "()[Landroid/graphics/Matrix$ScaleToFit;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

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

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

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

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

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