diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2012-07-16 08:46:07 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2012-07-16 08:46:11 -0700 |
commit | c9c9a48e7bafae63cb35a9aa69255e80aba83988 (patch) | |
tree | 80295bae9e6546d9d7fb604af0fa772ebd18a4fc /services/java/com/android/server/accessibility/TouchExplorer.java | |
parent | dd0d0ba654cea3051e44ba9ae20ac4b269e123c0 (diff) | |
download | frameworks_base-c9c9a48e7bafae63cb35a9aa69255e80aba83988.zip frameworks_base-c9c9a48e7bafae63cb35a9aa69255e80aba83988.tar.gz frameworks_base-c9c9a48e7bafae63cb35a9aa69255e80aba83988.tar.bz2 |
Removing a workaround for incorrect window position on window move.
1. The window manager was not notifying a window when the latter
has been moved. This was causing incorrect coordinates of the
nodes reported to accessibility services. To workaround that
we have carried the correct window location when making a
call from the accessibility layer into a window. Now the
window manager notifies the window when it is moved and the
workaround is no longer needed. This change takes it out.
2. The left and right in the attach info were not updated properly
after a report that the window has moved.
3. The accessibility manager service was calling directly methods
on the window manager service without going through the interface
of the latter. This leads to unnecessary coupling and in the
long rung increases system complexity and reduces maintability.
bug:6623031
Change-Id: Iacb734b1bf337a47fad02c827ece45bb2f53a79d
Diffstat (limited to 'services/java/com/android/server/accessibility/TouchExplorer.java')
-rw-r--r-- | services/java/com/android/server/accessibility/TouchExplorer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/accessibility/TouchExplorer.java b/services/java/com/android/server/accessibility/TouchExplorer.java index 48c6b2a..ba9f2cd 100644 --- a/services/java/com/android/server/accessibility/TouchExplorer.java +++ b/services/java/com/android/server/accessibility/TouchExplorer.java @@ -28,6 +28,7 @@ import android.graphics.Rect; import android.os.Handler; import android.os.SystemClock; import android.util.Slog; +import android.view.InputFilter; import android.view.MotionEvent; import android.view.MotionEvent.PointerCoords; import android.view.MotionEvent.PointerProperties; @@ -37,7 +38,6 @@ import android.view.WindowManagerPolicy; import android.view.accessibility.AccessibilityEvent; import com.android.internal.R; -import com.android.server.input.InputFilter; import java.util.ArrayList; import java.util.Arrays; |