package m; import android.graphics.Insets; import android.graphics.Rect; import android.view.View; import android.view.WindowInsets; /* loaded from: classes.dex */ public abstract class Z0 { public static void a(View view, Rect rect, Rect rect2) { Insets systemWindowInsets = view.computeSystemWindowInsets(new WindowInsets.Builder().setSystemWindowInsets(Insets.of(rect)).build(), rect2).getSystemWindowInsets(); rect.set(systemWindowInsets.left, systemWindowInsets.top, systemWindowInsets.right, systemWindowInsets.bottom); } }