Skip to content

Commit 69542e4

Browse files
author
Fabrice Di Meglio
committed
Fix some typos in Javadoc for Accessibility APIs
Change-Id: Ie3ca20e1c3bb11fb59bd7dcaed9ea92be320b3eb
1 parent 5e900e3 commit 69542e4

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

@@ -3108,7 +3108,7 @@ static class ListenerInfo {
31083108
private boolean mSendingHoverAccessibilityEvents;
31093109

31103110
/**
3111-
* Delegate for injecting accessiblity functionality.
3111+
* Delegate for injecting accessibility functionality.
31123112
*/
31133113
AccessibilityDelegate mAccessibilityDelegate;
31143114

@@ -4455,7 +4455,7 @@ protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyF
44554455
}
44564456

44574457
/**
4458-
* Sends an accessibility event of the given type. If accessiiblity is
4458+
* Sends an accessibility event of the given type. If accessibility is
44594459
* not enabled this method has no effect. The default implementation calls
44604460
* {@link #onInitializeAccessibilityEvent(AccessibilityEvent)} first
44614461
* to populate information about the event source (this View), then calls
@@ -4852,7 +4852,7 @@ void onInitializeAccessibilityNodeInfoInternal(AccessibilityNodeInfo info) {
48524852
info.setLongClickable(isLongClickable());
48534853

48544854
// TODO: These make sense only if we are in an AdapterView but all
4855-
// views can be selected. Maybe from accessiiblity perspective
4855+
// views can be selected. Maybe from accessibility perspective
48564856
// we should report as selectable view in an AdapterView.
48574857
info.addAction(AccessibilityNodeInfo.ACTION_SELECT);
48584858
info.addAction(AccessibilityNodeInfo.ACTION_CLEAR_SELECTION);
@@ -4954,7 +4954,7 @@ public AccessibilityDelegate getAccessibilityDelegate() {
49544954
}
49554955

49564956
/**
4957-
* Sets a delegate for implementing accessibility support via compositon as
4957+
* Sets a delegate for implementing accessibility support via composition as
49584958
* opposed to inheritance. The delegate's primary use is for implementing
49594959
* backwards compatible widgets. For more details see {@link AccessibilityDelegate}.
49604960
*
@@ -6607,7 +6607,7 @@ public boolean includeForAccessibility() {
66076607
/**
66086608
* Returns whether the View is considered actionable from
66096609
* accessibility perspective. Such view are important for
6610-
* accessiiblity.
6610+
* accessibility.
66116611
*
66126612
* @return True if the view is actionable for accessibility.
66136613
*
@@ -6619,7 +6619,7 @@ public boolean isActionableForAccessibility() {
66196619

66206620
/**
66216621
* Returns whether the View has registered callbacks wich makes it
6622-
* important for accessiiblity.
6622+
* important for accessibility.
66236623
*
66246624
* @return True if the view is actionable for accessibility.
66256625
*/
@@ -6658,7 +6658,7 @@ public void notifyAccessibilityStateChanged() {
66586658

66596659
/**
66606660
* Reset the state indicating the this view has requested clients
6661-
* interested in its accessiblity state to be notified.
6661+
* interested in its accessibility state to be notified.
66626662
*
66636663
* @hide
66646664
*/

0 commit comments

Comments
 (0)