// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-view-ViewGroup"))]
__jni_bindgen! {
/// public class [ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)
///
/// Required feature: "android-view-ViewGroup"
public class ViewGroup ("android/view/ViewGroup") extends crate::android::view::View, implements crate::android::view::ViewParent, crate::android::view::ViewManager {
/// [ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html#ViewGroup(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::view::ViewGroup>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", 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/view/ViewGroup\0", "<init>\0", "(Landroid/content/Context;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html#ViewGroup(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::view::ViewGroup>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", 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/view/ViewGroup\0", "<init>\0", "(Landroid/content/Context;Landroid/util/AttributeSet;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html#ViewGroup(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::view::ViewGroup>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", 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/view/ViewGroup\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())
}
}
/// [getDescendantFocusability](https://developer.android.com/reference/android/view/ViewGroup.html#getDescendantFocusability())
pub fn getDescendantFocusability<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "getDescendantFocusability", .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/view/ViewGroup\0", "getDescendantFocusability\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setDescendantFocusability](https://developer.android.com/reference/android/view/ViewGroup.html#setDescendantFocusability(int))
pub fn setDescendantFocusability<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "setDescendantFocusability", .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/view/ViewGroup\0", "setDescendantFocusability\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [requestChildFocus](https://developer.android.com/reference/android/view/ViewGroup.html#requestChildFocus(android.view.View,%20android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn requestChildFocus<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "requestChildFocus", .descriptor == "(Landroid/view/View;Landroid/view/View;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __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/view/ViewGroup\0", "requestChildFocus\0", "(Landroid/view/View;Landroid/view/View;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [focusableViewAvailable](https://developer.android.com/reference/android/view/ViewGroup.html#focusableViewAvailable(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn focusableViewAvailable<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "focusableViewAvailable", .descriptor == "(Landroid/view/View;)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/view/ViewGroup\0", "focusableViewAvailable\0", "(Landroid/view/View;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [showContextMenuForChild](https://developer.android.com/reference/android/view/ViewGroup.html#showContextMenuForChild(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn showContextMenuForChild<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "showContextMenuForChild", .descriptor == "(Landroid/view/View;)Z"
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/view/ViewGroup\0", "showContextMenuForChild\0", "(Landroid/view/View;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [startActionModeForChild](https://developer.android.com/reference/android/view/ViewGroup.html#startActionModeForChild(android.view.View,%20android.view.ActionMode.Callback))
///
/// Required features: "android-view-ActionMode", "android-view-ActionMode_Callback", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-ActionMode", feature = "android-view-ActionMode_Callback", feature = "android-view-View")))]
pub fn startActionModeForChild<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::ActionMode_Callback>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::ActionMode>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "startActionModeForChild", .descriptor == "(Landroid/view/View;Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __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/view/ViewGroup\0", "startActionModeForChild\0", "(Landroid/view/View;Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [focusSearch](https://developer.android.com/reference/android/view/ViewGroup.html#focusSearch(android.view.View,%20int))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn focusSearch<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::View>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "focusSearch", .descriptor == "(Landroid/view/View;I)Landroid/view/View;"
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/view/ViewGroup\0", "focusSearch\0", "(Landroid/view/View;I)Landroid/view/View;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [requestChildRectangleOnScreen](https://developer.android.com/reference/android/view/ViewGroup.html#requestChildRectangleOnScreen(android.view.View,%20android.graphics.Rect,%20boolean))
///
/// Required features: "android-graphics-Rect", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-graphics-Rect", feature = "android-view-View")))]
pub fn requestChildRectangleOnScreen<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>, arg2: bool) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "requestChildRectangleOnScreen", .descriptor == "(Landroid/view/View;Landroid/graphics/Rect;Z)Z"
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_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewGroup\0", "requestChildRectangleOnScreen\0", "(Landroid/view/View;Landroid/graphics/Rect;Z)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [requestSendAccessibilityEvent](https://developer.android.com/reference/android/view/ViewGroup.html#requestSendAccessibilityEvent(android.view.View,%20android.view.accessibility.AccessibilityEvent))
///
/// Required features: "android-view-View", "android-view-accessibility-AccessibilityEvent"
#[cfg(any(feature = "all", all(feature = "android-view-View", feature = "android-view-accessibility-AccessibilityEvent")))]
pub fn requestSendAccessibilityEvent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::accessibility::AccessibilityEvent>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "requestSendAccessibilityEvent", .descriptor == "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __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/view/ViewGroup\0", "requestSendAccessibilityEvent\0", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [onRequestSendAccessibilityEvent](https://developer.android.com/reference/android/view/ViewGroup.html#onRequestSendAccessibilityEvent(android.view.View,%20android.view.accessibility.AccessibilityEvent))
///
/// Required features: "android-view-View", "android-view-accessibility-AccessibilityEvent"
#[cfg(any(feature = "all", all(feature = "android-view-View", feature = "android-view-accessibility-AccessibilityEvent")))]
pub fn onRequestSendAccessibilityEvent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::accessibility::AccessibilityEvent>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "onRequestSendAccessibilityEvent", .descriptor == "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __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/view/ViewGroup\0", "onRequestSendAccessibilityEvent\0", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchUnhandledMove](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchUnhandledMove(android.view.View,%20int))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn dispatchUnhandledMove<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: i32) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchUnhandledMove", .descriptor == "(Landroid/view/View;I)Z"
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/view/ViewGroup\0", "dispatchUnhandledMove\0", "(Landroid/view/View;I)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clearChildFocus](https://developer.android.com/reference/android/view/ViewGroup.html#clearChildFocus(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn clearChildFocus<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "clearChildFocus", .descriptor == "(Landroid/view/View;)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/view/ViewGroup\0", "clearChildFocus\0", "(Landroid/view/View;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [clearFocus](https://developer.android.com/reference/android/view/ViewGroup.html#clearFocus())
pub fn clearFocus<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "clearFocus", .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/view/ViewGroup\0", "clearFocus\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getFocusedChild](https://developer.android.com/reference/android/view/ViewGroup.html#getFocusedChild())
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn getFocusedChild<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::View>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "getFocusedChild", .descriptor == "()Landroid/view/View;"
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/view/ViewGroup\0", "getFocusedChild\0", "()Landroid/view/View;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [hasFocus](https://developer.android.com/reference/android/view/ViewGroup.html#hasFocus())
pub fn hasFocus<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "hasFocus", .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/view/ViewGroup\0", "hasFocus\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [findFocus](https://developer.android.com/reference/android/view/ViewGroup.html#findFocus())
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn findFocus<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::View>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "findFocus", .descriptor == "()Landroid/view/View;"
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/view/ViewGroup\0", "findFocus\0", "()Landroid/view/View;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [hasFocusable](https://developer.android.com/reference/android/view/ViewGroup.html#hasFocusable())
pub fn hasFocusable<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "hasFocusable", .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/view/ViewGroup\0", "hasFocusable\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [addFocusables](https://developer.android.com/reference/android/view/ViewGroup.html#addFocusables(java.util.ArrayList,%20int,%20int))
///
/// Required features: "java-util-ArrayList"
#[cfg(any(feature = "all", all(feature = "java-util-ArrayList")))]
pub fn addFocusables<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::ArrayList>>, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "addFocusables", .descriptor == "(Ljava/util/ArrayList;II)V"
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_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewGroup\0", "addFocusables\0", "(Ljava/util/ArrayList;II)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [findViewsWithText](https://developer.android.com/reference/android/view/ViewGroup.html#findViewsWithText(java.util.ArrayList,%20java.lang.CharSequence,%20int))
///
/// Required features: "java-lang-CharSequence", "java-util-ArrayList"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence", feature = "java-util-ArrayList")))]
pub fn findViewsWithText<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::ArrayList>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "findViewsWithText", .descriptor == "(Ljava/util/ArrayList;Ljava/lang/CharSequence;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_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewGroup\0", "findViewsWithText\0", "(Ljava/util/ArrayList;Ljava/lang/CharSequence;I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchWindowFocusChanged](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowFocusChanged(boolean))
pub fn dispatchWindowFocusChanged<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchWindowFocusChanged", .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/view/ViewGroup\0", "dispatchWindowFocusChanged\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [addTouchables](https://developer.android.com/reference/android/view/ViewGroup.html#addTouchables(java.util.ArrayList))
///
/// Required features: "java-util-ArrayList"
#[cfg(any(feature = "all", all(feature = "java-util-ArrayList")))]
pub fn addTouchables<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::ArrayList>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "addTouchables", .descriptor == "(Ljava/util/ArrayList;)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/view/ViewGroup\0", "addTouchables\0", "(Ljava/util/ArrayList;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchDisplayHint](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchDisplayHint(int))
pub fn dispatchDisplayHint<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchDisplayHint", .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/view/ViewGroup\0", "dispatchDisplayHint\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchWindowVisibilityChanged](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowVisibilityChanged(int))
pub fn dispatchWindowVisibilityChanged<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchWindowVisibilityChanged", .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/view/ViewGroup\0", "dispatchWindowVisibilityChanged\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchConfigurationChanged](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchConfigurationChanged(android.content.res.Configuration))
///
/// Required features: "android-content-res-Configuration"
#[cfg(any(feature = "all", all(feature = "android-content-res-Configuration")))]
pub fn dispatchConfigurationChanged<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::res::Configuration>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchConfigurationChanged", .descriptor == "(Landroid/content/res/Configuration;)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/view/ViewGroup\0", "dispatchConfigurationChanged\0", "(Landroid/content/res/Configuration;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [recomputeViewAttributes](https://developer.android.com/reference/android/view/ViewGroup.html#recomputeViewAttributes(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn recomputeViewAttributes<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "recomputeViewAttributes", .descriptor == "(Landroid/view/View;)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/view/ViewGroup\0", "recomputeViewAttributes\0", "(Landroid/view/View;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [bringChildToFront](https://developer.android.com/reference/android/view/ViewGroup.html#bringChildToFront(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn bringChildToFront<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "bringChildToFront", .descriptor == "(Landroid/view/View;)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/view/ViewGroup\0", "bringChildToFront\0", "(Landroid/view/View;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchDragEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchDragEvent(android.view.DragEvent))
///
/// Required features: "android-view-DragEvent"
#[cfg(any(feature = "all", all(feature = "android-view-DragEvent")))]
pub fn dispatchDragEvent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::DragEvent>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchDragEvent", .descriptor == "(Landroid/view/DragEvent;)Z"
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/view/ViewGroup\0", "dispatchDragEvent\0", "(Landroid/view/DragEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchWindowSystemUiVisiblityChanged](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowSystemUiVisiblityChanged(int))
pub fn dispatchWindowSystemUiVisiblityChanged<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchWindowSystemUiVisiblityChanged", .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/view/ViewGroup\0", "dispatchWindowSystemUiVisiblityChanged\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchSystemUiVisibilityChanged](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSystemUiVisibilityChanged(int))
pub fn dispatchSystemUiVisibilityChanged<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchSystemUiVisibilityChanged", .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/view/ViewGroup\0", "dispatchSystemUiVisibilityChanged\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchKeyEventPreIme](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchKeyEventPreIme(android.view.KeyEvent))
///
/// Required features: "android-view-KeyEvent"
#[cfg(any(feature = "all", all(feature = "android-view-KeyEvent")))]
pub fn dispatchKeyEventPreIme<'env>(&'env self, arg0: 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/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchKeyEventPreIme", .descriptor == "(Landroid/view/KeyEvent;)Z"
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/view/ViewGroup\0", "dispatchKeyEventPreIme\0", "(Landroid/view/KeyEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchKeyEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchKeyEvent(android.view.KeyEvent))
///
/// Required features: "android-view-KeyEvent"
#[cfg(any(feature = "all", all(feature = "android-view-KeyEvent")))]
pub fn dispatchKeyEvent<'env>(&'env self, arg0: 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/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchKeyEvent", .descriptor == "(Landroid/view/KeyEvent;)Z"
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/view/ViewGroup\0", "dispatchKeyEvent\0", "(Landroid/view/KeyEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchKeyShortcutEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchKeyShortcutEvent(android.view.KeyEvent))
///
/// Required features: "android-view-KeyEvent"
#[cfg(any(feature = "all", all(feature = "android-view-KeyEvent")))]
pub fn dispatchKeyShortcutEvent<'env>(&'env self, arg0: 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/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchKeyShortcutEvent", .descriptor == "(Landroid/view/KeyEvent;)Z"
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/view/ViewGroup\0", "dispatchKeyShortcutEvent\0", "(Landroid/view/KeyEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchTrackballEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchTrackballEvent(android.view.MotionEvent))
///
/// Required features: "android-view-MotionEvent"
#[cfg(any(feature = "all", all(feature = "android-view-MotionEvent")))]
pub fn dispatchTrackballEvent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::MotionEvent>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchTrackballEvent", .descriptor == "(Landroid/view/MotionEvent;)Z"
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/view/ViewGroup\0", "dispatchTrackballEvent\0", "(Landroid/view/MotionEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [addChildrenForAccessibility](https://developer.android.com/reference/android/view/ViewGroup.html#addChildrenForAccessibility(java.util.ArrayList))
///
/// Required features: "java-util-ArrayList"
#[cfg(any(feature = "all", all(feature = "java-util-ArrayList")))]
pub fn addChildrenForAccessibility<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::ArrayList>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "addChildrenForAccessibility", .descriptor == "(Ljava/util/ArrayList;)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/view/ViewGroup\0", "addChildrenForAccessibility\0", "(Ljava/util/ArrayList;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [onInterceptHoverEvent](https://developer.android.com/reference/android/view/ViewGroup.html#onInterceptHoverEvent(android.view.MotionEvent))
///
/// Required features: "android-view-MotionEvent"
#[cfg(any(feature = "all", all(feature = "android-view-MotionEvent")))]
pub fn onInterceptHoverEvent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::MotionEvent>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "onInterceptHoverEvent", .descriptor == "(Landroid/view/MotionEvent;)Z"
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/view/ViewGroup\0", "onInterceptHoverEvent\0", "(Landroid/view/MotionEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchTouchEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchTouchEvent(android.view.MotionEvent))
///
/// Required features: "android-view-MotionEvent"
#[cfg(any(feature = "all", all(feature = "android-view-MotionEvent")))]
pub fn dispatchTouchEvent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::MotionEvent>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchTouchEvent", .descriptor == "(Landroid/view/MotionEvent;)Z"
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/view/ViewGroup\0", "dispatchTouchEvent\0", "(Landroid/view/MotionEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setMotionEventSplittingEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setMotionEventSplittingEnabled(boolean))
pub fn setMotionEventSplittingEnabled<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "setMotionEventSplittingEnabled", .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/view/ViewGroup\0", "setMotionEventSplittingEnabled\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isMotionEventSplittingEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#isMotionEventSplittingEnabled())
pub fn isMotionEventSplittingEnabled<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "isMotionEventSplittingEnabled", .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/view/ViewGroup\0", "isMotionEventSplittingEnabled\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [requestDisallowInterceptTouchEvent](https://developer.android.com/reference/android/view/ViewGroup.html#requestDisallowInterceptTouchEvent(boolean))
pub fn requestDisallowInterceptTouchEvent<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "requestDisallowInterceptTouchEvent", .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/view/ViewGroup\0", "requestDisallowInterceptTouchEvent\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [onInterceptTouchEvent](https://developer.android.com/reference/android/view/ViewGroup.html#onInterceptTouchEvent(android.view.MotionEvent))
///
/// Required features: "android-view-MotionEvent"
#[cfg(any(feature = "all", all(feature = "android-view-MotionEvent")))]
pub fn onInterceptTouchEvent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::MotionEvent>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "onInterceptTouchEvent", .descriptor == "(Landroid/view/MotionEvent;)Z"
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/view/ViewGroup\0", "onInterceptTouchEvent\0", "(Landroid/view/MotionEvent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [requestFocus](https://developer.android.com/reference/android/view/ViewGroup.html#requestFocus(int,%20android.graphics.Rect))
///
/// Required features: "android-graphics-Rect"
#[cfg(any(feature = "all", all(feature = "android-graphics-Rect")))]
pub fn requestFocus<'env>(&'env self, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "requestFocus", .descriptor == "(ILandroid/graphics/Rect;)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/view/ViewGroup\0", "requestFocus\0", "(ILandroid/graphics/Rect;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setClipChildren](https://developer.android.com/reference/android/view/ViewGroup.html#setClipChildren(boolean))
pub fn setClipChildren<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "setClipChildren", .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/view/ViewGroup\0", "setClipChildren\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setClipToPadding](https://developer.android.com/reference/android/view/ViewGroup.html#setClipToPadding(boolean))
pub fn setClipToPadding<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "setClipToPadding", .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/view/ViewGroup\0", "setClipToPadding\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchSetSelected](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSetSelected(boolean))
pub fn dispatchSetSelected<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchSetSelected", .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/view/ViewGroup\0", "dispatchSetSelected\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [dispatchSetActivated](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSetActivated(boolean))
pub fn dispatchSetActivated<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "dispatchSetActivated", .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/view/ViewGroup\0", "dispatchSetActivated\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [addView](https://developer.android.com/reference/android/view/ViewGroup.html#addView(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn addView_View<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "addView", .descriptor == "(Landroid/view/View;)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/view/ViewGroup\0", "addView\0", "(Landroid/view/View;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [addView](https://developer.android.com/reference/android/view/ViewGroup.html#addView(android.view.View,%20int))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn addView_View_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "addView", .descriptor == "(Landroid/view/View;I)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/view/ViewGroup\0", "addView\0", "(Landroid/view/View;I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [addView](https://developer.android.com/reference/android/view/ViewGroup.html#addView(android.view.View,%20int,%20int))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn addView_View_int_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "addView", .descriptor == "(Landroid/view/View;II)V"
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_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewGroup\0", "addView\0", "(Landroid/view/View;II)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [addView](https://developer.android.com/reference/android/view/ViewGroup.html#addView(android.view.View,%20android.view.ViewGroup.LayoutParams))
///
/// Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
#[cfg(any(feature = "all", all(feature = "android-view-View", feature = "android-view-ViewGroup_LayoutParams")))]
pub fn addView_View_LayoutParams<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::ViewGroup_LayoutParams>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "addView", .descriptor == "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __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/view/ViewGroup\0", "addView\0", "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [addView](https://developer.android.com/reference/android/view/ViewGroup.html#addView(android.view.View,%20int,%20android.view.ViewGroup.LayoutParams))
///
/// Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
#[cfg(any(feature = "all", all(feature = "android-view-View", feature = "android-view-ViewGroup_LayoutParams")))]
pub fn addView_View_int_LayoutParams<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::ViewGroup_LayoutParams>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "addView", .descriptor == "(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewGroup\0", "addView\0", "(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [updateViewLayout](https://developer.android.com/reference/android/view/ViewGroup.html#updateViewLayout(android.view.View,%20android.view.ViewGroup.LayoutParams))
///
/// Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
#[cfg(any(feature = "all", all(feature = "android-view-View", feature = "android-view-ViewGroup_LayoutParams")))]
pub fn updateViewLayout<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::ViewGroup_LayoutParams>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "updateViewLayout", .descriptor == "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __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/view/ViewGroup\0", "updateViewLayout\0", "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setOnHierarchyChangeListener](https://developer.android.com/reference/android/view/ViewGroup.html#setOnHierarchyChangeListener(android.view.ViewGroup.OnHierarchyChangeListener))
///
/// Required features: "android-view-ViewGroup_OnHierarchyChangeListener"
#[cfg(any(feature = "all", all(feature = "android-view-ViewGroup_OnHierarchyChangeListener")))]
pub fn setOnHierarchyChangeListener<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::ViewGroup_OnHierarchyChangeListener>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "setOnHierarchyChangeListener", .descriptor == "(Landroid/view/ViewGroup$OnHierarchyChangeListener;)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/view/ViewGroup\0", "setOnHierarchyChangeListener\0", "(Landroid/view/ViewGroup$OnHierarchyChangeListener;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [removeView](https://developer.android.com/reference/android/view/ViewGroup.html#removeView(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn removeView<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "removeView", .descriptor == "(Landroid/view/View;)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/view/ViewGroup\0", "removeView\0", "(Landroid/view/View;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [removeViewInLayout](https://developer.android.com/reference/android/view/ViewGroup.html#removeViewInLayout(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn removeViewInLayout<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "removeViewInLayout", .descriptor == "(Landroid/view/View;)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/view/ViewGroup\0", "removeViewInLayout\0", "(Landroid/view/View;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [removeViewsInLayout](https://developer.android.com/reference/android/view/ViewGroup.html#removeViewsInLayout(int,%20int))
pub fn removeViewsInLayout<'env>(&'env self, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "removeViewsInLayout", .descriptor == "(II)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __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/view/ViewGroup\0", "removeViewsInLayout\0", "(II)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [removeViewAt](https://developer.android.com/reference/android/view/ViewGroup.html#removeViewAt(int))
pub fn removeViewAt<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "removeViewAt", .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/view/ViewGroup\0", "removeViewAt\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [removeViews](https://developer.android.com/reference/android/view/ViewGroup.html#removeViews(int,%20int))
pub fn removeViews<'env>(&'env self, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "removeViews", .descriptor == "(II)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __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/view/ViewGroup\0", "removeViews\0", "(II)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setLayoutTransition](https://developer.android.com/reference/android/view/ViewGroup.html#setLayoutTransition(android.animation.LayoutTransition))
///
/// Required features: "android-animation-LayoutTransition"
#[cfg(any(feature = "all", all(feature = "android-animation-LayoutTransition")))]
pub fn setLayoutTransition<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::animation::LayoutTransition>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "setLayoutTransition", .descriptor == "(Landroid/animation/LayoutTransition;)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/view/ViewGroup\0", "setLayoutTransition\0", "(Landroid/animation/LayoutTransition;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getLayoutTransition](https://developer.android.com/reference/android/view/ViewGroup.html#getLayoutTransition())
///
/// Required features: "android-animation-LayoutTransition"
#[cfg(any(feature = "all", all(feature = "android-animation-LayoutTransition")))]
pub fn getLayoutTransition<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::animation::LayoutTransition>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "getLayoutTransition", .descriptor == "()Landroid/animation/LayoutTransition;"
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/view/ViewGroup\0", "getLayoutTransition\0", "()Landroid/animation/LayoutTransition;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [removeAllViews](https://developer.android.com/reference/android/view/ViewGroup.html#removeAllViews())
pub fn removeAllViews<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "removeAllViews", .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/view/ViewGroup\0", "removeAllViews\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [removeAllViewsInLayout](https://developer.android.com/reference/android/view/ViewGroup.html#removeAllViewsInLayout())
pub fn removeAllViewsInLayout<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "removeAllViewsInLayout", .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/view/ViewGroup\0", "removeAllViewsInLayout\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [invalidateChild](https://developer.android.com/reference/android/view/ViewGroup.html#invalidateChild(android.view.View,%20android.graphics.Rect))
///
/// Required features: "android-graphics-Rect", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-graphics-Rect", feature = "android-view-View")))]
pub fn invalidateChild<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC | FINAL, .name == "invalidateChild", .descriptor == "(Landroid/view/View;Landroid/graphics/Rect;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __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/view/ViewGroup\0", "invalidateChild\0", "(Landroid/view/View;Landroid/graphics/Rect;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [invalidateChildInParent](https://developer.android.com/reference/android/view/ViewGroup.html#invalidateChildInParent(int%5B%5D,%20android.graphics.Rect))
///
/// Required features: "android-graphics-Rect", "android-view-ViewParent"
#[cfg(any(feature = "all", all(feature = "android-graphics-Rect", feature = "android-view-ViewParent")))]
pub fn invalidateChildInParent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::IntArray>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::ViewParent>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "invalidateChildInParent", .descriptor == "([ILandroid/graphics/Rect;)Landroid/view/ViewParent;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __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/view/ViewGroup\0", "invalidateChildInParent\0", "([ILandroid/graphics/Rect;)Landroid/view/ViewParent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [offsetDescendantRectToMyCoords](https://developer.android.com/reference/android/view/ViewGroup.html#offsetDescendantRectToMyCoords(android.view.View,%20android.graphics.Rect))
///
/// Required features: "android-graphics-Rect", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-graphics-Rect", feature = "android-view-View")))]
pub fn offsetDescendantRectToMyCoords<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC | FINAL, .name == "offsetDescendantRectToMyCoords", .descriptor == "(Landroid/view/View;Landroid/graphics/Rect;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __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/view/ViewGroup\0", "offsetDescendantRectToMyCoords\0", "(Landroid/view/View;Landroid/graphics/Rect;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [offsetRectIntoDescendantCoords](https://developer.android.com/reference/android/view/ViewGroup.html#offsetRectIntoDescendantCoords(android.view.View,%20android.graphics.Rect))
///
/// Required features: "android-graphics-Rect", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-graphics-Rect", feature = "android-view-View")))]
pub fn offsetRectIntoDescendantCoords<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC | FINAL, .name == "offsetRectIntoDescendantCoords", .descriptor == "(Landroid/view/View;Landroid/graphics/Rect;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __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/view/ViewGroup\0", "offsetRectIntoDescendantCoords\0", "(Landroid/view/View;Landroid/graphics/Rect;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getChildVisibleRect](https://developer.android.com/reference/android/view/ViewGroup.html#getChildVisibleRect(android.view.View,%20android.graphics.Rect,%20android.graphics.Point))
///
/// Required features: "android-graphics-Point", "android-graphics-Rect", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-graphics-Point", feature = "android-graphics-Rect", feature = "android-view-View")))]
pub fn getChildVisibleRect<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Point>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "getChildVisibleRect", .descriptor == "(Landroid/view/View;Landroid/graphics/Rect;Landroid/graphics/Point;)Z"
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_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewGroup\0", "getChildVisibleRect\0", "(Landroid/view/View;Landroid/graphics/Rect;Landroid/graphics/Point;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [layout](https://developer.android.com/reference/android/view/ViewGroup.html#layout(int,%20int,%20int,%20int))
pub fn layout<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC | FINAL, .name == "layout", .descriptor == "(IIII)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewGroup\0", "layout\0", "(IIII)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [startLayoutAnimation](https://developer.android.com/reference/android/view/ViewGroup.html#startLayoutAnimation())
pub fn startLayoutAnimation<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "startLayoutAnimation", .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/view/ViewGroup\0", "startLayoutAnimation\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [scheduleLayoutAnimation](https://developer.android.com/reference/android/view/ViewGroup.html#scheduleLayoutAnimation())
pub fn scheduleLayoutAnimation<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "scheduleLayoutAnimation", .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/view/ViewGroup\0", "scheduleLayoutAnimation\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setLayoutAnimation](https://developer.android.com/reference/android/view/ViewGroup.html#setLayoutAnimation(android.view.animation.LayoutAnimationController))
///
/// Required features: "android-view-animation-LayoutAnimationController"
#[cfg(any(feature = "all", all(feature = "android-view-animation-LayoutAnimationController")))]
pub fn setLayoutAnimation<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::animation::LayoutAnimationController>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "setLayoutAnimation", .descriptor == "(Landroid/view/animation/LayoutAnimationController;)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/view/ViewGroup\0", "setLayoutAnimation\0", "(Landroid/view/animation/LayoutAnimationController;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getLayoutAnimation](https://developer.android.com/reference/android/view/ViewGroup.html#getLayoutAnimation())
///
/// Required features: "android-view-animation-LayoutAnimationController"
#[cfg(any(feature = "all", all(feature = "android-view-animation-LayoutAnimationController")))]
pub fn getLayoutAnimation<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::animation::LayoutAnimationController>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "getLayoutAnimation", .descriptor == "()Landroid/view/animation/LayoutAnimationController;"
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/view/ViewGroup\0", "getLayoutAnimation\0", "()Landroid/view/animation/LayoutAnimationController;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isAnimationCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#isAnimationCacheEnabled())
pub fn isAnimationCacheEnabled<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "isAnimationCacheEnabled", .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/view/ViewGroup\0", "isAnimationCacheEnabled\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setAnimationCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setAnimationCacheEnabled(boolean))
pub fn setAnimationCacheEnabled<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "setAnimationCacheEnabled", .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/view/ViewGroup\0", "setAnimationCacheEnabled\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isAlwaysDrawnWithCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#isAlwaysDrawnWithCacheEnabled())
pub fn isAlwaysDrawnWithCacheEnabled<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "isAlwaysDrawnWithCacheEnabled", .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/view/ViewGroup\0", "isAlwaysDrawnWithCacheEnabled\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setAlwaysDrawnWithCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setAlwaysDrawnWithCacheEnabled(boolean))
pub fn setAlwaysDrawnWithCacheEnabled<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "setAlwaysDrawnWithCacheEnabled", .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/view/ViewGroup\0", "setAlwaysDrawnWithCacheEnabled\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getPersistentDrawingCache](https://developer.android.com/reference/android/view/ViewGroup.html#getPersistentDrawingCache())
pub fn getPersistentDrawingCache<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "getPersistentDrawingCache", .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/view/ViewGroup\0", "getPersistentDrawingCache\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setPersistentDrawingCache](https://developer.android.com/reference/android/view/ViewGroup.html#setPersistentDrawingCache(int))
pub fn setPersistentDrawingCache<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "setPersistentDrawingCache", .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/view/ViewGroup\0", "setPersistentDrawingCache\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [generateLayoutParams](https://developer.android.com/reference/android/view/ViewGroup.html#generateLayoutParams(android.util.AttributeSet))
///
/// Required features: "android-util-AttributeSet", "android-view-ViewGroup_LayoutParams"
#[cfg(any(feature = "all", all(feature = "android-util-AttributeSet", feature = "android-view-ViewGroup_LayoutParams")))]
pub fn generateLayoutParams<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::util::AttributeSet>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::ViewGroup_LayoutParams>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "generateLayoutParams", .descriptor == "(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;"
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/view/ViewGroup\0", "generateLayoutParams\0", "(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [indexOfChild](https://developer.android.com/reference/android/view/ViewGroup.html#indexOfChild(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn indexOfChild<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "indexOfChild", .descriptor == "(Landroid/view/View;)I"
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/view/ViewGroup\0", "indexOfChild\0", "(Landroid/view/View;)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getChildCount](https://developer.android.com/reference/android/view/ViewGroup.html#getChildCount())
pub fn getChildCount<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "getChildCount", .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/view/ViewGroup\0", "getChildCount\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getChildAt](https://developer.android.com/reference/android/view/ViewGroup.html#getChildAt(int))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn getChildAt<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::View>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "getChildAt", .descriptor == "(I)Landroid/view/View;"
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/view/ViewGroup\0", "getChildAt\0", "(I)Landroid/view/View;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getChildMeasureSpec](https://developer.android.com/reference/android/view/ViewGroup.html#getChildMeasureSpec(int,%20int,%20int))
pub fn getChildMeasureSpec<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC | STATIC, .name == "getChildMeasureSpec", .descriptor == "(III)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewGroup\0", "getChildMeasureSpec\0", "(III)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [clearDisappearingChildren](https://developer.android.com/reference/android/view/ViewGroup.html#clearDisappearingChildren())
pub fn clearDisappearingChildren<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "clearDisappearingChildren", .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/view/ViewGroup\0", "clearDisappearingChildren\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [startViewTransition](https://developer.android.com/reference/android/view/ViewGroup.html#startViewTransition(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn startViewTransition<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "startViewTransition", .descriptor == "(Landroid/view/View;)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/view/ViewGroup\0", "startViewTransition\0", "(Landroid/view/View;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [endViewTransition](https://developer.android.com/reference/android/view/ViewGroup.html#endViewTransition(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn endViewTransition<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "endViewTransition", .descriptor == "(Landroid/view/View;)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/view/ViewGroup\0", "endViewTransition\0", "(Landroid/view/View;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [gatherTransparentRegion](https://developer.android.com/reference/android/view/ViewGroup.html#gatherTransparentRegion(android.graphics.Region))
///
/// Required features: "android-graphics-Region"
#[cfg(any(feature = "all", all(feature = "android-graphics-Region")))]
pub fn gatherTransparentRegion<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Region>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "gatherTransparentRegion", .descriptor == "(Landroid/graphics/Region;)Z"
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/view/ViewGroup\0", "gatherTransparentRegion\0", "(Landroid/graphics/Region;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [requestTransparentRegion](https://developer.android.com/reference/android/view/ViewGroup.html#requestTransparentRegion(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn requestTransparentRegion<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "requestTransparentRegion", .descriptor == "(Landroid/view/View;)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/view/ViewGroup\0", "requestTransparentRegion\0", "(Landroid/view/View;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getLayoutAnimationListener](https://developer.android.com/reference/android/view/ViewGroup.html#getLayoutAnimationListener())
///
/// Required features: "android-view-animation-Animation_AnimationListener"
#[cfg(any(feature = "all", all(feature = "android-view-animation-Animation_AnimationListener")))]
pub fn getLayoutAnimationListener<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::animation::Animation_AnimationListener>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "getLayoutAnimationListener", .descriptor == "()Landroid/view/animation/Animation$AnimationListener;"
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/view/ViewGroup\0", "getLayoutAnimationListener\0", "()Landroid/view/animation/Animation$AnimationListener;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [jumpDrawablesToCurrentState](https://developer.android.com/reference/android/view/ViewGroup.html#jumpDrawablesToCurrentState())
pub fn jumpDrawablesToCurrentState<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "jumpDrawablesToCurrentState", .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/view/ViewGroup\0", "jumpDrawablesToCurrentState\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setAddStatesFromChildren](https://developer.android.com/reference/android/view/ViewGroup.html#setAddStatesFromChildren(boolean))
pub fn setAddStatesFromChildren<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "setAddStatesFromChildren", .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/view/ViewGroup\0", "setAddStatesFromChildren\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [addStatesFromChildren](https://developer.android.com/reference/android/view/ViewGroup.html#addStatesFromChildren())
pub fn addStatesFromChildren<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "addStatesFromChildren", .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/view/ViewGroup\0", "addStatesFromChildren\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [childDrawableStateChanged](https://developer.android.com/reference/android/view/ViewGroup.html#childDrawableStateChanged(android.view.View))
///
/// Required features: "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-view-View")))]
pub fn childDrawableStateChanged<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "childDrawableStateChanged", .descriptor == "(Landroid/view/View;)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/view/ViewGroup\0", "childDrawableStateChanged\0", "(Landroid/view/View;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setLayoutAnimationListener](https://developer.android.com/reference/android/view/ViewGroup.html#setLayoutAnimationListener(android.view.animation.Animation.AnimationListener))
///
/// Required features: "android-view-animation-Animation_AnimationListener"
#[cfg(any(feature = "all", all(feature = "android-view-animation-Animation_AnimationListener")))]
pub fn setLayoutAnimationListener<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::animation::Animation_AnimationListener>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "setLayoutAnimationListener", .descriptor == "(Landroid/view/animation/Animation$AnimationListener;)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/view/ViewGroup\0", "setLayoutAnimationListener\0", "(Landroid/view/animation/Animation$AnimationListener;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [shouldDelayChildPressedState](https://developer.android.com/reference/android/view/ViewGroup.html#shouldDelayChildPressedState())
pub fn shouldDelayChildPressedState<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/ViewGroup", java.flags == PUBLIC, .name == "shouldDelayChildPressedState", .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/view/ViewGroup\0", "shouldDelayChildPressedState\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// public static final [FOCUS_BEFORE_DESCENDANTS](https://developer.android.com/reference/android/view/ViewGroup.html#FOCUS_BEFORE_DESCENDANTS)
pub const FOCUS_BEFORE_DESCENDANTS : i32 = 131072;
/// public static final [FOCUS_AFTER_DESCENDANTS](https://developer.android.com/reference/android/view/ViewGroup.html#FOCUS_AFTER_DESCENDANTS)
pub const FOCUS_AFTER_DESCENDANTS : i32 = 262144;
/// public static final [FOCUS_BLOCK_DESCENDANTS](https://developer.android.com/reference/android/view/ViewGroup.html#FOCUS_BLOCK_DESCENDANTS)
pub const FOCUS_BLOCK_DESCENDANTS : i32 = 393216;
/// public static final [PERSISTENT_NO_CACHE](https://developer.android.com/reference/android/view/ViewGroup.html#PERSISTENT_NO_CACHE)
pub const PERSISTENT_NO_CACHE : i32 = 0;
/// public static final [PERSISTENT_ANIMATION_CACHE](https://developer.android.com/reference/android/view/ViewGroup.html#PERSISTENT_ANIMATION_CACHE)
pub const PERSISTENT_ANIMATION_CACHE : i32 = 1;
/// public static final [PERSISTENT_SCROLLING_CACHE](https://developer.android.com/reference/android/view/ViewGroup.html#PERSISTENT_SCROLLING_CACHE)
pub const PERSISTENT_SCROLLING_CACHE : i32 = 2;
/// public static final [PERSISTENT_ALL_CACHES](https://developer.android.com/reference/android/view/ViewGroup.html#PERSISTENT_ALL_CACHES)
pub const PERSISTENT_ALL_CACHES : i32 = 3;
}
}