[]Struct jni_android_sys::android::widget::AdapterViewAnimator

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

public class AdapterViewAnimator

Required feature: "android-widget-AdapterViewAnimator"

Methods

impl AdapterViewAnimator

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

AdapterViewAnimator

Required features: "android-content-Context"

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

AdapterViewAnimator

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

pub fn new_Context_AttributeSet_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>,
    arg2: i32
) -> Result<Local<'env, AdapterViewAnimator>, Local<'env, Throwable>>
[src]

AdapterViewAnimator

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

pub fn new_Context_AttributeSet_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>,
    arg2: i32,
    arg3: i32
) -> Result<Local<'env, AdapterViewAnimator>, Local<'env, Throwable>>
[src]

AdapterViewAnimator

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

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

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

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

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

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

onTouchEvent

Required features: "android-view-MotionEvent"

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

onSaveInstanceState

Required features: "android-os-Parcelable"

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

onRestoreInstanceState

Required features: "android-os-Parcelable"

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

getCurrentView

Required features: "android-view-View"

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

getInAnimation

Required features: "android-animation-ObjectAnimator"

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

setInAnimation

Required features: "android-animation-ObjectAnimator"

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

getOutAnimation

Required features: "android-animation-ObjectAnimator"

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

setOutAnimation

Required features: "android-animation-ObjectAnimator"

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

setInAnimation

Required features: "android-content-Context"

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

setOutAnimation

Required features: "android-content-Context"

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

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

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

getAdapter

Required features: "android-widget-Adapter"

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

setAdapter

Required features: "android-widget-Adapter"

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

setRemoteViewsAdapter

Required features: "android-content-Intent"

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

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

getSelectedView

Required features: "android-view-View"

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

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

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

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

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

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

Methods from Deref<Target = AdapterView>

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

setOnItemClickListener

Required features: "android-widget-AdapterView_OnItemClickListener"

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

getOnItemClickListener

Required features: "android-widget-AdapterView_OnItemClickListener"

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

performItemClick

Required features: "android-view-View"

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

setOnItemLongClickListener

Required features: "android-widget-AdapterView_OnItemLongClickListener"

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

getOnItemLongClickListener

Required features: "android-widget-AdapterView_OnItemLongClickListener"

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

setOnItemSelectedListener

Required features: "android-widget-AdapterView_OnItemSelectedListener"

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

getOnItemSelectedListener

Required features: "android-widget-AdapterView_OnItemSelectedListener"

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

getAdapter

Required features: "android-widget-Adapter"

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

setAdapter

Required features: "android-widget-Adapter"

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

addView

Required features: "android-view-View"

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

addView

Required features: "android-view-View"

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

addView

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

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

addView

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

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

removeView

Required features: "android-view-View"

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

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

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

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

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

getSelectedView

Required features: "android-view-View"

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

getSelectedItem

Required features: "java-lang-Object"

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

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

getPositionForView

Required features: "android-view-View"

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

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

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

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

setEmptyView

Required features: "android-view-View"

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

getEmptyView

Required features: "android-view-View"

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

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

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

getItemAtPosition

Required features: "java-lang-Object"

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

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

setOnClickListener

Required features: "android-view-View_OnClickListener"

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

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

onProvideAutofillStructure

Required features: "android-view-ViewStructure"

pub const INVALID_POSITION: i32[src]

pub const INVALID_ROW_ID: i64[src]

pub const ITEM_VIEW_TYPE_IGNORE: i32[src]

Trait Implementations

impl AsJValue for AdapterViewAnimator

impl AsRef<Advanceable> for AdapterViewAnimator

impl AsValidJObjectAndEnv for AdapterViewAnimator

impl Deref for AdapterViewAnimator

type Target = AdapterView

The resulting type after dereferencing.

impl JniType for AdapterViewAnimator

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.