// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-test-TouchUtils"))]
__jni_bindgen! {
/// public class [TouchUtils](https://developer.android.com/reference/android/test/TouchUtils.html)
///
/// Required feature: "android-test-TouchUtils"
#[deprecated] public class TouchUtils ("android/test/TouchUtils") extends crate::java::lang::Object {
/// [TouchUtils](https://developer.android.com/reference/android/test/TouchUtils.html#TouchUtils())
pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::test::TouchUtils>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/test/TouchUtils\0", "<init>\0", "()V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragQuarterScreenDown](https://developer.android.com/reference/android/test/TouchUtils.html#dragQuarterScreenDown(android.test.ActivityInstrumentationTestCase))
///
/// Required features: "android-test-ActivityInstrumentationTestCase"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase")))]
#[deprecated] pub fn dragQuarterScreenDown_ActivityInstrumentationTestCase<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragQuarterScreenDown", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragQuarterScreenDown\0", "(Landroid/test/ActivityInstrumentationTestCase;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragQuarterScreenDown](https://developer.android.com/reference/android/test/TouchUtils.html#dragQuarterScreenDown(android.test.InstrumentationTestCase,%20android.app.Activity))
///
/// Required features: "android-app-Activity", "android-test-InstrumentationTestCase"
#[cfg(any(feature = "all", all(feature = "android-app-Activity", feature = "android-test-InstrumentationTestCase")))]
pub fn dragQuarterScreenDown_InstrumentationTestCase_Activity<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::app::Activity>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragQuarterScreenDown", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/app/Activity;)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_static_method("android/test/TouchUtils\0", "dragQuarterScreenDown\0", "(Landroid/test/InstrumentationTestCase;Landroid/app/Activity;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragQuarterScreenUp](https://developer.android.com/reference/android/test/TouchUtils.html#dragQuarterScreenUp(android.test.ActivityInstrumentationTestCase))
///
/// Required features: "android-test-ActivityInstrumentationTestCase"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase")))]
#[deprecated] pub fn dragQuarterScreenUp_ActivityInstrumentationTestCase<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragQuarterScreenUp", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragQuarterScreenUp\0", "(Landroid/test/ActivityInstrumentationTestCase;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragQuarterScreenUp](https://developer.android.com/reference/android/test/TouchUtils.html#dragQuarterScreenUp(android.test.InstrumentationTestCase,%20android.app.Activity))
///
/// Required features: "android-app-Activity", "android-test-InstrumentationTestCase"
#[cfg(any(feature = "all", all(feature = "android-app-Activity", feature = "android-test-InstrumentationTestCase")))]
pub fn dragQuarterScreenUp_InstrumentationTestCase_Activity<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::app::Activity>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragQuarterScreenUp", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/app/Activity;)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_static_method("android/test/TouchUtils\0", "dragQuarterScreenUp\0", "(Landroid/test/InstrumentationTestCase;Landroid/app/Activity;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [scrollToBottom](https://developer.android.com/reference/android/test/TouchUtils.html#scrollToBottom(android.test.ActivityInstrumentationTestCase,%20android.view.ViewGroup))
///
/// Required features: "android-test-ActivityInstrumentationTestCase", "android-view-ViewGroup"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase", feature = "android-view-ViewGroup")))]
#[deprecated] pub fn scrollToBottom_ActivityInstrumentationTestCase_ViewGroup<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::ViewGroup>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "scrollToBottom", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/ViewGroup;)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_static_method("android/test/TouchUtils\0", "scrollToBottom\0", "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/ViewGroup;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [scrollToBottom](https://developer.android.com/reference/android/test/TouchUtils.html#scrollToBottom(android.test.InstrumentationTestCase,%20android.app.Activity,%20android.view.ViewGroup))
///
/// Required features: "android-app-Activity", "android-test-InstrumentationTestCase", "android-view-ViewGroup"
#[cfg(any(feature = "all", all(feature = "android-app-Activity", feature = "android-test-InstrumentationTestCase", feature = "android-view-ViewGroup")))]
pub fn scrollToBottom_InstrumentationTestCase_Activity_ViewGroup<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::app::Activity>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::ViewGroup>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "scrollToBottom", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/app/Activity;Landroid/view/ViewGroup;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "scrollToBottom\0", "(Landroid/test/InstrumentationTestCase;Landroid/app/Activity;Landroid/view/ViewGroup;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [scrollToTop](https://developer.android.com/reference/android/test/TouchUtils.html#scrollToTop(android.test.ActivityInstrumentationTestCase,%20android.view.ViewGroup))
///
/// Required features: "android-test-ActivityInstrumentationTestCase", "android-view-ViewGroup"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase", feature = "android-view-ViewGroup")))]
#[deprecated] pub fn scrollToTop_ActivityInstrumentationTestCase_ViewGroup<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::ViewGroup>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "scrollToTop", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/ViewGroup;)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_static_method("android/test/TouchUtils\0", "scrollToTop\0", "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/ViewGroup;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [scrollToTop](https://developer.android.com/reference/android/test/TouchUtils.html#scrollToTop(android.test.InstrumentationTestCase,%20android.app.Activity,%20android.view.ViewGroup))
///
/// Required features: "android-app-Activity", "android-test-InstrumentationTestCase", "android-view-ViewGroup"
#[cfg(any(feature = "all", all(feature = "android-app-Activity", feature = "android-test-InstrumentationTestCase", feature = "android-view-ViewGroup")))]
pub fn scrollToTop_InstrumentationTestCase_Activity_ViewGroup<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::app::Activity>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::ViewGroup>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "scrollToTop", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/app/Activity;Landroid/view/ViewGroup;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "scrollToTop\0", "(Landroid/test/InstrumentationTestCase;Landroid/app/Activity;Landroid/view/ViewGroup;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewToBottom](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewToBottom(android.test.ActivityInstrumentationTestCase,%20android.view.View))
///
/// Required features: "android-test-ActivityInstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase", feature = "android-view-View")))]
#[deprecated] pub fn dragViewToBottom_ActivityInstrumentationTestCase_View<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>, 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/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewToBottom", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;)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_static_method("android/test/TouchUtils\0", "dragViewToBottom\0", "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewToBottom](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewToBottom(android.test.InstrumentationTestCase,%20android.app.Activity,%20android.view.View))
///
/// Required features: "android-app-Activity", "android-test-InstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-app-Activity", feature = "android-test-InstrumentationTestCase", feature = "android-view-View")))]
pub fn dragViewToBottom_InstrumentationTestCase_Activity_View<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::app::Activity>>, arg2: 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/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewToBottom", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/app/Activity;Landroid/view/View;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewToBottom\0", "(Landroid/test/InstrumentationTestCase;Landroid/app/Activity;Landroid/view/View;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewToBottom](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewToBottom(android.test.ActivityInstrumentationTestCase,%20android.view.View,%20int))
///
/// Required features: "android-test-ActivityInstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase", feature = "android-view-View")))]
#[deprecated] pub fn dragViewToBottom_ActivityInstrumentationTestCase_View_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewToBottom", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewToBottom\0", "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;I)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewToBottom](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewToBottom(android.test.InstrumentationTestCase,%20android.app.Activity,%20android.view.View,%20int))
///
/// Required features: "android-app-Activity", "android-test-InstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-app-Activity", feature = "android-test-InstrumentationTestCase", feature = "android-view-View")))]
pub fn dragViewToBottom_InstrumentationTestCase_Activity_View_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::app::Activity>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg3: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewToBottom", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/app/Activity;Landroid/view/View;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.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewToBottom\0", "(Landroid/test/InstrumentationTestCase;Landroid/app/Activity;Landroid/view/View;I)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [tapView](https://developer.android.com/reference/android/test/TouchUtils.html#tapView(android.test.InstrumentationTestCase,%20android.view.View))
///
/// Required features: "android-test-InstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-InstrumentationTestCase", feature = "android-view-View")))]
pub fn tapView<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, 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/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "tapView", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/view/View;)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_static_method("android/test/TouchUtils\0", "tapView\0", "(Landroid/test/InstrumentationTestCase;Landroid/view/View;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [touchAndCancelView](https://developer.android.com/reference/android/test/TouchUtils.html#touchAndCancelView(android.test.InstrumentationTestCase,%20android.view.View))
///
/// Required features: "android-test-InstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-InstrumentationTestCase", feature = "android-view-View")))]
pub fn touchAndCancelView<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, 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/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "touchAndCancelView", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/view/View;)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_static_method("android/test/TouchUtils\0", "touchAndCancelView\0", "(Landroid/test/InstrumentationTestCase;Landroid/view/View;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [clickView](https://developer.android.com/reference/android/test/TouchUtils.html#clickView(android.test.InstrumentationTestCase,%20android.view.View))
///
/// Required features: "android-test-InstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-InstrumentationTestCase", feature = "android-view-View")))]
pub fn clickView<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, 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/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "clickView", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/view/View;)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_static_method("android/test/TouchUtils\0", "clickView\0", "(Landroid/test/InstrumentationTestCase;Landroid/view/View;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [longClickView](https://developer.android.com/reference/android/test/TouchUtils.html#longClickView(android.test.ActivityInstrumentationTestCase,%20android.view.View))
///
/// Required features: "android-test-ActivityInstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase", feature = "android-view-View")))]
#[deprecated] pub fn longClickView_ActivityInstrumentationTestCase_View<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>, 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/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "longClickView", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;)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_static_method("android/test/TouchUtils\0", "longClickView\0", "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [longClickView](https://developer.android.com/reference/android/test/TouchUtils.html#longClickView(android.test.InstrumentationTestCase,%20android.view.View))
///
/// Required features: "android-test-InstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-InstrumentationTestCase", feature = "android-view-View")))]
pub fn longClickView_InstrumentationTestCase_View<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, 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/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "longClickView", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/view/View;)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_static_method("android/test/TouchUtils\0", "longClickView\0", "(Landroid/test/InstrumentationTestCase;Landroid/view/View;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewToTop](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewToTop(android.test.ActivityInstrumentationTestCase,%20android.view.View))
///
/// Required features: "android-test-ActivityInstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase", feature = "android-view-View")))]
#[deprecated] pub fn dragViewToTop_ActivityInstrumentationTestCase_View<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>, 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/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewToTop", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;)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_static_method("android/test/TouchUtils\0", "dragViewToTop\0", "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewToTop](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewToTop(android.test.ActivityInstrumentationTestCase,%20android.view.View,%20int))
///
/// Required features: "android-test-ActivityInstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase", feature = "android-view-View")))]
#[deprecated] pub fn dragViewToTop_ActivityInstrumentationTestCase_View_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewToTop", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewToTop\0", "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;I)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewToTop](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewToTop(android.test.InstrumentationTestCase,%20android.view.View))
///
/// Required features: "android-test-InstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-InstrumentationTestCase", feature = "android-view-View")))]
pub fn dragViewToTop_InstrumentationTestCase_View<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, 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/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewToTop", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/view/View;)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_static_method("android/test/TouchUtils\0", "dragViewToTop\0", "(Landroid/test/InstrumentationTestCase;Landroid/view/View;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewToTop](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewToTop(android.test.InstrumentationTestCase,%20android.view.View,%20int))
///
/// Required features: "android-test-InstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-InstrumentationTestCase", feature = "android-view-View")))]
pub fn dragViewToTop_InstrumentationTestCase_View_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewToTop", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/view/View;I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewToTop\0", "(Landroid/test/InstrumentationTestCase;Landroid/view/View;I)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewBy](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewBy(android.test.ActivityInstrumentationTestCase,%20android.view.View,%20int,%20int,%20int))
///
/// Required features: "android-test-ActivityInstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase", feature = "android-view-View")))]
#[deprecated] pub fn dragViewBy_ActivityInstrumentationTestCase_View_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg2: i32, arg3: i32, arg4: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewBy", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;III)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewBy\0", "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;III)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewBy](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewBy(android.test.InstrumentationTestCase,%20android.view.View,%20int,%20int,%20int))
///
/// Required features: "android-test-InstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-InstrumentationTestCase", feature = "android-view-View")))]
#[deprecated] pub fn dragViewBy_InstrumentationTestCase_View_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg2: i32, arg3: i32, arg4: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewBy", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/view/View;III)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewBy\0", "(Landroid/test/InstrumentationTestCase;Landroid/view/View;III)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewTo](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewTo(android.test.ActivityInstrumentationTestCase,%20android.view.View,%20int,%20int,%20int))
///
/// Required features: "android-test-ActivityInstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase", feature = "android-view-View")))]
#[deprecated] pub fn dragViewTo_ActivityInstrumentationTestCase_View_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg2: i32, arg3: i32, arg4: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewTo", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;III)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewTo\0", "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;III)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewTo](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewTo(android.test.InstrumentationTestCase,%20android.view.View,%20int,%20int,%20int))
///
/// Required features: "android-test-InstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-InstrumentationTestCase", feature = "android-view-View")))]
pub fn dragViewTo_InstrumentationTestCase_View_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg2: i32, arg3: i32, arg4: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewTo", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/view/View;III)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewTo\0", "(Landroid/test/InstrumentationTestCase;Landroid/view/View;III)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewToX](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewToX(android.test.ActivityInstrumentationTestCase,%20android.view.View,%20int,%20int))
///
/// Required features: "android-test-ActivityInstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase", feature = "android-view-View")))]
#[deprecated] pub fn dragViewToX_ActivityInstrumentationTestCase_View_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewToX", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;II)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewToX\0", "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;II)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewToX](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewToX(android.test.InstrumentationTestCase,%20android.view.View,%20int,%20int))
///
/// Required features: "android-test-InstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-InstrumentationTestCase", feature = "android-view-View")))]
pub fn dragViewToX_InstrumentationTestCase_View_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewToX", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/view/View;II)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewToX\0", "(Landroid/test/InstrumentationTestCase;Landroid/view/View;II)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewToY](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewToY(android.test.ActivityInstrumentationTestCase,%20android.view.View,%20int,%20int))
///
/// Required features: "android-test-ActivityInstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase", feature = "android-view-View")))]
#[deprecated] pub fn dragViewToY_ActivityInstrumentationTestCase_View_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewToY", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;II)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewToY\0", "(Landroid/test/ActivityInstrumentationTestCase;Landroid/view/View;II)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [dragViewToY](https://developer.android.com/reference/android/test/TouchUtils.html#dragViewToY(android.test.InstrumentationTestCase,%20android.view.View,%20int,%20int))
///
/// Required features: "android-test-InstrumentationTestCase", "android-view-View"
#[cfg(any(feature = "all", all(feature = "android-test-InstrumentationTestCase", feature = "android-view-View")))]
pub fn dragViewToY_InstrumentationTestCase_View_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::View>>, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "dragViewToY", .descriptor == "(Landroid/test/InstrumentationTestCase;Landroid/view/View;II)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "dragViewToY\0", "(Landroid/test/InstrumentationTestCase;Landroid/view/View;II)I\0");
__jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [drag](https://developer.android.com/reference/android/test/TouchUtils.html#drag(android.test.ActivityInstrumentationTestCase,%20float,%20float,%20float,%20float,%20int))
///
/// Required features: "android-test-ActivityInstrumentationTestCase"
#[cfg(any(feature = "all", all(feature = "android-test-ActivityInstrumentationTestCase")))]
#[deprecated] pub fn drag_ActivityInstrumentationTestCase_float_float_float_float_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::ActivityInstrumentationTestCase>>, arg1: f32, arg2: f32, arg3: f32, arg4: f32, arg5: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "drag", .descriptor == "(Landroid/test/ActivityInstrumentationTestCase;FFFFI)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "drag\0", "(Landroid/test/ActivityInstrumentationTestCase;FFFFI)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [drag](https://developer.android.com/reference/android/test/TouchUtils.html#drag(android.test.InstrumentationTestCase,%20float,%20float,%20float,%20float,%20int))
///
/// Required features: "android-test-InstrumentationTestCase"
#[cfg(any(feature = "all", all(feature = "android-test-InstrumentationTestCase")))]
pub fn drag_InstrumentationTestCase_float_float_float_float_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::test::InstrumentationTestCase>>, arg1: f32, arg2: f32, arg3: f32, arg4: f32, arg5: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/test/TouchUtils", java.flags == PUBLIC | STATIC, .name == "drag", .descriptor == "(Landroid/test/InstrumentationTestCase;FFFFI)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/test/TouchUtils\0", "drag\0", "(Landroid/test/InstrumentationTestCase;FFFFI)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
}
}