OSDN Git Service

Adding system support for a single accessibility focus.
authorSvetoslav <svetoslavganov@google.com>
Fri, 11 Apr 2014 00:41:29 +0000 (17:41 -0700)
committerSvetoslav <svetoslavganov@google.com>
Fri, 11 Apr 2014 18:21:48 +0000 (11:21 -0700)
commit1e0d4af9986c8c2a658769a63bf8b385d25e0435
tree2aee6d0a5fab5ccf8ccc36fbbb02bccd77fc312b
parentc095ca1cb8877121f768b5b6940e4025e810d4ba
Adding system support for a single accessibility focus.

Now that we have APIs to query all interactive windows and allow
an accessibility service to put accessibility focus in each of
them we have to guarantee that there is a single accessibility
focus. This is required for correct operation of the touch
explorer as on double tap in clicks in the center of the focused
area, hence having more that one focus is an issue. Also the
system is maintaining a single input focus so now accessibility
focus behaves consistently with that.

bug:13965563

Change-Id: I0b5c26dadfabbf80dbed8dc4602073aa575ac179
api/current.txt
core/java/android/accessibilityservice/AccessibilityService.java
core/java/android/app/UiAutomation.java
core/java/android/view/View.java
core/java/android/view/accessibility/AccessibilityInteractionClient.java
core/java/android/view/accessibility/AccessibilityNodeInfo.java
services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java
services/accessibility/java/com/android/server/accessibility/TouchExplorer.java