Searched refs:progress (Results 101 - 125 of 140) sorted by relevance

123456

/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEnvReverbTest.java237 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { argument
244 sSendLevel = linToExp(progress,100);
251 seekBar.setProgress(progress);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackAnimationHelper.java643 float progress = (Float) animation.getAnimatedValue();
644 deleteTaskView.setTranslationX(progress * dismissSize);
645 touchHandler.updateSwipeProgress(deleteTaskView, true, progress);
/frameworks/support/wear/src/android/support/wear/widget/
H A DCircledImageView.java551 * Show the circle border as an indeterminate progress spinner. The views circle border width
554 * @param show true if the progress spinner is shown, false to hide it.
581 /** Sets the progress. */
582 public void setProgress(float progress) { argument
583 if (progress != mProgress) {
584 mProgress = progress;
H A DSwipeDismissLayout.java83 * Interface enabling listeners to react to changes in the progress of the swipe-to-dismiss
92 * @param progress a number in [0, 1] representing how far to the right the window has
95 * equivalent to progress * layout.getWidth()
97 void onSwipeProgressChanged(SwipeDismissLayout layout, float progress, float translate); argument
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java92 // Placeholder and progress.
265 * The reason for this is that we need the placeholder and progress bar to be drawn over our
294 * Overriding this method to add your own custom placeholder or progress drawing.
388 * Each attachment gets its own placeholder and progress indicator, to be shown, hidden,
441 Log.v(TAG, String.format("OUT stateful setLoadState. new=%s placeholder=%s progress=%s",
538 public Progress(Drawable progress, Resources res, argument
541 super(progress, progressBarWidth, progressBarHeight, fadeOutDurationMs, opts);
650 * to and from the placeholder, progress bars, and decoded image.
659 * placeholder and/or the progress bar is showing and animating. We first show the
661 * spinning progress ba
[all...]
/frameworks/base/core/java/android/preference/
H A DVolumePreference.java159 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { argument
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DListenerBindingObject.java142 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { } argument
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerDialog.java111 mProgress = (ProgressBar) view.findViewById(android.R.id.progress);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderDicom.java377 listener.progress(0, v.mDimx);
444 listener.progress(z, v.mDimx);
492 * @param listener used to feed back status to progress listeners
536 listener.progress(0, v.mDimz);
582 listener.progress(z, v.mDimz);
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/view/
H A DCardViewActivity.java54 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/view/
H A DCardViewActivity.java54 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DSeekBarPreference.java63 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerSession.java297 info.progress = mProgress;
358 public void setClientProgress(float progress) { argument
362 mClientProgress = progress;
368 public void addClientProgress(float progress) { argument
370 setClientProgress(mClientProgress + progress);
1129 // TODO: deliver more granular progress for ASEC allocation
H A DPackageInstallerService.java1222 private void notifySessionProgressChanged(int sessionId, int userId, float progress) { argument
1223 obtainMessage(MSG_SESSION_PROGRESS_CHANGED, sessionId, userId, progress).sendToTarget();
1271 public void onSessionProgressChanged(PackageInstallerSession session, float progress) { argument
1272 mCallbacks.notifySessionProgressChanged(session.sessionId, session.userId, progress);
/frameworks/base/core/java/android/widget/
H A DMediaController.java43 * buttons like "Play/Pause", "Rewind", "Fast Forward" and a progress
334 // progress bar but disable forward/backward buttons.
369 // cause the progress bar to be updated even if mShowing
371 // paused with the progress bar showing the user hits play.
578 // By removing these pending progress messages we make sure
579 // that a) we won't update the progress while the user adjusts
587 public void onProgressChanged(SeekBar bar, int progress, boolean fromuser) {
590 // the progress bar's position.
595 long newposition = (duration * progress) / 1000L;
608 // Ensure that progress i
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java61 // beyond which swipe progress->0
197 private float getSwipeAlpha(float progress) { argument
198 return Math.min(0, Math.max(1, progress / SWIPE_PROGRESS_FADE_END));
706 * Updates the swipe progress on a child.
/frameworks/base/services/core/java/com/android/server/power/
H A DShutdownThread.java71 // constants for progress bar. the values are roughly estimated based on timeout.
124 * @param context Context used to display the shutdown progress dialog. This must be a context
212 * @param context Context used to display the shutdown progress dialog. This must be a context
229 * @param context Context used to display the shutdown progress dialog. This must be a context
264 // UI: determinate progress bar (mRebootHasProgressBar == True)
270 // UI: spinning circle only (no progress bar)
274 // UI: spinning circle only (no progress bar)
278 // UI: spinning circle only (no progress bar)
282 // We need the progress bar if uncrypt will be invoked during the
506 private void setRebootProgress(final int progress, fina argument
[all...]
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintSpooler.java278 * Set progress of a print job.
281 * @param progress The new progress
284 @FloatRange(from=0.0, to=1.0) float progress) {
291 getRemoteInstanceLazy().setProgress(printJobId, progress);
293 Slog.e(LOG_TAG, "Error setting progress.", re);
283 setProgress(@onNull PrintJobId printJobId, @FloatRange(from=0.0, to=1.0) float progress) argument
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
H A DNotificationTests.java165 public static Notification makeUploadNotification(Context context, int progress, long when) { argument
173 .setProgress(100, Math.min(progress, 100), false);
/frameworks/support/compat/jellybean/android/support/v4/app/
H A DNotificationCompatJellybean.java81 int progressMax, int progress, boolean progressIndeterminate,
109 .setProgress(progressMax, progress, progressIndeterminate);
77 Builder(Context context, Notification n, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, RemoteViews tickerView, int number, PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon, int progressMax, int progress, boolean progressIndeterminate, boolean useChronometer, int priority, CharSequence subText, boolean localOnly, Bundle extras, String groupKey, boolean groupSummary, String sortKey, RemoteViews contentView, RemoteViews bigContentView) argument
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A DScriptGroupTestActivity.java107 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackControlsPresenter.java61 long mSecondaryProgressInMs = -1; // Hold secondary progress in milliseconds
150 mProgressBar.setMax(Integer.MAX_VALUE);//current progress will be a fraction of this
177 // Solve the progress bar by using ratio
241 .setDrawableByLayerId(android.R.id.progress, drawable);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatActivity.java321 public void setSupportProgress(int progress) { argument
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DTwoWayBindingAdapterTest.java307 assertEquals(1, mBindingObject.progress.get());
314 while (mBindingObject.progress.get() == 1 && SystemClock.uptimeMillis() < timeout) {
322 assertEquals(30, mBindingObject.progress.get());
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DSwipeRefreshLayout.java54 * indication of a refresh. If an activity wishes to show just the progress
56 * progress animation, call setEnabled(false) on the view.
87 // Max amount of circle that can be filled by progress during swipe gesture,
99 // Default background for the progress spinner
101 // Default offset in dips from the top of the view to where the progress spinner should stop
182 // Make sure the progress view is fully visible
240 * @param scale Set to true if there is no view at a higher z-order than where the progress
244 * progress spinner should appear.
246 * progress spinner should come to rest after a successful swipe
259 * @return The offset in pixels from the top of this view at which the progress spinne
444 setAnimationProgress(float progress) argument
[all...]

Completed in 4117 milliseconds

123456