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

Commit c27d18d6 authored by Alan Viverette's avatar Alan Viverette Committed by android-build-merger
Browse files

Merge "API review feedback for ProgressBar" into nyc-dev

am: 5500bb1d

* commit '5500bb1d':
  API review feedback for ProgressBar

Change-Id: If6e1d8d9211b86030d8a678b6030df4cc50c9e77
parents 37ab66ab 5500bb1d
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -1397,6 +1397,10 @@ public class ProgressBar extends View {
    /**
    /**
     * Sets the current progress to the specified value. Does not do anything
     * Sets the current progress to the specified value. Does not do anything
     * if the progress bar is in indeterminate mode.
     * if the progress bar is in indeterminate mode.
     * <p>
     * This method will immediately update the visual position of the progress
     * indicator. To animate the visual position to the target value, use
     * {@link #setProgress(int, boolean)}}.
     *
     *
     * @param progress the new progress, between 0 and {@link #getMax()}
     * @param progress the new progress, between 0 and {@link #getMax()}
     *
     *
@@ -1412,7 +1416,7 @@ public class ProgressBar extends View {


    /**
    /**
     * Sets the current progress to the specified value, optionally animating
     * Sets the current progress to the specified value, optionally animating
     * between the current and target values.
     * the visual position between the current and target values.
     * <p>
     * <p>
     * Animation does not affect the result of {@link #getProgress()}, which
     * Animation does not affect the result of {@link #getProgress()}, which
     * will return the target value immediately after this method is called.
     * will return the target value immediately after this method is called.