Searched defs:progress (Results 1 - 25 of 60) sorted by last modified time

123

/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractPublicApiTest.java122 // waits until progress_so_far is >= (progress)%
123 boolean runUntilProgress(int progress) throws InterruptedException { argument
146 if (numBytesReceivedSoFar * 100 / totalBytes >= progress) {
147 // progress_so_far is >= progress%. we are done
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DVideoEditorActivity.java433 public void onProgressChanged(int progress, boolean fromUser) {
435 zoomTimeline(progress, false);
453 // Dismiss the export progress dialog. If the export will still be pending
520 // Preview is in progress
1444 protected void onExportProgress(int progress) { argument
1446 mExportProgressDialog.setProgress(progress);
1621 * Shows progress dialog during export operation.
2098 // Do not keep the screen on if there is no preview in progress.
2104 * @return true if preview playback is in progress
H A DVideoEditorBaseActivity.java186 String itemId, int action, int progress) {
197 Log.v(TAG, "onVideoEditorGeneratePreviewProgress: " + className + " " + progress);
205 getMediaLayout().onGeneratePreviewMediaItemProgress(itemId, action, progress);
207 getMediaLayout().onGeneratePreviewTransitionProgress(itemId, action, progress);
209 getAudioTrackLayout().onGeneratePreviewProgress(itemId, action, progress);
217 int progress) {
231 // Update the export progress
232 onExportProgress(progress);
765 String audioTrackId, int progress) {
775 getAudioTrackLayout().setWaveformExtractionProgress(audioTrackId, progress);
185 onVideoEditorGeneratePreviewProgress(String projectPath, String className, String itemId, int action, int progress) argument
216 onVideoEditorExportProgress(String projectPath, String filename, int progress) argument
764 onAudioTrackExtractAudioWaveformProgress(String projectPath, String audioTrackId, int progress) argument
963 onExportProgress(int progress) argument
[all...]
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
H A DApiService.java240 public void onProgress(Object item, int action, int progress) { argument
245 intent.putExtra(PARAM_PROGRESS_VALUE, progress);
961 * Check if the transition thumbnailing is in progress
966 * @return true if the transition thumbnailing is in progress
3038 final int progress = intent.getIntExtra(PARAM_PROGRESS_VALUE, 0);
3042 action, progress);
3461 final int progress = intent.getIntExtra(PARAM_PROGRESS_VALUE, 0);
3465 progress);
3954 final int progress = intent.getIntExtra(PARAM_PROGRESS_VALUE, 0);
3958 progress);
[all...]
H A DApiServiceListener.java93 * Generate preview progress status
99 * @param progress The export progress (0, 100)
102 String itemId, int action, int progress) {}
105 * Export progress status
109 * @param progress The export progress (0, 100)
111 public void onVideoEditorExportProgress(String projectPath, String filename, int progress) {} argument
258 * Extract media item audio waveform progress callback
262 * @param progress Th
101 onVideoEditorGeneratePreviewProgress(String projectPath, String className, String itemId, int action, int progress) argument
264 onMediaItemExtractAudioWaveformProgress(String projectPath, String mediaItemId, int progress) argument
443 onAudioTrackExtractAudioWaveformProgress(String projectPath, String audioTrackId, int progress) argument
[all...]
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DAudioTrackLinearLayout.java150 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { argument
152 mProgress = progress;
310 * @param inProgress true if playback is in progress
316 // is in progress
432 * @param progress The progress
434 public void onGeneratePreviewProgress(String audioTrackId, int action, int progress) { argument
441 audioTrackView.setProgress(progress);
445 * Set the waveform progress
448 * @param progress Th
450 setWaveformExtractionProgress(String audioTrackId, int progress) argument
[all...]
H A DAudioTrackView.java271 * The audio track processing progress
273 * @param progress The progress
275 public void setProgress(int progress) { argument
276 mProgress = progress;
H A DMediaItemView.java73 // -1 indicates the generation is not in progress. 0-100 indicates the
74 // generation is in progress. Currently only Ken Burns effect is used with
75 // the progress bar.
132 // Prepare the progress bar rectangles
141 // Initialize the progress value
319 * @param playback true if playback is in progress
327 * Resets the effect generation progress status.
334 * Sets the effect generation progress of this view.
336 public void setGeneratingEffectProgress(int progress) { argument
337 if (progress
[all...]
H A DMediaLinearLayout.java557 // Invalidate all progress in case the transition generation or
586 * @param inProgress {@code true} if playback is in progress, false otherwise
592 // transitions while the playback is in progress.
1104 * @param progress Progress value (between 0..100)
1106 public void onGeneratePreviewMediaItemProgress(String mediaItemId, int action, int progress) { argument
1107 // Display the progress while generating the Ken Burns video clip
1110 view.setGeneratingEffectProgress(progress);
1113 if (progress == 0) {
1116 } else if (progress == 100) {
1129 * @param progress Th
1131 onGeneratePreviewTransitionProgress(String transitionId, int action, int progress) argument
[all...]
H A DProgressBar.java29 * Draw a progress bar for media items, transitions and the audio track
41 * Get the progress bar singleton
45 * @return The progress bar
63 // Prepare the progress bitmap
81 * Draw the progress bar
84 * @param progress The progress (between 0 and 100)
89 public void draw(Canvas canvas, int progress, Rect dest, int left, int width) { argument
90 switch (progress) {
106 dest.right = ((width - left) * progress) / 10
[all...]
H A DTransitionView.java122 // Initialize the progress value
189 * Resets the transition generation progress.
196 * Sets the transition generation progress.
198 public void setGeneratingTransitionProgress(int progress) { argument
199 if (progress == 100) {
204 mGeneratingTransitionProgress = progress;
211 * @return true if generation is in progress
220 * @param playback true if playback is in progress
H A DZoomControl.java51 * The progress value has changed
53 * @param progress The progress value
56 public void onProgressChanged(int progress, boolean fromUser); argument
62 // Set the default maximum progress
101 * @param progress The progress
103 public void setProgress(int progress) { argument
104 mProgress = progress;
154 final int progress;
[all...]
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
H A DNotificationShowcaseActivity.java104 if (i.hasExtra("id") && i.hasExtra("when") && i.hasExtra("progress")) {
108 int progress = i.getIntExtra("progress", 0);
111 while (progress <= 100) {
117 Log.v(TAG, "id: " + id + " when: " + when + " progress: " + progress);
119 makeUploadNotification(this, progress, id, when));
120 progress+=10;
126 Log.v(TAG, "progress extra " + (i.hasExtra("progress")
230 startProgressUpdater(Context context, int progress, int id, long when) argument
239 makeUploadNotification(Context context, int progress, int id, long when) argument
[all...]
/packages/apps/MusicFX/src/com/android/musicfx/
H A DActivityMusic.java328 public void onProgressChanged(final SeekBar seekBar, final int progress,
332 mAudioSession, ControlPanelEffect.Key.virt_strength, progress);
390 public void onProgressChanged(final SeekBar seekBar, final int progress,
394 mAudioSession, ControlPanelEffect.Key.bb_strength, progress);
690 public void onProgressChanged(final SeekBar seekbar, final int progress, final boolean fromUser) { argument
695 final short level = (short) (progress + mEqualizerMinBandLevel);
747 final int progress = level - mEqualizerMinBandLevel;
748 mEqualizerSeekBar[band].setProgress(progress);
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
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
1032 int progress; field in class:ProgressBar.SavedState
[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
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DHandoverManager.java273 float progress; // Progress in range [0..1] field in class:HandoverManager.HandoverTransfer
287 this.progress = 0.0f;
304 public synchronized void updateFileProgress(float progress) { argument
309 this.progress = progress;
323 this.progress = 1.0f;
376 // We do have progress indication on a per-file basis, but in a multi-file
377 // transfer we don't know the total progress. So for now, just show an
378 // indeterminate progress bar.
793 if (DBG) Log.d(TAG, "BT handover already in progress, ignorin
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DBrightnessPreference.java128 public void onProgressChanged(SeekBar seekBar, int progress, argument
130 setBrightness(progress, false);
273 myState.progress = mSeekBar.getProgress();
296 setBrightness(myState.progress, false);
304 int progress; field in class:BrightnessPreference.SavedState
311 progress = source.readInt();
321 dest.writeInt(progress);
H A DPointerSpeedPreference.java77 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { argument
79 mIm.tryPointerSpeed(progress + InputManager.MIN_POINTER_SPEED);
127 myState.progress = mSeekBar.getProgress();
146 mSeekBar.setProgress(myState.progress);
147 mIm.tryPointerSpeed(myState.progress + InputManager.MIN_POINTER_SPEED);
151 int progress; field in class:PointerSpeedPreference.SavedState
156 progress = source.readInt();
163 dest.writeInt(progress);
H A DTrustedCredentialsSettings.java74 private Tab(String tag, int label, int view, int progress, int list, boolean checkbox) { argument
78 mProgress = progress;
227 int progress = 0;
236 publishProgress(++progress, max);
242 int progress = progressAndMax[0];
247 mProgressBar.setProgress(progress);
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
H A DRecorder.java105 public int progress() { method in class:Recorder
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DAttachmentLoader.java83 private void doProgressCallback(int progress) { argument
86 EmailServiceStatus.IN_PROGRESS, progress);
128 // Keep track of how much we've read for progress callback
139 // Report progress back to the UI
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DUtils.java218 float source, float target, float progress) {
226 float result = source + diff * progress;
231 float source, float target, float progress) {
232 return source + progress * (target - source);
217 interpolateAngle( float source, float target, float progress) argument
230 interpolateScale( float source, float target, float progress) argument
/packages/apps/Gallery2/src/com/android/gallery3d/anim/
H A DAlphaAnimation.java44 protected void onCalculate(float progress) { argument
46 + (mEndAlpha - mStartAlpha) * progress, 0f, 1f);
H A DAnimation.java34 // In step 3, onCalculate(float progress) is called so subclasses can calculate
35 // the value according to progress (progress is a value in [0,1]).
38 // can change the progress value. The interpolator can be set by
91 abstract protected void onCalculate(float progress); argument

Completed in 303 milliseconds

123