diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-03-01 13:25:35 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-03-05 09:33:48 -0800 |
commit | e3f23a36d86fedf6c8c6503378cd6d2190c5ab23 (patch) | |
tree | cb4cb3a9598cd94d320203f7f1ba34842599b435 /api/current.txt | |
parent | 7be6d4c421cfa6f93079517d3ee54024c8049ae5 (diff) | |
download | frameworks_base-e3f23a36d86fedf6c8c6503378cd6d2190c5ab23.zip frameworks_base-e3f23a36d86fedf6c8c6503378cd6d2190c5ab23.tar.gz frameworks_base-e3f23a36d86fedf6c8c6503378cd6d2190c5ab23.tar.bz2 |
Add new WindowId for cross-process monitoring of focus.
This is a class representing a window and providing limited
interaction with it, which can be handed across processes.
Change-Id: I22885f2064a9cc8c68d690a5858c2e28bbb6a0f3
Diffstat (limited to 'api/current.txt')
-rw-r--r-- | api/current.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index a4b4992..1249fc1 100644 --- a/api/current.txt +++ b/api/current.txt @@ -25279,6 +25279,7 @@ package android.view { method public int getVisibility(); method public final int getWidth(); method protected int getWindowAttachCount(); + method public android.view.WindowId getWindowId(); method public int getWindowSystemUiVisibility(); method public android.os.IBinder getWindowToken(); method public int getWindowVisibility(); @@ -26224,6 +26225,21 @@ package android.view { method public abstract android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode.Callback); } + public class WindowId implements android.os.Parcelable { + method public int describeContents(); + method public boolean isFocused(); + method public void registerFocusObserver(android.view.WindowId.FocusObserver); + method public void unregisterFocusObserver(android.view.WindowId.FocusObserver); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator CREATOR; + } + + public static abstract class WindowId.FocusObserver { + ctor public WindowId.FocusObserver(); + method public abstract void onFocusGained(android.view.WindowId); + method public abstract void onFocusLost(android.view.WindowId); + } + public abstract interface WindowManager implements android.view.ViewManager { method public abstract android.view.Display getDefaultDisplay(); method public abstract void removeViewImmediate(android.view.View); |