From 0a1bb6dffc358c01e10555c5c833edb7dba69659 Mon Sep 17 00:00:00 2001 From: Svetoslav Ganov Date: Mon, 7 May 2012 11:54:39 -0700 Subject: AccessibilityNodeInfo for visible views should reported. 1. AccessibilityNodeInfos for visible views should always be reported and the clients should be able to check whether that node info is shown to the user. For example, focus search may return a node that is not on the screen and the accessibility layer may decide to give it focus which scroll the source view in the screen. bug:6421991 Change-Id: Idc1fd8512dda767abe802aacedb0c69582e6fc2a --- api/current.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api/current.txt') diff --git a/api/current.txt b/api/current.txt index 133a280..c5c84bc 100644 --- a/api/current.txt +++ b/api/current.txt @@ -25181,6 +25181,7 @@ package android.view.accessibility { method public boolean isPassword(); method public boolean isScrollable(); method public boolean isSelected(); + method public boolean isVisibleToUser(); method public static android.view.accessibility.AccessibilityNodeInfo obtain(android.view.View); method public static android.view.accessibility.AccessibilityNodeInfo obtain(android.view.View, int); method public static android.view.accessibility.AccessibilityNodeInfo obtain(); @@ -25210,6 +25211,7 @@ package android.view.accessibility { method public void setSource(android.view.View); method public void setSource(android.view.View, int); method public void setText(java.lang.CharSequence); + method public void setVisibleToUser(boolean); method public void writeToParcel(android.os.Parcel, int); field public static final int ACTION_ACCESSIBILITY_FOCUS = 64; // 0x40 field public static final java.lang.String ACTION_ARGUMENT_HTML_ELEMENT_STRING = "ACTION_ARGUMENT_HTML_ELEMENT_STRING"; -- cgit v1.1