diff options
author | Craig Mautner <cmautner@google.com> | 2012-06-30 14:10:16 -0700 |
---|---|---|
committer | Craig Mautner <cmautner@google.com> | 2012-06-30 14:10:16 -0700 |
commit | 5702d4dfb5b81491f873a3617f8d8fc8dc5279e6 (patch) | |
tree | e9e9a95db55f1ee7ef8c3e9d5e807b083c53c59a /core/java/android/view/IWindow.aidl | |
parent | 5af65850eaa92c53be37a6973603b1f1e4f02a43 (diff) | |
download | frameworks_base-5702d4dfb5b81491f873a3617f8d8fc8dc5279e6.zip frameworks_base-5702d4dfb5b81491f873a3617f8d8fc8dc5279e6.tar.gz frameworks_base-5702d4dfb5b81491f873a3617f8d8fc8dc5279e6.tar.bz2 |
Notify client side of window movement.
Add a one way method to notify Views that the window has moved
on the screen. Fixes issues arising from the IME popping up and
translating the window that uses it. Accessibility was left unaware
of these movements and was drawing the box around the wrong widgets.
Similarly PopupWindow used getLocationOnScreen to determine how
much screen real estate was above and below the anchor point to
determine where to put an anchored window.
Fixes bug 6623031.
Change-Id: I4731a94d5424c1ec77bf1729fba8fc9ea34cae46
Diffstat (limited to 'core/java/android/view/IWindow.aidl')
-rw-r--r-- | core/java/android/view/IWindow.aidl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/view/IWindow.aidl b/core/java/android/view/IWindow.aidl index b4caad3..9f22870 100644 --- a/core/java/android/view/IWindow.aidl +++ b/core/java/android/view/IWindow.aidl @@ -47,6 +47,7 @@ oneway interface IWindow { void resized(int w, int h, in Rect contentInsets, in Rect visibleInsets, boolean reportDraw, in Configuration newConfig); + void moved(int newX, int newY); void dispatchAppVisibility(boolean visible); void dispatchGetNewSurface(); void dispatchScreenState(boolean on); |