[−]Struct jni_android_sys::android::view::animation::Animation
public class Animation
Required feature: android-view-animation-Animation
Methods
impl Animation
pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, Animation>>[src]
pub fn new_context_attribute_set<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, Animation>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, Animation>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn reset<'env>(&'env self) -> Result<()>[src]
pub fn cancel<'env>(&'env self) -> Result<()>[src]
pub fn is_initialized<'env>(&'env self) -> Result<bool>[src]
pub fn initialize<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<()>
pub fn set_interpolator_context_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<()>
Required features: "android-content-Context"
pub fn set_interpolator_interpolator<'env>(
&'env self,
arg0: impl Into<Option<&'env Interpolator>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Interpolator>>
) -> Result<()>
Required features: "android-view-animation-Interpolator"
pub fn set_start_offset<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn set_duration<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn restrict_duration<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn scale_current_duration<'env>(&'env self, arg0: f32) -> Result<()>[src]
pub fn set_start_time<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn start<'env>(&'env self) -> Result<()>[src]
pub fn start_now<'env>(&'env self) -> Result<()>[src]
pub fn set_repeat_mode<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_repeat_count<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn is_fill_enabled<'env>(&'env self) -> Result<bool>[src]
pub fn set_fill_enabled<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_fill_before<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_fill_after<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_z_adjustment<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_background_color<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_detach_wallpaper<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn get_interpolator<'env>(
&'env self
) -> Result<Option<Local<'env, Interpolator>>>[src]
&'env self
) -> Result<Option<Local<'env, Interpolator>>>
Required features: "android-view-animation-Interpolator"
pub fn get_start_time<'env>(&'env self) -> Result<i64>[src]
pub fn get_duration<'env>(&'env self) -> Result<i64>[src]
pub fn get_start_offset<'env>(&'env self) -> Result<i64>[src]
pub fn get_repeat_mode<'env>(&'env self) -> Result<i32>[src]
pub fn get_repeat_count<'env>(&'env self) -> Result<i32>[src]
pub fn get_fill_before<'env>(&'env self) -> Result<bool>[src]
pub fn get_fill_after<'env>(&'env self) -> Result<bool>[src]
pub fn get_z_adjustment<'env>(&'env self) -> Result<i32>[src]
pub fn get_background_color<'env>(&'env self) -> Result<i32>[src]
pub fn get_detach_wallpaper<'env>(&'env self) -> Result<bool>[src]
pub fn will_change_transformation_matrix<'env>(&'env self) -> Result<bool>[src]
pub fn will_change_bounds<'env>(&'env self) -> Result<bool>[src]
pub fn set_animation_listener<'env>(
&'env self,
arg0: impl Into<Option<&'env Animation_AnimationListener>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Animation_AnimationListener>>
) -> Result<()>
Required features: "android-view-animation-Animation_AnimationListener"
pub fn compute_duration_hint<'env>(&'env self) -> Result<i64>[src]
pub fn get_transformation_long_transformation<'env>(
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env Transformation>>
) -> Result<bool>[src]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env Transformation>>
) -> Result<bool>
Required features: "android-view-animation-Transformation"
pub fn get_transformation_long_transformation_float<'env>(
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env Transformation>>,
arg2: f32
) -> Result<bool>[src]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env Transformation>>,
arg2: f32
) -> Result<bool>
Required features: "android-view-animation-Transformation"
pub fn has_started<'env>(&'env self) -> Result<bool>[src]
pub fn has_ended<'env>(&'env self) -> Result<bool>[src]
pub const ABSOLUTE: i32[src]
public static final ABSOLUTE
pub const INFINITE: i32[src]
public static final INFINITE
pub const RELATIVE_TO_PARENT: i32[src]
public static final RELATIVE_TO_PARENT
pub const RELATIVE_TO_SELF: i32[src]
public static final RELATIVE_TO_SELF
pub const RESTART: i32[src]
public static final RESTART
pub const REVERSE: i32[src]
public static final REVERSE
pub const START_ON_FIRST_FRAME: i32[src]
public static final START_ON_FIRST_FRAME
pub const ZORDER_BOTTOM: i32[src]
public static final ZORDER_BOTTOM
pub const ZORDER_NORMAL: i32[src]
public static final ZORDER_NORMAL
pub const ZORDER_TOP: i32[src]
public static final ZORDER_TOP
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
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 AsRef<Cloneable> for Animation
impl Deref for Animation
impl AsValidJObjectAndEnv for Animation
impl AsJValue for Animation
Auto Trait Implementations
impl !Sync for Animation
impl Unpin for Animation
impl !Send for Animation
impl UnwindSafe for Animation
impl RefUnwindSafe for Animation
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,