jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-renderscript-ProgramStore"))]
__jni_bindgen! {
    /// public class [ProgramStore](https://developer.android.com/reference/android/renderscript/ProgramStore.html)
    ///
    /// Required feature: "android-renderscript-ProgramStore"
    public class ProgramStore ("android/renderscript/ProgramStore") extends crate::android::renderscript::BaseObj {

        /// [getDepthFunc](https://developer.android.com/reference/android/renderscript/ProgramStore.html#getDepthFunc())
        ///
        /// Required features: "android-renderscript-ProgramStore_DepthFunc"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-ProgramStore_DepthFunc")))]
        pub fn getDepthFunc<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::ProgramStore_DepthFunc>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/ProgramStore", java.flags == PUBLIC, .name == "getDepthFunc", .descriptor == "()Landroid/renderscript/ProgramStore$DepthFunc;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/renderscript/ProgramStore\0", "getDepthFunc\0", "()Landroid/renderscript/ProgramStore$DepthFunc;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isDepthMaskEnabled](https://developer.android.com/reference/android/renderscript/ProgramStore.html#isDepthMaskEnabled())
        pub fn isDepthMaskEnabled<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/ProgramStore", java.flags == PUBLIC, .name == "isDepthMaskEnabled", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/renderscript/ProgramStore\0", "isDepthMaskEnabled\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isColorMaskRedEnabled](https://developer.android.com/reference/android/renderscript/ProgramStore.html#isColorMaskRedEnabled())
        pub fn isColorMaskRedEnabled<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/ProgramStore", java.flags == PUBLIC, .name == "isColorMaskRedEnabled", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/renderscript/ProgramStore\0", "isColorMaskRedEnabled\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isColorMaskGreenEnabled](https://developer.android.com/reference/android/renderscript/ProgramStore.html#isColorMaskGreenEnabled())
        pub fn isColorMaskGreenEnabled<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/ProgramStore", java.flags == PUBLIC, .name == "isColorMaskGreenEnabled", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/renderscript/ProgramStore\0", "isColorMaskGreenEnabled\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isColorMaskBlueEnabled](https://developer.android.com/reference/android/renderscript/ProgramStore.html#isColorMaskBlueEnabled())
        pub fn isColorMaskBlueEnabled<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/ProgramStore", java.flags == PUBLIC, .name == "isColorMaskBlueEnabled", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/renderscript/ProgramStore\0", "isColorMaskBlueEnabled\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isColorMaskAlphaEnabled](https://developer.android.com/reference/android/renderscript/ProgramStore.html#isColorMaskAlphaEnabled())
        pub fn isColorMaskAlphaEnabled<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/ProgramStore", java.flags == PUBLIC, .name == "isColorMaskAlphaEnabled", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/renderscript/ProgramStore\0", "isColorMaskAlphaEnabled\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getBlendSrcFunc](https://developer.android.com/reference/android/renderscript/ProgramStore.html#getBlendSrcFunc())
        ///
        /// Required features: "android-renderscript-ProgramStore_BlendSrcFunc"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-ProgramStore_BlendSrcFunc")))]
        pub fn getBlendSrcFunc<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::ProgramStore_BlendSrcFunc>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/ProgramStore", java.flags == PUBLIC, .name == "getBlendSrcFunc", .descriptor == "()Landroid/renderscript/ProgramStore$BlendSrcFunc;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/renderscript/ProgramStore\0", "getBlendSrcFunc\0", "()Landroid/renderscript/ProgramStore$BlendSrcFunc;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getBlendDstFunc](https://developer.android.com/reference/android/renderscript/ProgramStore.html#getBlendDstFunc())
        ///
        /// Required features: "android-renderscript-ProgramStore_BlendDstFunc"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-ProgramStore_BlendDstFunc")))]
        pub fn getBlendDstFunc<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::ProgramStore_BlendDstFunc>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/ProgramStore", java.flags == PUBLIC, .name == "getBlendDstFunc", .descriptor == "()Landroid/renderscript/ProgramStore$BlendDstFunc;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/renderscript/ProgramStore\0", "getBlendDstFunc\0", "()Landroid/renderscript/ProgramStore$BlendDstFunc;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isDitherEnabled](https://developer.android.com/reference/android/renderscript/ProgramStore.html#isDitherEnabled())
        pub fn isDitherEnabled<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/ProgramStore", java.flags == PUBLIC, .name == "isDitherEnabled", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/renderscript/ProgramStore\0", "isDitherEnabled\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

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

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

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

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