[]Struct jni_android_sys::android::animation::ValueAnimator

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

public class ValueAnimator

Required feature: "android-animation-ValueAnimator"

Methods

impl ValueAnimator

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

pub fn areAnimatorsEnabled<'env>(
    __jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
[src]

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

ofInt

Required features: "android-animation-ValueAnimator"

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

ofArgb

Required features: "android-animation-ValueAnimator"

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

ofFloat

Required features: "android-animation-ValueAnimator"

pub fn ofPropertyValuesHolder<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ObjectArray<PropertyValuesHolder, Throwable>>>
) -> Result<Option<Local<'env, ValueAnimator>>, Local<'env, Throwable>>
[src]

ofPropertyValuesHolder

Required features: "android-animation-PropertyValuesHolder", "android-animation-ValueAnimator"

pub fn ofObject<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env TypeEvaluator>>,
    arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, ValueAnimator>>, Local<'env, Throwable>>
[src]

ofObject

Required features: "android-animation-TypeEvaluator", "android-animation-ValueAnimator", "java-lang-Object"

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

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

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

setObjectValues

Required features: "java-lang-Object"

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

setValues

Required features: "android-animation-PropertyValuesHolder"

pub fn getValues<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<PropertyValuesHolder, Throwable>>>, Local<'env, Throwable>>
[src]

getValues

Required features: "android-animation-PropertyValuesHolder"

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

setDuration

Required features: "android-animation-ValueAnimator"

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

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

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

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

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

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

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

pub fn getFrameDelay<'env>(
    __jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
[src]

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

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

getAnimatedValue

Required features: "java-lang-Object"

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

getAnimatedValue

Required features: "java-lang-Object", "java-lang-String"

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

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

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

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

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

addUpdateListener

Required features: "android-animation-ValueAnimator_AnimatorUpdateListener"

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

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

removeUpdateListener

Required features: "android-animation-ValueAnimator_AnimatorUpdateListener"

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

setInterpolator

Required features: "android-animation-TimeInterpolator"

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

getInterpolator

Required features: "android-animation-TimeInterpolator"

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

setEvaluator

Required features: "android-animation-TypeEvaluator"

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

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

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

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

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

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

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

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

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

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

clone

Required features: "android-animation-ValueAnimator"

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

toString

Required features: "java-lang-String"

pub const INFINITE: i32[src]

public static final INFINITE

pub const RESTART: i32[src]

public static final RESTART

pub const REVERSE: i32[src]

public static final REVERSE

Methods from Deref<Target = Animator>

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

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

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

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

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

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

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

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

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

setDuration

Required features: "android-animation-Animator"

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

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

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

setInterpolator

Required features: "android-animation-TimeInterpolator"

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

getInterpolator

Required features: "android-animation-TimeInterpolator"

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

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

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

addListener

Required features: "android-animation-Animator_AnimatorListener"

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

removeListener

Required features: "android-animation-Animator_AnimatorListener"

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

getListeners

Required features: "java-util-ArrayList"

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

addPauseListener

Required features: "android-animation-Animator_AnimatorPauseListener"

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

removePauseListener

Required features: "android-animation-Animator_AnimatorPauseListener"

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

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

clone

Required features: "android-animation-Animator"

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

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

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

setTarget

Required features: "java-lang-Object"

pub const DURATION_INFINITE: i64[src]

Trait Implementations

impl AsJValue for ValueAnimator

impl AsValidJObjectAndEnv for ValueAnimator

impl Deref for ValueAnimator

type Target = Animator

The resulting type after dereferencing.

impl JniType for ValueAnimator

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.