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
#[cfg(any(feature = "all", feature = "android-renderscript-Allocation_MipmapControl"))]
__jni_bindgen! {
public enum Allocation_MipmapControl ("android/renderscript/Allocation$MipmapControl") extends crate::java::lang::Enum {
#[cfg(any(feature = "all", all(feature = "android-renderscript-Allocation_MipmapControl")))]
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::Allocation_MipmapControl, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/Allocation$MipmapControl\0", "values\0", "()[Landroid/renderscript/Allocation$MipmapControl;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-renderscript-Allocation_MipmapControl", 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::Allocation_MipmapControl>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/Allocation$MipmapControl\0", "valueOf\0", "(Ljava/lang/String;)Landroid/renderscript/Allocation$MipmapControl;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", feature = "android-renderscript-Allocation_MipmapControl"))]
pub fn MIPMAP_NONE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Allocation_MipmapControl>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/renderscript/Allocation$MipmapControl\0", "MIPMAP_NONE\0", "Landroid/renderscript/Allocation$MipmapControl;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-renderscript-Allocation_MipmapControl"))]
pub fn MIPMAP_FULL<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Allocation_MipmapControl>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/renderscript/Allocation$MipmapControl\0", "MIPMAP_FULL\0", "Landroid/renderscript/Allocation$MipmapControl;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-renderscript-Allocation_MipmapControl"))]
pub fn MIPMAP_ON_SYNC_TO_TEXTURE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Allocation_MipmapControl>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/renderscript/Allocation$MipmapControl\0", "MIPMAP_ON_SYNC_TO_TEXTURE\0", "Landroid/renderscript/Allocation$MipmapControl;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}