Class Window
public class Window : JVMBridgeBase<Window>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Window>Window
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Window>.IsAssignableFrom(IJavaType)JVMBridgeBase<Window>.IsAssignableFrom<T>()JVMBridgeBase<Window>.Execute<T>(params T[])JVMBridgeBase<Window>.DynBridgeClazzJVMBridgeBase<Window>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Window()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Window class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Window()
Window(Context)
https://developer.android.com/reference/android/view/Window.html#%3Cinit%3E(android.content.Context)
public Window(Context arg0)
Parameters
Window(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("Window class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Window(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
DECOR_CAPTION_SHADE_AUTO
public static int DECOR_CAPTION_SHADE_AUTO { get; }
Property Value
DECOR_CAPTION_SHADE_DARK
public static int DECOR_CAPTION_SHADE_DARK { get; }
Property Value
DECOR_CAPTION_SHADE_LIGHT
public static int DECOR_CAPTION_SHADE_LIGHT { get; }
Property Value
FEATURE_ACTION_BAR
public static int FEATURE_ACTION_BAR { get; }
Property Value
FEATURE_ACTION_BAR_OVERLAY
public static int FEATURE_ACTION_BAR_OVERLAY { get; }
Property Value
FEATURE_ACTION_MODE_OVERLAY
public static int FEATURE_ACTION_MODE_OVERLAY { get; }
Property Value
FEATURE_ACTIVITY_TRANSITIONS
public static int FEATURE_ACTIVITY_TRANSITIONS { get; }
Property Value
FEATURE_CONTENT_TRANSITIONS
public static int FEATURE_CONTENT_TRANSITIONS { get; }
Property Value
FEATURE_CONTEXT_MENU
public static int FEATURE_CONTEXT_MENU { get; }
Property Value
FEATURE_CUSTOM_TITLE
public static int FEATURE_CUSTOM_TITLE { get; }
Property Value
FEATURE_INDETERMINATE_PROGRESS
[Obsolete]
public static int FEATURE_INDETERMINATE_PROGRESS { get; }
Property Value
FEATURE_LEFT_ICON
public static int FEATURE_LEFT_ICON { get; }
Property Value
FEATURE_NO_TITLE
public static int FEATURE_NO_TITLE { get; }
Property Value
FEATURE_OPTIONS_PANEL
public static int FEATURE_OPTIONS_PANEL { get; }
Property Value
FEATURE_PROGRESS
[Obsolete]
public static int FEATURE_PROGRESS { get; }
Property Value
FEATURE_RIGHT_ICON
public static int FEATURE_RIGHT_ICON { get; }
Property Value
FEATURE_SWIPE_TO_DISMISS
[Obsolete]
public static int FEATURE_SWIPE_TO_DISMISS { get; }
Property Value
ID_ANDROID_CONTENT
public static int ID_ANDROID_CONTENT { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
NAVIGATION_BAR_BACKGROUND_TRANSITION_NAME
public static String NAVIGATION_BAR_BACKGROUND_TRANSITION_NAME { get; }
Property Value
PROGRESS_END
[Obsolete]
public static int PROGRESS_END { get; }
Property Value
PROGRESS_INDETERMINATE_OFF
[Obsolete]
public static int PROGRESS_INDETERMINATE_OFF { get; }
Property Value
PROGRESS_INDETERMINATE_ON
[Obsolete]
public static int PROGRESS_INDETERMINATE_ON { get; }
Property Value
PROGRESS_SECONDARY_END
[Obsolete]
public static int PROGRESS_SECONDARY_END { get; }
Property Value
PROGRESS_SECONDARY_START
[Obsolete]
public static int PROGRESS_SECONDARY_START { get; }
Property Value
PROGRESS_START
[Obsolete]
public static int PROGRESS_START { get; }
Property Value
PROGRESS_VISIBILITY_OFF
[Obsolete]
public static int PROGRESS_VISIBILITY_OFF { get; }
Property Value
PROGRESS_VISIBILITY_ON
[Obsolete]
public static int PROGRESS_VISIBILITY_ON { get; }
Property Value
STATUS_BAR_BACKGROUND_TRANSITION_NAME
public static String STATUS_BAR_BACKGROUND_TRANSITION_NAME { get; }
Property Value
Methods
AddContentView(View, LayoutParams)
public void AddContentView(View arg0, ViewGroup.LayoutParams arg1)
Parameters
arg0
Viewarg1
ViewGroup.LayoutParams
AddFlags(int)
public void AddFlags(int arg0)
Parameters
AddOnFrameMetricsAvailableListener(OnFrameMetricsAvailableListener, Handler)
public void AddOnFrameMetricsAvailableListener(Window.OnFrameMetricsAvailableListener arg0, Handler arg1)
Parameters
arg0
Window.OnFrameMetricsAvailableListenerarg1
Handler
ClearFlags(int)
public void ClearFlags(int arg0)
Parameters
CloseAllPanels()
public void CloseAllPanels()
ClosePanel(int)
public void ClosePanel(int arg0)
Parameters
FindViewById<T>(int)
public T FindViewById<T>(int arg0) where T : View
Parameters
Returns
- T
T
Type Parameters
T
GetAllowEnterTransitionOverlap()
public bool GetAllowEnterTransitionOverlap()
Returns
GetAllowReturnTransitionOverlap()
public bool GetAllowReturnTransitionOverlap()
Returns
GetAttributes()
public WindowManager.LayoutParams GetAttributes()
Returns
GetCallback()
public Window.Callback GetCallback()
Returns
GetColorMode()
public int GetColorMode()
Returns
GetContainer()
public Window GetContainer()
Returns
GetContentScene()
public Scene GetContentScene()
Returns
GetContext()
public Context GetContext()
Returns
GetCurrentFocus()
public View GetCurrentFocus()
Returns
GetDecorView()
public View GetDecorView()
Returns
GetDefaultFeatures(Context)
public static int GetDefaultFeatures(Context arg0)
Parameters
Returns
GetDesiredHdrHeadroom()
public float GetDesiredHdrHeadroom()
Returns
GetEnterTransition()
public Transition GetEnterTransition()
Returns
GetExitTransition()
public Transition GetExitTransition()
Returns
GetFrameRateBoostOnTouchEnabled()
public bool GetFrameRateBoostOnTouchEnabled()
Returns
GetInsetsController()
public WindowInsetsController GetInsetsController()
Returns
GetLayoutInflater()
public LayoutInflater GetLayoutInflater()
Returns
GetMediaController()
public MediaController GetMediaController()
Returns
GetNavigationBarColor()
[Obsolete]
public int GetNavigationBarColor()
Returns
GetNavigationBarDividerColor()
[Obsolete]
public int GetNavigationBarDividerColor()
Returns
GetOnBackInvokedDispatcher()
public OnBackInvokedDispatcher GetOnBackInvokedDispatcher()
Returns
GetReenterTransition()
public Transition GetReenterTransition()
Returns
GetReturnTransition()
public Transition GetReturnTransition()
Returns
GetRootSurfaceControl()
public AttachedSurfaceControl GetRootSurfaceControl()
Returns
GetSharedElementEnterTransition()
public Transition GetSharedElementEnterTransition()
Returns
GetSharedElementExitTransition()
public Transition GetSharedElementExitTransition()
Returns
GetSharedElementReenterTransition()
https://developer.android.com/reference/android/view/Window.html#getSharedElementReenterTransition()
public Transition GetSharedElementReenterTransition()
Returns
GetSharedElementReturnTransition()
public Transition GetSharedElementReturnTransition()
Returns
GetSharedElementsUseOverlay()
public bool GetSharedElementsUseOverlay()
Returns
GetStatusBarColor()
[Obsolete]
public int GetStatusBarColor()
Returns
GetSystemGestureExclusionRects()
public List<Rect> GetSystemGestureExclusionRects()
Returns
GetTransitionBackgroundFadeDuration()
public long GetTransitionBackgroundFadeDuration()
Returns
GetTransitionManager()
public TransitionManager GetTransitionManager()
Returns
GetVolumeControlStream()
public int GetVolumeControlStream()
Returns
GetWindowManager()
public WindowManager GetWindowManager()
Returns
GetWindowStyle()
public TypedArray GetWindowStyle()
Returns
HasChildren()
public bool HasChildren()
Returns
HasFeature(int)
public bool HasFeature(int arg0)
Parameters
Returns
InjectInputEvent(InputEvent)
public void InjectInputEvent(InputEvent arg0)
Parameters
arg0
InputEvent
InvalidatePanelMenu(int)
public void InvalidatePanelMenu(int arg0)
Parameters
IsActive()
public bool IsActive()
Returns
IsFloating()
public bool IsFloating()
Returns
IsFrameRatePowerSavingsBalanced()
public bool IsFrameRatePowerSavingsBalanced()
Returns
IsNavigationBarContrastEnforced()
public bool IsNavigationBarContrastEnforced()
Returns
IsShortcutKey(int, KeyEvent)
public bool IsShortcutKey(int arg0, KeyEvent arg1)
Parameters
Returns
IsStatusBarContrastEnforced()
[Obsolete]
public bool IsStatusBarContrastEnforced()
Returns
IsWideColorGamut()
public bool IsWideColorGamut()
Returns
MakeActive()
public void MakeActive()
OnConfigurationChanged(Configuration)
public void OnConfigurationChanged(Configuration arg0)
Parameters
OpenPanel(int, KeyEvent)
public void OpenPanel(int arg0, KeyEvent arg1)
Parameters
PeekDecorView()
public View PeekDecorView()
Returns
PerformContextMenuIdentifierAction(int, int)
public bool PerformContextMenuIdentifierAction(int arg0, int arg1)
Parameters
Returns
PerformPanelIdentifierAction(int, int, int)
public bool PerformPanelIdentifierAction(int arg0, int arg1, int arg2)
Parameters
Returns
PerformPanelShortcut(int, int, KeyEvent, int)
public bool PerformPanelShortcut(int arg0, int arg1, KeyEvent arg2, int arg3)
Parameters
Returns
RegisterScrollCaptureCallback(ScrollCaptureCallback)
public void RegisterScrollCaptureCallback(ScrollCaptureCallback arg0)
Parameters
RemoveOnFrameMetricsAvailableListener(OnFrameMetricsAvailableListener)
public void RemoveOnFrameMetricsAvailableListener(Window.OnFrameMetricsAvailableListener arg0)
Parameters
RequestFeature(int)
public bool RequestFeature(int arg0)
Parameters
Returns
RequireViewById<T>(int)
public T RequireViewById<T>(int arg0) where T : View
Parameters
Returns
- T
T
Type Parameters
T
RestoreHierarchyState(Bundle)
public void RestoreHierarchyState(Bundle arg0)
Parameters
SaveHierarchyState()
public Bundle SaveHierarchyState()
Returns
SetAllowEnterTransitionOverlap(bool)
public void SetAllowEnterTransitionOverlap(bool arg0)
Parameters
SetAllowReturnTransitionOverlap(bool)
public void SetAllowReturnTransitionOverlap(bool arg0)
Parameters
SetAttributes(LayoutParams)
public void SetAttributes(WindowManager.LayoutParams arg0)
Parameters
SetBackgroundBlurRadius(int)
public void SetBackgroundBlurRadius(int arg0)
Parameters
SetBackgroundDrawable(Drawable)
public void SetBackgroundDrawable(Drawable arg0)
Parameters
SetBackgroundDrawableResource(int)
public void SetBackgroundDrawableResource(int arg0)
Parameters
SetCallback(Callback)
public void SetCallback(Window.Callback arg0)
Parameters
SetChildDrawable(int, Drawable)
public void SetChildDrawable(int arg0, Drawable arg1)
Parameters
SetChildInt(int, int)
public void SetChildInt(int arg0, int arg1)
Parameters
SetClipToOutline(bool)
public void SetClipToOutline(bool arg0)
Parameters
SetColorMode(int)
public void SetColorMode(int arg0)
Parameters
SetContainer(Window)
public void SetContainer(Window arg0)
Parameters
SetContentView(View)
public void SetContentView(View arg0)
Parameters
SetContentView(View, LayoutParams)
public void SetContentView(View arg0, ViewGroup.LayoutParams arg1)
Parameters
arg0
Viewarg1
ViewGroup.LayoutParams
SetContentView(int)
public void SetContentView(int arg0)
Parameters
SetDecorCaptionShade(int)
public void SetDecorCaptionShade(int arg0)
Parameters
SetDecorFitsSystemWindows(bool)
[Obsolete]
public void SetDecorFitsSystemWindows(bool arg0)
Parameters
SetDesiredHdrHeadroom(float)
public void SetDesiredHdrHeadroom(float arg0)
Parameters
SetDimAmount(float)
public void SetDimAmount(float arg0)
Parameters
SetElevation(float)
public void SetElevation(float arg0)
Parameters
SetEnterTransition(Transition)
public void SetEnterTransition(Transition arg0)
Parameters
arg0
Transition
SetExitTransition(Transition)
public void SetExitTransition(Transition arg0)
Parameters
arg0
Transition
SetFeatureDrawable(int, Drawable)
public void SetFeatureDrawable(int arg0, Drawable arg1)
Parameters
SetFeatureDrawableAlpha(int, int)
public void SetFeatureDrawableAlpha(int arg0, int arg1)
Parameters
SetFeatureDrawableResource(int, int)
https://developer.android.com/reference/android/view/Window.html#setFeatureDrawableResource(int,int)
public void SetFeatureDrawableResource(int arg0, int arg1)
Parameters
SetFeatureDrawableUri(int, Uri)
public void SetFeatureDrawableUri(int arg0, Uri arg1)
Parameters
SetFeatureInt(int, int)
public void SetFeatureInt(int arg0, int arg1)
Parameters
SetFlags(int, int)
public void SetFlags(int arg0, int arg1)
Parameters
SetFormat(int)
public void SetFormat(int arg0)
Parameters
SetFrameRateBoostOnTouchEnabled(bool)
public void SetFrameRateBoostOnTouchEnabled(bool arg0)
Parameters
SetFrameRatePowerSavingsBalanced(bool)
public void SetFrameRatePowerSavingsBalanced(bool arg0)
Parameters
SetGravity(int)
public void SetGravity(int arg0)
Parameters
SetHideOverlayWindows(bool)
public void SetHideOverlayWindows(bool arg0)
Parameters
SetIcon(int)
public void SetIcon(int arg0)
Parameters
SetLayout(int, int)
public void SetLayout(int arg0, int arg1)
Parameters
SetLocalFocus(bool, bool)
public void SetLocalFocus(bool arg0, bool arg1)
Parameters
SetLogo(int)
public void SetLogo(int arg0)
Parameters
SetMediaController(MediaController)
public void SetMediaController(MediaController arg0)
Parameters
SetNavigationBarColor(int)
[Obsolete]
public void SetNavigationBarColor(int arg0)
Parameters
SetNavigationBarContrastEnforced(bool)
public void SetNavigationBarContrastEnforced(bool arg0)
Parameters
SetNavigationBarDividerColor(int)
[Obsolete]
public void SetNavigationBarDividerColor(int arg0)
Parameters
SetPreferMinimalPostProcessing(bool)
public void SetPreferMinimalPostProcessing(bool arg0)
Parameters
SetReenterTransition(Transition)
public void SetReenterTransition(Transition arg0)
Parameters
arg0
Transition
SetResizingCaptionDrawable(Drawable)
public void SetResizingCaptionDrawable(Drawable arg0)
Parameters
SetRestrictedCaptionAreaListener(OnRestrictedCaptionAreaChangedListener)
public void SetRestrictedCaptionAreaListener(Window.OnRestrictedCaptionAreaChangedListener arg0)
Parameters
SetReturnTransition(Transition)
public void SetReturnTransition(Transition arg0)
Parameters
arg0
Transition
SetSharedElementEnterTransition(Transition)
public void SetSharedElementEnterTransition(Transition arg0)
Parameters
arg0
Transition
SetSharedElementExitTransition(Transition)
public void SetSharedElementExitTransition(Transition arg0)
Parameters
arg0
Transition
SetSharedElementReenterTransition(Transition)
public void SetSharedElementReenterTransition(Transition arg0)
Parameters
arg0
Transition
SetSharedElementReturnTransition(Transition)
public void SetSharedElementReturnTransition(Transition arg0)
Parameters
arg0
Transition
SetSharedElementsUseOverlay(bool)
public void SetSharedElementsUseOverlay(bool arg0)
Parameters
SetSoftInputMode(int)
public void SetSoftInputMode(int arg0)
Parameters
SetStatusBarColor(int)
[Obsolete]
public void SetStatusBarColor(int arg0)
Parameters
SetStatusBarContrastEnforced(bool)
[Obsolete]
public void SetStatusBarContrastEnforced(bool arg0)
Parameters
SetSustainedPerformanceMode(bool)
public void SetSustainedPerformanceMode(bool arg0)
Parameters
SetSystemGestureExclusionRects(List<Rect>)
public void SetSystemGestureExclusionRects(List<Rect> arg0)
Parameters
SetTitle(CharSequence)
public void SetTitle(CharSequence arg0)
Parameters
arg0
CharSequence
SetTitleColor(int)
[Obsolete]
public void SetTitleColor(int arg0)
Parameters
SetTransitionBackgroundFadeDuration(long)
public void SetTransitionBackgroundFadeDuration(long arg0)
Parameters
SetTransitionManager(TransitionManager)
public void SetTransitionManager(TransitionManager arg0)
Parameters
SetType(int)
public void SetType(int arg0)
Parameters
SetUiOptions(int)
public void SetUiOptions(int arg0)
Parameters
SetUiOptions(int, int)
public void SetUiOptions(int arg0, int arg1)
Parameters
SetVolumeControlStream(int)
public void SetVolumeControlStream(int arg0)
Parameters
SetWindowAnimations(int)
public void SetWindowAnimations(int arg0)
Parameters
SetWindowManager(WindowManager, IBinder, String)
public void SetWindowManager(WindowManager arg0, IBinder arg1, String arg2)
Parameters
arg0
WindowManagerarg1
IBinderarg2
String
SetWindowManager(WindowManager, IBinder, String, bool)
public void SetWindowManager(WindowManager arg0, IBinder arg1, String arg2, bool arg3)
Parameters
arg0
WindowManagerarg1
IBinderarg2
Stringarg3
bool
SuperDispatchGenericMotionEvent(MotionEvent)
public bool SuperDispatchGenericMotionEvent(MotionEvent arg0)
Parameters
arg0
MotionEvent
Returns
SuperDispatchKeyEvent(KeyEvent)
public bool SuperDispatchKeyEvent(KeyEvent arg0)
Parameters
Returns
SuperDispatchKeyShortcutEvent(KeyEvent)
public bool SuperDispatchKeyShortcutEvent(KeyEvent arg0)
Parameters
Returns
SuperDispatchTouchEvent(MotionEvent)
public bool SuperDispatchTouchEvent(MotionEvent arg0)
Parameters
arg0
MotionEvent
Returns
SuperDispatchTrackballEvent(MotionEvent)
public bool SuperDispatchTrackballEvent(MotionEvent arg0)
Parameters
arg0
MotionEvent
Returns
TakeInputQueue(Callback)
public void TakeInputQueue(InputQueue.Callback arg0)
Parameters
TakeKeyEvents(bool)
public void TakeKeyEvents(bool arg0)
Parameters
TakeSurface(Callback2)
public void TakeSurface(SurfaceHolder.Callback2 arg0)
Parameters
TogglePanel(int, KeyEvent)
public void TogglePanel(int arg0, KeyEvent arg1)
Parameters
UnregisterScrollCaptureCallback(ScrollCaptureCallback)
public void UnregisterScrollCaptureCallback(ScrollCaptureCallback arg0)