Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c26b110d authored by Qasid Ahmad Sadiq's avatar Qasid Ahmad Sadiq
Browse files

Add attr documentation for a couple accessibility attributes

Test: It builds
Change-Id: I885c129513adf6683206b5b0db57884dd392e6b3
Fix: 77865204
parent b4264999
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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);