Searched refs:progress (Results 76 - 100 of 134) sorted by relevance

123456

/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerTestActivity.java158 int progress = webView.getProgress();
160 Log.v(LOGTAG, "Page timeout triggered, progress = " + progress);
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DMainActivity.java140 protected void onProgressUpdate(Integer... progress) { argument
141 switch (progress[0]){
/frameworks/support/compat/api20/android/support/v4/app/
H A DNotificationCompatApi20.java42 int progressMax, int progress, boolean progressIndeterminate, boolean showWhen,
71 .setProgress(progressMax, progress, progressIndeterminate)
38 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 showWhen, boolean useChronometer, int priority, CharSequence subText, boolean localOnly, ArrayList<String> people, Bundle extras, String groupKey, boolean groupSummary, String sortKey, RemoteViews contentView, RemoteViews bigContentView) argument
/frameworks/support/compat/api24/android/support/v4/app/
H A DNotificationCompatApi24.java56 int progressMax, int progress, boolean progressIndeterminate, boolean showWhen,
87 .setProgress(progressMax, progress, progressIndeterminate)
52 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 showWhen, boolean useChronometer, int priority, CharSequence subText, boolean localOnly, String category, ArrayList<String> people, Bundle extras, int color, int visibility, Notification publicVersion, String groupKey, boolean groupSummary, String sortKey, CharSequence[] remoteInputHistory, RemoteViews contentView, RemoteViews bigContentView, RemoteViews headsUpContentView) argument
/frameworks/support/compat/kitkat/android/support/v4/app/
H A DNotificationCompatKitKat.java43 int progressMax, int progress, boolean progressIndeterminate, boolean showWhen,
72 .setProgress(progressMax, progress, progressIndeterminate);
39 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 showWhen, boolean useChronometer, int priority, CharSequence subText, boolean localOnly, ArrayList<String> people, Bundle extras, String groupKey, boolean groupSummary, String sortKey, RemoteViews contentView, RemoteViews bigContentView) argument
/frameworks/support/fragment/java/android/support/v4/app/
H A DListFragment.java88 * way to have the built-in indeterminant progress state be shown.
105 ProgressBar progress = new ProgressBar(context, null,
107 pframe.addView(progress, new FrameLayout.LayoutParams(
248 * this time an indeterminant progress indicator will be shown instead.
256 * @param shown If true, the list view is shown; if false, the progress
274 * this time an indeterminant progress indicator will be shown instead.
276 * @param shown If true, the list view is shown; if false, the progress
370 // have our data right away and start with the progress indicator.
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialog.java362 private static int getImpliedLevel(SeekBar seekBar, int progress) { argument
365 final int level = progress == 0 ? 0
366 : progress == m ? (m / 100) : (1 + (int)((progress / (float) m) * n));
853 final int progress = row.slider.getProgress();
854 final int level = getImpliedLevel(row.slider, progress);
871 if (progress != newProgress) {
876 return; // already animating to the target progress
880 row.anim = ObjectAnimator.ofInt(row.slider, "progress", progress, newProgres
1133 onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) argument
[all...]
/frameworks/base/core/java/android/os/
H A DRecoverySystem.java70 /** Send progress to listeners no more often than this (in ms). */
120 * @param progress the approximate percentage of the
124 public void onProgress(int progress); argument
163 * the thread while this function is in progress will result in a
168 * @param listener an object to receive periodic progress
328 * @param listener an object to receive periodic progress updates as
362 public void onProgress(final int progress) {
367 if (progress > lastProgress &&
369 lastProgress = progress;
371 listener.onProgress(progress);
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DNotificationController.java202 float progress = printJob.getProgress();
203 if (progress >= 0) {
204 builder.setProgress(Integer.MAX_VALUE, (int) (Integer.MAX_VALUE * progress),
H A DPrintSpoolerService.java574 * Set the progress for a print job.
577 * @param progress the new progress
580 @FloatRange(from=0.0, to=1.0) float progress) {
582 getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY).setProgress(progress);
802 private static final String ATTR_PROGRESS = "progress";
914 float progress = printJob.getProgress();
915 if (progress != Float.NaN) {
916 serializer.attribute(null, ATTR_PROGRESS, String.valueOf(progress));
1146 float progress
579 setProgress(@onNull PrintJobId printJobId, @FloatRange(from=0.0, to=1.0) float progress) argument
1459 setProgress(@onNull PrintJobId printJobId, @FloatRange(from=0.0, to=1.0) float progress) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DTextProgressBar.java37 * {@link android.R.id.progress} and {@link android.R.id.text1}.
51 static final int PROGRESSBAR_ID = android.R.id.progress;
117 "'android.R.id.progress' and Chronometer id 'android.R.id.text1'");
135 "Expecting child ProgressBar with id 'android.R.id.progress'");
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DMainActivity.java57 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/
H A DVrView.java446 protected void onProgressUpdate(String... progress) { argument
447 Log.v(LOGTAG, progress[0]);
468 protected void onProgressUpdate(String... progress) { argument
469 Log.v(LOGTAG, progress[0]);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
H A DVolumeLoader.java127 public void progress(int n, int total); method in interface:VolumeLoader.ProgressListener
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatProgressBarHelper.java86 (id == android.R.id.progress || id == android.R.id.secondaryProgress));
/frameworks/support/compat/api21/android/support/v4/app/
H A DNotificationCompatApi21.java67 int progressMax, int progress, boolean progressIndeterminate, boolean showWhen,
98 .setProgress(progressMax, progress, progressIndeterminate)
63 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 showWhen, boolean useChronometer, int priority, CharSequence subText, boolean localOnly, String category, ArrayList<String> people, Bundle extras, int color, int visibility, Notification publicVersion, String groupKey, boolean groupSummary, String sortKey, RemoteViews contentView, RemoteViews bigContentView, RemoteViews headsUpContentView) argument
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaController.java285 public void onProgressChanged(SeekBar bar, int progress, boolean fromuser) {
288 // the progress bar's position.
293 long newposition = (duration * progress) / 1000L;
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaController.java285 public void onProgressChanged(SeekBar bar, int progress, boolean fromuser) {
288 // the progress bar's position.
293 long newposition = (duration * progress) / 1000L;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerSession.java292 info.progress = mProgress;
352 public void setClientProgress(float progress) { argument
356 mClientProgress = progress;
362 public void addClientProgress(float progress) { argument
364 setClientProgress(mClientProgress + progress);
1100 // TODO: deliver more granular progress for ASEC allocation
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DSampleMediaRouterActivity.java322 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
325 long pos = progress * item.getDuration() / 100;
521 int progress = 0;
535 progress = (int)(100.0 * (position + timeDelta) / duration);
538 mSeekBar.setProgress(progress);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DSampleMediaRouterActivity.java322 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
325 long pos = progress * item.getDuration() / 100;
521 int progress = 0;
535 progress = (int)(100.0 * (position + timeDelta) / duration);
538 mSeekBar.setProgress(progress);
/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.java407 float progress = (Float) animation.getAnimatedValue();
408 deleteTaskView.setTranslationX(progress * dismissSize);
409 touchHandler.updateSwipeProgress(deleteTaskView, true, progress);
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp721 /* TODO: for now we're simplifying the progress calculation by using the timeout as the weight.
1177 /* overall progress */
1178 int progress = 0; variable
1186 progress += delta;
1192 if (progress > weight_total) {
1205 snprintf(key, sizeof(key), "dumpstate.%d.progress", getpid());
1206 snprintf(value, sizeof(value), "%d", progress);
1208 if (progress % 100 == 0) {
1210 MYLOGD("Setting progress (%s): %s/%d\n", key, value, weight_total);
1214 fprintf(stderr, "Setting progress (
[all...]
/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...]

Completed in 1697 milliseconds

123456