[−]Struct jni_android_sys::android::widget::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, Toolbar>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, Toolbar>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32
) -> Result<Local<'env, Toolbar>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32,
arg3: i32
) -> Result<Local<'env, Toolbar>>
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]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<()>
Required features: "android-graphics-drawable-Drawable"
pub fn get_logo<'env>(&'env self) -> Result<Option<Local<'env, Drawable>>>[src]
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>
Required features: "java-lang-CharSequence"
pub fn get_logo_description<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>>[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
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]
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>
Required features: "java-lang-CharSequence"
pub fn get_subtitle<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>>[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>
Required features: "java-lang-CharSequence"
pub fn set_title_text_appearance<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<()>
Required features: "android-content-Context"
pub fn set_subtitle_text_appearance<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<()>
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]
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
getNavigationContentDescription
Required features: "java-lang-CharSequence"
pub fn set_navigation_content_description_int<'env>(
&'env self,
arg0: i32
) -> Result<()>[src]
&'env self,
arg0: i32
) -> Result<()>
pub fn set_navigation_content_description_char_sequence<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<()>
Required features: "android-graphics-drawable-Drawable"
pub fn get_navigation_icon<'env>(
&'env self
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self
) -> Result<Option<Local<'env, Drawable>>>
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]
&'env self,
arg0: impl Into<Option<&'env View_OnClickListener>>
) -> Result<()>
Required features: "android-view-View_OnClickListener"
pub fn get_menu<'env>(&'env self) -> Result<Option<Local<'env, Menu>>>[src]
Required features: "android-view-Menu"
pub fn set_overflow_icon<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<()>
Required features: "android-graphics-drawable-Drawable"
pub fn get_overflow_icon<'env>(
&'env self
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self
) -> Result<Option<Local<'env, Drawable>>>
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]
&'env self,
arg0: impl Into<Option<&'env Toolbar_OnMenuItemClickListener>>
) -> Result<()>
Required features: "android-widget-Toolbar_OnMenuItemClickListener"
pub fn set_content_insets_relative<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
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]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
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]
&'env self,
arg0: i32
) -> Result<()>
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]
&'env self,
arg0: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, Toolbar_LayoutParams>>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn focusable_view_available<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: f32,
arg2: f32
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ActionMode_Callback>>
) -> Result<Option<Local<'env, ActionMode>>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ActionMode_Callback>>,
arg2: i32
) -> Result<Option<Local<'env, ActionMode>>>
Required features: "android-view-ActionMode", "android-view-ActionMode_Callback", "android-view-View"
pub fn focus_search<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<Option<Local<'env, View>>>[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<Option<Local<'env, View>>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>,
arg2: bool
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: bool
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<bool>
Required features: "android-view-View"
pub fn clear_child_focus<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
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]
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]
Required features: "android-view-View"
pub fn add_focusables<'env>(
&'env self,
arg0: impl Into<Option<&'env ArrayList>>,
arg1: i32,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ArrayList>>,
arg1: i32,
arg2: i32
) -> Result<()>
Required features: "java-util-ArrayList"
pub fn add_keyboard_navigation_clusters<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>,
arg1: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env ArrayList>>,
arg1: impl Into<Option<&'env CharSequence>>,
arg2: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env ArrayList>>
) -> Result<()>
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]
&'env self,
arg0: i32
) -> Result<()>
pub fn dispatch_configuration_changed<'env>(
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<()>
Required features: "android-content-res-Configuration"
pub fn recompute_view_attributes<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn bring_child_to_front<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn dispatch_drag_event<'env>(
&'env self,
arg0: impl Into<Option<&'env DragEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env DragEvent>>
) -> Result<bool>
Required features: "android-view-DragEvent"
pub fn dispatch_window_system_ui_visiblity_changed<'env>(
&'env self,
arg0: i32
) -> Result<()>[src]
&'env self,
arg0: i32
) -> Result<()>
pub fn dispatch_system_ui_visibility_changed<'env>(
&'env self,
arg0: i32
) -> Result<()>[src]
&'env self,
arg0: i32
) -> Result<()>
pub fn dispatch_key_event_pre_ime<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>
Required features: "android-view-KeyEvent"
pub fn dispatch_key_event<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>
Required features: "android-view-KeyEvent"
pub fn dispatch_key_shortcut_event<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>
Required features: "android-view-KeyEvent"
pub fn dispatch_trackball_event<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
Required features: "android-view-MotionEvent"
pub fn dispatch_captured_pointer_event<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
Required features: "android-view-MotionEvent"
pub fn dispatch_pointer_capture_changed<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
pub fn on_resolve_pointer_icon<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>,
arg1: i32
) -> Result<Option<Local<'env, PointerIcon>>>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>,
arg1: i32
) -> Result<Option<Local<'env, PointerIcon>>>
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]
&'env self,
arg0: impl Into<Option<&'env ArrayList>>
) -> Result<()>
Required features: "java-util-ArrayList"
pub fn on_intercept_hover_event<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
Required features: "android-view-MotionEvent"
pub fn dispatch_touch_event<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
Required features: "android-view-MotionEvent"
pub fn set_motion_event_splitting_enabled<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
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]
&'env self,
arg0: bool
) -> Result<()>
pub fn on_intercept_touch_event<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
Required features: "android-view-MotionEvent"
pub fn request_focus<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Rect>>
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Rect>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env ViewStructure>>
) -> Result<()>
Required features: "android-view-ViewStructure"
pub fn dispatch_provide_autofill_structure<'env>(
&'env self,
arg0: impl Into<Option<&'env ViewStructure>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ViewStructure>>,
arg1: i32
) -> Result<()>
dispatchProvideAutofillStructure
Required features: "android-view-ViewStructure"
pub fn get_accessibility_class_name<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>>[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>,
arg2: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool>
onNestedPrePerformAccessibilityAction
Required features: "android-os-Bundle", "android-view-View"
pub fn get_overlay<'env>(
&'env self
) -> Result<Option<Local<'env, ViewGroupOverlay>>>[src]
&'env self
) -> Result<Option<Local<'env, ViewGroupOverlay>>>
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]
&'env self,
arg0: f32,
arg1: f32
) -> Result<()>
pub fn add_view_view<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn add_view_view_int<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env ViewGroup_OnHierarchyChangeListener>>
) -> Result<()>
Required features: "android-view-ViewGroup_OnHierarchyChangeListener"
pub fn on_view_added<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn on_view_removed<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn remove_view<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn remove_view_in_layout<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn remove_views_in_layout<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env LayoutTransition>>
) -> Result<()>
Required features: "android-animation-LayoutTransition"
pub fn get_layout_transition<'env>(
&'env self
) -> Result<Option<Local<'env, LayoutTransition>>>[src]
&'env self
) -> Result<Option<Local<'env, LayoutTransition>>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: impl Into<Option<&'env Rect>>
) -> Result<Option<Local<'env, ViewParent>>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>,
arg2: impl Into<Option<&'env Point>>
) -> Result<bool>
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]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env LayoutAnimationController>>
) -> Result<()>
Required features: "android-view-animation-LayoutAnimationController"
pub fn get_layout_animation<'env>(
&'env self
) -> Result<Option<Local<'env, LayoutAnimationController>>>[src]
&'env self
) -> Result<Option<Local<'env, LayoutAnimationController>>>
Required features: "android-view-animation-LayoutAnimationController"
pub fn is_animation_cache_enabled<'env>(&'env self) -> Result<bool>[src]
pub fn set_animation_cache_enabled<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn is_always_drawn_with_cache_enabled<'env>(&'env self) -> Result<bool>[src]
pub fn set_always_drawn_with_cache_enabled<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
pub fn get_persistent_drawing_cache<'env>(&'env self) -> Result<i32>[src]
pub fn set_persistent_drawing_cache<'env>(&'env self, arg0: i32) -> Result<()>[src]
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]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, ViewGroup_LayoutParams>>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<i32>
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]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn end_view_transition<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn gather_transparent_region<'env>(
&'env self,
arg0: impl Into<Option<&'env Region>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Region>>
) -> Result<bool>
Required features: "android-graphics-Region"
pub fn request_transparent_region<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env WindowInsets>>
) -> Result<Option<Local<'env, WindowInsets>>>
Required features: "android-view-WindowInsets"
pub fn get_layout_animation_listener<'env>(
&'env self
) -> Result<Option<Local<'env, Animation_AnimationListener>>>[src]
&'env self
) -> Result<Option<Local<'env, Animation_AnimationListener>>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-view-View"
pub fn set_layout_animation_listener<'env>(
&'env self,
arg0: impl Into<Option<&'env Animation_AnimationListener>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Animation_AnimationListener>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>,
arg2: i32
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>,
arg2: i32
) -> Result<()>
Required features: "android-view-View"
pub fn on_stop_nested_scroll<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env IntArray>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: f32,
arg2: f32,
arg3: bool
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: f32,
arg2: f32
) -> Result<bool>
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
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]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,