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

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

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

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

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

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

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

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

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

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

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

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

setInterpolator

Required features: "android-animation-TimeInterpolator"

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

getInterpolator

Required features: "android-animation-TimeInterpolator"

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

setAnimator

Required features: "android-animation-Animator"

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

getAnimator

Required features: "android-animation-Animator"

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

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

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

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

addChild

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

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

Deprecated

showChild

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

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

showChild

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

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

removeChild

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

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

Deprecated

hideChild

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

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

hideChild

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

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

addTransitionListener

Required features: "android-animation-LayoutTransition_TransitionListener"

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

removeTransitionListener

Required features: "android-animation-LayoutTransition_TransitionListener"

pub fn getTransitionListeners<'env>(
    &'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[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 getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

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

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

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

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

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

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

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

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

Trait Implementations

impl AsJValue for LayoutTransition

impl AsValidJObjectAndEnv for LayoutTransition

impl Deref for LayoutTransition

type Target = Object

The resulting type after dereferencing.

impl JniType for LayoutTransition

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.