[]Struct jni_android_sys::android::gesture::GestureOverlayView

#[repr(transparent)]
pub struct 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]

GestureOverlayView

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]

GestureOverlayView

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]

GestureOverlayView

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]

GestureOverlayView

Required features: "android-content-Context", "android-util-AttributeSet"

pub fn getCurrentStroke<'env>(
    &'env self
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
[src]

getCurrentStroke

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]

pub fn setGestureColor<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setUncertainGestureColor<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getUncertainGestureColor<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getGestureColor<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getGestureStrokeWidth<'env>(
    &'env self
) -> Result<f32, Local<'env, Throwable>>
[src]

pub fn setGestureStrokeWidth<'env>(
    &'env self,
    arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getGestureStrokeType<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setGestureStrokeType<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getGestureStrokeLengthThreshold<'env>(
    &'env self
) -> Result<f32, Local<'env, Throwable>>
[src]

pub fn setGestureStrokeLengthThreshold<'env>(
    &'env self,
    arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getGestureStrokeSquarenessTreshold<'env>(
    &'env self
) -> Result<f32, Local<'env, Throwable>>
[src]

pub fn setGestureStrokeSquarenessTreshold<'env>(
    &'env self,
    arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getGestureStrokeAngleThreshold<'env>(
    &'env self
) -> Result<f32, Local<'env, Throwable>>
[src]

pub fn setGestureStrokeAngleThreshold<'env>(
    &'env self,
    arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isEventsInterceptionEnabled<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setEventsInterceptionEnabled<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

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]

pub fn getGesture<'env>(
    &'env self
) -> Result<Option<Local<'env, Gesture>>, Local<'env, Throwable>>
[src]

getGesture

Required features: "android-gesture-Gesture"

pub fn setGesture<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Gesture>>
) -> Result<(), Local<'env, Throwable>>
[src]

setGesture

Required features: "android-gesture-Gesture"

pub fn getGesturePath<'env>(
    &'env self
) -> Result<Option<Local<'env, Path>>, Local<'env, Throwable>>
[src]

getGesturePath

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]

getGesturePath

Required features: "android-graphics-Path"

pub fn isGestureVisible<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setGestureVisible<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

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]

pub fn addOnGestureListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env GestureOverlayView_OnGestureListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

addOnGestureListener

Required features: "android-gesture-GestureOverlayView_OnGestureListener"

pub fn removeOnGestureListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env GestureOverlayView_OnGestureListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

removeOnGestureListener

Required features: "android-gesture-GestureOverlayView_OnGestureListener"

pub fn removeAllOnGestureListeners<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn addOnGesturePerformedListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env GestureOverlayView_OnGesturePerformedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

addOnGesturePerformedListener

Required features: "android-gesture-GestureOverlayView_OnGesturePerformedListener"

pub fn removeOnGesturePerformedListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env GestureOverlayView_OnGesturePerformedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

removeOnGesturePerformedListener

Required features: "android-gesture-GestureOverlayView_OnGesturePerformedListener"

pub fn removeAllOnGesturePerformedListeners<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn addOnGesturingListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env GestureOverlayView_OnGesturingListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

addOnGesturingListener

Required features: "android-gesture-GestureOverlayView_OnGesturingListener"

pub fn removeOnGesturingListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env GestureOverlayView_OnGesturingListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

removeOnGesturingListener

Required features: "android-gesture-GestureOverlayView_OnGesturingListener"

pub fn removeAllOnGesturingListeners<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

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]

draw

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]

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]

dispatchTouchEvent

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]

pub fn setMeasureAllChildren<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getConsiderGoneChildrenWhenMeasuring<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

pub fn getMeasureAllChildren<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn generateLayoutParams_AttributeSet<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, FrameLayout_LayoutParams>>, Local<'env, Throwable>>
[src]

generateLayoutParams

Required features: "android-util-AttributeSet", "android-widget-FrameLayout_LayoutParams"

pub fn shouldDelayChildPressedState<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getAccessibilityClassName<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getAccessibilityClassName

Required features: "java-lang-CharSequence"

Trait Implementations

impl AsJValue for GestureOverlayView

impl AsValidJObjectAndEnv for GestureOverlayView

impl Deref for GestureOverlayView

type Target = FrameLayout

The resulting type after dereferencing.

impl JniType for GestureOverlayView

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.