[−]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>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, Window>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn getContext<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn getWindowStyle<'env>(
&'env self
) -> Result<Option<Local<'env, TypedArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, TypedArray>>, Local<'env, Throwable>>
Required features: "android-content-res-TypedArray"
pub fn setContainer<'env>(
&'env self,
arg0: impl Into<Option<&'env Window>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Window>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-Window"
pub fn getContainer<'env>(
&'env self
) -> Result<Option<Local<'env, Window>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Window>>, Local<'env, Throwable>>
Required features: "android-view-Window"
pub fn hasChildren<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setWindowManager_WindowManager_IBinder_String<'env>(
&'env self,
arg0: impl Into<Option<&'env WindowManager>>,
arg1: impl Into<Option<&'env IBinder>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env WindowManager>>,
arg1: impl Into<Option<&'env IBinder>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-IBinder", "android-view-WindowManager", "java-lang-String"
pub fn setWindowManager_WindowManager_IBinder_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<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env WindowManager>>,
arg1: impl Into<Option<&'env IBinder>>,
arg2: impl Into<Option<&'env String>>,
arg3: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-IBinder", "android-view-WindowManager", "java-lang-String"
pub fn getWindowManager<'env>(
&'env self
) -> Result<Option<Local<'env, WindowManager>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, WindowManager>>, Local<'env, Throwable>>
Required features: "android-view-WindowManager"
pub fn setCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env Window_Callback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Window_Callback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-Window_Callback"
pub fn getCallback<'env>(
&'env self
) -> Result<Option<Local<'env, Window_Callback>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Window_Callback>>, Local<'env, Throwable>>
Required features: "android-view-Window_Callback"
pub fn addOnFrameMetricsAvailableListener<'env>(
&'env self,
arg0: impl Into<Option<&'env Window_OnFrameMetricsAvailableListener>>,
arg1: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Window_OnFrameMetricsAvailableListener>>,
arg1: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
addOnFrameMetricsAvailableListener
Required features: "android-os-Handler", "android-view-Window_OnFrameMetricsAvailableListener"
pub fn removeOnFrameMetricsAvailableListener<'env>(
&'env self,
arg0: impl Into<Option<&'env Window_OnFrameMetricsAvailableListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Window_OnFrameMetricsAvailableListener>>
) -> Result<(), Local<'env, Throwable>>
removeOnFrameMetricsAvailableListener
Required features: "android-view-Window_OnFrameMetricsAvailableListener"
pub fn setRestrictedCaptionAreaListener<'env>(
&'env self,
arg0: impl Into<Option<&'env Window_OnRestrictedCaptionAreaChangedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Window_OnRestrictedCaptionAreaChangedListener>>
) -> Result<(), Local<'env, Throwable>>
setRestrictedCaptionAreaListener
Required features: "android-view-Window_OnRestrictedCaptionAreaChangedListener"
pub fn takeSurface<'env>(
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder_Callback2>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SurfaceHolder_Callback2>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-SurfaceHolder_Callback2"
pub fn takeInputQueue<'env>(
&'env self,
arg0: impl Into<Option<&'env InputQueue_Callback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env InputQueue_Callback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-InputQueue_Callback"
pub fn isFloating<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setLayout<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setGravity<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setType<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setFormat<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setWindowAnimations<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setSoftInputMode<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn addFlags<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn clearFlags<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setFlags<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setColorMode<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getColorMode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn isWideColorGamut<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setDimAmount<'env>(
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn setAttributes<'env>(
&'env self,
arg0: impl Into<Option<&'env WindowManager_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env WindowManager_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-WindowManager_LayoutParams"
pub fn getAttributes<'env>(
&'env self
) -> Result<Option<Local<'env, WindowManager_LayoutParams>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, WindowManager_LayoutParams>>, Local<'env, Throwable>>
Required features: "android-view-WindowManager_LayoutParams"
pub fn setSustainedPerformanceMode<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn requestFeature<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn makeActive<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn isActive<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn findViewById<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn requireViewById<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn setContentView_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setContentView_View<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn setContentView_View_LayoutParams<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
pub fn addContentView<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"
pub fn getCurrentFocus<'env>(
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn getLayoutInflater<'env>(
&'env self
) -> Result<Option<Local<'env, LayoutInflater>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LayoutInflater>>, Local<'env, Throwable>>
Required features: "android-view-LayoutInflater"
pub fn setTitle<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setTitleColor<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn openPanel<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn closePanel<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn togglePanel<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn invalidatePanelMenu<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn performPanelShortcut<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env KeyEvent>>,
arg3: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env KeyEvent>>,
arg3: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn performPanelIdentifierAction<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn closeAllPanels<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn performContextMenuIdentifierAction<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn onConfigurationChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-res-Configuration"
pub fn setElevation<'env>(
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f32
) -> Result<(), Local<'env, Throwable>>
pub fn setClipToOutline<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setBackgroundDrawableResource<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setBackgroundDrawable<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn setFeatureDrawableResource<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setFeatureDrawableUri<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn setFeatureDrawable<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn setFeatureDrawableAlpha<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setFeatureInt<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn takeKeyEvents<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn superDispatchKeyEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn superDispatchKeyShortcutEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn superDispatchTouchEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn superDispatchTrackballEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn superDispatchGenericMotionEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
superDispatchGenericMotionEvent
Required features: "android-view-MotionEvent"
pub fn getDecorView<'env>(
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn peekDecorView<'env>(
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn saveHierarchyState<'env>(
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn restoreHierarchyState<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn getDefaultFeatures<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn hasFeature<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn setChildDrawable<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn setChildInt<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn isShortcutKey<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn setVolumeControlStream<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getVolumeControlStream<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setMediaController<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaController>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaController>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-session-MediaController"
pub fn getMediaController<'env>(
&'env self
) -> Result<Option<Local<'env, MediaController>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MediaController>>, Local<'env, Throwable>>
Required features: "android-media-session-MediaController"
pub fn setUiOptions_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setUiOptions_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setIcon<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setLogo<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setLocalFocus<'env>(
&'env self,
arg0: bool,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
pub fn injectInputEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env InputEvent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env InputEvent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-InputEvent"
pub fn getTransitionManager<'env>(
&'env self
) -> Result<Option<Local<'env, TransitionManager>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, TransitionManager>>, Local<'env, Throwable>>
Required features: "android-transition-TransitionManager"
pub fn setTransitionManager<'env>(
&'env self,
arg0: impl Into<Option<&'env TransitionManager>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TransitionManager>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-transition-TransitionManager"
pub fn getContentScene<'env>(
&'env self
) -> Result<Option<Local<'env, Scene>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Scene>>, Local<'env, Throwable>>
Required features: "android-transition-Scene"
pub fn setEnterTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn setReturnTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn setExitTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn setReenterTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn getEnterTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn getReturnTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn getExitTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn getReenterTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
Required features: "android-transition-Transition"
pub fn setSharedElementEnterTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
setSharedElementEnterTransition
Required features: "android-transition-Transition"
pub fn setSharedElementReturnTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
setSharedElementReturnTransition
Required features: "android-transition-Transition"
pub fn getSharedElementEnterTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
getSharedElementEnterTransition
Required features: "android-transition-Transition"
pub fn getSharedElementReturnTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
getSharedElementReturnTransition
Required features: "android-transition-Transition"
pub fn setSharedElementExitTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
setSharedElementExitTransition
Required features: "android-transition-Transition"
pub fn setSharedElementReenterTransition<'env>(
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Transition>>
) -> Result<(), Local<'env, Throwable>>
setSharedElementReenterTransition
Required features: "android-transition-Transition"
pub fn getSharedElementExitTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
getSharedElementExitTransition
Required features: "android-transition-Transition"
pub fn getSharedElementReenterTransition<'env>(
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Transition>>, Local<'env, Throwable>>
getSharedElementReenterTransition
Required features: "android-transition-Transition"
pub fn setAllowEnterTransitionOverlap<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getAllowEnterTransitionOverlap<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setAllowReturnTransitionOverlap<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getAllowReturnTransitionOverlap<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getTransitionBackgroundFadeDuration<'env>(
&'env self
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i64, Local<'env, Throwable>>
pub fn setTransitionBackgroundFadeDuration<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn getSharedElementsUseOverlay<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setSharedElementsUseOverlay<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getStatusBarColor<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setStatusBarColor<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getNavigationBarColor<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setNavigationBarColor<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setNavigationBarDividerColor<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getNavigationBarDividerColor<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setDecorCaptionShade<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setResizingCaptionDrawable<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
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 getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Window
impl AsValidJObjectAndEnv for Window
impl Deref for Window
impl JniType for Window
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Window
impl !Send for Window
impl !Sync for Window
impl Unpin for Window
impl UnwindSafe for Window
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,