Searched refs:progress (Results 26 - 50 of 140) sorted by relevance

123456

/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DTestBase.java39 public void onBar1Changed(int progress) { argument
41 public void onBar2Changed(int progress) { argument
43 public void onBar3Changed(int progress) { argument
45 public void onBar4Changed(int progress) { argument
47 public void onBar5Changed(int progress) { argument
H A DBlend.java97 public void onBar1Changed(int progress) { argument
98 image1Alpha = (short)progress;
108 public void onBar2Changed(int progress) { argument
109 image2Alpha = (short)progress;
H A DBlur25.java49 public void onBar1Changed(int progress) { argument
50 mRadius = ((float)progress) / 100.0f * MAX_RADIUS;
H A DBlur25G.java48 public void onBar1Changed(int progress) { argument
49 mRadius = ((float)progress) / 100.0f * MAX_RADIUS;
H A DGrain.java38 public void onBar1Changed(int progress) { argument
39 float s = progress / 100.0f;
/frameworks/native/cmds/dumpstate/tests/
H A Ddumpstate_test.cpp59 MOCK_METHOD1(onProgressUpdated, binder::Status(int32_t progress));
168 void SetProgress(long progress, long initial_max, long threshold = 0) { argument
172 ds.progress_.reset(new Progress(initial_max, progress, 1.2));
175 std::string GetProgressMessage(const std::string& listener_name, int progress, int max, argument
177 EXPECT_EQ(progress, ds.progress_->Get()) << "invalid progress";
185 android::base::StringPrintf("Adjusting max progress from %d to %d\n", old_max, max);
189 message += android::base::StringPrintf("Setting progress (%s): %d/%d\n",
190 listener_name.c_str(), progress, max);
601 Progress progress; local
621 Progress progress = GetInstance(10, 1.2); // 20% growth factor local
640 Progress progress = GetInstance(10, 1.2); // 20% growth factor local
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DProgressReporter.java30 * Tracks and reports progress of a single task to a {@link IProgressListener}.
31 * The reported progress of a task ranges from 0-100, but the task can be
35 * Here's an example in action; when finished the overall task progress will be
70 * Current segment range: first element is starting progress of this
77 * Create a new task with the given identifier whose progress will be
85 * Add given listener to watch for progress events. The current state will
114 * Set the progress of the currently active segment.
116 * @param progress Segment progress between 0-100.
118 public void setProgress(int progress) { argument
127 setProgress(int progress, @Nullable CharSequence title) argument
218 notifyProgress(int id, int progress, Bundle extras) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackTransportRowView.java82 View progress = findViewById(R.id.playback_progress);
83 if (progress != null && progress.isFocusable()) {
84 if (progress.requestFocus(direction, previouslyFocusedRect)) {
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEffectParameter.java65 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { argument
72 int value = progress + mMin;
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
H A DVrActivity.java87 public void progress(int n, int total) {
104 protected void onProgressUpdate(Integer... progress) { argument
105 progressDialog.setMessage(message+progress[0]+"/"+progress[1]);
106 progressDialog.setMax(progress[1]);
107 progressDialog.setProgress(progress[0]);
108 Log.v(LOGTAG,"Loading "+ progress[0]+"/"+progress[1]);
/frameworks/base/core/java/android/widget/
H A DRatingBar.java43 * The secondary progress should not be modified by the client as it is used
240 * @return The amount of progress that fits into a star
257 void onProgressRefresh(float scale, boolean fromUser, int progress) { argument
258 super.onProgressRefresh(scale, fromUser, progress);
260 // Keep secondary progress in sync with primary
261 updateSecondaryProgress(progress);
270 * The secondary progress is used to differentiate the background of a
271 * partially filled star. This method keeps the secondary progress in sync
272 * with the progress.
274 * @param progress Th
276 updateSecondaryProgress(int progress) argument
[all...]
H A DProgressBar.java68 * A user interface element that indicates the progress of an operation.
69 * Progress bar supports two modes to represent progress: determinate, and indeterminate. For
70 * a visual overview of the difference between determinate and indeterminate progress modes, see
71 * <a href="https://material.io/guidelines/components/progress-activity.html#progress-activity-types-of-indicators">
73 * Display progress bars to a user in a non-interruptive way.
74 * Show the progress bar in your app's user interface or in a notification
79 * Use indeterminate mode for the progress bar when you do not know how long an
81 * Indeterminate mode is the default for progress bar and shows a cyclic animation without a
82 * specific amount of progress indicate
1260 public int progress; field in class:ProgressBar.RefreshData
1264 obtain(int id, int progress, boolean fromUser, boolean animate) argument
1281 doRefreshProgress(int id, int progress, boolean fromUser, boolean callBackToApp, boolean animate) argument
1302 onProgressRefresh(float scale, boolean fromUser, int progress) argument
1314 setVisualProgress(int id, float progress) argument
1346 onVisualProgressChanged(int id, float progress) argument
1350 refreshProgress(int id, int progress, boolean fromUser, boolean animate) argument
1384 setProgress(int progress) argument
1399 setProgress(int progress, boolean animate) argument
1404 setProgressInternal(int progress, boolean fromUser, boolean animate) argument
1876 int progress; field in class:ProgressBar.SavedState
[all...]
/frameworks/support/wear/src/android/support/wear/widget/
H A DProgressDrawable.java36 * Drawable for showing an indeterminate progress indicator.
135 float progress = (level - offset) / (float) LEVELS_PER_SEGMENT;
137 boolean growing = progress < GROW_SHRINK_RATIO;
138 float correctionAngle = CORRECTION_ANGLE * progress;
144 * sInterpolator.getInterpolation(lerpInv(0f, GROW_SHRINK_RATIO, progress));
149 lerpInv(GROW_SHRINK_RATIO, 1.0f, progress)));
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java33 * arbitrary content such as preview, error message, progress indicator,
175 } // else in open/close progress do nothing.
311 private void onDragProgress(float progress) { argument
312 if (Float.compare(mDragProgress, progress) == 0) {
316 if ((mDragProgress == 0 && progress > 0)
317 || (mDragProgress == 1.0f && progress < 1.0f)) {
323 if ((mDragProgress > 0 && progress == 0)
324 || (mDragProgress < 1.0f && progress == 1.0f)) {
331 mDragProgress = progress;
333 mSummaryContent.setAlpha(progress);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardClockPositionAlgorithm.java135 float progress = distanceToScaleEnd / (startPadding - scaleEnd);
136 progress = Math.max(0.0f, Math.min(progress, 1.0f));
137 progress = mAccelerateInterpolator.getInterpolation(progress);
138 progress *= Math.pow(1 + mEmptyDragAmount / mDensity / 300, 0.3f);
139 return progress;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DBlend.java105 public void onBar1Changed(int progress) { argument
106 image1Alpha = (short)progress;
116 public void onBar2Changed(int progress) { argument
117 image2Alpha = (short)progress;
H A DGrain.java43 public void onBar1Changed(int progress) { argument
44 float s = progress / 100.0f;
H A DBlur25.java53 public void onBar1Changed(int progress) { argument
54 mRadius = ((float)progress) / 100.0f * MAX_RADIUS;
H A DBlur25G.java54 public void onBar1Changed(int progress) { argument
55 mRadius = ((float)progress) / 100.0f * MAX_RADIUS;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DBlend.java104 public void onBar1Changed(int progress) { argument
105 image1Alpha = (short)progress;
115 public void onBar2Changed(int progress) { argument
116 image2Alpha = (short)progress;
H A DBlur25G.java54 public void onBar1Changed(int progress) { argument
55 mRadius = ((float)progress) / 100.0f * MAX_RADIUS;
H A DGrain.java43 public void onBar1Changed(int progress) { argument
44 float s = progress / 100.0f;
/frameworks/base/services/core/java/com/android/server/pm/
H A DOtaDexoptShellCommand.java52 case "progress":
95 final float progress = mInterface.getProgress();
100 pw.format(Locale.ROOT, "%.2f", progress);
/frameworks/base/core/java/android/content/pm/
H A DPackageInstaller.java494 * changes. The installer may deliver periodic progress updates.
516 * progress being made, such as the installer holding an open
530 * Note that this progress may not directly correspond to the value
533 * system may carve out a portion of the overall progress to represent
536 public abstract void onProgressChanged(int sessionId, float progress); argument
602 public void onSessionProgressChanged(int sessionId, float progress) { argument
603 mHandler.obtainMessage(MSG_SESSION_PROGRESS_CHANGED, sessionId, 0, progress)
701 public void setProgress(float progress) { argument
702 setStagingProgress(progress);
706 * Set current progress o
714 setStagingProgress(float progress) argument
723 addProgress(float progress) argument
1236 public float progress; field in class:PackageInstaller.SessionInfo
[all...]
/frameworks/base/core/java/android/printservice/
H A DIPrintServiceClient.aidl40 * Set the progress of this print job
43 * @param progress The new progress
45 void setProgress(in PrintJobId printJobId, in float progress);

Completed in 792 milliseconds

123456