Lines Matching full:operation
46 of an ongoing operation. If you can estimate how long the operation takes and how much of it
48 (a progress bar). If you can't estimate the length of the operation, use the
68 As your operation proceeds,
69 increment <code>progress</code>, and update the notification. At the end of the operation,
73 "percent complete" value for the operation.
76 You can either leave the progress bar showing when the operation is done, or remove it. In
77 either case, remember to update the notification text to show that the operation is complete.
90 // Start a lengthy operation in a background thread
96 // Do the "lengthy" operation 20 times
104 // Sleeps the thread, simulating an operation
125 notification during the operation; on the right side is a snapshot of it after the operation
134 <strong>Figure 1.</strong> The progress bar during and after the operation.</p>
145 Issue the notification at the beginning of the operation. The animation will run until you
146 modify your notification. When the operation is done, call
149 Always do this; otherwise, the animation will run even when the operation is complete. Also
150 remember to change the notification text to indicate that the operation is complete.
169 // Sets an activity indicator for an operation of indeterminate length