// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-widget-AutoCompleteTextView"))]
__jni_bindgen! {
/// public class [AutoCompleteTextView](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html)
///
/// Required feature: "android-widget-AutoCompleteTextView"
public class AutoCompleteTextView ("android/widget/AutoCompleteTextView") extends crate::android::widget::EditText, implements crate::android::widget::Filter_FilterListener {
/// [AutoCompleteTextView](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#AutoCompleteTextView(android.content.Context))
///
/// Required features: "android-content-Context"
#[cfg(any(feature = "all", all(feature = "android-content-Context")))]
pub fn new_Context<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::widget::AutoCompleteTextView>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/content/Context;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "<init>\0", "(Landroid/content/Context;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [AutoCompleteTextView](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#AutoCompleteTextView(android.content.Context,%20android.util.AttributeSet))
///
/// Required features: "android-content-Context", "android-util-AttributeSet"
#[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "android-util-AttributeSet")))]
pub fn new_Context_AttributeSet<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::util::AttributeSet>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::widget::AutoCompleteTextView>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/content/Context;Landroid/util/AttributeSet;)V"
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_method("android/widget/AutoCompleteTextView\0", "<init>\0", "(Landroid/content/Context;Landroid/util/AttributeSet;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [AutoCompleteTextView](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#AutoCompleteTextView(android.content.Context,%20android.util.AttributeSet,%20int))
///
/// Required features: "android-content-Context", "android-util-AttributeSet"
#[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "android-util-AttributeSet")))]
pub fn new_Context_AttributeSet_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::util::AttributeSet>>, arg2: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::widget::AutoCompleteTextView>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/content/Context;Landroid/util/AttributeSet;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_method("android/widget/AutoCompleteTextView\0", "<init>\0", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [AutoCompleteTextView](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#AutoCompleteTextView(android.content.Context,%20android.util.AttributeSet,%20int,%20int))
///
/// Required features: "android-content-Context", "android-util-AttributeSet"
#[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "android-util-AttributeSet")))]
pub fn new_Context_AttributeSet_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::util::AttributeSet>>, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::widget::AutoCompleteTextView>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/content/Context;Landroid/util/AttributeSet;II)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), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "<init>\0", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [setOnClickListener](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setOnClickListener(android.view.View.OnClickListener))
///
/// Required features: "android-view-View_OnClickListener"
#[cfg(any(feature = "all", all(feature = "android-view-View_OnClickListener")))]
pub fn setOnClickListener<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View_OnClickListener>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setOnClickListener", .descriptor == "(Landroid/view/View$OnClickListener;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setOnClickListener\0", "(Landroid/view/View$OnClickListener;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setCompletionHint](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setCompletionHint(java.lang.CharSequence))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn setCompletionHint<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setCompletionHint", .descriptor == "(Ljava/lang/CharSequence;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setCompletionHint\0", "(Ljava/lang/CharSequence;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getCompletionHint](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getCompletionHint())
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn getCompletionHint<'env>(&'env self) -> __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/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getCompletionHint", .descriptor == "()Ljava/lang/CharSequence;"
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/widget/AutoCompleteTextView\0", "getCompletionHint\0", "()Ljava/lang/CharSequence;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDropDownWidth](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getDropDownWidth())
pub fn getDropDownWidth<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getDropDownWidth", .descriptor == "()I"
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/widget/AutoCompleteTextView\0", "getDropDownWidth\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setDropDownWidth](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setDropDownWidth(int))
pub fn setDropDownWidth<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setDropDownWidth", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setDropDownWidth\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDropDownHeight](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getDropDownHeight())
pub fn getDropDownHeight<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getDropDownHeight", .descriptor == "()I"
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/widget/AutoCompleteTextView\0", "getDropDownHeight\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setDropDownHeight](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setDropDownHeight(int))
pub fn setDropDownHeight<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setDropDownHeight", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setDropDownHeight\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDropDownAnchor](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getDropDownAnchor())
pub fn getDropDownAnchor<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getDropDownAnchor", .descriptor == "()I"
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/widget/AutoCompleteTextView\0", "getDropDownAnchor\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setDropDownAnchor](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setDropDownAnchor(int))
pub fn setDropDownAnchor<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setDropDownAnchor", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setDropDownAnchor\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDropDownBackground](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getDropDownBackground())
///
/// Required features: "android-graphics-drawable-Drawable"
#[cfg(any(feature = "all", all(feature = "android-graphics-drawable-Drawable")))]
pub fn getDropDownBackground<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::graphics::drawable::Drawable>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getDropDownBackground", .descriptor == "()Landroid/graphics/drawable/Drawable;"
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/widget/AutoCompleteTextView\0", "getDropDownBackground\0", "()Landroid/graphics/drawable/Drawable;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setDropDownBackgroundDrawable](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setDropDownBackgroundDrawable(android.graphics.drawable.Drawable))
///
/// Required features: "android-graphics-drawable-Drawable"
#[cfg(any(feature = "all", all(feature = "android-graphics-drawable-Drawable")))]
pub fn setDropDownBackgroundDrawable<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::drawable::Drawable>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setDropDownBackgroundDrawable", .descriptor == "(Landroid/graphics/drawable/Drawable;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setDropDownBackgroundDrawable\0", "(Landroid/graphics/drawable/Drawable;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setDropDownBackgroundResource](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setDropDownBackgroundResource(int))
pub fn setDropDownBackgroundResource<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setDropDownBackgroundResource", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setDropDownBackgroundResource\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setDropDownVerticalOffset](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setDropDownVerticalOffset(int))
pub fn setDropDownVerticalOffset<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setDropDownVerticalOffset", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setDropDownVerticalOffset\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDropDownVerticalOffset](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getDropDownVerticalOffset())
pub fn getDropDownVerticalOffset<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getDropDownVerticalOffset", .descriptor == "()I"
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/widget/AutoCompleteTextView\0", "getDropDownVerticalOffset\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setDropDownHorizontalOffset](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setDropDownHorizontalOffset(int))
pub fn setDropDownHorizontalOffset<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setDropDownHorizontalOffset", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setDropDownHorizontalOffset\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDropDownHorizontalOffset](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getDropDownHorizontalOffset())
pub fn getDropDownHorizontalOffset<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getDropDownHorizontalOffset", .descriptor == "()I"
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/widget/AutoCompleteTextView\0", "getDropDownHorizontalOffset\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getThreshold](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getThreshold())
pub fn getThreshold<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getThreshold", .descriptor == "()I"
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/widget/AutoCompleteTextView\0", "getThreshold\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setThreshold](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setThreshold(int))
pub fn setThreshold<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setThreshold", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setThreshold\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setOnItemClickListener](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setOnItemClickListener(android.widget.AdapterView.OnItemClickListener))
///
/// Required features: "android-widget-AdapterView_OnItemClickListener"
#[cfg(any(feature = "all", all(feature = "android-widget-AdapterView_OnItemClickListener")))]
pub fn setOnItemClickListener<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::widget::AdapterView_OnItemClickListener>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setOnItemClickListener", .descriptor == "(Landroid/widget/AdapterView$OnItemClickListener;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setOnItemClickListener\0", "(Landroid/widget/AdapterView$OnItemClickListener;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setOnItemSelectedListener](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener))
///
/// Required features: "android-widget-AdapterView_OnItemSelectedListener"
#[cfg(any(feature = "all", all(feature = "android-widget-AdapterView_OnItemSelectedListener")))]
pub fn setOnItemSelectedListener<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::widget::AdapterView_OnItemSelectedListener>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setOnItemSelectedListener", .descriptor == "(Landroid/widget/AdapterView$OnItemSelectedListener;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setOnItemSelectedListener\0", "(Landroid/widget/AdapterView$OnItemSelectedListener;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getItemClickListener](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getItemClickListener())
///
/// Required features: "android-widget-AdapterView_OnItemClickListener"
#[cfg(any(feature = "all", all(feature = "android-widget-AdapterView_OnItemClickListener")))]
#[deprecated] pub fn getItemClickListener<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::widget::AdapterView_OnItemClickListener>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getItemClickListener", .descriptor == "()Landroid/widget/AdapterView$OnItemClickListener;"
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/widget/AutoCompleteTextView\0", "getItemClickListener\0", "()Landroid/widget/AdapterView$OnItemClickListener;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getItemSelectedListener](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getItemSelectedListener())
///
/// Required features: "android-widget-AdapterView_OnItemSelectedListener"
#[cfg(any(feature = "all", all(feature = "android-widget-AdapterView_OnItemSelectedListener")))]
#[deprecated] pub fn getItemSelectedListener<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::widget::AdapterView_OnItemSelectedListener>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getItemSelectedListener", .descriptor == "()Landroid/widget/AdapterView$OnItemSelectedListener;"
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/widget/AutoCompleteTextView\0", "getItemSelectedListener\0", "()Landroid/widget/AdapterView$OnItemSelectedListener;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getOnItemClickListener](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getOnItemClickListener())
///
/// Required features: "android-widget-AdapterView_OnItemClickListener"
#[cfg(any(feature = "all", all(feature = "android-widget-AdapterView_OnItemClickListener")))]
pub fn getOnItemClickListener<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::widget::AdapterView_OnItemClickListener>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getOnItemClickListener", .descriptor == "()Landroid/widget/AdapterView$OnItemClickListener;"
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/widget/AutoCompleteTextView\0", "getOnItemClickListener\0", "()Landroid/widget/AdapterView$OnItemClickListener;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getOnItemSelectedListener](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getOnItemSelectedListener())
///
/// Required features: "android-widget-AdapterView_OnItemSelectedListener"
#[cfg(any(feature = "all", all(feature = "android-widget-AdapterView_OnItemSelectedListener")))]
pub fn getOnItemSelectedListener<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::widget::AdapterView_OnItemSelectedListener>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getOnItemSelectedListener", .descriptor == "()Landroid/widget/AdapterView$OnItemSelectedListener;"
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/widget/AutoCompleteTextView\0", "getOnItemSelectedListener\0", "()Landroid/widget/AdapterView$OnItemSelectedListener;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setOnDismissListener](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setOnDismissListener(android.widget.AutoCompleteTextView.OnDismissListener))
///
/// Required features: "android-widget-AutoCompleteTextView_OnDismissListener"
#[cfg(any(feature = "all", all(feature = "android-widget-AutoCompleteTextView_OnDismissListener")))]
pub fn setOnDismissListener<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::widget::AutoCompleteTextView_OnDismissListener>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setOnDismissListener", .descriptor == "(Landroid/widget/AutoCompleteTextView$OnDismissListener;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setOnDismissListener\0", "(Landroid/widget/AutoCompleteTextView$OnDismissListener;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getAdapter](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getAdapter())
///
/// Required features: "android-widget-ListAdapter"
#[cfg(any(feature = "all", all(feature = "android-widget-ListAdapter")))]
pub fn getAdapter<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::widget::ListAdapter>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getAdapter", .descriptor == "()Landroid/widget/ListAdapter;"
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/widget/AutoCompleteTextView\0", "getAdapter\0", "()Landroid/widget/ListAdapter;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setAdapter](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setAdapter(android.widget.ListAdapter))
///
/// Required features: "android-widget-ListAdapter"
#[cfg(any(feature = "all", all(feature = "android-widget-ListAdapter")))]
pub fn setAdapter<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::widget::ListAdapter>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setAdapter", .descriptor == "(Landroid/widget/ListAdapter;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setAdapter\0", "(Landroid/widget/ListAdapter;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [onKeyPreIme](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#onKeyPreIme(int,%20android.view.KeyEvent))
///
/// Required features: "android-view-KeyEvent"
#[cfg(any(feature = "all", all(feature = "android-view-KeyEvent")))]
pub fn onKeyPreIme<'env>(&'env self, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::KeyEvent>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "onKeyPreIme", .descriptor == "(ILandroid/view/KeyEvent;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "onKeyPreIme\0", "(ILandroid/view/KeyEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [onKeyUp](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#onKeyUp(int,%20android.view.KeyEvent))
///
/// Required features: "android-view-KeyEvent"
#[cfg(any(feature = "all", all(feature = "android-view-KeyEvent")))]
pub fn onKeyUp<'env>(&'env self, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::KeyEvent>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "onKeyUp", .descriptor == "(ILandroid/view/KeyEvent;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "onKeyUp\0", "(ILandroid/view/KeyEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [onKeyDown](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#onKeyDown(int,%20android.view.KeyEvent))
///
/// Required features: "android-view-KeyEvent"
#[cfg(any(feature = "all", all(feature = "android-view-KeyEvent")))]
pub fn onKeyDown<'env>(&'env self, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::KeyEvent>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "onKeyDown", .descriptor == "(ILandroid/view/KeyEvent;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "onKeyDown\0", "(ILandroid/view/KeyEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [enoughToFilter](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#enoughToFilter())
pub fn enoughToFilter<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "enoughToFilter", .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/widget/AutoCompleteTextView\0", "enoughToFilter\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isPopupShowing](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#isPopupShowing())
pub fn isPopupShowing<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "isPopupShowing", .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/widget/AutoCompleteTextView\0", "isPopupShowing\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clearListSelection](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#clearListSelection())
pub fn clearListSelection<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "clearListSelection", .descriptor == "()V"
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/widget/AutoCompleteTextView\0", "clearListSelection\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setListSelection](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setListSelection(int))
pub fn setListSelection<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setListSelection", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setListSelection\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getListSelection](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getListSelection())
pub fn getListSelection<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getListSelection", .descriptor == "()I"
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/widget/AutoCompleteTextView\0", "getListSelection\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [performCompletion](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#performCompletion())
pub fn performCompletion<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "performCompletion", .descriptor == "()V"
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/widget/AutoCompleteTextView\0", "performCompletion\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [onCommitCompletion](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#onCommitCompletion(android.view.inputmethod.CompletionInfo))
///
/// Required features: "android-view-inputmethod-CompletionInfo"
#[cfg(any(feature = "all", all(feature = "android-view-inputmethod-CompletionInfo")))]
pub fn onCommitCompletion<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::inputmethod::CompletionInfo>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "onCommitCompletion", .descriptor == "(Landroid/view/inputmethod/CompletionInfo;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "onCommitCompletion\0", "(Landroid/view/inputmethod/CompletionInfo;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isPerformingCompletion](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#isPerformingCompletion())
pub fn isPerformingCompletion<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "isPerformingCompletion", .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/widget/AutoCompleteTextView\0", "isPerformingCompletion\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setText](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setText(java.lang.CharSequence,%20boolean))
///
/// Required features: "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence")))]
pub fn setText<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setText", .descriptor == "(Ljava/lang/CharSequence;Z)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setText\0", "(Ljava/lang/CharSequence;Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [onFilterComplete](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#onFilterComplete(int))
pub fn onFilterComplete<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "onFilterComplete", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "onFilterComplete\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [onWindowFocusChanged](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#onWindowFocusChanged(boolean))
pub fn onWindowFocusChanged<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "onWindowFocusChanged", .descriptor == "(Z)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "onWindowFocusChanged\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dismissDropDown](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#dismissDropDown())
pub fn dismissDropDown<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "dismissDropDown", .descriptor == "()V"
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/widget/AutoCompleteTextView\0", "dismissDropDown\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [showDropDown](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#showDropDown())
pub fn showDropDown<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "showDropDown", .descriptor == "()V"
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/widget/AutoCompleteTextView\0", "showDropDown\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setValidator](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#setValidator(android.widget.AutoCompleteTextView.Validator))
///
/// Required features: "android-widget-AutoCompleteTextView_Validator"
#[cfg(any(feature = "all", all(feature = "android-widget-AutoCompleteTextView_Validator")))]
pub fn setValidator<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::widget::AutoCompleteTextView_Validator>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "setValidator", .descriptor == "(Landroid/widget/AutoCompleteTextView$Validator;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/widget/AutoCompleteTextView\0", "setValidator\0", "(Landroid/widget/AutoCompleteTextView$Validator;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getValidator](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#getValidator())
///
/// Required features: "android-widget-AutoCompleteTextView_Validator"
#[cfg(any(feature = "all", all(feature = "android-widget-AutoCompleteTextView_Validator")))]
pub fn getValidator<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::widget::AutoCompleteTextView_Validator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "getValidator", .descriptor == "()Landroid/widget/AutoCompleteTextView$Validator;"
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/widget/AutoCompleteTextView\0", "getValidator\0", "()Landroid/widget/AutoCompleteTextView$Validator;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [performValidation](https://developer.android.com/reference/android/widget/AutoCompleteTextView.html#performValidation())
pub fn performValidation<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/widget/AutoCompleteTextView", java.flags == PUBLIC, .name == "performValidation", .descriptor == "()V"
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/widget/AutoCompleteTextView\0", "performValidation\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
}
}