diff options
author | Adrian Roos <roosa@google.com> | 2014-06-20 16:10:14 -0700 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2014-07-02 12:34:05 +0000 |
commit | fa10423fa00f3495e451016acba9b6848eb995c9 (patch) | |
tree | dacb609ee12c80b7110960811a97abaf9bfd4304 /core/java/android/view/View.java | |
parent | f29131f7013dc0d6994556b95e74db608c89beb8 (diff) | |
download | frameworks_base-fa10423fa00f3495e451016acba9b6848eb995c9.zip frameworks_base-fa10423fa00f3495e451016acba9b6848eb995c9.tar.gz frameworks_base-fa10423fa00f3495e451016acba9b6848eb995c9.tar.bz2 |
Add stable insets for stable system windows
Adds a new kind of inset that only accounts for stable system
windows like the system or navigation bar.
Bug: 15457292
Change-Id: I681b711f6f40a94c25b7acd3a44eb3539486afab
Diffstat (limited to 'core/java/android/view/View.java')
-rw-r--r-- | core/java/android/view/View.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 33b6d6c..3b2e1d1 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -19805,6 +19805,13 @@ public class View implements Drawable.Callback, KeyEvent.Callback, 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. + */ + final Rect mStableInsets = new Rect(); + + /** * The internal insets given by this window. This value is * supplied by the client (through * {@link ViewTreeObserver.OnComputeInternalInsetsListener}) and will |