summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2014-04-10 17:41:29 -0700
committerSvetoslav <svetoslavganov@google.com>2014-04-11 11:21:48 -0700
commit1e0d4af9986c8c2a658769a63bf8b385d25e0435 (patch)
tree2aee6d0a5fab5ccf8ccc36fbbb02bccd77fc312b /api
parentc095ca1cb8877121f768b5b6940e4025e810d4ba (diff)
downloadframeworks_base-1e0d4af9986c8c2a658769a63bf8b385d25e0435.zip
frameworks_base-1e0d4af9986c8c2a658769a63bf8b385d25e0435.tar.gz
frameworks_base-1e0d4af9986c8c2a658769a63bf8b385d25e0435.tar.bz2
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
Diffstat (limited to 'api')
-rw-r--r--api/current.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index 7de59d5..8922b99 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -2456,6 +2456,7 @@ package android.accessibilityservice {
public abstract class AccessibilityService extends android.app.Service {
ctor public AccessibilityService();
+ method public android.view.accessibility.AccessibilityNodeInfo findFocus(int);
method public android.view.accessibility.AccessibilityNodeInfo getRootInActiveWindow();
method public final android.accessibilityservice.AccessibilityServiceInfo getServiceInfo();
method public java.util.List<android.view.accessibility.AccessibilityWindowInfo> getWindows();
@@ -4755,6 +4756,7 @@ package android.app {
method public void clearWindowAnimationFrameStats();
method public boolean clearWindowContentFrameStats(int);
method public android.view.accessibility.AccessibilityEvent executeAndWaitForEvent(java.lang.Runnable, android.app.UiAutomation.AccessibilityEventFilter, long) throws java.util.concurrent.TimeoutException;
+ method public android.view.accessibility.AccessibilityNodeInfo findFocus(int);
method public android.view.accessibility.AccessibilityNodeInfo getRootInActiveWindow();
method public final android.accessibilityservice.AccessibilityServiceInfo getServiceInfo();
method public android.view.WindowAnimationFrameStats getWindowAnimationFrameStats();