Merge "Remove legacy insets from View.AttachInfo"

This commit is contained in:
TreeHugger Robot
2020-10-26 12:20:28 +00:00
committed by Android (Google) Code Review

View File

@@ -80,7 +80,6 @@ import android.graphics.drawable.GradientDrawable;
import android.hardware.display.DisplayManagerGlobal;
import android.net.Uri;
import android.os.Build;
import android.os.Build.VERSION_CODES;
import android.os.Bundle;
import android.os.Handler;
import android.os.IBinder;
@@ -28912,33 +28911,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
*/
boolean mUse32BitDrawingCache;
/**
* For windows that are full-screen but using insets to layout inside
* of the screen decorations, these are the current insets for the
* content of the window.
*/
@UnsupportedAppUsage(maxTargetSdk = VERSION_CODES.Q,
publicAlternatives = "Use {@link WindowInsets#getInsets(int)}")
final Rect mContentInsets = new Rect();
/**
* For windows that are full-screen but using insets to layout inside
* of the screen decorations, these are the current insets for the
* actual visible parts of the window.
*/
@UnsupportedAppUsage(maxTargetSdk = VERSION_CODES.Q,
publicAlternatives = "Use {@link WindowInsets#getInsets(int)}")
final Rect mVisibleInsets = new Rect();
/**
* For windows that are full-screen but using insets to layout inside
* of the screen decorations, these are the current insets for the
* stable system windows.
*/
@UnsupportedAppUsage(maxTargetSdk = VERSION_CODES.Q,
publicAlternatives = "Use {@link WindowInsets#getInsets(int)}")
final Rect mStableInsets = new Rect();
/**
* Current caption insets to the display coordinate.
*/