[−]Struct jni_android_sys::android::widget::HorizontalScrollView
public class HorizontalScrollView
Required feature: "android-widget-HorizontalScrollView"
Methods
impl HorizontalScrollView
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, HorizontalScrollView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, HorizontalScrollView>, 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, HorizontalScrollView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, HorizontalScrollView>, 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, HorizontalScrollView>, 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, HorizontalScrollView>, 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, HorizontalScrollView>, 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, HorizontalScrollView>, 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 addView_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 addView_View_int<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
pub fn isFillViewport<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setFillViewport<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isSmoothScrollingEnabled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setSmoothScrollingEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> 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 executeKeyEvent<'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 requestDisallowInterceptTouchEvent<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
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 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 shouldDelayChildPressedState<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, 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 pageScroll<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn fullScroll<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn arrowScroll<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, 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 smoothScrollTo<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn computeScroll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn requestChildFocus<'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 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 requestLayout<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn fling<'env>(&'env self, arg0: i32) -> Result<(), Local<'env, Throwable>>
[src]
pub fn scrollTo<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setOverScrollMode<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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"
Methods from Deref<Target = FrameLayout>
pub fn setForegroundGravity<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setMeasureAllChildren<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getConsiderGoneChildrenWhenMeasuring<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getMeasureAllChildren<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn generateLayoutParams_AttributeSet<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, FrameLayout_LayoutParams>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, FrameLayout_LayoutParams>>, Local<'env, Throwable>>
Required features: "android-util-AttributeSet", "android-widget-FrameLayout_LayoutParams"
pub fn shouldDelayChildPressedState<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, 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"
Trait Implementations
impl AsJValue for HorizontalScrollView
impl AsValidJObjectAndEnv for HorizontalScrollView
impl Deref for HorizontalScrollView
impl JniType for HorizontalScrollView
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for HorizontalScrollView
impl !Send for HorizontalScrollView
impl !Sync for HorizontalScrollView
impl Unpin for HorizontalScrollView
impl UnwindSafe for HorizontalScrollView
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>,