/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 5993 * Sets the visibility of the progress bar in the title. 5995 * In order for the progress bar to be shown, the feature must be requested 5998 * @param visible Whether to show the progress bars in the title. 6008 * Sets the visibility of the indeterminate progress bar in the title. 6010 * In order for the progress bar to be shown, the feature must be requested 6013 * @param visible Whether to show the progress bars in the title. 6023 * Sets whether the horizontal progress bar in the title should be indeterminate (the circular 6026 * In order for the progress bar to be shown, the feature must be requested 6029 * @param indeterminate Whether the horizontal progress bar should be indeterminate. 6040 * Sets the progress fo 6051 setProgress(int progress) argument [all...] |
H A D | Notification.java | 207 * <li>Notification of an ongoing file download (with a progress bar, for example) should be stamped when the download started.</li> 743 * Notification category: progress of a long-running background operation. 745 public static final String CATEGORY_PROGRESS = "progress"; 946 * {@link #extras} key: this is the progress value supplied to 949 public static final String EXTRA_PROGRESS = "android.progress"; 958 * {@link #extras} key: whether the progress bar is indeterminate, supplied to 3134 * Set the progress this notification represents. 3138 public Builder setProgress(int max, int progress, boolean indeterminate) { argument 3139 mN.extras.putInt(EXTRA_PROGRESS, progress); 3834 * @param hasProgress whether the progress ba [all...] |
H A D | ProgressDialog.java | 38 * A dialog showing a progress indicator and an optional text message or view. 43 * <p>The progress range is 0 to {@link #getMax() max}.</p> 45 * @deprecated Use a progress indicator such as ProgressBar inline inside of 52 * Creates a ProgressDialog with a circular, spinning progress 58 * Creates a ProgressDialog with a horizontal progress bar. 202 int progress = mProgress.getProgress(); 206 mProgressNumber.setText(String.format(format, progress, max)); 211 double percent = (double) progress / (double) max; 224 mProgress = (ProgressBar) view.findViewById(R.id.progress); 232 mProgress = (ProgressBar) view.findViewById(R.id.progress); [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | IPackageInstallerCallback.aidl | 24 void onSessionProgressChanged(int sessionId, float progress);
|
H A D | IPackageInstallerSession.aidl | 25 void setClientProgress(float progress); 26 void addClientProgress(float progress);
|
H A D | PackageInstaller.java | 494 * 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/os/ |
H A D | IProgressListener.aidl | 24 void onProgress(int id, int progress, in Bundle extras);
|
H A D | IRecoverySystemProgressListener.aidl | 23 void onProgress(int progress);
|
H A D | RecoverySystem.java | 84 /** Send progress to listeners no more often than this (in ms). */ 134 * @param progress the approximate percentage of the 138 public void onProgress(int progress); argument 177 * the thread while this function is in progress will result in a 182 * @param listener an object to receive periodic progress 407 * @param listener an object to receive periodic progress updates as 442 public void onProgress(final int progress) { 447 if (progress > lastProgress && 449 lastProgress = progress; 451 listener.onProgress(progress); [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | SeekBarPreference.java | 112 public void setProgress(int progress) { argument 113 setProgress(progress, true); 116 private void setProgress(int progress, boolean notifyChanged) { argument 117 if (progress > mMax) { 118 progress = mMax; 120 if (progress < 0) { 121 progress = 0; 123 if (progress != mProgress) { 124 mProgress = progress; 125 persistInt(progress); 152 onProgressChanged( SeekBar seekBar, int progress, boolean fromUser) argument 216 int progress; field in class:SeekBarPreference.SavedState [all...] |
H A D | SeekBarVolumizer.java | 52 void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch); argument 265 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { argument 267 postSetVolume(progress); 270 mCallback.onProgressChanged(seekBar, progress, fromTouch); 274 private void postSetVolume(int progress) { argument 277 mLastProgress = progress;
|
H A D | VolumePreference.java | 159 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { argument
|
/frameworks/base/core/java/android/print/ |
H A D | IPrintSpooler.aidl | 48 * Set the progress of this print job 51 * @param progress The new progress 53 void setProgress(in PrintJobId printJobId, in float progress);
|
H A D | PrintJobInfo.java | 183 /** The progress made on printing this job or -1 if not set. */ 368 * Sets the progress of the print job. 370 * @param progress the progress of the job 374 public void setProgress(@FloatRange(from=0.0, to=1.0) float progress) { argument 375 Preconditions.checkArgumentInRange(progress, 0, 1, "progress"); 377 mProgress = progress; 688 builder.append(", progress: " + mProgress); 729 * Get the progress tha 812 setProgress(@loatRangefrom=0.0, to=1.0) float progress) argument [all...] |
/frameworks/base/core/java/android/printservice/ |
H A D | IPrintServiceClient.aidl | 40 * Set the progress of this print job 43 * @param progress The new progress 45 void setProgress(in PrintJobId printJobId, in float progress);
|
H A D | PrintJob.java | 310 * Sets the progress of this print job as a fraction of 1. 312 * @param progress The new progress 315 public void setProgress(@FloatRange(from=0.0, to=1.0) float progress) { argument 319 mPrintServiceClient.setProgress(mCachedInfo.getId(), progress); 321 Log.e(LOG_TAG, "Error setting progress for job: " + mCachedInfo.getId(), re);
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 63 * touch will form the progress value. Usually 0. 74 * progress. 156 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar. 183 // progress bar. 343 * Sets the drawable displayed at each progress position, e.g. at each 346 * @param tickMark the drawable to display at each progress position 368 * @return the drawable displayed at each progress position 460 * Sets the amount of progress changed via the arrow keys. 470 * Returns the amount of progress changed via the arrow keys. 472 * By default, this will be a value that is derived from the progress rang [all...] |
H A D | MediaController.java | 43 * buttons like "Play/Pause", "Rewind", "Fast Forward" and a progress 334 // progress bar but disable forward/backward buttons. 369 // cause the progress bar to be updated even if mShowing 371 // paused with the progress bar showing the user hits play. 578 // By removing these pending progress messages we make sure 579 // that a) we won't update the progress while the user adjusts 587 public void onProgressChanged(SeekBar bar, int progress, boolean fromuser) { 590 // the progress bar's position. 595 long newposition = (duration * progress) / 1000L; 608 // Ensure that progress i [all...] |
H A D | ProgressBar.java | 68 * 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...] |
H A D | RatingBar.java | 43 * 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 D | RemoteViews.java | 2721 * If indeterminate is true, then the values for max and progress are ignored. 2724 * @param max The 100% value for the progress bar 2725 * @param progress The current value of the progress bar. 2726 * @param indeterminate True if the progress bar is indeterminate, 2729 public void setProgressBar(int viewId, int max, int progress, argument 2734 setInt(viewId, "setProgress", progress);
|
H A D | SeekBar.java | 26 * the thumb and drag left or right to set the current progress level or use the arrow keys. 37 * A callback that notifies clients when the progress level has been 45 * Notification that the progress level has changed. Clients can use the fromUser parameter 48 * @param seekBar The SeekBar whose progress has changed 49 * @param progress The current progress level. This will be in the range min..max where min 53 * @param fromUser True if the progress change was initiated by the user. 55 void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser); argument 91 void onProgressRefresh(float scale, boolean fromUser, int progress) { argument 92 super.onProgressRefresh(scale, fromUser, progress); [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | MediaRouteControllerDialog.java | 189 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { 191 mRoute.requestSetVolume(progress);
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 372 throw new AndroidRuntimeException("You cannot use indeterminate progress on a watch."); 1611 * Updates the progress bars that are shown in the title bar. 1619 * progress (if {@link Window#PROGRESS_END} is given, 1620 * the progress bar widgets in the title will be hidden after an 1624 * secondary progress (if 1626 * progress bar widgets will still be shown with the secondary 1627 * progress bar will be completely filled in.) 1642 Log.e(TAG, "Horizontal progress bar not located in current window decor"); 1649 Log.e(TAG, "Circular progress bar not located in current window decor"); 1657 Log.e(TAG, "Horizontal progress ba [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ProgressReporter.java | 30 * 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...] |