// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-renderscript-Font"))]
__jni_bindgen! {
/// public class [Font](https://developer.android.com/reference/android/renderscript/Font.html)
///
/// Required feature: "android-renderscript-Font"
public class Font ("android/renderscript/Font") extends crate::android::renderscript::BaseObj {
/// [createFromFile](https://developer.android.com/reference/android/renderscript/Font.html#createFromFile(android.renderscript.RenderScript,%20android.content.res.Resources,%20java.lang.String,%20float))
///
/// Required features: "android-content-res-Resources", "android-renderscript-Font", "android-renderscript-RenderScript", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-content-res-Resources", feature = "android-renderscript-Font", feature = "android-renderscript-RenderScript", feature = "java-lang-String")))]
pub fn createFromFile_RenderScript_Resources_String_float<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::res::Resources>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg3: f32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Font>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/renderscript/Font", java.flags == PUBLIC | STATIC, .name == "createFromFile", .descriptor == "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/lang/String;F)Landroid/renderscript/Font;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/Font\0", "createFromFile\0", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/lang/String;F)Landroid/renderscript/Font;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [createFromFile](https://developer.android.com/reference/android/renderscript/Font.html#createFromFile(android.renderscript.RenderScript,%20android.content.res.Resources,%20java.io.File,%20float))
///
/// Required features: "android-content-res-Resources", "android-renderscript-Font", "android-renderscript-RenderScript", "java-io-File"
#[cfg(any(feature = "all", all(feature = "android-content-res-Resources", feature = "android-renderscript-Font", feature = "android-renderscript-RenderScript", feature = "java-io-File")))]
pub fn createFromFile_RenderScript_Resources_File_float<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::res::Resources>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::io::File>>, arg3: f32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Font>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/renderscript/Font", java.flags == PUBLIC | STATIC, .name == "createFromFile", .descriptor == "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/io/File;F)Landroid/renderscript/Font;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/Font\0", "createFromFile\0", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/io/File;F)Landroid/renderscript/Font;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [createFromAsset](https://developer.android.com/reference/android/renderscript/Font.html#createFromAsset(android.renderscript.RenderScript,%20android.content.res.Resources,%20java.lang.String,%20float))
///
/// Required features: "android-content-res-Resources", "android-renderscript-Font", "android-renderscript-RenderScript", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-content-res-Resources", feature = "android-renderscript-Font", feature = "android-renderscript-RenderScript", feature = "java-lang-String")))]
pub fn createFromAsset<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::res::Resources>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg3: f32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Font>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/renderscript/Font", java.flags == PUBLIC | STATIC, .name == "createFromAsset", .descriptor == "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/lang/String;F)Landroid/renderscript/Font;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/Font\0", "createFromAsset\0", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/lang/String;F)Landroid/renderscript/Font;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [createFromResource](https://developer.android.com/reference/android/renderscript/Font.html#createFromResource(android.renderscript.RenderScript,%20android.content.res.Resources,%20int,%20float))
///
/// Required features: "android-content-res-Resources", "android-renderscript-Font", "android-renderscript-RenderScript"
#[cfg(any(feature = "all", all(feature = "android-content-res-Resources", feature = "android-renderscript-Font", feature = "android-renderscript-RenderScript")))]
pub fn createFromResource<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::res::Resources>>, arg2: i32, arg3: f32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Font>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/renderscript/Font", java.flags == PUBLIC | STATIC, .name == "createFromResource", .descriptor == "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;IF)Landroid/renderscript/Font;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/Font\0", "createFromResource\0", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;IF)Landroid/renderscript/Font;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [create](https://developer.android.com/reference/android/renderscript/Font.html#create(android.renderscript.RenderScript,%20android.content.res.Resources,%20java.lang.String,%20android.renderscript.Font.Style,%20float))
///
/// Required features: "android-content-res-Resources", "android-renderscript-Font", "android-renderscript-Font_Style", "android-renderscript-RenderScript", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-content-res-Resources", feature = "android-renderscript-Font", feature = "android-renderscript-Font_Style", feature = "android-renderscript-RenderScript", feature = "java-lang-String")))]
pub fn create<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::res::Resources>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::Font_Style>>, arg4: f32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Font>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/renderscript/Font", java.flags == PUBLIC | STATIC, .name == "create", .descriptor == "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/lang/String;Landroid/renderscript/Font$Style;F)Landroid/renderscript/Font;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3.into()), __jni_bindgen::AsJValue::as_jvalue(&arg4)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/Font\0", "create\0", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/lang/String;Landroid/renderscript/Font$Style;F)Landroid/renderscript/Font;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
}
}