View.ComputeSystemWindowInsets(WindowInsets, Rect) 方法

定义

此视图应使用的计算插集,以及应传播到视图下的这些视图的计算插集。

[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

参数

in
WindowInsets

此视图当前正在处理的嵌入,可能作为 的参数 #onApplyWindowInsets(WindowInsets)接收。

outLocalInsets
Rect

将接收此视图应使用的内插的 Rect

返回

应传递到此视图下的嵌入

属性

注解

此视图应使用的计算插集,以及应传播到视图下的这些视图的计算插集。

android.view.View.computeSystemWindowInsets(android.view.WindowInsets, android.graphics.Rect)Java 文档。

此页面的某些部分是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的条款使用。

适用于