[]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>>
[src]

Required features: "android-content-Context"

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

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

pub fn new_context_attribute_set_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>,
    arg2: i32
) -> Result<Local<'env, Toolbar>>
[src]

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

pub fn new_context_attribute_set_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>>
[src]

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

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

pub fn get_popup_theme<'env>(&'env self) -> Result<i32>[src]

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

pub fn get_title_margin_start<'env>(&'env self) -> Result<i32>[src]

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

pub fn get_title_margin_top<'env>(&'env self) -> Result<i32>[src]

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

pub fn get_title_margin_end<'env>(&'env self) -> Result<i32>[src]

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

pub fn get_title_margin_bottom<'env>(&'env self) -> Result<i32>[src]

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

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

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

pub fn is_overflow_menu_showing<'env>(&'env self) -> Result<bool>[src]

pub fn show_overflow_menu<'env>(&'env self) -> Result<bool>[src]

pub fn hide_overflow_menu<'env>(&'env self) -> Result<bool>[src]

pub fn dismiss_popup_menus<'env>(&'env self) -> Result<()>[src]

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

setLogo

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

getLogo

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

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

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

setLogoDescription

Required features: "java-lang-CharSequence"

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

getLogoDescription

Required features: "java-lang-CharSequence"

pub fn has_expanded_action_view<'env>(&'env self) -> Result<bool>[src]

pub fn collapse_action_view<'env>(&'env self) -> Result<()>[src]

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

getTitle

Required features: "java-lang-CharSequence"

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

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

setTitle

Required features: "java-lang-CharSequence"

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

getSubtitle

Required features: "java-lang-CharSequence"

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

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

setSubtitle

Required features: "java-lang-CharSequence"

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

setTitleTextAppearance

Required features: "android-content-Context"

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

setSubtitleTextAppearance

Required features: "android-content-Context"

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

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

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

getNavigationContentDescription

Required features: "java-lang-CharSequence"

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

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

setNavigationContentDescription

Required features: "java-lang-CharSequence"

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

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

setNavigationIcon

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

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

getNavigationIcon

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

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

setNavigationOnClickListener

Required features: "android-view-View_OnClickListener"

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

getMenu

Required features: "android-view-Menu"

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

setOverflowIcon

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

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

getOverflowIcon

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

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

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

setOnMenuItemClickListener

Required features: "android-widget-Toolbar_OnMenuItemClickListener"

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

pub fn get_content_inset_start<'env>(&'env self) -> Result<i32>[src]

pub fn get_content_inset_end<'env>(&'env self) -> Result<i32>[src]

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

pub fn get_content_inset_left<'env>(&'env self) -> Result<i32>[src]

pub fn get_content_inset_right<'env>(&'env self) -> Result<i32>[src]

pub fn get_content_inset_start_with_navigation<'env>(&'env self) -> Result<i32>[src]

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

pub fn get_content_inset_end_with_actions<'env>(&'env self) -> Result<i32>[src]

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

pub fn get_current_content_inset_start<'env>(&'env self) -> Result<i32>[src]

pub fn get_current_content_inset_end<'env>(&'env self) -> Result<i32>[src]

pub fn get_current_content_inset_left<'env>(&'env self) -> Result<i32>[src]

pub fn get_current_content_inset_right<'env>(&'env self) -> Result<i32>[src]

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

onTouchEvent

Required features: "android-view-MotionEvent"

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

generateLayoutParams

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

Methods from Deref<Target = ViewGroup>

pub fn get_descendant_focusability<'env>(&'env self) -> Result<i32>[src]

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

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

requestChildFocus

Required features: "android-view-View"

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

focusableViewAvailable

Required features: "android-view-View"

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

showContextMenuForChild

Required features: "android-view-View"

pub fn show_context_menu_for_child_view_float_float<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: f32,
    arg2: f32
) -> Result<bool>
[src]

showContextMenuForChild

Required features: "android-view-View"

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

