[−]Struct jni_android_sys::android::widget::ListView
public class ListView
Required feature: "android-widget-ListView"
Methods
impl ListView
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, ListView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, ListView>, Local<'env, Throwable>>
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, ListView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, ListView>, Local<'env, Throwable>>
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, ListView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32
) -> Result<Local<'env, ListView>, Local<'env, Throwable>>
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, ListView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32,
arg3: i32
) -> Result<Local<'env, ListView>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn getMaxScrollAmount<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn addHeaderView_View_Object_boolean<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Object>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Object>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View", "java-lang-Object"
pub fn addHeaderView_View<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn getHeaderViewsCount<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn removeHeaderView<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn addFooterView_View_Object_boolean<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Object>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Object>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View", "java-lang-Object"
pub fn addFooterView_View<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn getFooterViewsCount<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn removeFooterView<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn getAdapter<'env>(
&'env self
) -> Result<Option<Local<'env, ListAdapter>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ListAdapter>>, Local<'env, Throwable>>
Required features: "android-widget-ListAdapter"
pub fn setRemoteViewsAdapter<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn setAdapter_ListAdapter<'env>(
&'env self,
arg0: impl Into<Option<&'env ListAdapter>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ListAdapter>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-ListAdapter"
pub fn requestChildRectangleOnScreen<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>,
arg2: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>,
arg2: bool
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-graphics-Rect", "android-view-View"
pub fn smoothScrollToPosition<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn smoothScrollByOffset<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setSelection<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setSelectionAfterHeaderView<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn dispatchKeyEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn onKeyDown<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn onKeyMultiple<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn onKeyUp<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn setItemsCanFocus<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getItemsCanFocus<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isOpaque<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setCacheColorHint<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getDivider<'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 setDivider<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn getDividerHeight<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setDividerHeight<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setHeaderDividersEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn areHeaderDividersEnabled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setFooterDividersEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn areFooterDividersEnabled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setOverscrollHeader<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn getOverscrollHeader<'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 setOverscrollFooter<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn getOverscrollFooter<'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 getCheckItemIds<'env>(
&'env self
) -> Result<Option<Local<'env, LongArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LongArray>>, Local<'env, Throwable>>
pub fn getAccessibilityClassName<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn onInitializeAccessibilityNodeInfoForItem<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env AccessibilityNodeInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env AccessibilityNodeInfo>>
) -> Result<(), Local<'env, Throwable>>
onInitializeAccessibilityNodeInfoForItem
Required features: "android-view-View", "android-view-accessibility-AccessibilityNodeInfo"
Methods from Deref<Target = AbsListView>
pub fn setOverScrollMode<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setAdapter_ListAdapter<'env>(
&'env self,
arg0: impl Into<Option<&'env ListAdapter>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ListAdapter>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-ListAdapter"
pub fn getCheckedItemCount<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn isItemChecked<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn getCheckedItemPosition<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getCheckedItemPositions<'env>(
&'env self
) -> Result<Option<Local<'env, SparseBooleanArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SparseBooleanArray>>, Local<'env, Throwable>>
Required features: "android-util-SparseBooleanArray"
pub fn getCheckedItemIds<'env>(
&'env self
) -> Result<Option<Local<'env, LongArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LongArray>>, Local<'env, Throwable>>
pub fn clearChoices<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setItemChecked<'env>(
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
pub fn performItemClick<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i64
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i64
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn getChoiceMode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setChoiceMode<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setMultiChoiceModeListener<'env>(
&'env self,
arg0: impl Into<Option<&'env AbsListView_MultiChoiceModeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AbsListView_MultiChoiceModeListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-AbsListView_MultiChoiceModeListener"
pub fn setFastScrollEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setFastScrollStyle<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setFastScrollAlwaysVisible<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isFastScrollAlwaysVisible<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getVerticalScrollbarWidth<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn isFastScrollEnabled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setVerticalScrollbarPosition<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setScrollBarStyle<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setSmoothScrollbarEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isSmoothScrollbarEnabled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setOnScrollListener<'env>(
&'env self,
arg0: impl Into<Option<&'env AbsListView_OnScrollListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AbsListView_OnScrollListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-AbsListView_OnScrollListener"
pub fn sendAccessibilityEventUnchecked<'env>(
&'env self,
arg0: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<(), Local<'env, Throwable>>
sendAccessibilityEventUnchecked
Required features: "android-view-accessibility-AccessibilityEvent"
pub fn getAccessibilityClassName<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn isScrollingCacheEnabled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setScrollingCacheEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setTextFilterEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isTextFilterEnabled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getFocusedRect<'env>(
&'env self,
arg0: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Rect"
pub fn isStackFromBottom<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setStackFromBottom<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn onSaveInstanceState<'env>(
&'env self
) -> Result<Option<Local<'env, Parcelable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Parcelable>>, Local<'env, Throwable>>
Required features: "android-os-Parcelable"
pub fn onRestoreInstanceState<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcelable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcelable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcelable"
pub fn setFilterText<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getTextFilter<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn requestLayout<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn getSelectedView<'env>(
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn getListPaddingTop<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getListPaddingBottom<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getListPaddingLeft<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getListPaddingRight<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn onInitializeAccessibilityNodeInfoForItem<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env AccessibilityNodeInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env AccessibilityNodeInfo>>
) -> Result<(), Local<'env, Throwable>>
onInitializeAccessibilityNodeInfoForItem
Required features: "android-view-View", "android-view-accessibility-AccessibilityNodeInfo"
pub fn setDrawSelectorOnTop<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setSelector_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setSelector_Drawable<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn getSelector<'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 setScrollIndicators<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn verifyDrawable<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn jumpDrawablesToCurrentState<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn onWindowFocusChanged<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn onRtlPropertiesChanged<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn onCancelPendingInputEvents<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn showContextMenu<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn showContextMenu_float_float<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<bool, Local<'env, Throwable>>
pub fn showContextMenuForChild_View<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn showContextMenuForChild_View_float_float<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: f32,
arg2: f32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: f32,
arg2: f32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onKeyDown<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn onKeyUp<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn dispatchDrawableHotspotChanged<'env>(
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
pub fn pointToPosition<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn pointToRowId<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<i64, Local<'env, Throwable>>
pub fn onTouchModeChanged<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn onTouchEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn onGenericMotionEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn fling<'env>(&'env self, arg0: i32) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onStartNestedScroll<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onNestedScrollAccepted<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onNestedScroll<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onNestedFling<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: f32,
arg2: f32,
arg3: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: f32,
arg2: f32,
arg3: bool
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn draw<'env>(
&'env self,
arg0: impl Into<Option<&'env Canvas>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Canvas>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Canvas"
pub fn requestDisallowInterceptTouchEvent<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn onInterceptHoverEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn onResolvePointerIcon<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>,
arg1: i32
) -> Result<Option<Local<'env, PointerIcon>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>,
arg1: i32
) -> Result<Option<Local<'env, PointerIcon>>, Local<'env, Throwable>>
Required features: "android-view-MotionEvent", "android-view-PointerIcon"
pub fn onInterceptTouchEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn addTouchables<'env>(
&'env self,
arg0: impl Into<Option<&'env ArrayList>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ArrayList>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-ArrayList"
pub fn setFriction<'env>(
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn setVelocityScale<'env>(
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn smoothScrollToPosition_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn smoothScrollToPositionFromTop_int_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
pub fn smoothScrollToPositionFromTop_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn smoothScrollToPosition_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn smoothScrollBy<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn scrollListBy<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn canScrollList<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn invalidateViews<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onCreateInputConnection<'env>(
&'env self,
arg0: impl Into<Option<&'env EditorInfo>>
) -> Result<Option<Local<'env, InputConnection>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env EditorInfo>>
) -> Result<Option<Local<'env, InputConnection>>, Local<'env, Throwable>>
Required features: "android-view-inputmethod-EditorInfo", "android-view-inputmethod-InputConnection"
pub fn checkInputConnectionProxy<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn clearTextFilter<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn hasTextFilter<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn onGlobalLayout<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn beforeTextChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn onTextChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn afterTextChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env Editable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Editable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-Editable"
pub fn onFilterComplete<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn generateLayoutParams_AttributeSet<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, AbsListView_LayoutParams>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, AbsListView_LayoutParams>>, Local<'env, Throwable>>
Required features: "android-util-AttributeSet", "android-widget-AbsListView_LayoutParams"
pub fn setTranscriptMode<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getTranscriptMode<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getSolidColor<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setCacheColorHint<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getCacheColorHint<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn reclaimViews<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-List"
pub fn setRemoteViewsAdapter<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn deferNotifyDataSetChanged<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn onRemoteAdapterConnected<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn onRemoteAdapterDisconnected<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn setRecyclerListener<'env>(
&'env self,
arg0: impl Into<Option<&'env AbsListView_RecyclerListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AbsListView_RecyclerListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-AbsListView_RecyclerListener"
pub fn setSelectionFromTop<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub const CHOICE_MODE_MULTIPLE: i32
[src]
pub const CHOICE_MODE_MULTIPLE_MODAL: i32
[src]
pub const CHOICE_MODE_NONE: i32
[src]
pub const CHOICE_MODE_SINGLE: i32
[src]
pub const TRANSCRIPT_MODE_ALWAYS_SCROLL: i32
[src]
pub const TRANSCRIPT_MODE_DISABLED: i32
[src]
pub const TRANSCRIPT_MODE_NORMAL: i32
[src]
Trait Implementations
impl AsJValue for ListView
impl AsValidJObjectAndEnv for ListView
impl Deref for ListView
impl JniType for ListView
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ListView
impl !Send for ListView
impl !Sync for ListView
impl Unpin for ListView
impl UnwindSafe for ListView
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>,