[]Struct jni_android_sys::android::widget::Toolbar

#[repr(transparent)]
pub struct Toolbar(_);

public class Toolbar

Required feature: "android-widget-Toolbar"

Methods

impl Toolbar

pub fn new_Context<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, Toolbar>, Local<'env, Throwable>>
[src]

Toolbar

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, Toolbar>, Local<'env, Throwable>>
[src]

Toolbar

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, Toolbar>, Local<'env, Throwable>>
[src]

Toolbar

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, Toolbar>, Local<'env, Throwable>>
[src]

Toolbar

Required features: "android-content-Context", "android-util-AttributeSet"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

setLogo

Required features: "android-graphics-drawable-Drawable"

getLogo

Required features: "android-graphics-drawable-Drawable"

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

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

setLogoDescription

Required features: "java-lang-CharSequence"

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

getLogoDescription

Required features: "java-lang-CharSequence"

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

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

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

getTitle

Required features: "java-lang-CharSequence"

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

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

setTitle

Required features: "java-lang-CharSequence"

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

getSubtitle

Required features: "java-lang-CharSequence"

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

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

setSubtitle

Required features: "java-lang-CharSequence"

pub fn setTitleTextAppearance<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setTitleTextAppearance

Required features: "android-content-Context"

pub fn setSubtitleTextAppearance<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setSubtitleTextAppearance

Required features: "android-content-Context"

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

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

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

getNavigationContentDescription

Required features: "java-lang-CharSequence"

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

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

setNavigationContentDescription

Required features: "java-lang-CharSequence"

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

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

setNavigationIcon

Required features: "android-graphics-drawable-Drawable"

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

getNavigationIcon

Required features: "android-graphics-drawable-Drawable"

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

setNavigationOnClickListener

Required features: "android-view-View_OnClickListener"

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

getMenu

Required features: "android-view-Menu"

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

setOverflowIcon

Required features: "android-graphics-drawable-Drawable"

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

getOverflowIcon

Required features: "android-graphics-drawable-Drawable"

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

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

setOnMenuItemClickListener

Required features: "android-widget-Toolbar_OnMenuItemClickListener"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

onTouchEvent

Required features: "android-view-MotionEvent"

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

generateLayoutParams

Required features: "android-util-AttributeSet", "android-widget-Toolbar_LayoutParams"

Methods from Deref<Target = ViewGroup>

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

pub fn setDescendantFocusability<'env>(
    &'env self,
    arg0: i32
) -> 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]

requestChildFocus

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 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 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 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 onRequestSendAccessibilityEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onRequestSendAccessibilityEvent

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 hasTransientState<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

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

dispatchUnhandledMove

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 clearFocus<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

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

getFocusedChild

Required features: "android-view-View"

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

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

findFocus

Required features: "android-view-View"

pub fn addFocusables<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ArrayList>>,
    arg1: i32,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

addFocusables

Required features: "java-util-ArrayList"

pub fn addKeyboardNavigationClusters<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Collection>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

addKeyboardNavigationClusters

Required features: "java-util-Collection"

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

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

pub fn findViewsWithText<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ArrayList>>,
    arg1: impl Into<Option<&'env CharSequence>>,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

findViewsWithText

Required features: "java-lang-CharSequence", "java-util-ArrayList"

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

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

addTouchables

Required features: "java-util-ArrayList"

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

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

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

dispatchConfigurationChanged

Required features: "android-content-res-Configuration"

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 bringChildToFront<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

bringChildToFront

Required features: "android-view-View"

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

dispatchDragEvent

Required features: "android-view-DragEvent"

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

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

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

dispatchKeyEventPreIme

Required features: "android-view-KeyEvent"

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

dispatchKeyEvent

Required features: "android-view-KeyEvent"

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

dispatchKeyShortcutEvent

Required features: "android-view-KeyEvent"

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

dispatchTrackballEvent

Required features: "android-view-MotionEvent"

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

dispatchCapturedPointerEvent

Required features: "android-view-MotionEvent"

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

pub fn onResolvePointerIcon<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>,
    arg1: i32
) -> Result<Option<Local<'env, PointerIcon>>, Local<'env, Throwable>>
[src]