startActionModeForChild

Required features: "android-view-ActionMode", "android-view-ActionMode_Callback", "android-view-View"

pub fn start_action_mode_for_child_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>>>
[src]

startActionModeForChild

Required features: "android-view-ActionMode", "android-view-ActionMode_Callback", "android-view-View"

focusSearch

Required features: "android-view-View"

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

requestChildRectangleOnScreen

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

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

requestSendAccessibilityEvent

Required features: "android-view-View", "android-view-accessibility-AccessibilityEvent"

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

onRequestSendAccessibilityEvent

Required features: "android-view-View", "android-view-accessibility-AccessibilityEvent"

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

childHasTransientStateChanged

Required features: "android-view-View"

pub fn has_transient_state<'env>(&'env self) -> Result<bool>[src]

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

dispatchUnhandledMove

Required features: "android-view-View"

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

clearChildFocus

Required features: "android-view-View"

pub fn clear_focus<'env>(&'env self) -> Result<()>[src]

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

getFocusedChild

Required features: "android-view-View"

pub fn has_focus<'env>(&'env self) -> Result<bool>[src]

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

findFocus

Required features: "android-view-View"

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

addFocusables

Required features: "java-util-ArrayList"

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

addKeyboardNavigationClusters

Required features: "java-util-Collection"

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

pub fn get_touchscreen_blocks_focus<'env>(&'env self) -> Result<bool>[src]

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

findViewsWithText

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

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

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

addTouchables

Required features: "java-util-ArrayList"

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

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

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

dispatchConfigurationChanged

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

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

recomputeViewAttributes

Required features: "android-view-View"

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

bringChildToFront

Required features: "android-view-View"

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

dispatchDragEvent

Required features: "android-view-DragEvent"

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

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

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

dispatchKeyEventPreIme

Required features: "android-view-KeyEvent"

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

dispatchKeyEvent

Required features: "android-view-KeyEvent"

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

dispatchKeyShortcutEvent

Required features: "android-view-KeyEvent"

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

dispatchTrackballEvent

Required features: "android-view-MotionEvent"

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

dispatchCapturedPointerEvent

Required features: "android-view-MotionEvent"

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

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

onResolvePointerIcon

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

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

addChildrenForAccessibility

Required features: "java-util-ArrayList"

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

onInterceptHoverEvent

Required features: "android-view-MotionEvent"

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

dispatchTouchEvent

Required features: "android-view-MotionEvent"

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

pub fn is_motion_event_splitting_enabled<'env>(&'env self) -> Result<bool>[src]

pub fn is_transition_group<'env>(&'env self) -> Result<bool>[src]

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

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

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

onInterceptTouchEvent

Required features: "android-view-MotionEvent"

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

requestFocus

Required features: "android-graphics-Rect"

pub fn restore_default_focus<'env>(&'env self) -> Result<bool>[src]

pub fn dispatch_start_temporary_detach<'env>(&'env self) -> Result<()>[src]

pub fn dispatch_finish_temporary_detach<'env>(&'env self) -> Result<()>[src]

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

dispatchProvideStructure

Required features: "android-view-ViewStructure"

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

dispatchProvideAutofillStructure

Required features: "android-view-ViewStructure"

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

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

notifySubtreeAccessibilityStateChanged

Required features: "android-view-View"

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

onNestedPrePerformAccessibilityAction

Required features: "android-os-Bundle", "android-view-View"

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

getOverlay

Required features: "android-view-ViewGroupOverlay"

pub fn get_clip_children<'env>(&'env self) -> Result<bool>[src]

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

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

pub fn get_clip_to_padding<'env>(&'env self) -> Result<bool>[src]

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

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

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

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

addView

Required features: "android-view-View"

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

addView

Required features: "android-view-View"

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

addView

Required features: "android-view-View"

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

addView

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

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

addView

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

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

updateViewLayout

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

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

setOnHierarchyChangeListener

