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

12345

/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"
40 * statusCode = 0 for OK, 1 for progress, other codes for error
41 * progress = 0 for "start", 1..100 for optional progress report
[all...]
H A DEmailServiceStatus.java64 public static final String SYNC_STATUS_PROGRESS = "progress";
70 * Some status updates need to provide values in addition to the core id, code, and progress.
87 * @param progress The progress of this sync operation.
91 final int statusType, final long id, final int statusCode, final int progress,
105 statusExtras.putInt(SYNC_STATUS_PROGRESS, progress);
121 * @param progress The progress of this sync operation.
124 final long mailboxId, final int statusCode, final int progress, int syncResult) {
125 syncStatus(cr, syncExtras, SYNC_STATUS_TYPE_MAILBOX, mailboxId, statusCode, progress,
90 syncStatus(final ContentResolver cr, final Bundle syncExtras, final int statusType, final long id, final int statusCode, final int progress, int syncResult, final StatusWriter writer) argument
123 syncMailboxStatus(final ContentResolver cr, final Bundle syncExtras, final long mailboxId, final int statusCode, final int progress, int syncResult) 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/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
H A DProgressService.java32 private static final String ACTION_PROGRESS = "progress";
49 UpdateRunnable(int id, long when, int progress) { argument
52 mProgress = progress;
58 Log.v(TAG, "id: " + mId + " when: " + mWhen + " progress: " + mProgress);
80 int progress = intent.getIntExtra("progress", 0);
81 handler.postDelayed(new UpdateRunnable(id, when, progress), 1000);
84 public static void startProgressUpdater(Context context, int id, long when, int progress) { argument
90 progressIntent.putExtra("progress", progress);
[all...]
/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/Camera2/src/com/android/camera/
H A DImageTaskManager.java33 String filePath, Uri imageUri, int progress);
41 * Get task progress by Uri.
32 onTaskProgress( String filePath, Uri imageUri, int progress) argument
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/Settings/src/com/android/settings/applications/
H A DProcessStatsPreference.java56 final ProgressBar progress = (ProgressBar) view.findViewById(android.R.id.progress);
57 progress.setProgress(mProgress);
/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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DSeekBarDialogPreference.java82 private int getValueFromProgress(final int progress) { argument
83 return progress + mMinValue;
94 private int getClippedValueFromProgress(final int progress) { argument
95 return clipValue(getValueFromProgress(progress));
131 public void onProgressChanged(final SeekBar seekBar, final int progress, argument
133 final int value = getClippedValueFromProgress(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...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDictionaryDownloadProgressBar.java69 * This method will stop any running updater thread for this progress bar and create and run
70 * a new one only if the progress bar is visible.
71 * Hence, as a result of calling this method, the progress bar will have an updater thread
72 * running if and only if the progress bar is visible.
108 private final static int REPORT_PERIOD = 150; // how often to report progress, in ms
120 // disabled between pressing the 'install' button and displaying the progress
163 public void setProgressFromAnotherThread(final int progress) { argument
164 if (mProgress != progress) {
165 mProgress = progress;
/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/Camera2/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);

Completed in 1912 milliseconds

12345