Searched refs:Progress (Results 1 - 7 of 7) sorted by relevance

/frameworks/native/cmds/dumpstate/tests/
H A Ddumpstate_test.cpp144 ds.progress_.reset(new Progress());
174 ds.progress_.reset(new Progress(initial_max, progress, 1.2));
647 Progress GetInstance(int32_t max, double growth_factor, const std::string& path = "") {
648 return Progress(max, growth_factor, path);
661 Progress progress;
663 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax());
664 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax());
668 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax());
669 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax());
675 EXPECT_EQ(Progress
[all...]
/frameworks/base/core/java/android/os/
H A DAsyncTask.java51 * types, called <code>Params</code>, <code>Progress</code> and <code>Result</code>,
102 * <li><code>Progress</code>, the type of the progress units published during
180 public abstract class AsyncTask<Params, Progress, Result> {
443 protected void onProgressUpdate(Progress... values) {
594 public final AsyncTask<Params, Progress, Result> execute(Params... params) {
632 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec,
684 protected final void publishProgress(Progress... values) {
687 new AsyncTaskResult<Progress>(this, values)).sendToTarget();
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.h93 class Progress { class
110 Progress(const std::string& path = "");
131 Progress(int32_t initial_max, float growth_factor,
133 Progress(int32_t initial_max, int32_t progress, float growth_factor); // Used by test cases.
269 void SetProgress(std::unique_ptr<Progress> progress);
314 std::unique_ptr<Progress> progress_;
H A Dutils.cpp114 const int32_t Progress::kDefaultMax = 5000;
116 Progress::Progress(const std::string& path) : Progress(Progress::kDefaultMax, 1.1, path) { function in class:Progress
119 Progress::Progress(int32_t initial_max, int32_t progress, float growth_factor) function in class:Progress
120 : Progress(initial_max, growth_factor, "") {
124 Progress::Progress(int32_ function in class:Progress
[all...]
H A Ddumpstate.cpp1970 ds.progress_.reset(new Progress(stats_path));
/frameworks/support/loader/src/main/java/androidx/loader/content/
H A DModernAsyncTask.java53 abstract class ModernAsyncTask<Params, Progress, Result> {
249 protected void onProgressUpdate(Progress... values) {
395 public final ModernAsyncTask<Params, Progress, Result> execute(Params... params) {
429 public final ModernAsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec,
477 protected final void publishProgress(Progress... values) {
480 new AsyncTaskResult<Progress>(this, values)).sendToTarget();
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java69 private Progress mProgress;
127 // Progress bar is optional.
130 mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources,
534 private static class Progress extends TileDrawable { class in class:ExtendedBitmapDrawable
538 public Progress(Drawable progress, Resources res, method in class:ExtendedBitmapDrawable.Progress
665 * Smooth, beautiful transitions avoid perceived jank. Progress indicator informs users that

Completed in 183 milliseconds