[−]Struct jni_android_sys::android::widget::Gallery
public class Gallery
Required feature: "android-widget-Gallery"
Methods
impl Gallery
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, Gallery>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, Gallery>, 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, Gallery>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, Gallery>, 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, Gallery>, 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, Gallery>, 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, Gallery>, 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, Gallery>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn setCallbackDuringFling<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setAnimationDuration<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setSpacing<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setUnselectedAlpha<'env>(
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn generateLayoutParams<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, ViewGroup_LayoutParams>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, ViewGroup_LayoutParams>>, Local<'env, Throwable>>
Required features: "android-util-AttributeSet", "android-view-ViewGroup_LayoutParams"
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 onSingleTapUp<'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 onFling<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>,
arg1: impl Into<Option<&'env MotionEvent>>,
arg2: f32,
arg3: f32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>,
arg1: impl Into<Option<&'env MotionEvent>>,
arg2: f32,
arg3: f32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn onScroll<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>,
arg1: impl Into<Option<&'env MotionEvent>>,
arg2: f32,
arg3: f32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>,
arg1: impl Into<Option<&'env MotionEvent>>,
arg2: f32,
arg3: f32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn onDown<'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 onLongPress<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn onShowPress<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn dispatchSetSelected<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), 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 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 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 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 setGravity<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), 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"
Methods from Deref<Target = AbsSpinner>
pub fn setAdapter_SpinnerAdapter<'env>(
&'env self,
arg0: impl Into<Option<&'env SpinnerAdapter>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SpinnerAdapter>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-SpinnerAdapter"
pub fn setSelection_int_boolean<'env>(
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setSelection_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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 requestLayout<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn getAdapter<'env>(
&'env self
) -> Result<Option<Local<'env, SpinnerAdapter>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SpinnerAdapter>>, Local<'env, Throwable>>
Required features: "android-widget-SpinnerAdapter"
pub fn getCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
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 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 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 autofill<'env>(
&'env self,
arg0: impl Into<Option<&'env AutofillValue>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AutofillValue>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-autofill-AutofillValue"
pub fn getAutofillType<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getAutofillValue<'env>(
&'env self
) -> Result<Option<Local<'env, AutofillValue>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, AutofillValue>>, Local<'env, Throwable>>
Required features: "android-view-autofill-AutofillValue"
Trait Implementations
impl AsJValue for Gallery
impl AsRef<GestureDetector_OnGestureListener> for Gallery
fn as_ref(&self) -> &GestureDetector_OnGestureListener
impl AsValidJObjectAndEnv for Gallery
impl Deref for Gallery
impl JniType for Gallery
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Gallery
impl !Send for Gallery
impl !Sync for Gallery
impl Unpin for Gallery
impl UnwindSafe for Gallery
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>,