[−]Struct jni_android_sys::android::view::ViewParent
public interface ViewParent
Required feature: "android-view-ViewParent"
Methods
impl ViewParent
pub fn requestLayout<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn isLayoutRequested<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn requestTransparentRegion<'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 onDescendantInvalidated<'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 invalidateChild<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Rect", "android-view-View"
pub fn invalidateChildInParent<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: impl Into<Option<&'env Rect>>
) -> Result<Option<Local<'env, ViewParent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: impl Into<Option<&'env Rect>>
) -> Result<Option<Local<'env, ViewParent>>, Local<'env, Throwable>>
Required features: "android-graphics-Rect", "android-view-ViewParent"
pub fn getParent<'env>(
&'env self
) -> Result<Option<Local<'env, ViewParent>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ViewParent>>, Local<'env, Throwable>>
Required features: "android-view-ViewParent"
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 recomputeViewAttributes<'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 clearChildFocus<'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 getChildVisibleRect<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>,
arg2: impl Into<Option<&'env Point>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>,
arg2: impl Into<Option<&'env Point>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-graphics-Point", "android-graphics-Rect", "android-view-View"
pub fn focusSearch<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn keyboardNavigationClusterSearch<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
keyboardNavigationClusterSearch
Required features: "android-view-View"
pub fn bringChildToFront<'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 focusableViewAvailable<'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 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 createContextMenu<'env>(
&'env self,
arg0: impl Into<Option<&'env ContextMenu>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ContextMenu>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-ContextMenu"
pub fn startActionModeForChild_View_Callback<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ActionMode_Callback>>
) -> Result<Option<Local<'env, ActionMode>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ActionMode_Callback>>
) -> Result<Option<Local<'env, ActionMode>>, Local<'env, Throwable>>
Required features: "android-view-ActionMode", "android-view-ActionMode_Callback", "android-view-View"
pub fn startActionModeForChild_View_Callback_int<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ActionMode_Callback>>,
arg2: i32
) -> Result<Option<Local<'env, ActionMode>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ActionMode_Callback>>,
arg2: i32
) -> Result<Option<Local<'env, ActionMode>>, Local<'env, Throwable>>
Required features: "android-view-ActionMode", "android-view-ActionMode_Callback", "android-view-View"
pub fn childDrawableStateChanged<'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 requestDisallowInterceptTouchEvent<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
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 requestSendAccessibilityEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-View", "android-view-accessibility-AccessibilityEvent"
pub fn childHasTransientStateChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn requestFitSystemWindows<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn getParentForAccessibility<'env>(
&'env self
) -> Result<Option<Local<'env, ViewParent>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ViewParent>>, Local<'env, Throwable>>
Required features: "android-view-ViewParent"
pub fn notifySubtreeAccessibilityStateChanged<'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>>
notifySubtreeAccessibilityStateChanged
Required features: "android-view-View"
pub fn canResolveLayoutDirection<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isLayoutDirectionResolved<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getLayoutDirection<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn canResolveTextDirection<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isTextDirectionResolved<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getTextDirection<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn canResolveTextAlignment<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isTextAlignmentResolved<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getTextAlignment<'env>(&'env self) -> Result<i32, 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 onStopNestedScroll<'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 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 onNestedPreScroll<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env IntArray>>
) -> 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 onNestedPreFling<'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 onNestedPrePerformAccessibilityAction<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool, Local<'env, Throwable>>
onNestedPrePerformAccessibilityAction
Required features: "android-os-Bundle", "android-view-View"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for ViewParent
impl AsRef<ViewParent> for ViewGroup
fn as_ref(&self) -> &ViewParent
impl AsValidJObjectAndEnv for ViewParent
impl Deref for ViewParent
impl JniType for ViewParent
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ViewParent
impl !Send for ViewParent
impl !Sync for ViewParent
impl Unpin for ViewParent
impl UnwindSafe for ViewParent
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>,