Lines Matching full:progress
1 page.title=Displaying Progress in a Notification
17 <li><a href="#FixedProgress">Display a Fixed-duration progress Indicator</a></li>
45 Notifications can include an animated progress indicator that shows users the status
48 (a progress bar). If you can't estimate the length of the operation, use the
52 Progress indicators are displayed with the platform's implementation of the
56 To use a progress indicator, call
61 <h2 id="FixedProgress">Display a Fixed-duration Progress Indicator</h2>
63 To display a determinate progress bar, add the bar to your notification by calling
65 setProgress(max, progress, false)} and then issue the notification.
67 progress bar is indeterminate (<strong>true</strong>) or determinate (<strong>false</strong>).
69 increment <code>progress</code>, and update the notification. At the end of the operation,
70 <code>progress</code> should equal <code>max</code>. A common way to call
72 is to set <code>max</code> to 100 and then increment <code>progress</code> as a
76 You can either leave the progress bar showing when the operation is done, or remove it. In
78 To remove the progress bar, call
88 .setContentText("Download in progress")
98 // Sets the progress indicator to a max value, the
102 // Displays the progress bar for the first time.
115 // Removes the progress bar
134 <strong>Figure 1.</strong> The progress bar during and after the operation.</p>
142 that has the same style as a progress bar, except that its animation is ongoing.
156 // Sets the progress indicator to a max value, the current completion
165 call is set to {@code true} to indicate that the progress bar is