// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-view-MotionEvent"))]
__jni_bindgen! {
/// public final class [MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)
///
/// Required feature: "android-view-MotionEvent"
public final class MotionEvent ("android/view/MotionEvent") extends crate::java::lang::Object, implements crate::android::os::Parcelable {
/// [obtain](https://developer.android.com/reference/android/view/MotionEvent.html#obtain(long,%20long,%20int,%20float,%20float,%20float,%20float,%20int,%20float,%20float,%20int,%20int))
///
/// Required features: "android-view-MotionEvent"
#[cfg(any(feature = "all", all(feature = "android-view-MotionEvent")))]
pub fn obtain_long_long_int_float_float_float_float_int_float_float_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64, arg1: i64, arg2: i32, arg3: f32, arg4: f32, arg5: f32, arg6: f32, arg7: i32, arg8: f32, arg9: f32, arg10: i32, arg11: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::MotionEvent>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | STATIC, .name == "obtain", .descriptor == "(JJIFFFFIFFII)Landroid/view/MotionEvent;"
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), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5), __jni_bindgen::AsJValue::as_jvalue(&arg6), __jni_bindgen::AsJValue::as_jvalue(&arg7), __jni_bindgen::AsJValue::as_jvalue(&arg8), __jni_bindgen::AsJValue::as_jvalue(&arg9), __jni_bindgen::AsJValue::as_jvalue(&arg10), __jni_bindgen::AsJValue::as_jvalue(&arg11)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/MotionEvent\0", "obtain\0", "(JJIFFFFIFFII)Landroid/view/MotionEvent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [obtain](https://developer.android.com/reference/android/view/MotionEvent.html#obtain(long,%20long,%20int,%20int,%20float,%20float,%20float,%20float,%20int,%20float,%20float,%20int,%20int))
///
/// Required features: "android-view-MotionEvent"
#[cfg(any(feature = "all", all(feature = "android-view-MotionEvent")))]
pub fn obtain_long_long_int_int_float_float_float_float_int_float_float_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64, arg1: i64, arg2: i32, arg3: i32, arg4: f32, arg5: f32, arg6: f32, arg7: f32, arg8: i32, arg9: f32, arg10: f32, arg11: i32, arg12: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::MotionEvent>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | STATIC, .name == "obtain", .descriptor == "(JJIIFFFFIFFII)Landroid/view/MotionEvent;"
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), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5), __jni_bindgen::AsJValue::as_jvalue(&arg6), __jni_bindgen::AsJValue::as_jvalue(&arg7), __jni_bindgen::AsJValue::as_jvalue(&arg8), __jni_bindgen::AsJValue::as_jvalue(&arg9), __jni_bindgen::AsJValue::as_jvalue(&arg10), __jni_bindgen::AsJValue::as_jvalue(&arg11), __jni_bindgen::AsJValue::as_jvalue(&arg12)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/MotionEvent\0", "obtain\0", "(JJIIFFFFIFFII)Landroid/view/MotionEvent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [obtain](https://developer.android.com/reference/android/view/MotionEvent.html#obtain(long,%20long,%20int,%20float,%20float,%20int))
///
/// Required features: "android-view-MotionEvent"
#[cfg(any(feature = "all", all(feature = "android-view-MotionEvent")))]
pub fn obtain_long_long_int_float_float_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64, arg1: i64, arg2: i32, arg3: f32, arg4: f32, arg5: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::MotionEvent>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | STATIC, .name == "obtain", .descriptor == "(JJIFFI)Landroid/view/MotionEvent;"
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), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/MotionEvent\0", "obtain\0", "(JJIFFI)Landroid/view/MotionEvent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [obtain](https://developer.android.com/reference/android/view/MotionEvent.html#obtain(android.view.MotionEvent))
///
/// Required features: "android-view-MotionEvent"
#[cfg(any(feature = "all", all(feature = "android-view-MotionEvent")))]
pub fn obtain_MotionEvent<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::MotionEvent>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::MotionEvent>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | STATIC, .name == "obtain", .descriptor == "(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/MotionEvent\0", "obtain\0", "(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [obtainNoHistory](https://developer.android.com/reference/android/view/MotionEvent.html#obtainNoHistory(android.view.MotionEvent))
///
/// Required features: "android-view-MotionEvent"
#[cfg(any(feature = "all", all(feature = "android-view-MotionEvent")))]
pub fn obtainNoHistory<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::MotionEvent>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::MotionEvent>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | STATIC, .name == "obtainNoHistory", .descriptor == "(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/MotionEvent\0", "obtainNoHistory\0", "(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [recycle](https://developer.android.com/reference/android/view/MotionEvent.html#recycle())
pub fn recycle<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC, .name == "recycle", .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/MotionEvent\0", "recycle\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getAction](https://developer.android.com/reference/android/view/MotionEvent.html#getAction())
pub fn getAction<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getAction", .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/MotionEvent\0", "getAction\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getActionMasked](https://developer.android.com/reference/android/view/MotionEvent.html#getActionMasked())
pub fn getActionMasked<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getActionMasked", .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/MotionEvent\0", "getActionMasked\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getActionIndex](https://developer.android.com/reference/android/view/MotionEvent.html#getActionIndex())
pub fn getActionIndex<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getActionIndex", .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/MotionEvent\0", "getActionIndex\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDownTime](https://developer.android.com/reference/android/view/MotionEvent.html#getDownTime())
pub fn getDownTime<'env>(&'env self) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getDownTime", .descriptor == "()J"
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/MotionEvent\0", "getDownTime\0", "()J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getEventTime](https://developer.android.com/reference/android/view/MotionEvent.html#getEventTime())
pub fn getEventTime<'env>(&'env self) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getEventTime", .descriptor == "()J"
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/MotionEvent\0", "getEventTime\0", "()J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getX](https://developer.android.com/reference/android/view/MotionEvent.html#getX())
pub fn getX<'env>(&'env self) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getX", .descriptor == "()F"
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/MotionEvent\0", "getX\0", "()F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getY](https://developer.android.com/reference/android/view/MotionEvent.html#getY())
pub fn getY<'env>(&'env self) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getY", .descriptor == "()F"
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/MotionEvent\0", "getY\0", "()F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getPressure](https://developer.android.com/reference/android/view/MotionEvent.html#getPressure())
pub fn getPressure<'env>(&'env self) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getPressure", .descriptor == "()F"
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/MotionEvent\0", "getPressure\0", "()F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getSize](https://developer.android.com/reference/android/view/MotionEvent.html#getSize())
pub fn getSize<'env>(&'env self) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getSize", .descriptor == "()F"
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/MotionEvent\0", "getSize\0", "()F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getPointerCount](https://developer.android.com/reference/android/view/MotionEvent.html#getPointerCount())
pub fn getPointerCount<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getPointerCount", .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/MotionEvent\0", "getPointerCount\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getPointerId](https://developer.android.com/reference/android/view/MotionEvent.html#getPointerId(int))
pub fn getPointerId<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getPointerId", .descriptor == "(I)I"
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/MotionEvent\0", "getPointerId\0", "(I)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [findPointerIndex](https://developer.android.com/reference/android/view/MotionEvent.html#findPointerIndex(int))
pub fn findPointerIndex<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "findPointerIndex", .descriptor == "(I)I"
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/MotionEvent\0", "findPointerIndex\0", "(I)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getX](https://developer.android.com/reference/android/view/MotionEvent.html#getX(int))
pub fn getX_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getX", .descriptor == "(I)F"
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/MotionEvent\0", "getX\0", "(I)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getY](https://developer.android.com/reference/android/view/MotionEvent.html#getY(int))
pub fn getY_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getY", .descriptor == "(I)F"
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/MotionEvent\0", "getY\0", "(I)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getPressure](https://developer.android.com/reference/android/view/MotionEvent.html#getPressure(int))
pub fn getPressure_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getPressure", .descriptor == "(I)F"
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/MotionEvent\0", "getPressure\0", "(I)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getSize](https://developer.android.com/reference/android/view/MotionEvent.html#getSize(int))
pub fn getSize_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getSize", .descriptor == "(I)F"
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/MotionEvent\0", "getSize\0", "(I)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getMetaState](https://developer.android.com/reference/android/view/MotionEvent.html#getMetaState())
pub fn getMetaState<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getMetaState", .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/MotionEvent\0", "getMetaState\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getRawX](https://developer.android.com/reference/android/view/MotionEvent.html#getRawX())
pub fn getRawX<'env>(&'env self) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getRawX", .descriptor == "()F"
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/MotionEvent\0", "getRawX\0", "()F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getRawY](https://developer.android.com/reference/android/view/MotionEvent.html#getRawY())
pub fn getRawY<'env>(&'env self) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getRawY", .descriptor == "()F"
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/MotionEvent\0", "getRawY\0", "()F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getXPrecision](https://developer.android.com/reference/android/view/MotionEvent.html#getXPrecision())
pub fn getXPrecision<'env>(&'env self) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getXPrecision", .descriptor == "()F"
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/MotionEvent\0", "getXPrecision\0", "()F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getYPrecision](https://developer.android.com/reference/android/view/MotionEvent.html#getYPrecision())
pub fn getYPrecision<'env>(&'env self) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getYPrecision", .descriptor == "()F"
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/MotionEvent\0", "getYPrecision\0", "()F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHistorySize](https://developer.android.com/reference/android/view/MotionEvent.html#getHistorySize())
pub fn getHistorySize<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getHistorySize", .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/MotionEvent\0", "getHistorySize\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHistoricalEventTime](https://developer.android.com/reference/android/view/MotionEvent.html#getHistoricalEventTime(int))
pub fn getHistoricalEventTime<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getHistoricalEventTime", .descriptor == "(I)J"
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/MotionEvent\0", "getHistoricalEventTime\0", "(I)J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHistoricalX](https://developer.android.com/reference/android/view/MotionEvent.html#getHistoricalX(int))
pub fn getHistoricalX_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getHistoricalX", .descriptor == "(I)F"
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/MotionEvent\0", "getHistoricalX\0", "(I)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHistoricalY](https://developer.android.com/reference/android/view/MotionEvent.html#getHistoricalY(int))
pub fn getHistoricalY_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getHistoricalY", .descriptor == "(I)F"
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/MotionEvent\0", "getHistoricalY\0", "(I)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHistoricalPressure](https://developer.android.com/reference/android/view/MotionEvent.html#getHistoricalPressure(int))
pub fn getHistoricalPressure_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getHistoricalPressure", .descriptor == "(I)F"
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/MotionEvent\0", "getHistoricalPressure\0", "(I)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHistoricalSize](https://developer.android.com/reference/android/view/MotionEvent.html#getHistoricalSize(int))
pub fn getHistoricalSize_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getHistoricalSize", .descriptor == "(I)F"
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/MotionEvent\0", "getHistoricalSize\0", "(I)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHistoricalX](https://developer.android.com/reference/android/view/MotionEvent.html#getHistoricalX(int,%20int))
pub fn getHistoricalX_int_int<'env>(&'env self, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getHistoricalX", .descriptor == "(II)F"
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/MotionEvent\0", "getHistoricalX\0", "(II)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHistoricalY](https://developer.android.com/reference/android/view/MotionEvent.html#getHistoricalY(int,%20int))
pub fn getHistoricalY_int_int<'env>(&'env self, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getHistoricalY", .descriptor == "(II)F"
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/MotionEvent\0", "getHistoricalY\0", "(II)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHistoricalPressure](https://developer.android.com/reference/android/view/MotionEvent.html#getHistoricalPressure(int,%20int))
pub fn getHistoricalPressure_int_int<'env>(&'env self, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getHistoricalPressure", .descriptor == "(II)F"
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/MotionEvent\0", "getHistoricalPressure\0", "(II)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHistoricalSize](https://developer.android.com/reference/android/view/MotionEvent.html#getHistoricalSize(int,%20int))
pub fn getHistoricalSize_int_int<'env>(&'env self, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getHistoricalSize", .descriptor == "(II)F"
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/MotionEvent\0", "getHistoricalSize\0", "(II)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDeviceId](https://developer.android.com/reference/android/view/MotionEvent.html#getDeviceId())
pub fn getDeviceId<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getDeviceId", .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/MotionEvent\0", "getDeviceId\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getEdgeFlags](https://developer.android.com/reference/android/view/MotionEvent.html#getEdgeFlags())
pub fn getEdgeFlags<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "getEdgeFlags", .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/MotionEvent\0", "getEdgeFlags\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setEdgeFlags](https://developer.android.com/reference/android/view/MotionEvent.html#setEdgeFlags(int))
pub fn setEdgeFlags<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "setEdgeFlags", .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/MotionEvent\0", "setEdgeFlags\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setAction](https://developer.android.com/reference/android/view/MotionEvent.html#setAction(int))
pub fn setAction<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "setAction", .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/MotionEvent\0", "setAction\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [offsetLocation](https://developer.android.com/reference/android/view/MotionEvent.html#offsetLocation(float,%20float))
pub fn offsetLocation<'env>(&'env self, arg0: f32, arg1: f32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "offsetLocation", .descriptor == "(FF)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/MotionEvent\0", "offsetLocation\0", "(FF)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setLocation](https://developer.android.com/reference/android/view/MotionEvent.html#setLocation(float,%20float))
pub fn setLocation<'env>(&'env self, arg0: f32, arg1: f32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "setLocation", .descriptor == "(FF)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/MotionEvent\0", "setLocation\0", "(FF)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [addBatch](https://developer.android.com/reference/android/view/MotionEvent.html#addBatch(long,%20float,%20float,%20float,%20float,%20int))
pub fn addBatch<'env>(&'env self, arg0: i64, 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/view/MotionEvent", java.flags == PUBLIC | FINAL, .name == "addBatch", .descriptor == "(JFFFFI)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), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/MotionEvent\0", "addBatch\0", "(JFFFFI)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toString](https://developer.android.com/reference/android/view/MotionEvent.html#toString())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toString<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC, .name == "toString", .descriptor == "()Ljava/lang/String;"
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/MotionEvent\0", "toString\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [describeContents](https://developer.android.com/reference/android/view/MotionEvent.html#describeContents())
pub fn describeContents<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC, .name == "describeContents", .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/MotionEvent\0", "describeContents\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [writeToParcel](https://developer.android.com/reference/android/view/MotionEvent.html#writeToParcel(android.os.Parcel,%20int))
///
/// Required features: "android-os-Parcel"
#[cfg(any(feature = "all", all(feature = "android-os-Parcel")))]
pub fn writeToParcel<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Parcel>>, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/view/MotionEvent", java.flags == PUBLIC, .name == "writeToParcel", .descriptor == "(Landroid/os/Parcel;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/MotionEvent\0", "writeToParcel\0", "(Landroid/os/Parcel;I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// public static final [ACTION_MASK](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_MASK)
pub const ACTION_MASK : i32 = 255;
/// public static final [ACTION_DOWN](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_DOWN)
pub const ACTION_DOWN : i32 = 0;
/// public static final [ACTION_UP](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_UP)
pub const ACTION_UP : i32 = 1;
/// public static final [ACTION_MOVE](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_MOVE)
pub const ACTION_MOVE : i32 = 2;
/// public static final [ACTION_CANCEL](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_CANCEL)
pub const ACTION_CANCEL : i32 = 3;
/// public static final [ACTION_OUTSIDE](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_OUTSIDE)
pub const ACTION_OUTSIDE : i32 = 4;
/// public static final [ACTION_POINTER_DOWN](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_POINTER_DOWN)
pub const ACTION_POINTER_DOWN : i32 = 5;
/// public static final [ACTION_POINTER_UP](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_POINTER_UP)
pub const ACTION_POINTER_UP : i32 = 6;
/// public static final [ACTION_POINTER_INDEX_MASK](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_POINTER_INDEX_MASK)
pub const ACTION_POINTER_INDEX_MASK : i32 = 65280;
/// public static final [ACTION_POINTER_INDEX_SHIFT](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_POINTER_INDEX_SHIFT)
pub const ACTION_POINTER_INDEX_SHIFT : i32 = 8;
/// public static final [ACTION_POINTER_1_DOWN](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_POINTER_1_DOWN)
pub const ACTION_POINTER_1_DOWN : i32 = 5;
/// public static final [ACTION_POINTER_2_DOWN](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_POINTER_2_DOWN)
pub const ACTION_POINTER_2_DOWN : i32 = 261;
/// public static final [ACTION_POINTER_3_DOWN](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_POINTER_3_DOWN)
pub const ACTION_POINTER_3_DOWN : i32 = 517;
/// public static final [ACTION_POINTER_1_UP](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_POINTER_1_UP)
pub const ACTION_POINTER_1_UP : i32 = 6;
/// public static final [ACTION_POINTER_2_UP](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_POINTER_2_UP)
pub const ACTION_POINTER_2_UP : i32 = 262;
/// public static final [ACTION_POINTER_3_UP](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_POINTER_3_UP)
pub const ACTION_POINTER_3_UP : i32 = 518;
/// public static final [ACTION_POINTER_ID_MASK](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_POINTER_ID_MASK)
pub const ACTION_POINTER_ID_MASK : i32 = 65280;
/// public static final [ACTION_POINTER_ID_SHIFT](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_POINTER_ID_SHIFT)
pub const ACTION_POINTER_ID_SHIFT : i32 = 8;
/// public static final [EDGE_TOP](https://developer.android.com/reference/android/view/MotionEvent.html#EDGE_TOP)
pub const EDGE_TOP : i32 = 1;
/// public static final [EDGE_BOTTOM](https://developer.android.com/reference/android/view/MotionEvent.html#EDGE_BOTTOM)
pub const EDGE_BOTTOM : i32 = 2;
/// public static final [EDGE_LEFT](https://developer.android.com/reference/android/view/MotionEvent.html#EDGE_LEFT)
pub const EDGE_LEFT : i32 = 4;
/// public static final [EDGE_RIGHT](https://developer.android.com/reference/android/view/MotionEvent.html#EDGE_RIGHT)
pub const EDGE_RIGHT : i32 = 8;
/// **get** public static final [CREATOR](https://developer.android.com/reference/android/view/MotionEvent.html#CREATOR)
///
/// Required feature: "android-os-Parcelable_Creator"
#[cfg(any(feature = "all", feature = "android-os-Parcelable_Creator"))]
pub fn CREATOR<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::os::Parcelable_Creator>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/view/MotionEvent\0", "CREATOR\0", "Landroid/os/Parcelable$Creator;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}