[−]Struct jni_android_sys::android::view::Window
public class Window
Required feature: android-view-Window
Methods
impl Window
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, Window>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, Window>>
Required features: "android-content-Context"
pub fn get_context<'env>(&'env self) -> Result<Option<Local<'env, Context>>>[src]
Required features: "android-content-Context"
pub fn get_window_style<'env>(
&'env self
) -> Result<Option<Local<'env, TypedArray>>>[src]
&'env self
) -> Result<Option<Local<'env, TypedArray>>>
Required features: "android-content-res-TypedArray"
pub fn set_container<'env>(
&'env self,
arg0: impl Into<Option<&'env Window>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Window>>
) -> Result<()>
Required features: "android-view-Window"
pub fn get_container<'env>(&'env self) -> Result<Option<Local<'env, Window>>>[src]
Required features: "android-view-Window"
pub fn has_children<'env>(&'env self) -> Result<bool>[src]
pub fn set_window_manager_window_manager_i_binder_string<'env>(
&'env self,
arg0: impl Into<Option<&'env WindowManager>>,
arg1: impl Into<Option<&'env IBinder>>,
arg2: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env WindowManager>>,
arg1: impl Into<Option<&'env IBinder>>,
arg2: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-os-IBinder", "android-view-WindowManager", "java-lang-String"
pub fn set_window_manager_window_manager_i_binder_string_boolean<'env>(
&'env self,
arg0: impl Into<Option<&'env WindowManager>>,
arg1: impl Into<Option<&'env IBinder>>,
arg2: impl Into<Option<&'env String>>,
arg3: bool
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env WindowManager>>,
arg1: impl Into<Option<&'env IBinder>>,
arg2: impl Into<Option<&'env String>>,
arg3: bool
) -> Result<()>
Required features: "android-os-IBinder", "android-view-WindowManager", "java-lang-String"
pub fn get_window_manager<'env>(
&'env self
) -> Result<Option<Local<'env, WindowManager>>>[src]
&'env self
) -> Result<Option<Local<'env, WindowManager>>>
Required features: "android-view-WindowManager"
pub fn set_callback<'env>(
&'env self,
arg0: impl Into<Option<&'env Window_Callback>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Window_Callback>>
) -> Result<()>
Required features: "android-view-Window_Callback"
pub fn get_callback<'env>(
&'env self
) -> Result<Option<Local<'env, Window_Callback>>>[src]
&'env self
) -> Result<Option<Local<'env, Window_Callback>>>
Required features: "android-view-Window_Callback"
pub fn add_on_frame_metrics_available_listener<'env>(
&'env self,
arg0: impl Into<Option<&'env Window_OnFrameMetricsAvailableListener>>,
arg1: impl Into<Option<&'env Handler>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Window_OnFrameMetricsAvailableListener>>,
arg1: impl Into<Option<&'env Handler>>
) -> Result<()>
addOnFrameMetricsAvailableListener
Required features: "android-os-Handler", "android-view-Window_OnFrameMetricsAvailableListener"
pub fn remove_on_frame_metrics_available_listener<'env>(
&'env self,
arg0: impl Into<Option<&'env Window_OnFrameMetricsAvailableListener>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Window_OnFrameMetricsAvailableListener>>
) -> Result<()>
removeOnFrameMetricsAvailableListener
Required features: "android-view-Window_OnFrameMetricsAvailableListener"
pub fn set_restricted_caption_area_listener<'env>(
&'env self,
arg0: impl Into<Option<&'env Window_OnRestrictedCaptionAreaChangedListener>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Window_OnRestrictedCaptionAreaChangedListener>>
) -> Result<()>
setRestrictedCaptionAreaListener
Required features: "android-view-Window_OnRestrictedCaptionAreaChangedListener"
pub fn take_surface<'env>(
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder_Callback2>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder_Callback2>>
) -> Result<()>
Required features: "android-view-SurfaceHolder_Callback2"
pub fn take_input_queue<'env>(
&'env self,
arg0: impl Into<Option<&'env InputQueue_Callback>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env InputQueue_Callback>>
) -> Result<()>
Required features: "android-view-InputQueue_Callback"
pub fn is_floating<'env>(&'env self) -> Result<bool>[src]
pub fn set_layout<'env>(&'env self, arg0: i32, arg1: i32) -> Result<()>[src]
pub fn set_gravity<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_type<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_format<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_window_animations<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_soft_input_mode<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn add_flags<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn clear_flags<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_flags<'env>(&'env self, arg0: i32, arg1: i32) -> Result<()>[src]
pub fn set_color_mode<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn get_color_mode<'env>(&'env self) -> Result<i32>[src]
pub fn is_wide_color_gamut<'env>(&'env self) -> Result<bool>[src]
pub fn set_dim_amount<'env>(&'env self, arg0: f32) -> Result<()>[src]
pub fn set_attributes<'env>(
&'env self,
arg0: impl Into<Option<&'env WindowManager_LayoutParams>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env WindowManager_LayoutParams>>
) -> Result<()>
Required features: "android-view-WindowManager_LayoutParams"
pub fn get_attributes<'env>(
&'env self
) -> Result<Option<Local<'env, WindowManager_LayoutParams>>>[src]
&'env self
) -> Result<Option<Local<'env, WindowManager_LayoutParams>>>
Required features: "android-view-WindowManager_LayoutParams"
pub fn set_sustained_performance_mode<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
pub fn request_feature<'env>(&'env self, arg0: i32) -> Result<bool>[src]
pub fn make_active<'env>(&'env self) -> Result<()>[src]
pub fn is_active<'env>(&'env self) -> Result<bool>[src]
pub fn find_view_by_id<'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 require_view_by_id<'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 set_content_view_int<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_content_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 set_content_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_content_view<'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 get_current_focus<'env>(&'env self) -> Result<Option<Local<'env, View>>>[src]
Required features: "android-view-View"
pub fn get_layout_inflater<'env>(
&'env self
) -> Result<Option<Local<'env, LayoutInflater>>>[src]
&'env self
) -> Result<Option<Local<'env, LayoutInflater>>>
Required features: "android-view-LayoutInflater"
pub fn set_title<'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_color<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn open_panel<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<()>
Required features: "android-view-KeyEvent"
pub fn close_panel<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn toggle_panel<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<()>
Required features: "android-view-KeyEvent"
pub fn invalidate_panel_menu<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn perform_panel_shortcut<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env KeyEvent>>,
arg3: i32
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env KeyEvent>>,
arg3: i32
) -> Result<bool>
Required features: "android-view-KeyEvent"
pub fn perform_panel_identifier_action<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<bool>
pub fn close_all_panels<'env>(&'env self) -> Result<()>[src]
pub fn perform_context_menu_identifier_action<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<bool>
pub fn on_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 set_elevation<'env>(&'env self, arg0: f32) -> Result<()>[src]
pub fn set_clip_to_outline<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn set_background_drawable_resource<'env>(
&'env self,
arg0: i32
) -> Result<()>[src]
&'env self,
arg0: i32
) -> Result<()>
pub fn set_background_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 set_feature_drawable_resource<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn set_feature_drawable_uri<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Uri>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Uri>>
) -> Result<()>
Required features: "android-net-Uri"
pub fn set_feature_drawable<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Drawable>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Drawable>>
) -> Result<()>
Required features: "android-graphics-drawable-Drawable"
pub fn set_feature_drawable_alpha<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn set_feature_int<'env>(&'env self, arg0: i32, arg1: i32) -> Result<()>[src]
pub fn take_key_events<'env>(&'env self, arg0: bool) -> Result<()>[src]
pub fn super_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 super_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 super_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 super_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 super_dispatch_generic_motion_event<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool>
superDispatchGenericMotionEvent
Required features: "android-view-MotionEvent"
pub fn get_decor_view<'env>(&'env self) -> Result<Option<Local<'env, View>>>[src]
Required features: "android-view-View"
pub fn peek_decor_view<'env>(&'env self) -> Result<Option<Local<'env, View>>>[src]
Required features: "android-view-View"
pub fn save_hierarchy_state<'env>(
&'env self
) -> Result<Option<Local<'env, Bundle>>>[src]
&'env self
) -> Result<Option<Local<'env, Bundle>>>
Required features: "android-os-Bundle"
pub fn restore_hierarchy_state<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-os-Bundle"
pub fn get_default_features<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<i32>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<i32>
Required features: "android-content-Context"
pub fn has_feature<'env>(&'env self, arg0: i32) -> Result<bool>[src]
pub fn set_child_drawable<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Drawable>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Drawable>>
) -> Result<()>
Required features: "android-graphics-drawable-Drawable"
pub fn set_child_int<'env>(&'env self, arg0: i32, arg1: i32) -> Result<()>[src]
pub fn is_shortcut_key<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool>
Required features: "android-view-KeyEvent"
pub fn set_volume_control_stream<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn get_volume_control_stream<'env>(&'env self) -> Result<i32>[src]
pub fn set_media_controller<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaController>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env MediaController>>
) -> Result<()>
Required features: "android-media-session-MediaController"
pub fn get_media_controller<'env>(
&'env self
) -> Result<Option<Local<'env, MediaController>>>[src]
&'env self
) -> Result<Option<Local<'env, MediaController>>>
Required features: "android-media-session-MediaController"
pub fn set_ui_options_int<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_ui_options_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn set_icon<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_logo<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_local_focus<'env>(&'env self, arg0: bool, arg1: bool) -> Result<()>[src]
pub fn inject_input_event<'env>(
&'env self,
arg0: impl Into<Option<&'env InputEvent>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env InputEvent>>
) -> Result<()>
Required features: "android-view-InputEvent"
pub fn get_transition_manager<'env>(
&'env self
) -> Result<Option<Local<'env, TransitionManager>>>[src]
&'env self
) -> Result<Option<Local<'env, TransitionManager>>>
Required features: "android-transition-TransitionManager"
pub fn set_transition_manager<'env>(
&'env self,
arg0: impl Into<Option<&'env TransitionManager>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env TransitionManager>>
) -> Result<()>
Required features: "android-transition-TransitionManager"
pub fn get_content_scene<'env>(&'env self) -> Result<Option<Local<'env, Scene>>>[src]
Required features: "android-transition-Scene"
pub fn set_enter_transition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>
Required features: "android-transition-Transition"
pub fn set_return_transition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>
Required features: "android-transition-Transition"
pub fn set_exit_transition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>
Required features: "android-transition-Transition"
pub fn set_reenter_transition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>
Required features: "android-transition-Transition"
pub fn get_enter_transition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>>[src]
&'env self
) -> Result<Option<Local<'env, Transition>>>
Required features: "android-transition-Transition"
pub fn get_return_transition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>>[src]
&'env self
) -> Result<Option<Local<'env, Transition>>>
Required features: "android-transition-Transition"
pub fn get_exit_transition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>>[src]
&'env self
) -> Result<Option<Local<'env, Transition>>>
Required features: "android-transition-Transition"
pub fn get_reenter_transition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>>[src]
&'env self
) -> Result<Option<Local<'env, Transition>>>
Required features: "android-transition-Transition"
pub fn set_shared_element_enter_transition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>
setSharedElementEnterTransition
Required features: "android-transition-Transition"
pub fn set_shared_element_return_transition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>
setSharedElementReturnTransition
Required features: "android-transition-Transition"
pub fn get_shared_element_enter_transition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>>[src]
&'env self
) -> Result<Option<Local<'env, Transition>>>
getSharedElementEnterTransition
Required features: "android-transition-Transition"
pub fn get_shared_element_return_transition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>>[src]
&'env self
) -> Result<Option<Local<'env, Transition>>>
getSharedElementReturnTransition
Required features: "android-transition-Transition"
pub fn set_shared_element_exit_transition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>
setSharedElementExitTransition
Required features: "android-transition-Transition"
pub fn set_shared_element_reenter_transition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<()>
setSharedElementReenterTransition
Required features: "android-transition-Transition"
pub fn get_shared_element_exit_transition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>>[src]
&'env self
) -> Result<Option<Local<'env, Transition>>>
getSharedElementExitTransition
Required features: "android-transition-Transition"
pub fn get_shared_element_reenter_transition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>>[src]
&'env self
) -> Result<Option<Local<'env, Transition>>>
getSharedElementReenterTransition
Required features: "android-transition-Transition"
pub fn set_allow_enter_transition_overlap<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
pub fn get_allow_enter_transition_overlap<'env>(&'env self) -> Result<bool>[src]
pub fn set_allow_return_transition_overlap<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
pub fn get_allow_return_transition_overlap<'env>(&'env self) -> Result<bool>[src]
pub fn get_transition_background_fade_duration<'env>(&'env self) -> Result<i64>[src]
pub fn set_transition_background_fade_duration<'env>(
&'env self,
arg0: i64
) -> Result<()>[src]
&'env self,
arg0: i64
) -> Result<()>
pub fn get_shared_elements_use_overlay<'env>(&'env self) -> Result<bool>[src]
pub fn set_shared_elements_use_overlay<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
pub fn get_status_bar_color<'env>(&'env self) -> Result<i32>[src]
pub fn set_status_bar_color<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn get_navigation_bar_color<'env>(&'env self) -> Result<i32>[src]
pub fn set_navigation_bar_color<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_navigation_bar_divider_color<'env>(
&'env self,
arg0: i32
) -> Result<()>[src]
&'env self,
arg0: i32
) -> Result<()>
pub fn get_navigation_bar_divider_color<'env>(&'env self) -> Result<i32>[src]
pub fn set_decor_caption_shade<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_resizing_caption_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 const DECOR_CAPTION_SHADE_AUTO: i32[src]
public static final DECOR_CAPTION_SHADE_AUTO
pub const DECOR_CAPTION_SHADE_DARK: i32[src]
public static final DECOR_CAPTION_SHADE_DARK
pub const DECOR_CAPTION_SHADE_LIGHT: i32[src]
public static final DECOR_CAPTION_SHADE_LIGHT
pub const FEATURE_ACTION_BAR: i32[src]
public static final FEATURE_ACTION_BAR
pub const FEATURE_ACTION_BAR_OVERLAY: i32[src]
public static final FEATURE_ACTION_BAR_OVERLAY
pub const FEATURE_ACTION_MODE_OVERLAY: i32[src]
public static final FEATURE_ACTION_MODE_OVERLAY
pub const FEATURE_ACTIVITY_TRANSITIONS: i32[src]
public static final FEATURE_ACTIVITY_TRANSITIONS
pub const FEATURE_CONTENT_TRANSITIONS: i32[src]
public static final FEATURE_CONTENT_TRANSITIONS
pub const FEATURE_CONTEXT_MENU: i32[src]
public static final FEATURE_CONTEXT_MENU
pub const FEATURE_CUSTOM_TITLE: i32[src]
public static final FEATURE_CUSTOM_TITLE
pub const FEATURE_INDETERMINATE_PROGRESS: i32[src]
public static final FEATURE_INDETERMINATE_PROGRESS
pub const FEATURE_LEFT_ICON: i32[src]
public static final FEATURE_LEFT_ICON
pub const FEATURE_NO_TITLE: i32[src]
public static final FEATURE_NO_TITLE
pub const FEATURE_OPTIONS_PANEL: i32[src]
public static final FEATURE_OPTIONS_PANEL
pub const FEATURE_PROGRESS: i32[src]
public static final FEATURE_PROGRESS
pub const FEATURE_RIGHT_ICON: i32[src]
public static final FEATURE_RIGHT_ICON
pub const FEATURE_SWIPE_TO_DISMISS: i32[src]
public static final FEATURE_SWIPE_TO_DISMISS
pub const ID_ANDROID_CONTENT: i32[src]
public static final ID_ANDROID_CONTENT
pub const NAVIGATION_BAR_BACKGROUND_TRANSITION_NAME: &'static str[src]
public static final NAVIGATION_BAR_BACKGROUND_TRANSITION_NAME
pub const PROGRESS_END: i32[src]
public static final PROGRESS_END
pub const PROGRESS_INDETERMINATE_OFF: i32[src]
public static final PROGRESS_INDETERMINATE_OFF
pub const PROGRESS_INDETERMINATE_ON: i32[src]
public static final PROGRESS_INDETERMINATE_ON
pub const PROGRESS_SECONDARY_END: i32[src]
public static final PROGRESS_SECONDARY_END
pub const PROGRESS_SECONDARY_START: i32[src]
public static final PROGRESS_SECONDARY_START
pub const PROGRESS_START: i32[src]
public static final PROGRESS_START
pub const PROGRESS_VISIBILITY_OFF: i32[src]
public static final PROGRESS_VISIBILITY_OFF
pub const PROGRESS_VISIBILITY_ON: i32[src]
public static final PROGRESS_VISIBILITY_ON
pub const STATUS_BAR_BACKGROUND_TRANSITION_NAME: &'static str[src]
public static final STATUS_BAR_BACKGROUND_TRANSITION_NAME
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
Auto Trait Implementations
impl !Sync for Window
impl Unpin for Window
impl !Send for Window
impl UnwindSafe for Window
impl RefUnwindSafe for Window
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,