[]Struct jni_android_sys::android::widget::ViewAnimator

#[repr(transparent)]
pub struct ViewAnimator(_);

public class ViewAnimator

Required feature: "android-widget-ViewAnimator"

Methods

impl ViewAnimator

pub fn new_Context<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, ViewAnimator>, Local<'env, Throwable>>
[src]

ViewAnimator

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, ViewAnimator>, Local<'env, Throwable>>
[src]

ViewAnimator

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

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

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

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

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

pub fn addView<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32,
    arg2: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
[src]

addView

Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"

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

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

removeView

Required features: "android-view-View"

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

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

removeViewInLayout

Required features: "android-view-View"

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

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

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

getCurrentView

Required features: "android-view-View"

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

getInAnimation

Required features: "android-view-animation-Animation"

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

setInAnimation

Required features: "android-view-animation-Animation"

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

getOutAnimation

Required features: "android-view-animation-Animation"

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

setOutAnimation

Required features: "android-view-animation-Animation"

pub fn setInAnimation_Context_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setInAnimation

Required features: "android-content-Context"

pub fn setOutAnimation_Context_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setOutAnimation

Required features: "android-content-Context"

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

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

pub fn getBaseline<'env>(&'env self) -> Result<i32, 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"

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 ViewAnimator

impl AsValidJObjectAndEnv for ViewAnimator

impl Deref for ViewAnimator

type Target = FrameLayout

The resulting type after dereferencing.

impl JniType for ViewAnimator

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.