summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/IWindowSession.aidl
diff options
context:
space:
mode:
authorFilip Gruszczynski <gruszczy@google.com>2015-06-25 11:26:01 -0700
committerFilip Gruszczynski <gruszczy@google.com>2015-06-30 12:42:17 -0700
commit0ec1328f85a08a610868856c688ebb8196c79c17 (patch)
treeddc6e89ace31cf2002af71a94c71dd02484e6b18 /core/java/android/view/IWindowSession.aidl
parentcc2ba2200ddc9d95753fa930aa245540fac880e8 (diff)
downloadframeworks_base-0ec1328f85a08a610868856c688ebb8196c79c17.zip
frameworks_base-0ec1328f85a08a610868856c688ebb8196c79c17.tar.gz
frameworks_base-0ec1328f85a08a610868856c688ebb8196c79c17.tar.bz2
Calculate outset hint when adding window.
Outsets aren't dynamic so they are a great candidate for a hint when the window is added through the window manager. Thanks to this during first view hierarchy measure or wallpaper window layout they are immediately available and don't require multiple measure/layout passes. Bug: 21593814 Change-Id: I573c15ffbbe4fcd8a6ed9c5e4fcd6cfbbcd7434f
Diffstat (limited to 'core/java/android/view/IWindowSession.aidl')
-rw-r--r--core/java/android/view/IWindowSession.aidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/IWindowSession.aidl b/core/java/android/view/IWindowSession.aidl
index ed60985..f1a5404 100644
--- a/core/java/android/view/IWindowSession.aidl
+++ b/core/java/android/view/IWindowSession.aidl
@@ -40,7 +40,7 @@ interface IWindowSession {
out InputChannel outInputChannel);
int addToDisplay(IWindow window, int seq, in WindowManager.LayoutParams attrs,
in int viewVisibility, in int layerStackId, out Rect outContentInsets,
- out Rect outStableInsets, out InputChannel outInputChannel);
+ out Rect outStableInsets, out Rect outOutsets, out InputChannel outInputChannel);
int addWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs,
in int viewVisibility, out Rect outContentInsets, out Rect outStableInsets);
int addToDisplayWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs,