[]Struct jni_android_sys::android::view::ViewParent

#[repr(transparent)]
pub struct 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]

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

requestTransparentRegion

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]

onDescendantInvalidated

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]

Deprecated

invalidateChild

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]

Deprecated

invalidateChildInParent

Required features: "android-graphics-Rect", "android-view-ViewParent"

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

getParent

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]

requestChildFocus

Required features: "android-view-View"

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

recomputeViewAttributes

Required features: "android-view-View"

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

clearChildFocus

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]

getChildVisibleRect

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]

focusSearch

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]

keyboardNavigationClusterSearch

Required features: "android-view-View"

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

bringChildToFront

Required features: "android-view-View"

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

focusableViewAvailable

Required features: "android-view-View"

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

showContextMenuForChild

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]

showContextMenuForChild

Required features: "android-view-View"

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

createContextMenu

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]

startActionModeForChild

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]

startActionModeForChild

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]

childDrawableStateChanged

Required features: "android-view-View"

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

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]

requestChildRectangleOnScreen

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]

requestSendAccessibilityEvent

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]

childHasTransientStateChanged

Required features: "android-view-View"

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

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

getParentForAccessibility

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]

notifySubtreeAccessibilityStateChanged

Required features: "android-view-View"

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

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

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

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

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

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

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

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

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]

onStartNestedScroll

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]

onNestedScrollAccepted

Required features: "android-view-View"

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

onStopNestedScroll

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]

onNestedScroll

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]

onNestedPreScroll

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]

onNestedFling

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]

onNestedPreFling

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]

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]

getClass

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]

equals

Required features: "java-lang-Object"

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

toString

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]

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

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

Trait Implementations

impl AsJValue for ViewParent

impl AsRef<ViewParent> for ViewGroup

impl AsValidJObjectAndEnv for ViewParent

impl Deref for ViewParent

type Target = Object

The resulting type after dereferencing.

impl JniType for ViewParent

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.