

The interaction between WindowManager and WindowManagerService is an IPC process. The specific implementation of Window is located in WindowManagerService. WindowManager is the entrance to the outside world to access Window. Creating a Window can be done through WindowManager. Performs an Android runtime-checked type conversion.Window represents the concept of a window, Window is an abstract class, and its concrete implementation is PhoneWindow. UpdateViewLayout(View, ViewGroup+LayoutParams) SetJniManagedPeerState(JniManagedPeerStates) View.onDetachedFromWindow() methods before returning. The given view hierarchy's View#onDetachedFromWindow() Special variation of #removeView that immediately invokes

Removes a listener, previously added with #addCrossWindowBlurEnabledListener RemoveCrossWindowBlurEnabledListener(IConsumer) Returns the largest WindowMetrics an app may expect in the current system state.ĪddCrossWindowBlurEnabledListener(IConsumer)Īdds a listener, which will be called when cross-window blurs are enabled/disabled atĪddCrossWindowBlurEnabledListener(IExecutor, IConsumer)Īssign the passed LayoutParams to the passed View and add the view to the window. Returns whether cross-window blur is currently enabled. Gets the JNI value of the underlying Android object. Returns the Display upon which this IWindowManager instance Returns the WindowMetrics according to the current system state. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. IJavaObject IViewManager IJavaPeerable IDisposable Remarks
