diff options
| author | Filip Gruszczynski <gruszczy@google.com> | 2015-05-20 20:11:39 -0700 |
|---|---|---|
| committer | Filip Gruszczynski <gruszczy@google.com> | 2015-05-20 20:15:29 -0700 |
| commit | c7becb7ee78881646251ff4846e63eb6b96bf7ec (patch) | |
| tree | a42141a24ea950f26b21faf95157f8f2513f66d3 /core/java/android/view/View.java | |
| parent | 8562b08f04c1309cf40db1e749d612b6824f1d12 (diff) | |
| parent | 47249f2a9e49aa9626369517315eafc6b42fd8e9 (diff) | |
resolved conflicts for merge of 47249f2a to mnc-dev
This is a merge of chin support.
Change-Id: I436b751b3c4aaa6b46cfcdb475e02eedfa5a5635
Diffstat (limited to 'core/java/android/view/View.java')
| -rw-r--r-- | core/java/android/view/View.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 6ca320ab4c1f..13f626b78b10 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -7360,6 +7360,15 @@ public class View implements Drawable.Callback, KeyEvent.Callback, } /** + * Returns the outsets, which areas of the device that aren't a surface, but we would like to + * treat them as such. + * @hide + */ + public void getOutsets(Rect outOutsetRect) { + outOutsetRect.set(mAttachInfo.mOutsets); + } + + /** * Returns the visibility status for this view. * * @return One of {@link #VISIBLE}, {@link #INVISIBLE}, or {@link #GONE}. @@ -21538,6 +21547,12 @@ public class View implements Drawable.Callback, KeyEvent.Callback, final Rect mStableInsets = new Rect(); /** + * For windows that include areas that are not covered by real surface these are the outsets + * for real surface. + */ + final Rect mOutsets = new Rect(); + + /** * The internal insets given by this window. This value is * supplied by the client (through * {@link ViewTreeObserver.OnComputeInternalInsetsListener}) and will |
