[−]Struct jni_android_sys::android::gesture::GestureOverlayView
public class GestureOverlayView
Required feature: "android-gesture-GestureOverlayView"
Methods
impl GestureOverlayView
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, GestureOverlayView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, GestureOverlayView>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn new_Context_AttributeSet<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, GestureOverlayView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, GestureOverlayView>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn new_Context_AttributeSet_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32
) -> Result<Local<'env, GestureOverlayView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32
) -> Result<Local<'env, GestureOverlayView>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn new_Context_AttributeSet_int_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32,
arg3: i32
) -> Result<Local<'env, GestureOverlayView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32,
arg3: i32
) -> Result<Local<'env, GestureOverlayView>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn getCurrentStroke<'env>(
&'env self
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
Required features: "java-util-ArrayList"
pub fn getOrientation<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setOrientation<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setGestureColor<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setUncertainGestureColor<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getUncertainGestureColor<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getGestureColor<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getGestureStrokeWidth<'env>(
&'env self
) -> Result<f32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<f32, Local<'env, Throwable>>
pub fn setGestureStrokeWidth<'env>(
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn getGestureStrokeType<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setGestureStrokeType<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getGestureStrokeLengthThreshold<'env>(
&'env self
) -> Result<f32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<f32, Local<'env, Throwable>>
pub fn setGestureStrokeLengthThreshold<'env>(
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn getGestureStrokeSquarenessTreshold<'env>(
&'env self
) -> Result<f32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<f32, Local<'env, Throwable>>
pub fn setGestureStrokeSquarenessTreshold<'env>(
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn getGestureStrokeAngleThreshold<'env>(
&'env self
) -> Result<f32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<f32, Local<'env, Throwable>>
pub fn setGestureStrokeAngleThreshold<'env>(
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn isEventsInterceptionEnabled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setEventsInterceptionEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isFadeEnabled<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setFadeEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getGesture<'env>(
&'env self
) -> Result<Option<Local<'env, Gesture>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Gesture>>, Local<'env, Throwable>>
Required features: "android-gesture-Gesture"
pub fn setGesture<'env>(
&'env self,
arg0: impl Into<Option<&'env Gesture>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Gesture>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-gesture-Gesture"
pub fn getGesturePath<'env>(
&'env self
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
Required features: "android-graphics-Path"
pub fn getGesturePath_Path<'env>(
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Path>>
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
Required features: "android-graphics-Path"
pub fn isGestureVisible<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setGestureVisible<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getFadeOffset<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn setFadeOffset<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn addOnGestureListener<'env>(
&'env self,
arg0: impl Into<Option<&'env GestureOverlayView_OnGestureListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env GestureOverlayView_OnGestureListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-gesture-GestureOverlayView_OnGestureListener"
pub fn removeOnGestureListener<'env>(
&'env self,
arg0: impl Into<Option<&'env GestureOverlayView_OnGestureListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env GestureOverlayView_OnGestureListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-gesture-GestureOverlayView_OnGestureListener"
pub fn removeAllOnGestureListeners<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn addOnGesturePerformedListener<'env>(
&'env self,
arg0: impl Into<Option<&'env GestureOverlayView_OnGesturePerformedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env GestureOverlayView_OnGesturePerformedListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-gesture-GestureOverlayView_OnGesturePerformedListener"
pub fn removeOnGesturePerformedListener<'env>(
&'env self,
arg0: impl Into<Option<&'env GestureOverlayView_OnGesturePerformedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env GestureOverlayView_OnGesturePerformedListener>>
) -> Result<(), Local<'env, Throwable>>
removeOnGesturePerformedListener
Required features: "android-gesture-GestureOverlayView_OnGesturePerformedListener"
pub fn removeAllOnGesturePerformedListeners<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn addOnGesturingListener<'env>(
&'env self,
arg0: impl Into<Option<&'env GestureOverlayView_OnGesturingListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env GestureOverlayView_OnGesturingListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-gesture-GestureOverlayView_OnGesturingListener"
pub fn removeOnGesturingListener<'env>(
&'env self,
arg0: impl Into<Option<&'env GestureOverlayView_OnGesturingListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env GestureOverlayView_OnGesturingListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-gesture-GestureOverlayView_OnGesturingListener"
pub fn removeAllOnGesturingListeners<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn isGesturing<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn draw<'env>(
&'env self,
arg0: impl Into<Option<&'env Canvas>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Canvas>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Canvas"
pub fn clear<'env>(&'env self, arg0: bool) -> Result<(), Local<'env, Throwable>>
[src]
pub fn cancelClearAnimation<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn cancelGesture<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn dispatchTouchEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub const GESTURE_STROKE_TYPE_MULTIPLE: i32
[src]
public static final GESTURE_STROKE_TYPE_MULTIPLE
pub const GESTURE_STROKE_TYPE_SINGLE: i32
[src]
public static final GESTURE_STROKE_TYPE_SINGLE
pub const ORIENTATION_HORIZONTAL: i32
[src]
public static final ORIENTATION_HORIZONTAL
pub const ORIENTATION_VERTICAL: i32
[src]
public static final ORIENTATION_VERTICAL
Methods from Deref<Target = FrameLayout>
pub fn setForegroundGravity<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setMeasureAllChildren<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getConsiderGoneChildrenWhenMeasuring<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getMeasureAllChildren<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn generateLayoutParams_AttributeSet<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, FrameLayout_LayoutParams>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, FrameLayout_LayoutParams>>, Local<'env, Throwable>>
Required features: "android-util-AttributeSet", "android-widget-FrameLayout_LayoutParams"
pub fn shouldDelayChildPressedState<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getAccessibilityClassName<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
Trait Implementations
impl AsJValue for GestureOverlayView
impl AsValidJObjectAndEnv for GestureOverlayView
impl Deref for GestureOverlayView
impl JniType for GestureOverlayView
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for GestureOverlayView
impl !Send for GestureOverlayView
impl !Sync for GestureOverlayView
impl Unpin for GestureOverlayView
impl UnwindSafe for GestureOverlayView
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,