summaryrefslogtreecommitdiffstats
path: root/api/current.txt
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-03-05 17:37:43 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-03-05 17:37:43 +0000
commita55136169eb3367c70f7b8686d51289483310586 (patch)
tree171bfb6b73e3073e20b246b13c40012829cc3e31 /api/current.txt
parent9c9aec721a78f23b4315ac920c26b109999a07f1 (diff)
parente3f23a36d86fedf6c8c6503378cd6d2190c5ab23 (diff)
downloadframeworks_base-a55136169eb3367c70f7b8686d51289483310586.zip
frameworks_base-a55136169eb3367c70f7b8686d51289483310586.tar.gz
frameworks_base-a55136169eb3367c70f7b8686d51289483310586.tar.bz2
Merge "Add new WindowId for cross-process monitoring of focus." into jb-mr2-dev
Diffstat (limited to 'api/current.txt')
-rw-r--r--api/current.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index 3878aa1..2e1dcf6 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);