[]Struct jni_android_sys::android::animation::LayoutTransition

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

public class LayoutTransition

Required feature: android-animation-LayoutTransition

Methods

impl LayoutTransition

pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, LayoutTransition>>[src]

pub fn set_duration_long<'env>(&'env self, arg0: i64) -> Result<()>[src]

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

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

pub fn is_transition_type_enabled<'env>(&'env self, arg0: i32) -> Result<bool>[src]

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

pub fn get_start_delay<'env>(&'env self, arg0: i32) -> Result<i64>[src]

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

pub fn get_duration<'env>(&'env self, arg0: i32) -> Result<i64>[src]

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

pub fn get_stagger<'env>(&'env self, arg0: i32) -> Result<i64>[src]

pub fn set_interpolator<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env TimeInterpolator>>
) -> Result<()>
[src]

setInterpolator

Required features: "android-animation-TimeInterpolator"

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

getInterpolator

Required features: "android-animation-TimeInterpolator"

pub fn set_animator<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Animator>>
) -> Result<()>
[src]

setAnimator

Required features: "android-animation-Animator"

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

getAnimator

Required features: "android-animation-Animator"

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

pub fn is_changing_layout<'env>(&'env self) -> Result<bool>[src]

pub fn is_running<'env>(&'env self) -> Result<bool>[src]

pub fn add_child<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ViewGroup>>,
    arg1: impl Into<Option<&'env View>>
) -> Result<()>
[src]

addChild

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

pub fn show_child_view_group_view<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ViewGroup>>,
    arg1: impl Into<Option<&'env View>>
) -> Result<()>
[src]

Deprecated

showChild

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

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

showChild

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

pub fn remove_child<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ViewGroup>>,
    arg1: impl Into<Option<&'env View>>
) -> Result<()>
[src]

removeChild

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

pub fn hide_child_view_group_view<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ViewGroup>>,
    arg1: impl Into<Option<&'env View>>
) -> Result<()>
[src]

Deprecated

hideChild

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

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

hideChild

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

pub fn add_transition_listener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env LayoutTransition_TransitionListener>>
) -> Result<()>
[src]

addTransitionListener

Required features: "android-animation-LayoutTransition_TransitionListener"

pub fn remove_transition_listener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env LayoutTransition_TransitionListener>>
) -> Result<()>
[src]

removeTransitionListener

Required features: "android-animation-LayoutTransition_TransitionListener"

pub fn get_transition_listeners<'env>(
    &'env self
) -> Result<Option<Local<'env, List>>>
[src]

getTransitionListeners

Required features: "java-util-List"

pub const APPEARING: i32[src]

public static final APPEARING

pub const CHANGE_APPEARING: i32[src]

public static final CHANGE_APPEARING

pub const CHANGE_DISAPPEARING: i32[src]

public static final CHANGE_DISAPPEARING

pub const CHANGING: i32[src]

public static final CHANGING

pub const DISAPPEARING: i32[src]

public static final DISAPPEARING

Methods from Deref<Target = Object>

pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]

getClass

Required features: "java-lang-Class"

pub fn hash_code<'env>(&'env self) -> Result<i32>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
[src]

equals

Required features: "java-lang-Object"

pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<()>[src]

pub fn notify_all<'env>(&'env self) -> Result<()>[src]

pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]

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

pub fn wait<'env>(&'env self) -> Result<()>[src]

Trait Implementations

impl Deref for LayoutTransition

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for LayoutTransition

impl AsJValue for LayoutTransition

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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