Skip to content

Commit efa5685

Browse files
Fabrice Di MeglioAndroid (Google) Code Review
authored andcommitted
Merge "Fix some typos in Javadoc for Accessibility APIs" into jb-mr1-dev
2 parents d79dd34 + 69542e4 commit efa5685

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

core/java/android/view/View.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
15031503
private SparseArray<Object> mKeyedTags;
15041504

15051505
/**
1506-
* The next available accessiiblity id.
1506+
* The next available accessibility id.
15071507
*/
15081508
private static int sNextAccessibilityViewId;
15091509

@@ -2053,7 +2053,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
20532053
public static final int IMPORTANT_FOR_ACCESSIBILITY_NO = 0x00000002;
20542054

20552055
/**
2056-
* The default whether the view is important for accessiblity.
2056+
* The default whether the view is important for accessibility.
20572057
*/
20582058
static final int IMPORTANT_FOR_ACCESSIBILITY_DEFAULT = IMPORTANT_FOR_ACCESSIBILITY_AUTO;
20592059

@@ -3125,7 +3125,7 @@ static class ListenerInfo {
31253125
private boolean mSendingHoverAccessibilityEvents;
31263126

31273127
/**
3128-
* Delegate for injecting accessiblity functionality.
3128+
* Delegate for injecting accessibility functionality.
31293129
*/
31303130
AccessibilityDelegate mAccessibilityDelegate;
31313131

@@ -4475,7 +4475,7 @@ protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyF
44754475
}
44764476

44774477
/**
4478-
* Sends an accessibility event of the given type. If accessiiblity is
4478+
* Sends an accessibility event of the given type. If accessibility is
44794479
* not enabled this method has no effect. The default implementation calls
44804480
* {@link #onInitializeAccessibilityEvent(AccessibilityEvent)} first
44814481
* to populate information about the event source (this View), then calls
@@ -4894,7 +4894,7 @@ void onInitializeAccessibilityNodeInfoInternal(AccessibilityNodeInfo info) {
48944894
info.setLongClickable(isLongClickable());
48954895

48964896
// TODO: These make sense only if we are in an AdapterView but all
4897-
// views can be selected. Maybe from accessiiblity perspective
4897+
// views can be selected. Maybe from accessibility perspective
48984898
// we should report as selectable view in an AdapterView.
48994899
info.addAction(AccessibilityNodeInfo.ACTION_SELECT);
49004900
info.addAction(AccessibilityNodeInfo.ACTION_CLEAR_SELECTION);
@@ -5004,7 +5004,7 @@ public AccessibilityDelegate getAccessibilityDelegate() {
50045004
}
50055005

50065006
/**
5007-
* Sets a delegate for implementing accessibility support via compositon as
5007+
* Sets a delegate for implementing accessibility support via composition as
50085008
* opposed to inheritance. The delegate's primary use is for implementing
50095009
* backwards compatible widgets. For more details see {@link AccessibilityDelegate}.
50105010
*
@@ -6680,7 +6680,7 @@ public boolean includeForAccessibility() {
66806680
/**
66816681
* Returns whether the View is considered actionable from
66826682
* accessibility perspective. Such view are important for
6683-
* accessiiblity.
6683+
* accessibility.
66846684
*
66856685
* @return True if the view is actionable for accessibility.
66866686
*
@@ -6692,7 +6692,7 @@ public boolean isActionableForAccessibility() {
66926692

66936693
/**
66946694
* Returns whether the View has registered callbacks wich makes it
6695-
* important for accessiiblity.
6695+
* important for accessibility.
66966696
*
66976697
* @return True if the view is actionable for accessibility.
66986698
*/
@@ -6731,7 +6731,7 @@ public void notifyAccessibilityStateChanged() {
67316731

67326732
/**
67336733
* Reset the state indicating the this view has requested clients
6734-
* interested in its accessiblity state to be notified.
6734+
* interested in its accessibility state to be notified.
67356735
*
67366736
* @hide
67376737
*/

0 commit comments

Comments
 (0)