[]Struct jni_android_sys::android::view::animation::RotateAnimation

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

public class RotateAnimation

Required feature: "android-view-animation-RotateAnimation"

Methods

impl RotateAnimation

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

RotateAnimation

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

pub fn new_float_float<'env>(
    __jni_env: &'env Env,
    arg0: f32,
    arg1: f32
) -> Result<Local<'env, RotateAnimation>, Local<'env, Throwable>>
[src]

pub fn new_float_float_float_float<'env>(
    __jni_env: &'env Env,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32
) -> Result<Local<'env, RotateAnimation>, Local<'env, Throwable>>
[src]

pub fn new_float_float_int_float_int_float<'env>(
    __jni_env: &'env Env,
    arg0: f32,
    arg1: f32,
    arg2: i32,
    arg3: f32,
    arg4: i32,
    arg5: f32
) -> Result<Local<'env, RotateAnimation>, Local<'env, Throwable>>
[src]

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

Methods from Deref<Target = Animation>

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

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

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

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

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

setInterpolator

Required features: "android-content-Context"

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

setInterpolator

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

getInterpolator

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

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

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

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

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

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

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

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

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

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

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

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

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

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

setAnimationListener

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

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

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

getTransformation

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

pub fn getTransformation_long_Transformation_float<'env>(
    &'env self,
    arg0: i64,
    arg1: impl Into<Option<&'env Transformation>>,
    arg2: f32
) -> Result<bool, Local<'env, Throwable>>
[src]

getTransformation

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

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

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

pub const ABSOLUTE: i32[src]

pub const INFINITE: i32[src]

pub const RELATIVE_TO_PARENT: i32[src]

pub const RELATIVE_TO_SELF: i32[src]

pub const RESTART: i32[src]

pub const REVERSE: i32[src]

pub const START_ON_FIRST_FRAME: i32[src]

pub const ZORDER_BOTTOM: i32[src]

pub const ZORDER_NORMAL: i32[src]

pub const ZORDER_TOP: i32[src]

Trait Implementations

impl AsJValue for RotateAnimation

impl AsValidJObjectAndEnv for RotateAnimation

impl Deref for RotateAnimation

type Target = Animation

The resulting type after dereferencing.

impl JniType for RotateAnimation

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.