Lines Matching refs:progress
30 * Tracks and reports progress of a single task to a {@link IProgressListener}.
31 * The reported progress of a task ranges from 0-100, but the task can be
35 * Here's an example in action; when finished the overall task progress will be
70 * Current segment range: first element is starting progress of this
77 * Create a new task with the given identifier whose progress will be
85 * Add given listener to watch for progress events. The current state will
114 * Set the progress of the currently active segment.
116 * @param progress Segment progress between 0-100.
118 public void setProgress(int progress) {
119 setProgress(progress, 100, null);
123 * Set the progress of the currently active segment.
125 * @param progress Segment progress between 0-100.
127 public void setProgress(int progress, @Nullable CharSequence title) {
128 setProgress(progress, 100, title);
132 * Set the fractional progress of the currently active segment.
139 * Set the fractional progress of the currently active segment.
144 throw new IllegalStateException("Must be started to change progress");
218 private void notifyProgress(int id, int progress, Bundle extras) {
221 mListeners.getBroadcastItem(i).onProgress(id, progress, extras);