Lines Matching refs:progress
30 * ProgressSource represents the source of progress changes.
45 private long progress = 0;
56 // progress monitor
60 * Construct progress source object.
67 * Construct progress source object.
73 this.progress = 0;
91 * Close progress source.
98 * Return URL of progress source.
124 * Return current progress.
127 return progress;
131 * Return expected maximum progress; -1 if expected is unknown.
145 * Begin progress tracking.
152 * Finish progress tracking.
159 * Update progress.
162 lastProgress = progress;
163 progress = latestProgress;
171 // The threshold effectively divides the progress into
179 // To determine which range the progress belongs to, it
182 // range number = progress / threshold
185 // progress and the last progress are in different ranges,
189 // only once when the progress reaches each range.
191 if (lastProgress / threshold != progress / threshold) {
197 if (progress >= expected && progress != 0)
208 + ", content-type=" + contentType + ", progress=" + progress + ", expected=" + expected + "]";