View.ComputeSystemWindowInsets(WindowInsets, Rect) Method

Definition

Compute insets that should be consumed by this view and the ones that should propagate to those under it.

[Android.Runtime.Register("computeSystemWindowInsets", "(Landroid/view/WindowInsets;Landroid/graphics/Rect;)Landroid/view/WindowInsets;", "GetComputeSystemWindowInsets_Landroid_view_WindowInsets_Landroid_graphics_Rect_Handler")]
public virtual Android.Views.WindowInsets? ComputeSystemWindowInsets (Android.Views.WindowInsets? in, Android.Graphics.Rect? outLocalInsets);
[<Android.Runtime.Register("computeSystemWindowInsets", "(Landroid/view/WindowInsets;Landroid/graphics/Rect;)Landroid/view/WindowInsets;", "GetComputeSystemWindowInsets_Landroid_view_WindowInsets_Landroid_graphics_Rect_Handler")>]
abstract member ComputeSystemWindowInsets : Android.Views.WindowInsets * Android.Graphics.Rect -> Android.Views.WindowInsets
override this.ComputeSystemWindowInsets : Android.Views.WindowInsets * Android.Graphics.Rect -> Android.Views.WindowInsets

Parameters

in
WindowInsets

Insets currently being processed by this View, likely received as a parameter to #onApplyWindowInsets(WindowInsets).

outLocalInsets
Rect

A Rect that will receive the insets that should be consumed by this view

Returns

Insets that should be passed along to views under this one

Attributes

Remarks

Compute insets that should be consumed by this view and the ones that should propagate to those under it.

Java documentation for android.view.View.computeSystemWindowInsets(android.view.WindowInsets, android.graphics.Rect).

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.

Applies to