summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/IWindowSession.aidl
diff options
context:
space:
mode:
authorFilip Gruszczynski <gruszczy@google.com>2015-04-20 08:40:57 -0700
committerFilip Gruszczynski <gruszczy@google.com>2015-05-20 14:20:30 -0700
commit3e11bf33a6094da92d97702213aa12c67b21c4d1 (patch)
tree49be3c98dde6651926268bbf36e0a90ae60c820f /core/java/android/view/IWindowSession.aidl
parent627f26817f752e0e1beb4185e778edc4501b4aa6 (diff)
downloadframeworks_base-3e11bf33a6094da92d97702213aa12c67b21c4d1.zip
frameworks_base-3e11bf33a6094da92d97702213aa12c67b21c4d1.tar.gz
frameworks_base-3e11bf33a6094da92d97702213aa12c67b21c4d1.tar.bz2
Support for devices with a chin.
Information about the chin is now part of the config.xml instead of the theme. It is retrieved by WindowManagerService and passed to the clients as insets. Clients can adjust their behavior in a way that makes it invisible to the user, that part of the surface doesn't actually exist. Bug: 19908853 Change-Id: Iedf57bf3c848201b854f91ffeb3b59187d375c1f
Diffstat (limited to 'core/java/android/view/IWindowSession.aidl')
-rw-r--r--core/java/android/view/IWindowSession.aidl6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/java/android/view/IWindowSession.aidl b/core/java/android/view/IWindowSession.aidl
index 63e1a85..ed60985 100644
--- a/core/java/android/view/IWindowSession.aidl
+++ b/core/java/android/view/IWindowSession.aidl
@@ -79,11 +79,13 @@ interface IWindowSession {
* contents to make sure the user can see it. This is different than
* <var>outContentInsets</var> in that these insets change transiently,
* so complex relayout of the window should not happen based on them.
+ * @param outOutsets Rect in which is placed the dead area of the screen that we would like to
+ * treat as real display. Example of such area is a chin in some models of wearable devices.
* @param outConfiguration New configuration of window, if it is now
* becoming visible and the global configuration has changed since it
* was last displayed.
* @param outSurface Object in which is placed the new display surface.
- *
+ *
* @return int Result flags: {@link WindowManagerGlobal#RELAYOUT_SHOW_FOCUS},
* {@link WindowManagerGlobal#RELAYOUT_FIRST_TIME}.
*/
@@ -91,7 +93,7 @@ interface IWindowSession {
int requestedWidth, int requestedHeight, int viewVisibility,
int flags, out Rect outFrame, out Rect outOverscanInsets,
out Rect outContentInsets, out Rect outVisibleInsets, out Rect outStableInsets,
- out Configuration outConfig, out Surface outSurface);
+ out Rect outOutsets, out Configuration outConfig, out Surface outSurface);
/**
* If a call to relayout() asked to have the surface destroy deferred,