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

Commit 9c7ce347 authored by Sally Yuen's avatar Sally Yuen Committed by Android (Google) Code Review
Browse files

Merge "Add docs in ProgressBar to suggest a11y min durations" into main

parents 22503b19 5e11e020
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -69,6 +69,7 @@ import android.widget.RemoteViews.RemoteView;
import com.android.internal.R;

import java.text.NumberFormat;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Locale;

@@ -139,6 +140,14 @@ import java.util.Locale;
 * <p>The "inverse" styles provide an inverse color scheme for the spinner, which may be necessary
 * if your application uses a light colored theme (a white background).</p>
 *
 * <h4>Accessibility</h4>
 * <p>
 * Consider using
 * {@link AccessibilityNodeInfo#setMinDurationBetweenContentChanges(Duration)} to
 * convey to accessibility services that changes can be throttled. This may reduce the
 * frequency of potentially disruptive notifications.
 * </p>
 *
 * <p><strong>XML attributes</b></strong>
 * <p>
 * See {@link android.R.styleable#ProgressBar ProgressBar Attributes},