Merge "Remove legacy insets from View.AttachInfo"
This commit is contained in:
committed by
Android (Google) Code Review
commit
813ea77a6a
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user