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

1234

/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DIEmailServiceCallback.aidl23 * statuscode = 1, progress = 0: "starting"
24 * statuscode = 0, progress = n/a: "finished"
27 * statuscode = err, progress = n/a: "stopping due to error"
30 * statuscode = 1, progress = 0: "starting"
31 * statuscode = 1, progress = 30: "working"
32 * statuscode = 1, progress = 60: "working"
33 * statuscode = 0, progress = n/a: "finished"
39 * statusCode = 0 for OK, 1 for progress, other codes for error
40 * progress = 0 for "start", 1..100 for optional progress report
[all...]
/packages/apps/Email/src/com/android/email/
H A DControllerResultUiThreadWrapper.java62 final long messageId, final long attachmentId, final int progress) {
71 progress);
78 final long messageId, final int progress) {
82 mWrappee.loadMessageForViewCallback(result, accountId, messageId, progress);
89 final long messageId, final int progress) {
93 mWrappee.sendMailCallback(result, accountId, messageId, progress);
100 final long mailboxId, final int progress, final long tag) {
104 mWrappee.serviceCheckMailCallback(result, accountId, mailboxId, progress, tag);
111 final long mailboxId, final int progress, final int numNewMessages,
116 mWrappee.updateMailboxCallback(result, accountId, mailboxId, progress,
61 loadAttachmentCallback(final MessagingException result, final long accountId, final long messageId, final long attachmentId, final int progress) argument
77 loadMessageForViewCallback(final MessagingException result, final long accountId, final long messageId, final int progress) argument
88 sendMailCallback(final MessagingException result, final long accountId, final long messageId, final int progress) argument
99 serviceCheckMailCallback(final MessagingException result, final long accountId, final long mailboxId, final int progress, final long tag) argument
110 updateMailboxCallback(final MessagingException result, final long accountId, final long mailboxId, final int progress, final int numNewMessages, final ArrayList<Long> addedMessages) argument
123 updateMailboxListCallback(final MessagingException result, final long accountId, final int progress) argument
[all...]
H A DRefreshManager.java125 public void onCallback(MessagingException exception, int progress, Clock clock) { argument
126 if (exception == null && progress == 0) {
129 } else if (exception != null || progress == 100) {
371 int progress) {
373 Log.d(Logging.LOG_TAG, "updateMailboxListCallback " + accountId + ", " + progress
376 mMailboxListStatus.get(accountId).onCallback(exception, progress, mClock);
389 long mailboxId, int progress, int dontUseNumNewMessages,
393 + mailboxId + ", " + progress + ", " + exceptionToString(exception));
395 updateMailboxCallbackInternal(exception, accountId, mailboxId, progress, 0);
408 MessagingException exception, long accountId, long mailboxId, int progress,
370 updateMailboxListCallback(MessagingException exception, long accountId, int progress) argument
388 updateMailboxCallback(MessagingException exception, long accountId, long mailboxId, int progress, int dontUseNumNewMessages, ArrayList<Long> addedMessages) argument
407 serviceCheckMailCallback( MessagingException exception, long accountId, long mailboxId, int progress, long tag) argument
417 updateMailboxCallbackInternal(MessagingException exception, long accountId, long mailboxId, int progress, int dontUseNumNewMessages) argument
436 sendMailCallback(MessagingException exception, long accountId, long messageId, int progress) argument
[all...]
H A DController.java1245 * @param progress 0 for "starting", 1..99 for updates (if needed in UI), 100 for complete
1248 int progress) {
1258 * @param progress 0 for "starting", 1..99 for updates (if needed in UI), 100 for complete
1262 long mailboxId, int progress, int numNewMessages, ArrayList<Long> addedMessages) {
1270 * @param progress 0 for "starting", 1..99 for updates (if needed in UI), 100 for complete
1273 long messageId, int progress) {
1282 * @param progress 0 for "starting", 1..99 for updates (if needed in UI), 100 for complete
1285 long messageId, long attachmentId, int progress) {
1296 * @param progress 0 for "starting", no updates, 100 for complete
1300 long mailboxId, int progress, lon
1247 updateMailboxListCallback(MessagingException result, long accountId, int progress) argument
1261 updateMailboxCallback(MessagingException result, long accountId, long mailboxId, int progress, int numNewMessages, ArrayList<Long> addedMessages) argument
1272 loadMessageForViewCallback(MessagingException result, long accountId, long messageId, int progress) argument
1284 loadAttachmentCallback(MessagingException result, long accountId, long messageId, long attachmentId, int progress) argument
1299 serviceCheckMailCallback(MessagingException result, long accountId, long mailboxId, int progress, long tag) argument
1332 sendMailCallback(MessagingException result, long accountId, long messageId, int progress) argument
1353 loadAttachmentProgress(int progress) argument
1586 loadAttachmentStatus(long messageId, long attachmentId, int statusCode, int progress) argument
1619 sendMessageStatus(long messageId, String subject, int statusCode, int progress) argument
1641 syncMailboxListStatus(long accountId, int statusCode, int progress) argument
1661 syncMailboxStatus(long mailboxId, int statusCode, int progress) argument
1724 loadMessageStatus(long messageId, int statusCode, int progress) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/anim/
H A DFloatAnimation.java33 protected void onCalculate(float progress) { argument
34 mCurrent = mFrom + (mTo - mFrom) * progress;
H A DAlphaAnimation.java44 protected void onCalculate(float progress) { argument
46 + (mEndAlpha - mStartAlpha) * progress, 0f, 1f);
H A DStateTransitionAnimation.java129 protected void onCalculate(float progress) { argument
131 + (mTransitionSpec.contentScaleTo - mTransitionSpec.contentScaleFrom) * progress;
133 + (mTransitionSpec.contentAlphaTo - mTransitionSpec.contentAlphaFrom) * progress;
136 * progress;
139 * progress;
141 + (mTransitionSpec.overlayScaleTo - mTransitionSpec.overlayScaleFrom) * progress;
143 + (mTransitionSpec.overlayAlphaTo - mTransitionSpec.overlayAlphaFrom) * progress;
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
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DStitchingChangeListener.java26 public void onStitchingProgress(Uri uri, int progress); argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DFlingScroller.java107 public void computeScrollOffset(float progress) { argument
108 progress = Math.min(progress, 1);
109 float f = 1 - progress;
113 mCurrV = getV(progress);
136 private double getV(float progress) { argument
139 Math.pow(1 - progress, DECELERATED_FACTOR - 1) / mDuration;
H A DPositionController.java62 // faster for Animatable.advanceAnimation() to calculate the progress
118 // A scaling gesture is in progress.
1372 // give the progress value in [0, 1].
1373 protected abstract boolean interpolate(float progress); argument
1387 float progress;
1389 progress = 1;
1392 progress =
1396 if (progress >= 1) {
1397 progress = 1;
1399 progress
1411 applyInterpolationCurve(int kind, float progress) argument
1517 interpolate(float progress) argument
1527 interpolateFlingFilm(float progress) argument
1551 interpolateFlingPage(float progress) argument
1571 interpolateLinear(float progress) argument
1688 interpolate(float progress) argument
1696 interpolateFlingPage(float progress) argument
1715 interpolateLinear(float progress) argument
1767 interpolate(float progress) argument
1811 interpolate(float progress) argument
[all...]
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
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 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/apps/Settings/src/com/android/settings/
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);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DPowerGaugePreference.java60 final ProgressBar progress = (ProgressBar) view.findViewById(android.R.id.progress);
61 progress.setProgress(mProgress);
/packages/apps/Email/src/com/android/email/activity/
H A DEmailActivity.java364 MessagingException result, long accountId, long messageId, int progress) {
365 handleError(result, accountId, progress);
370 MessagingException result, long accountId, long mailboxId, int progress, long tag) {
371 handleError(result, accountId, progress);
376 int progress, int numNewMessages, ArrayList<Long> addedMessages) {
377 handleError(result, accountId, progress);
382 MessagingException result, long accountId, int progress) {
383 handleError(result, accountId, progress);
388 long messageId, long attachmentId, int progress) {
389 handleError(result, accountId, progress);
363 sendMailCallback( MessagingException result, long accountId, long messageId, int progress) argument
369 serviceCheckMailCallback( MessagingException result, long accountId, long mailboxId, int progress, long tag) argument
375 updateMailboxCallback(MessagingException result, long accountId, long mailboxId, int progress, int numNewMessages, ArrayList<Long> addedMessages) argument
381 updateMailboxListCallback( MessagingException result, long accountId, int progress) argument
387 loadAttachmentCallback(MessagingException result, long accountId, long messageId, long attachmentId, int progress) argument
393 loadMessageForViewCallback(MessagingException result, long accountId, long messageId, int progress) argument
398 handleError(final MessagingException result, final long accountId, int progress) argument
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DPanoProgressBar.java106 public void setMaxProgress(int progress) { argument
107 mMaxProgress = progress;
130 public void setProgress(int progress) { argument
134 if (progress > 10) {
136 } else if (progress < -10) {
142 mProgress = progress * mWidth / mMaxProgress + mProgressOffset;
146 // The right most progress is adjusted.
150 // The left most progress is adjusted.
169 // the progress area
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DPanoProgressBar.java103 public void setMaxProgress(int progress) { argument
104 mMaxProgress = progress;
127 public void setProgress(int progress) { argument
131 if (progress > 10) {
133 } else if (progress < -10) {
139 mProgress = progress * mWidth / mMaxProgress + mProgressOffset;
143 // The right most progress is adjusted.
147 // The left most progress is adjusted.
166 // the progress area
/packages/apps/Email/src/com/android/email/service/
H A DEmailBroadcastProcessorService.java152 int progress = pref.getOneTimeInitializationProgress();
153 final int initialProgress = progress;
155 if (progress < 1) {
157 progress = 1;
164 if (progress < 2) {
166 progress = 2;
171 // Use "progress" to skip the initializations that's already done before.
175 if (progress != initialProgress) {
176 pref.setOneTimeInitializationProgress(progress);
/packages/apps/Mms/src/com/android/mms/transaction/
H A DProgressCallbackEntity.java81 private void broadcastProgressIfNeeded(int progress) { argument
84 intent.putExtra("progress", 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 DAbsSeekBar.java35 * touch will form the progress value. Usually 0.
47 * progress.
89 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar.
112 // progress bar.
158 * Sets the amount of progress changed via the arrow keys.
168 * Returns the amount of progress changed via the arrow keys.
170 * By default, this will be a value that is derived from the max progress.
468 float progress = 0;
480 progress = mTouchProgressOffset;
484 progress
[all...]
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DMosaic.h116 * \param progress Variable to set the current progress in.
119 int createMosaic(float &progress, bool &cancelComputation);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DMosaic.h116 * \param progress Variable to set the current progress in.
119 int createMosaic(float &progress, bool &cancelComputation);
/packages/apps/Browser/src/com/android/browser/
H A DPageProgressView.java101 void setProgress(int progress) { argument
103 mTargetProgress = progress;

Completed in 4222 milliseconds

1234