Home
last modified time | relevance | path

Searched refs:Progress (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/binder/
DSeekBarObserverTest.kt91 val data = SeekBarViewModel.Progress(isEnabled, false, false, false, null, 0, false) in seekBarGone()
104 val data = SeekBarViewModel.Progress(isEnabled, true, false, false, 3000, 12000, true) in seekBarVisible()
114 val data = SeekBarViewModel.Progress(true, true, true, false, 3000, 120000, true) in seekBarProgress()
129 SeekBarViewModel.Progress(true, isSeekAvailable, false, false, 3000, 120000, false) in seekBarDisabledWhenSeekNotAvailable()
140 SeekBarViewModel.Progress(true, isSeekAvailable, false, false, 3000, 120000, false) in seekBarEnabledWhenSeekNotAvailable()
151 val data = SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000, true) in seekBarPlayingNotScrubbing()
162 val data = SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000, true) in seekBarNotPlayingNotScrubbing()
174 SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000, false) in seekbarNotListeningNotScrubbingPlaying()
185 val data = SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000, true) in seekBarPlayingScrubbing()
196 val data = SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000, true) in seekBarNotPlayingScrubbing()
[all …]
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp510 ds.progress_.reset(new Progress()); in SetUp()
542 ds.progress_.reset(new Progress(initial_max, progress, 1.2)); in SetProgress()
1087 Progress GetInstance(int32_t max, double growth_factor, const std::string& path = "") { in GetInstance()
1088 return Progress(max, growth_factor, path); in GetInstance()
1101 Progress progress; in TEST_F()
1103 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F()
1104 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1108 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F()
1109 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1115 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F()
[all …]
/frameworks/base/core/java/android/os/
DAsyncTask.java199 public abstract class AsyncTask<Params, Progress, Result> {
514 protected void onProgressUpdate(Progress... values) { in onProgressUpdate()
670 public final AsyncTask<Params, Progress, Result> execute(Params... params) { in execute()
708 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor()
760 protected final void publishProgress(Progress... values) { in publishProgress()
763 new AsyncTaskResult<Progress>(this, values)).sendToTarget(); in publishProgress()
/frameworks/native/cmds/dumpstate/
Ddumpstate.h101 class Progress {
118 explicit Progress(const std::string& path = "");
139 Progress(int32_t initial_max, float growth_factor,
141 Progress(int32_t initial_max, int32_t progress, float growth_factor); // Used by test cases.
306 void SetProgress(std::unique_ptr<Progress> progress);
481 std::unique_ptr<Progress> progress_;
Ddumpstate.cpp3250 progress_.reset(new Progress(stats_path)); in RunInternal()
3830 const int32_t Progress::kDefaultMax = 5000;
3832 Progress::Progress(const std::string& path) : Progress(Progress::kDefaultMax, 1.1, path) { in Progress() function in Progress
3835 Progress::Progress(int32_t initial_max, int32_t progress, float growth_factor) in Progress() function in Progress
3836 : Progress(initial_max, growth_factor, "") { in Progress()
3840 Progress::Progress(int32_t initial_max, float growth_factor, const std::string& path) in Progress() function in Progress
3853 void Progress::Load() { in Load()
3877 initial_max_ = Progress::kDefaultMax; in Load()
3886 void Progress::Save() { in Save()
3902 int32_t Progress::Get() const { in Get()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DSeekBarViewModel.kt88 Progress(
105 private val _progress = MutableLiveData<Progress>().apply { postValue(_data) } in <lambda>()
106 val progress: LiveData<Progress>
252 _data = Progress(enabled, seekAvailable, playing, scrubbing, position, duration, listening) in updateController()
264 Progress( in updateStaticProgress()
559 data class Progress( dataClass
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java69 private Progress mProgress;
130 … mProgress = new Progress(mOpts.progressBar.getConstantState().newDrawable(mResources), mResources, in onOptsChanged()
534 private static class Progress extends TileDrawable { class in ExtendedBitmapDrawable
538 public Progress(Drawable progress, Resources res, in Progress() method in ExtendedBitmapDrawable.Progress
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DSeekBarObserver.kt40 Observer<SeekBarViewModel.Progress> {
98 override fun onChanged(data: SeekBarViewModel.Progress) { in onChanged()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DInstallationAsyncTask.java129 static class Progress { class in InstallationAsyncTask
137 Progress( in Progress() method in InstallationAsyncTask.Progress
154 void onProgressUpdate(Progress progress); in onProgressUpdate()
359 new Progress( in onProgressUpdate()
DDynamicSystemInstallationService.java168 private InstallationAsyncTask.Progress mInstallTaskProgress;
234 public void onProgressUpdate(InstallationAsyncTask.Progress progress) { in onProgressUpdate()
/frameworks/av/media/module/libmediatranscoding/include/media/
DTranscoderWrapper.h69 Progress, enumerator
/frameworks/av/media/module/libmediatranscoding/
DTranscoderWrapper.cpp115 case Event::Progress: in toString()
130 if (event.type == Event::Error || event.type == Event::Progress) { in toString()
336 Event::Progress, clientId, sessionId, in onProgress()
/frameworks/base/core/proto/android/service/
Dprint.proto390 // Progress of the job
/frameworks/proto_logging/stats/atoms/media/
Dmedia_editing_extension_atoms.proto38 // Progress of the editing operation in percent at the moment that it ended,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaViewControllerTest.kt118 @Mock private lateinit var seekBarData: LiveData<SeekBarViewModel.Progress> in <lambda>()
DMediaControlPanelTest.kt156 @Mock private lateinit var seekBarData: LiveData<SeekBarViewModel.Progress> in <lambda>()
/frameworks/base/core/api/
Dcurrent.txt32495 @Deprecated public abstract class AsyncTask<Params, Progress, Result> {
32499 …method @Deprecated @MainThread public final android.os.AsyncTask<Params,Progress,Result> execute(P…
32501 …method @Deprecated @MainThread public final android.os.AsyncTask<Params,Progress,Result> executeOn…
32510 method @Deprecated @MainThread protected void onProgressUpdate(Progress...);
32511 method @Deprecated @WorkerThread protected final void publishProgress(Progress...);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21286 method public final android.os.AsyncTask<Params, Progress, Result> execute(Params...);
21288 …method public final android.os.AsyncTask<Params, Progress, Result> executeOnExecutor(java.util.con…
21297 method protected void onProgressUpdate(Progress...);
21298 method protected final void publishProgress(Progress...);