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
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


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

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

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

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

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

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

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

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

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

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

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