Merge "API review feedback for ProgressBar" into nyc-dev am: 5500bb1d6d

am: c1a3af4546

* commit 'c1a3af4546782846ef94e4ffd960133107707a88':
  API review feedback for ProgressBar

Change-Id: I0bdf04c9e8a276479976d8647d208a7d95a4f506
This commit is contained in:
Alan Viverette
2016-04-21 21:29:22 +00:00
committed by android-build-merger

View File

@@ -1397,6 +1397,10 @@ public class ProgressBar extends View {
/**
* Sets the current progress to the specified value. Does not do anything
* 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()}
*
@@ -1412,7 +1416,7 @@ public class ProgressBar extends View {
/**
* 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>
* Animation does not affect the result of {@link #getProgress()}, which
* will return the target value immediately after this method is called.