Searched defs:progress (Results 1 - 25 of 70) sorted by relevance

123

/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/anim/
H A DAlphaAnimation.java44 protected void onCalculate(float progress) { argument
46 + (mEndAlpha - mStartAlpha) * progress, 0f, 1f);
H A DFloatAnimation.java33 protected void onCalculate(float progress) { argument
34 mCurrent = mFrom + (mTo - mFrom) * 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/Launcher3/src/com/android/launcher3/compat/
H A DPackageInstallerCompat.java48 * @return a map of active installs to their progress
58 public int progress; field in class:PackageInstallerCompat.PackageInstallInfo
64 public PackageInstallInfo(String packageName, int state, int progress) { argument
67 this.progress = progress;
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DRevealOutlineProvider.java36 public void setProgress(float progress) { argument
37 mCurrentRadius = (int) ((1 - progress) * mRadius0 + progress * mRadius1);
/packages/apps/Browser/src/com/android/browser/
H A DPageProgressView.java101 void setProgress(int progress) { argument
103 mTargetProgress = progress;
/packages/apps/Email/src/com/android/email/activity/setup/
H A DCheckSettingsProgressDialogFragment.java31 * Simple dialog that shows progress as we work through the settings checks.
33 * recreated at any time without affecting the account checking progress.
53 * Create a dialog that reports progress
65 * Update the progress of an existing dialog
66 * @param progress latest progress to be displayed
68 protected void updateProgress(int progress) { argument
69 mProgressString = AccountCheckSettingsFragment.getProgressString(getActivity(), progress);
84 final int progress = AccountCheckSettingsFragment.getProgressForMode(checkMode);
86 progress);
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DMosaic.cpp179 int Mosaic::createMosaic(float &progress, bool &cancelComputation) argument
184 progress = TIME_PERCENT_ALIGN + TIME_PERCENT_BLEND
203 mosaicWidth, mosaicHeight, progress, cancelComputation);
/packages/apps/Messaging/src/com/android/messaging/util/
H A DCubicBezierInterpolator.java70 private float linearInterpolate(float a, float b, float progress) { argument
71 return a + (b - a) * progress;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
H A DProgressDialogFragment.java53 mProgressBar = (ProgressBar) view.findViewById(android.R.id.progress);
97 public void setProgress(int progress) { argument
98 mProgressBar.setProgress(progress);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DAttachmentProgressDialogFragment.java101 public void setProgress(int progress) { argument
103 mDialog.setProgress(progress);
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
H A DNotificationService.java141 public static Notification makeUploadNotification(Context context, int progress, long when) { argument
149 .setProgress(100, Math.min(progress, 100), false);
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/Camera/jni/feature_mos/src/mosaic/
H A DMosaic.cpp192 int Mosaic::createMosaic(float &progress, bool &cancelComputation) argument
197 progress = TIME_PERCENT_ALIGN + TIME_PERCENT_BLEND
216 mosaicWidth, mosaicHeight, progress, cancelComputation);
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasLoadAttachment.java90 final long messageKey, final long attachmentId, final int status, final int progress) {
94 callback.loadAttachmentStatus(messageKey, attachmentId, status, progress);
114 public void doCallback(final int progress) { argument
116 EmailServiceStatus.IN_PROGRESS, progress);
89 doStatusCallback(final IEmailServiceCallback callback, final long messageKey, final long attachmentId, final int status, final int progress) argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoFallbackEffect.java157 protected void onCalculate(float progress) { argument
158 mProgress = progress;
H A DSlideshowView.java159 protected void onCalculate(float progress) { argument
160 mProgress = progress;
/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/deviceinfo/
H A DStorageWizardBase.java146 protected void setCurrentProgress(int progress) { argument
147 getProgressBar().setProgress(progress);
149 NumberFormat.getPercentInstance().format((double) progress / 100));
H A DStorageWizardFormatProgress.java127 protected void onProgressUpdate(Integer... progress) { argument
128 mProgress = progress[0];
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDictionaryDownloadProgressBar.java68 * This method will stop any running updater thread for this progress bar and create and run
69 * a new one only if the progress bar is visible.
70 * Hence, as a result of calling this method, the progress bar will have an updater thread
71 * 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
158 public void setProgressFromAnotherThread(final int progress) { argument
159 if (mProgress != progress) {
160 mProgress = progress;
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractPublicApiTest.java168 // waits until progress_so_far is >= (progress)%
169 boolean runUntilProgress(int progress) throws InterruptedException { argument
194 if (numBytesReceivedSoFar * 100 / totalBytes >= progress) {
195 // progress_so_far is >= progress%. we are done
/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/Camera2/src/com/android/camera/
H A DPanoProgressBar.java108 public void setMaxProgress(int progress) { argument
109 mMaxProgress = progress;
132 public void setProgress(int progress) { argument
136 if (progress > 10) {
138 } else if (progress < -10) {
144 mProgress = progress * mWidth / mMaxProgress + mProgressOffset;
148 // The right most progress is adjusted.
152 // The left most progress is adjusted.
171 // the progress area

Completed in 1073 milliseconds

123