Required features: "android-view-ViewGroup_OnHierarchyChangeListener"

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

onViewAdded

Required features: "android-view-View"

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

onViewRemoved

Required features: "android-view-View"

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

removeView

Required features: "android-view-View"

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

removeViewInLayout

Required features: "android-view-View"

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

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

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

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

setLayoutTransition

Required features: "android-animation-LayoutTransition"

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

getLayoutTransition

Required features: "android-animation-LayoutTransition"

pub fn remove_all_views<'env>(&'env self) -> Result<()>[src]

pub fn remove_all_views_in_layout<'env>(&'env self) -> Result<()>[src]

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

onDescendantInvalidated

Required features: "android-view-View"

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

Deprecated

invalidateChild

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

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

Deprecated

invalidateChildInParent

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

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

offsetDescendantRectToMyCoords

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

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

offsetRectIntoDescendantCoords

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

pub fn get_child_visible_rect<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env Rect>>,
    arg2: impl Into<Option<&'env Point>>
) -> Result<bool>
[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<()>
[src]

pub fn start_layout_animation<'env>(&'env self) -> Result<()>[src]

pub fn schedule_layout_animation<'env>(&'env self) -> Result<()>[src]

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

setLayoutAnimation

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

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

getLayoutAnimation

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

pub fn is_animation_cache_enabled<'env>(&'env self) -> Result<bool>[src]

Deprecated

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

Deprecated

pub fn is_always_drawn_with_cache_enabled<'env>(&'env self) -> Result<bool>[src]

Deprecated

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

Deprecated

pub fn get_persistent_drawing_cache<'env>(&'env self) -> Result<i32>[src]

Deprecated

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

Deprecated

pub fn get_layout_mode<'env>(&'env self) -> Result<i32>[src]

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

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

generateLayoutParams

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

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

indexOfChild

Required features: "android-view-View"

pub fn get_child_count<'env>(&'env self) -> Result<i32>[src]

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

getChildAt

Required features: "android-view-View"

pub fn clear_disappearing_children<'env>(&'env self) -> Result<()>[src]

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

startViewTransition

Required features: "android-view-View"

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

endViewTransition

Required features: "android-view-View"

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

gatherTransparentRegion

Required features: "android-graphics-Region"

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

requestTransparentRegion

Required features: "android-view-View"

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

dispatchApplyWindowInsets

Required features: "android-view-WindowInsets"

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

getLayoutAnimationListener

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

pub fn jump_drawables_to_current_state<'env>(&'env self) -> Result<()>[src]

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

pub fn add_states_from_children<'env>(&'env self) -> Result<bool>[src]

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

childDrawableStateChanged

Required features: "android-view-View"

pub fn set_layout_animation_listener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Animation_AnimationListener>>
) -> Result<()>
[src]

setLayoutAnimationListener

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

pub fn should_delay_child_pressed_state<'env>(&'env self) -> Result<bool>[src]

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

onStartNestedScroll

Required features: "android-view-View"

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

onNestedScrollAccepted

Required features: "android-view-View"

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

onStopNestedScroll

Required features: "android-view-View"

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

onNestedScroll

Required features: "android-view-View"

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

onNestedPreScroll

Required features: "android-view-View"

pub fn on_nested_fling<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: f32,
    arg2: f32,
    arg3: bool
) -> Result<bool>
[src]

onNestedFling

Required features: "android-view-View"

pub fn on_nested_pre_fling<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: f32,
    arg2: f32
) -> Result<bool>
[src]

onNestedPreFling

Required features: "android-view-View"

pub fn get_nested_scroll_axes<'env>(&'env self) -> Result<i32>[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 Deref for Toolbar

type Target = ViewGroup

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for Toolbar

impl AsJValue for Toolbar

Auto Trait Implementations

impl !Sync for Toolbar

impl Unpin for Toolbar

impl !Send for Toolbar

impl UnwindSafe for Toolbar

impl RefUnwindSafe for Toolbar

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]