From c26b110d959a94b891af61d40630b0ad5c74c2eb Mon Sep 17 00:00:00 2001 From: Qasid Ahmad Sadiq Date: Mon, 18 Mar 2019 13:40:09 -0700 Subject: [PATCH] Add attr documentation for a couple accessibility attributes Test: It builds Change-Id: I885c129513adf6683206b5b0db57884dd392e6b3 Fix: 77865204 --- core/java/android/view/View.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index b857f1ed99969..1b91ce58e8948 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -7955,6 +7955,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * View is not a pane. * * {@see AccessibilityNodeInfo#setPaneTitle(CharSequence)} + * + * @attr ref android.R.styleable#View_accessibilityPaneTitle */ public void setAccessibilityPaneTitle(@Nullable CharSequence accessibilityPaneTitle) { if (!TextUtils.equals(accessibilityPaneTitle, mAccessibilityPaneTitle)) { @@ -7970,6 +7972,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * @return The current pane title. * * {@see #setAccessibilityPaneTitle}. + * + * @attr ref android.R.styleable#View_accessibilityPaneTitle */ @InspectableProperty @Nullable @@ -12101,6 +12105,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * @see #setScreenReaderFocusable(boolean) * * @return Whether the view should be treated as a focusable unit by screen reader. + * + * @attr ref android.R.styleable#View_screenReaderFocusable */ @InspectableProperty public boolean isScreenReaderFocusable() { @@ -12119,6 +12125,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * * @param screenReaderFocusable Whether the view should be treated as a unit by screen reader * accessibility tools. + * + * @attr ref android.R.styleable#View_screenReaderFocusable */ public void setScreenReaderFocusable(boolean screenReaderFocusable) { updatePflags3AndNotifyA11yIfChanged(PFLAG3_SCREEN_READER_FOCUSABLE, screenReaderFocusable);