// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-text-TextUtils"))]
__jni_bindgen! {
/// public class [TextUtils](https://developer.android.com/reference/android/text/TextUtils.html)
///
/// Required feature: "android-text-TextUtils"
public class TextUtils ("android/text/TextUtils") extends crate::java::lang::Object {
/// [getChars](https://developer.android.com/reference/android/text/TextUtils.html#getChars(java.lang.CharSequence,%20int,%20int,%20char%5B%5D,%20int))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn getChars<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: i32, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::CharArray>>, arg4: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "getChars", .descriptor == "(Ljava/lang/CharSequence;II[CI)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __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/text/TextUtils\0", "getChars\0", "(Ljava/lang/CharSequence;II[CI)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [indexOf](https://developer.android.com/reference/android/text/TextUtils.html#indexOf(java.lang.CharSequence,%20char))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn indexOf_CharSequence_char<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: __jni_bindgen::jchar) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "indexOf", .descriptor == "(Ljava/lang/CharSequence;C)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "indexOf\0", "(Ljava/lang/CharSequence;C)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [indexOf](https://developer.android.com/reference/android/text/TextUtils.html#indexOf(java.lang.CharSequence,%20char,%20int))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn indexOf_CharSequence_char_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: __jni_bindgen::jchar, arg2: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "indexOf", .descriptor == "(Ljava/lang/CharSequence;CI)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "indexOf\0", "(Ljava/lang/CharSequence;CI)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [indexOf](https://developer.android.com/reference/android/text/TextUtils.html#indexOf(java.lang.CharSequence,%20char,%20int,%20int))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn indexOf_CharSequence_char_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: __jni_bindgen::jchar, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "indexOf", .descriptor == "(Ljava/lang/CharSequence;CII)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "indexOf\0", "(Ljava/lang/CharSequence;CII)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [lastIndexOf](https://developer.android.com/reference/android/text/TextUtils.html#lastIndexOf(java.lang.CharSequence,%20char))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn lastIndexOf_CharSequence_char<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: __jni_bindgen::jchar) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "lastIndexOf", .descriptor == "(Ljava/lang/CharSequence;C)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "lastIndexOf\0", "(Ljava/lang/CharSequence;C)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [lastIndexOf](https://developer.android.com/reference/android/text/TextUtils.html#lastIndexOf(java.lang.CharSequence,%20char,%20int))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn lastIndexOf_CharSequence_char_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: __jni_bindgen::jchar, arg2: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "lastIndexOf", .descriptor == "(Ljava/lang/CharSequence;CI)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "lastIndexOf\0", "(Ljava/lang/CharSequence;CI)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [lastIndexOf](https://developer.android.com/reference/android/text/TextUtils.html#lastIndexOf(java.lang.CharSequence,%20char,%20int,%20int))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn lastIndexOf_CharSequence_char_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: __jni_bindgen::jchar, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "lastIndexOf", .descriptor == "(Ljava/lang/CharSequence;CII)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "lastIndexOf\0", "(Ljava/lang/CharSequence;CII)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [indexOf](https://developer.android.com/reference/android/text/TextUtils.html#indexOf(java.lang.CharSequence,%20java.lang.CharSequence))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn indexOf_CharSequence_CharSequence<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "indexOf", .descriptor == "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "indexOf\0", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [indexOf](https://developer.android.com/reference/android/text/TextUtils.html#indexOf(java.lang.CharSequence,%20java.lang.CharSequence,%20int))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn indexOf_CharSequence_CharSequence_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg2: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "indexOf", .descriptor == "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "indexOf\0", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [indexOf](https://developer.android.com/reference/android/text/TextUtils.html#indexOf(java.lang.CharSequence,%20java.lang.CharSequence,%20int,%20int))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn indexOf_CharSequence_CharSequence_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "indexOf", .descriptor == "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;II)I"
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/text/TextUtils\0", "indexOf\0", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;II)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [regionMatches](https://developer.android.com/reference/android/text/TextUtils.html#regionMatches(java.lang.CharSequence,%20int,%20java.lang.CharSequence,%20int,%20int))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn regionMatches<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg3: i32, arg4: i32) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "regionMatches", .descriptor == "(Ljava/lang/CharSequence;ILjava/lang/CharSequence;II)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "regionMatches\0", "(Ljava/lang/CharSequence;ILjava/lang/CharSequence;II)Z\0");
__jni_env.call_static_boolean_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [substring](https://developer.android.com/reference/android/text/TextUtils.html#substring(java.lang.CharSequence,%20int,%20int))
///
/// Required features: "java-lang-CharSequence", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence", feature = "java-lang-String")))]
pub fn substring<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "substring", .descriptor == "(Ljava/lang/CharSequence;II)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "substring\0", "(Ljava/lang/CharSequence;II)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [join](https://developer.android.com/reference/android/text/TextUtils.html#join(java.lang.CharSequence,%20java.lang.Object%5B%5D))
///
/// Required features: "java-lang-CharSequence", "java-lang-Object", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence", feature = "java-lang-Object", feature = "java-lang-String")))]
pub fn join_CharSequence_Object_array<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<crate::java::lang::Object, crate::java::lang::Throwable>>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "join", .descriptor == "(Ljava/lang/CharSequence;[Ljava/lang/Object;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "join\0", "(Ljava/lang/CharSequence;[Ljava/lang/Object;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [join](https://developer.android.com/reference/android/text/TextUtils.html#join(java.lang.CharSequence,%20java.lang.Iterable))
///
/// Required features: "java-lang-CharSequence", "java-lang-Iterable", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence", feature = "java-lang-Iterable", feature = "java-lang-String")))]
pub fn join_CharSequence_Iterable<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Iterable>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "join", .descriptor == "(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "join\0", "(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [split](https://developer.android.com/reference/android/text/TextUtils.html#split(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn split_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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, __jni_bindgen::ObjectArray<crate::java::lang::String, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "split", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "split\0", "(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [split](https://developer.android.com/reference/android/text/TextUtils.html#split(java.lang.String,%20java.util.regex.Pattern))
///
/// Required features: "java-lang-String", "java-util-regex-Pattern"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-util-regex-Pattern")))]
pub fn split_String_Pattern<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::regex::Pattern>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ObjectArray<crate::java::lang::String, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "split", .descriptor == "(Ljava/lang/String;Ljava/util/regex/Pattern;)[Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "split\0", "(Ljava/lang/String;Ljava/util/regex/Pattern;)[Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [stringOrSpannedString](https://developer.android.com/reference/android/text/TextUtils.html#stringOrSpannedString(java.lang.CharSequence))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn stringOrSpannedString<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::CharSequence>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "stringOrSpannedString", .descriptor == "(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "stringOrSpannedString\0", "(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [isEmpty](https://developer.android.com/reference/android/text/TextUtils.html#isEmpty(java.lang.CharSequence))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn isEmpty<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "isEmpty", .descriptor == "(Ljava/lang/CharSequence;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "isEmpty\0", "(Ljava/lang/CharSequence;)Z\0");
__jni_env.call_static_boolean_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getTrimmedLength](https://developer.android.com/reference/android/text/TextUtils.html#getTrimmedLength(java.lang.CharSequence))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn getTrimmedLength<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "getTrimmedLength", .descriptor == "(Ljava/lang/CharSequence;)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "getTrimmedLength\0", "(Ljava/lang/CharSequence;)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [equals](https://developer.android.com/reference/android/text/TextUtils.html#equals(java.lang.CharSequence,%20java.lang.CharSequence))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn equals<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "equals", .descriptor == "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "equals\0", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z\0");
__jni_env.call_static_boolean_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getReverse](https://developer.android.com/reference/android/text/TextUtils.html#getReverse(java.lang.CharSequence,%20int,%20int))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
#[deprecated] pub fn getReverse<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::CharSequence>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "getReverse", .descriptor == "(Ljava/lang/CharSequence;II)Ljava/lang/CharSequence;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "getReverse\0", "(Ljava/lang/CharSequence;II)Ljava/lang/CharSequence;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [writeToParcel](https://developer.android.com/reference/android/text/TextUtils.html#writeToParcel(java.lang.CharSequence,%20android.os.Parcel,%20int))
///
/// Required features: "android-os-Parcel", "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "android-os-Parcel", feature = "java-lang-CharSequence")))]
pub fn writeToParcel<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Parcel>>, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "writeToParcel", .descriptor == "(Ljava/lang/CharSequence;Landroid/os/Parcel;I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "writeToParcel\0", "(Ljava/lang/CharSequence;Landroid/os/Parcel;I)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dumpSpans](https://developer.android.com/reference/android/text/TextUtils.html#dumpSpans(java.lang.CharSequence,%20android.util.Printer,%20java.lang.String))
///
/// Required features: "android-util-Printer", "java-lang-CharSequence", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-util-Printer", feature = "java-lang-CharSequence", feature = "java-lang-String")))]
pub fn dumpSpans<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::util::Printer>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "dumpSpans", .descriptor == "(Ljava/lang/CharSequence;Landroid/util/Printer;Ljava/lang/String;)V"
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())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "dumpSpans\0", "(Ljava/lang/CharSequence;Landroid/util/Printer;Ljava/lang/String;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [replace](https://developer.android.com/reference/android/text/TextUtils.html#replace(java.lang.CharSequence,%20java.lang.String%5B%5D,%20java.lang.CharSequence%5B%5D))
///
/// Required features: "java-lang-CharSequence", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence", feature = "java-lang-String")))]
pub fn replace<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<crate::java::lang::String, crate::java::lang::Throwable>>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<crate::java::lang::CharSequence, crate::java::lang::Throwable>>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::CharSequence>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "replace", .descriptor == "(Ljava/lang/CharSequence;[Ljava/lang/String;[Ljava/lang/CharSequence;)Ljava/lang/CharSequence;"
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())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "replace\0", "(Ljava/lang/CharSequence;[Ljava/lang/String;[Ljava/lang/CharSequence;)Ljava/lang/CharSequence;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [expandTemplate](https://developer.android.com/reference/android/text/TextUtils.html#expandTemplate(java.lang.CharSequence,%20java.lang.CharSequence...))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn expandTemplate<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<crate::java::lang::CharSequence, crate::java::lang::Throwable>>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::CharSequence>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC | VARARGS, .name == "expandTemplate", .descriptor == "(Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/CharSequence;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "expandTemplate\0", "(Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/CharSequence;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getOffsetBefore](https://developer.android.com/reference/android/text/TextUtils.html#getOffsetBefore(java.lang.CharSequence,%20int))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn getOffsetBefore<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "getOffsetBefore", .descriptor == "(Ljava/lang/CharSequence;I)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "getOffsetBefore\0", "(Ljava/lang/CharSequence;I)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getOffsetAfter](https://developer.android.com/reference/android/text/TextUtils.html#getOffsetAfter(java.lang.CharSequence,%20int))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn getOffsetAfter<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "getOffsetAfter", .descriptor == "(Ljava/lang/CharSequence;I)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "getOffsetAfter\0", "(Ljava/lang/CharSequence;I)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [copySpansFrom](https://developer.android.com/reference/android/text/TextUtils.html#copySpansFrom(android.text.Spanned,%20int,%20int,%20java.lang.Class,%20android.text.Spannable,%20int))
///
/// Required features: "android-text-Spannable", "android-text-Spanned", "java-lang-Class"
#[cfg(any(feature = "all", all(feature = "android-text-Spannable", feature = "android-text-Spanned", feature = "java-lang-Class")))]
pub fn copySpansFrom<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::text::Spanned>>, arg1: i32, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Class>>, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::text::Spannable>>, arg5: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "copySpansFrom", .descriptor == "(Landroid/text/Spanned;IILjava/lang/Class;Landroid/text/Spannable;I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into()), __jni_bindgen::AsJValue::as_jvalue(&arg4.into()), __jni_bindgen::AsJValue::as_jvalue(&arg5)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "copySpansFrom\0", "(Landroid/text/Spanned;IILjava/lang/Class;Landroid/text/Spannable;I)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [ellipsize](https://developer.android.com/reference/android/text/TextUtils.html#ellipsize(java.lang.CharSequence,%20android.text.TextPaint,%20float,%20android.text.TextUtils.TruncateAt))
///
/// Required features: "android-text-TextPaint", "android-text-TextUtils_TruncateAt", "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "android-text-TextPaint", feature = "android-text-TextUtils_TruncateAt", feature = "java-lang-CharSequence")))]
pub fn ellipsize_CharSequence_TextPaint_float_TruncateAt<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::text::TextPaint>>, arg2: f32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::text::TextUtils_TruncateAt>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::CharSequence>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "ellipsize", .descriptor == "(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/TextUtils$TruncateAt;)Ljava/lang/CharSequence;"
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.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "ellipsize\0", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/TextUtils$TruncateAt;)Ljava/lang/CharSequence;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [ellipsize](https://developer.android.com/reference/android/text/TextUtils.html#ellipsize(java.lang.CharSequence,%20android.text.TextPaint,%20float,%20android.text.TextUtils.TruncateAt,%20boolean,%20android.text.TextUtils.EllipsizeCallback))
///
/// Required features: "android-text-TextPaint", "android-text-TextUtils_EllipsizeCallback", "android-text-TextUtils_TruncateAt", "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "android-text-TextPaint", feature = "android-text-TextUtils_EllipsizeCallback", feature = "android-text-TextUtils_TruncateAt", feature = "java-lang-CharSequence")))]
pub fn ellipsize_CharSequence_TextPaint_float_TruncateAt_boolean_EllipsizeCallback<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::text::TextPaint>>, arg2: f32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::text::TextUtils_TruncateAt>>, arg4: bool, arg5: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::text::TextUtils_EllipsizeCallback>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::CharSequence>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "ellipsize", .descriptor == "(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/TextUtils$TruncateAt;ZLandroid/text/TextUtils$EllipsizeCallback;)Ljava/lang/CharSequence;"
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.into()), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "ellipsize\0", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/TextUtils$TruncateAt;ZLandroid/text/TextUtils$EllipsizeCallback;)Ljava/lang/CharSequence;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [commaEllipsize](https://developer.android.com/reference/android/text/TextUtils.html#commaEllipsize(java.lang.CharSequence,%20android.text.TextPaint,%20float,%20java.lang.String,%20java.lang.String))
///
/// Required features: "android-text-TextPaint", "java-lang-CharSequence", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-text-TextPaint", feature = "java-lang-CharSequence", feature = "java-lang-String")))]
pub fn commaEllipsize<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::text::TextPaint>>, arg2: f32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg4: 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::java::lang::CharSequence>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "commaEllipsize", .descriptor == "(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLjava/lang/String;Ljava/lang/String;)Ljava/lang/CharSequence;"
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.into()), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "commaEllipsize\0", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLjava/lang/String;Ljava/lang/String;)Ljava/lang/CharSequence;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [htmlEncode](https://developer.android.com/reference/android/text/TextUtils.html#htmlEncode(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn htmlEncode<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "htmlEncode", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "htmlEncode\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [concat](https://developer.android.com/reference/android/text/TextUtils.html#concat(java.lang.CharSequence...))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn concat<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<crate::java::lang::CharSequence, crate::java::lang::Throwable>>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::CharSequence>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC | VARARGS, .name == "concat", .descriptor == "([Ljava/lang/CharSequence;)Ljava/lang/CharSequence;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "concat\0", "([Ljava/lang/CharSequence;)Ljava/lang/CharSequence;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [isGraphic](https://developer.android.com/reference/android/text/TextUtils.html#isGraphic(java.lang.CharSequence))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn isGraphic_CharSequence<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "isGraphic", .descriptor == "(Ljava/lang/CharSequence;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "isGraphic\0", "(Ljava/lang/CharSequence;)Z\0");
__jni_env.call_static_boolean_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [isGraphic](https://developer.android.com/reference/android/text/TextUtils.html#isGraphic(char))
#[deprecated] pub fn isGraphic_char<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: __jni_bindgen::jchar) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "isGraphic", .descriptor == "(C)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "isGraphic\0", "(C)Z\0");
__jni_env.call_static_boolean_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [isDigitsOnly](https://developer.android.com/reference/android/text/TextUtils.html#isDigitsOnly(java.lang.CharSequence))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn isDigitsOnly<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "isDigitsOnly", .descriptor == "(Ljava/lang/CharSequence;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "isDigitsOnly\0", "(Ljava/lang/CharSequence;)Z\0");
__jni_env.call_static_boolean_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getCapsMode](https://developer.android.com/reference/android/text/TextUtils.html#getCapsMode(java.lang.CharSequence,%20int,%20int))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn getCapsMode<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "getCapsMode", .descriptor == "(Ljava/lang/CharSequence;II)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "getCapsMode\0", "(Ljava/lang/CharSequence;II)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getLayoutDirectionFromLocale](https://developer.android.com/reference/android/text/TextUtils.html#getLayoutDirectionFromLocale(java.util.Locale))
///
/// Required features: "java-util-Locale"
#[cfg(any(feature = "all", all(feature = "java-util-Locale")))]
pub fn getLayoutDirectionFromLocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Locale>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/text/TextUtils", java.flags == PUBLIC | STATIC, .name == "getLayoutDirectionFromLocale", .descriptor == "(Ljava/util/Locale;)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/text/TextUtils\0", "getLayoutDirectionFromLocale\0", "(Ljava/util/Locale;)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// public static final [CAP_MODE_CHARACTERS](https://developer.android.com/reference/android/text/TextUtils.html#CAP_MODE_CHARACTERS)
pub const CAP_MODE_CHARACTERS : i32 = 4096;
/// public static final [CAP_MODE_SENTENCES](https://developer.android.com/reference/android/text/TextUtils.html#CAP_MODE_SENTENCES)
pub const CAP_MODE_SENTENCES : i32 = 16384;
/// public static final [CAP_MODE_WORDS](https://developer.android.com/reference/android/text/TextUtils.html#CAP_MODE_WORDS)
pub const CAP_MODE_WORDS : i32 = 8192;
/// **get** public static final [CHAR_SEQUENCE_CREATOR](https://developer.android.com/reference/android/text/TextUtils.html#CHAR_SEQUENCE_CREATOR)
///
/// Required feature: "android-os-Parcelable_Creator"
#[cfg(any(feature = "all", feature = "android-os-Parcelable_Creator"))]
pub fn CHAR_SEQUENCE_CREATOR<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::os::Parcelable_Creator>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/text/TextUtils\0", "CHAR_SEQUENCE_CREATOR\0", "Landroid/os/Parcelable$Creator;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}