[−]Struct jni_android_sys::android::graphics::drawable::AnimatedStateListDrawable
public class AnimatedStateListDrawable
Required feature: "android-graphics-drawable-AnimatedStateListDrawable"
Methods
impl AnimatedStateListDrawable
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, AnimatedStateListDrawable>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, AnimatedStateListDrawable>, Local<'env, Throwable>>
pub fn setVisible<'env>(
&'env self,
arg0: bool,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
pub fn addState<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: impl Into<Option<&'env Drawable>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: impl Into<Option<&'env Drawable>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn addTransition<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Drawable>>,
arg3: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Drawable>>,
arg3: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn isStateful<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn jumpToCurrentState<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn inflate<'env>(
&'env self,
arg0: impl Into<Option<&'env Resources>>,
arg1: impl Into<Option<&'env XmlPullParser>>,
arg2: impl Into<Option<&'env AttributeSet>>,
arg3: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Resources>>,
arg1: impl Into<Option<&'env XmlPullParser>>,
arg2: impl Into<Option<&'env AttributeSet>>,
arg3: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-res-Resources", "android-content-res-Resources_Theme", "android-util-AttributeSet", "org-xmlpull-v1-XmlPullParser"
pub fn applyTheme<'env>(
&'env self,
arg0: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-res-Resources_Theme"
pub fn mutate<'env>(
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
Methods from Deref<Target = StateListDrawable>
pub fn addState<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn isStateful<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn inflate<'env>(
&'env self,
arg0: impl Into<Option<&'env Resources>>,
arg1: impl Into<Option<&'env XmlPullParser>>,
arg2: impl Into<Option<&'env AttributeSet>>,
arg3: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Resources>>,
arg1: impl Into<Option<&'env XmlPullParser>>,
arg2: impl Into<Option<&'env AttributeSet>>,
arg3: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-res-Resources", "android-content-res-Resources_Theme", "android-util-AttributeSet", "org-xmlpull-v1-XmlPullParser"
pub fn mutate<'env>(
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn applyTheme<'env>(
&'env self,
arg0: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-res-Resources_Theme"
Trait Implementations
impl AsJValue for AnimatedStateListDrawable
impl AsValidJObjectAndEnv for AnimatedStateListDrawable
impl Deref for AnimatedStateListDrawable
type Target = StateListDrawable
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for AnimatedStateListDrawable
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for AnimatedStateListDrawable
impl !Send for AnimatedStateListDrawable
impl !Sync for AnimatedStateListDrawable
impl Unpin for AnimatedStateListDrawable
impl UnwindSafe for AnimatedStateListDrawable
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,