onResolvePointerIcon

Required features: "android-view-MotionEvent", "android-view-PointerIcon"

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

addChildrenForAccessibility

Required features: "java-util-ArrayList"

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

onInterceptHoverEvent

Required features: "android-view-MotionEvent"

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

dispatchTouchEvent

Required features: "android-view-MotionEvent"

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

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

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

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

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

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

onInterceptTouchEvent

Required features: "android-view-MotionEvent"

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

requestFocus

Required features: "android-graphics-Rect"

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

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

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

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

dispatchProvideStructure

Required features: "android-view-ViewStructure"

pub fn dispatchProvideAutofillStructure<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ViewStructure>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

dispatchProvideAutofillStructure

Required features: "android-view-ViewStructure"

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

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 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"

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

getOverlay

Required features: "android-view-ViewGroupOverlay"

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

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

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

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

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

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

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

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

addView

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]

addView

Required features: "android-view-View"

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

addView

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]

addView

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]

addView

Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"

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

updateViewLayout

Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"

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

setOnHierarchyChangeListener

Required features: "android-view-ViewGroup_OnHierarchyChangeListener"

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

onViewAdded

Required features: "android-view-View"

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

onViewRemoved

Required features: "android-view-View"

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

removeView

Required features: "android-view-View"

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

removeViewInLayout

Required features: "android-view-View"

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

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

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

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

setLayoutTransition

Required features: "android-animation-LayoutTransition"

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

getLayoutTransition

Required features: "android-animation-LayoutTransition"

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

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

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 offsetDescendantRectToMyCoords<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
[src]

offsetDescendantRectToMyCoords

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

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

offsetRectIntoDescendantCoords

Required features: "android-graphics-Rect", "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 layout<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

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

setLayoutAnimation

Required features: "android-view-animation-LayoutAnimationController"

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

getLayoutAnimation

Required features: "android-view-animation-LayoutAnimationController"

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

Deprecated

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

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

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

generateLayoutParams

Required features: "android-util-AttributeSet", "android-view-ViewGroup_LayoutParams"

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

indexOfChild

Required features: "android-view-View"

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

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

getChildAt

Required features: "android-view-View"

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

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

startViewTransition

Required features: "android-view-View"

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

endViewTransition

Required features: "android-view-View"

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

gatherTransparentRegion

Required features: "android-graphics-Region"

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 dispatchApplyWindowInsets<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WindowInsets>>
) -> Result<Option<Local<'env, WindowInsets>>, Local<'env, Throwable>>
[src]

dispatchApplyWindowInsets

Required features: "android-view-WindowInsets"

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

getLayoutAnimationListener

Required features: "android-view-animation-Animation_AnimationListener"

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

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

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

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 setLayoutAnimationListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Animation_AnimationListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setLayoutAnimationListener

Required features: "android-view-animation-Animation_AnimationListener"

pub fn shouldDelayChildPressedState<'env>(
    &'env self
) -> Result<bool, 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 getNestedScrollAxes<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub const FOCUS_AFTER_DESCENDANTS: i32[src]

pub const FOCUS_BEFORE_DESCENDANTS: i32[src]

pub const FOCUS_BLOCK_DESCENDANTS: i32[src]

pub const LAYOUT_MODE_CLIP_BOUNDS: i32[src]

pub const LAYOUT_MODE_OPTICAL_BOUNDS: i32[src]

pub const PERSISTENT_ALL_CACHES: i32[src]

pub const PERSISTENT_ANIMATION_CACHE: i32[src]

pub const PERSISTENT_NO_CACHE: i32[src]

pub const PERSISTENT_SCROLLING_CACHE: i32[src]

Trait Implementations

impl AsJValue for Toolbar

impl AsValidJObjectAndEnv for Toolbar

impl Deref for Toolbar

type Target = ViewGroup

The resulting type after dereferencing.

impl JniType for Toolbar

Auto Trait Implementations

impl RefUnwindSafe for Toolbar

impl !Send for Toolbar

impl !Sync for Toolbar

impl Unpin for Toolbar

impl UnwindSafe for Toolbar

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.