Searched refs:progress (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DProgressBar.java57 * Visual indicator of progress in some operation. Displays a bar to the user
59 * change the amount of progress (modifying the length of the bar) as it moves
60 * forward. There is also a secondary progress displayable on a progress bar
61 * which is useful for displaying intermediate progress, such as the buffer
62 * level during a streaming playback progress bar.
66 * A progress bar can also be made indeterminate. In indeterminate mode, the
67 * progress bar shows a cyclic animation. This mode is used by applications
71 * <p>The following code example shows how a progress bar can be used from
72 * a worker thread to update the user interface to notify the user of progress
470 RefreshProgressRunnable(int id, int progress, boolean fromUser) argument
482 setup(int id, int progress, boolean fromUser) argument
490 doRefreshProgress(int id, int progress, boolean fromUser) argument
514 refreshProgress(int id, int progress, boolean fromUser) argument
545 setProgress(int progress) argument
550 setProgress(int progress, boolean fromUser) argument
894 int progress; field in class:ProgressBar.SavedState
[all...]
H A DAbsSeekBar.java34 * touch will form the progress value. Usually 0.
45 * progress.
80 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar.
93 // progress bar.
119 * Sets the amount of progress changed via the arrow keys.
129 * Returns the amount of progress changed via the arrow keys.
131 * By default, this will be a value that is derived from the max progress.
324 float progress = 0;
331 progress = mTouchProgressOffset;
335 progress
[all...]
H A DSeekBar.java26 * 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 0..max where max
51 * @param fromUser True if the progress change was initiated by the user.
53 void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser); argument
94 * Sets a listener to receive notifications of changes to the SeekBar's progress level. Also
H A DRatingBar.java42 * The secondary progress should not be modified by the client as it is used
230 * @return The amount of progress that fits into a star
250 // Keep secondary progress in sync with primary
260 * The secondary progress is used to differentiate the background of a
261 * partially filled star. This method keeps the secondary progress in sync
262 * with the progress.
264 * @param progress The primary progress level.
266 private void updateSecondaryProgress(int progress) { argument
269 final float progressInStars = progress / rati
[all...]
H A DMediaController.java43 * buttons like "Play/Pause", "Rewind", "Fast Forward" and a progress
309 // cause the progress bar to be updated even if mShowing
311 // paused with the progress bar showing the user hits play.
490 // By removing these pending progress messages we make sure
491 // that a) we won't update the progress while the user adjusts
498 public void onProgressChanged(SeekBar bar, int progress, boolean fromuser) {
501 // the progress bar's position.
506 long newposition = (duration * progress) / 1000L;
518 // Ensure that progress is properly updated in the future,
H A DRemoteViews.java699 * If indeterminate is true, then the values for max and progress are ignored.
702 * @param max The 100% value for the progress bar
703 * @param progress The current value of the progress bar.
704 * @param indeterminate True if the progress bar is indeterminate,
707 public void setProgressBar(int viewId, int max, int progress, argument
712 setInt(viewId, "setProgress", progress);
/frameworks/base/core/java/android/app/
H A DProgressDialog.java37 * <p>A dialog showing a progress indicator and an optional text message or view.
40 * <p>The progress range is 0..10000.</p>
44 /** Creates a ProgressDialog with a ciruclar, spinning progress
49 /** Creates a ProgressDialog with a horizontal progress bar.
125 int progress = mProgress.getProgress();
127 double percent = (double) progress / (double) max;
129 mProgressNumber.setText(String.format(format, progress, max));
137 mProgress = (ProgressBar) view.findViewById(R.id.progress);
146 mProgress = (ProgressBar) view.findViewById(R.id.progress);
H A DActivity.java3603 * Sets the visibility of the progress bar in the title.
3605 * In order for the progress bar to be shown, the feature must be requested
3608 * @param visible Whether to show the progress bars in the title.
3616 * Sets the visibility of the indeterminate progress bar in the title.
3618 * In order for the progress bar to be shown, the feature must be requested
3621 * @param visible Whether to show the progress bars in the title.
3629 * Sets whether the horizontal progress bar in the title should be indeterminate (the circular
3632 * In order for the progress bar to be shown, the feature must be requested
3635 * @param indeterminate Whether the horizontal progress bar should be indeterminate.
3643 * Sets the progress fo
3652 setProgress(int progress) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DVolumePreference.java289 public void onProgressChanged(SeekBar seekBar, int progress, argument
295 postSetVolume(progress);
298 void postSetVolume(int progress) { argument
300 mLastProgress = progress;
/frameworks/base/libs/rs/java/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingActivity.java132 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
134 mParams.threshold = progress / 100.0f;
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerTestActivity.java157 int progress = webView.getProgress();
159 Log.v(LOGTAG, "Page timeout triggered, progress = " + progress);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DReliabilityTestActivity.java161 int progress = webView.getProgress();
163 Log.v(LOGTAG, "Page timeout triggered, progress = " + progress);
/frameworks/base/core/java/com/android/internal/widget/
H A DTextProgressBar.java38 * {@link android.R.id.progress} and {@link android.R.id.text1}.
52 static final int PROGRESSBAR_ID = android.R.id.progress;
113 "'android.R.id.progress' and Chronometer id 'android.R.id.text1'");
131 "Expecting child ProgressBar with id 'android.R.id.progress'");
/frameworks/base/core/java/android/os/
H A DRecoverySystem.java66 /** Send progress to listeners no more often than this (in ms). */
86 * @param progress the approximate percentage of the
90 public void onProgress(int progress); argument
124 * the thread while this function is in progress will result in a
129 * @param listener an object to receive periodic progress
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbStorageActivity.java137 mProgressBar = (ProgressBar) findViewById(com.android.internal.R.id.progress);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java1016 * Updates the progress bars that are shown in the title bar.
1024 * progress (if {@link Window#PROGRESS_END} is given,
1025 * the progress bar widgets in the title will be hidden after an
1029 * secondary progress (if
1031 * progress bar widgets will still be shown with the secondary
1032 * progress bar will be completely filled in.)
1061 // We want to set the progress value before testing for visibility
1062 // so that when the progress bar becomes visible again, it has the
1085 // Only show the progress bars if the primary progress i
[all...]

Completed in 360 milliseconds