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

12

/frameworks/base/media/java/android/media/videoeditor/
H A DExtractAudioWaveformProgressListener.java29 * This method notifies the listener of the progress status of
33 * @param progress The progress in %. At the beginning of the operation,
36 public void onProgress(int progress); argument
H A DMediaArtistNativeHelper.java134 * @param progress progress of the task [0..100].
137 public void OnProgressUpdate(int taskId, int progress); argument
1767 private void onProgressUpdate(int taskId, int progress) { argument
1770 if (mProgressToApp < progress) {
1771 mExportProgressListener.onProgress(mVideoEditor, mOutputFilename, progress);
1772 /* record previous progress */
1773 mProgressToApp = progress;
1778 // Adapt progress depending on current state
1790 actualProgress = progress;
1847 onPreviewProgressUpdate(int progress, boolean isFinished, boolean updateOverlay, String filename, int renderingMode, int error) argument
1892 onAudioGraphExtractProgressUpdate(int progress, boolean isVideo) argument
[all...]
H A DVideoEditor.java77 * progress notifications. This callback should be invoked after the number
131 * This method notifies the listener of the progress status of a export
137 * @param progress The progress in %. At the beginning of the export,
141 int progress);
152 * This method notifies the listener of the progress status of
159 * @param progress The progress in %. At the beginning of the operation,
162 public void onProgress(Object item, int action, int progress); argument
351 * blocking. The application will receive progress notification
140 onProgress(VideoEditor videoEditor, String filename, int progress) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DSeekBarPreference.java107 public void setProgress(int progress) { argument
108 setProgress(progress, true);
111 private void setProgress(int progress, boolean notifyChanged) { argument
112 if (progress > mMax) {
113 progress = mMax;
115 if (progress < 0) {
116 progress = 0;
118 if (progress != mProgress) {
119 mProgress = progress;
120 persistInt(progress);
147 onProgressChanged( SeekBar seekBar, int progress, boolean fromUser) argument
211 int progress; field in class:SeekBarPreference.SavedState
[all...]
H A DVolumePreference.java300 public void onProgressChanged(SeekBar seekBar, int progress, argument
306 postSetVolume(progress);
309 void postSetVolume(int progress) { argument
311 mLastProgress = progress;
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestCanvas.java56 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
57 testView.setCurrentTextSize(FONT_MIN_SIZE + progress);
/frameworks/base/core/java/android/widget/
H A DProgressBar.java59 * Visual indicator of progress in some operation. Displays a bar to the user
61 * change the amount of progress (modifying the length of the bar) as it moves
62 * forward. There is also a secondary progress displayable on a progress bar
63 * which is useful for displaying intermediate progress, such as the buffer
64 * level during a streaming playback progress bar.
68 * A progress bar can also be made indeterminate. In indeterminate mode, the
69 * progress bar shows a cyclic animation without an indication of progress. This mode is used by
70 * applications when the length of the task is unknown. The indeterminate progress ba
571 RefreshProgressRunnable(int id, int progress, boolean fromUser) argument
583 setup(int id, int progress, boolean fromUser) argument
591 doRefreshProgress(int id, int progress, boolean fromUser, boolean callBackToApp) argument
619 refreshProgress(int id, int progress, boolean fromUser) argument
650 setProgress(int progress) argument
655 setProgress(int progress, boolean fromUser) argument
1041 int progress; field in class:ProgressBar.SavedState
[all...]
H A DAbsSeekBar.java35 * touch will form the progress value. Usually 0.
46 * progress.
87 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar.
110 // progress bar.
152 * Sets the amount of progress changed via the arrow keys.
162 * Returns the amount of progress changed via the arrow keys.
164 * By default, this will be a value that is derived from the max progress.
398 float progress = 0;
405 progress = mTouchProgressOffset;
409 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...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
H A DVideoEditorExportTest.java145 public void onProgress(Object item, int action, int progress) {
155 int progress) {
156 progressUpdate[i++] = progress;
271 public void onProgress(Object item, int action, int progress) {
281 int progress) {
282 progressUpdate[i++] = progress;
335 public void onProgress(Object item, int action, int progress) {
345 int progress) {
346 progressUpdate[i++] = progress;
394 public void onProgress(Object item, int action, int progress) {
[all...]
H A DVideoEditorPreviewTest.java158 public void onProgress(Object item, int action, int progress) {
159 progressUpdate[i++] = progress;
462 public void onProgress(Object item, int action, int progress) {
464 progressValues[i] = progress;
469 progressValues[i] = progress;
474 progressValues[i] = progress;
704 public void onProgress(Object item, int action, int progress) {
720 String outFileName,int progress) {
855 public void onProgress(Object item, int action, int progress) {
1016 public void onProgress(Object item, int action, int progress) {
[all...]
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingActivity.java111 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { argument
115 float fRadius = progress / 100.0f;
121 mInBlack = (float)progress;
124 mOutBlack = (float)progress;
127 mInWhite = (float)progress + 127.0f;
130 mOutWhite = (float)progress + 127.0f;
133 mGamma = (float)progress/100.0f;
138 mSaturation = (float)progress / 50.0f;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNotificationRowLayout.java349 float progress = 1.0f;
351 progress = 1.0f - mDisappearingViews.get(child).getAnimatedFraction();
353 progress = 1.0f - mAppearingViews.get(child).getAnimatedFraction();
355 if (progress > 1.0f) {
357 Slog.w(TAG, "progress=" + progress + " > 1!!! " + child);
359 progress = 1f;
361 final int thisRowHeight = (int)(progress * mRowHeight);
H A DToggleSlider.java101 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { argument
103 mListener.onChanged(this, mTracking, mToggle.isChecked(), progress);
/frameworks/base/core/java/android/app/
H A DProgressDialog.java38 * <p>A dialog showing a progress indicator and an optional text message or view.
41 * <p>The progress range is 0..10000.</p>
45 /** Creates a ProgressDialog with a circular, spinning progress
50 /** Creates a ProgressDialog with a horizontal progress bar.
137 int progress = mProgress.getProgress();
141 mProgressNumber.setText(String.format(format, progress, max));
146 double percent = (double) progress / (double) max;
159 mProgress = (ProgressBar) view.findViewById(R.id.progress);
167 mProgress = (ProgressBar) view.findViewById(R.id.progress);
329 * of progress
[all...]
H A DNotification.java746 * Set the progress this notification represents, which may be
749 public Builder setProgress(int max, int progress, boolean indeterminate) { argument
751 mProgress = progress;
973 R.id.progress, mProgressMax, mProgress, mProgressIndeterminate);
974 contentView.setViewVisibility(R.id.progress, View.VISIBLE);
976 contentView.setViewVisibility(R.id.progress, View.GONE);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGradientsActivity.java60 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
61 gradientView.setRotationY((float) progress);
62 radialGradientView.setRotationX((float) progress);
63 sweepGradientView.setRotationY((float) progress);
64 bitmapView.setRotationX((float) progress);
H A DPointsActivity.java60 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
61 mSeekValue = (float)progress / 100.0f;
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DPlaybackActivity.java80 public void onProgressChanged(SeekBar seekBar, int progress, argument
82 setFrame(seekBar, progress);
/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/support/v4/java/android/support/v4/app/
H A DListFragment.java86 * way to have the built-in indeterminant progress state be shown.
103 ProgressBar progress = new ProgressBar(context, null,
105 pframe.addView(progress, new FrameLayout.LayoutParams(
246 * this time an indeterminant progress indicator will be shown instead.
254 * @param shown If true, the list view is shown; if false, the progress
272 * this time an indeterminant progress indicator will be shown instead.
274 * @param shown If true, the list view is shown; if false, the progress
368 // have our data right away and start with the progress indicator.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DVideoEditorPerformance.java522 String outFileName, int progress) {
721 public void onProgress(Object item, int action, int progress) {
775 public void onProgress(Object item, int action, int progress) {
842 public void onProgress(Object item, int action, int progress) {
914 public void onProgress(Object item, int action, int progress) {
1025 public void onProgress(Object item, int action, int progress) {
1038 public void onProgress(Object item, int action, int 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;
114 "'android.R.id.progress' and Chronometer id 'android.R.id.text1'");
132 "Expecting child ProgressBar with id 'android.R.id.progress'");

Completed in 1519 milliseconds

12