Home
last modified time | relevance | path

Searched refs:progress (Results 1 – 17 of 17) sorted by relevance

/developers/build/templates/CardStream/_MODULE_/src/template/java/_PACKAGE_/cardstream/
DCard.java.ftl38 * progress indicator and zero or more actions. It is constructed through the {@link Builder}.
55 // description, zero to many action buttons, and zero or 1 progress indicators.
92 * Some cards will have a sense of "progress" which should be associated with, but separated
94 * a maximum of one progress indicator per Card.
178 * Set the type of progress indicator.
179 * The progress type can only be changed if the Card was initially build with a progress
197 * Return the progress indicator type. A value of either {@link #PROGRESS_TYPE_NORMAL},
198 * {@link #PROGRESS_TYPE_INDETERMINATE}, {@link #PROGRESS_TYPE_LABEL}. Otherwise if no progress
210 * Set the progress to the specified value. Only applicable if the card has a
211 * {@link #PROGRESS_TYPE_NORMAL} progress type.
[all …]
/developers/build/prebuilts/gradle/CardView/Application/src/main/java/com/example/android/cardview/
DCardViewFragment.java86 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onViewCreated()
87 Log.d(TAG, String.format("SeekBar Radius progress : %d", progress)); in onViewCreated()
88 mCardView.setRadius(progress); in onViewCreated()
104 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onViewCreated()
105 Log.d(TAG, String.format("SeekBar Elevation progress : %d", progress)); in onViewCreated()
106 mCardView.setElevation(progress); in onViewCreated()
/developers/samples/android/ui/views/CardView/Application/src/main/java/com/example/android/cardview/
DCardViewFragment.java86 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onViewCreated()
87 Log.d(TAG, String.format("SeekBar Radius progress : %d", progress)); in onViewCreated()
88 mCardView.setRadius(progress); in onViewCreated()
104 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onViewCreated()
105 Log.d(TAG, String.format("SeekBar Elevation progress : %d", progress)); in onViewCreated()
106 mCardView.setElevation(progress); in onViewCreated()
/developers/samples/android/renderScript/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/
DMainActivity.java85 public void onProgressChanged(SeekBar seekBar, int progress, in onCreate()
87 updateImage(progress); in onCreate()
319 private void updateImage(int progress) { in updateImage() argument
320 float f = getFilterParameter(progress); in updateImage()
/developers/build/prebuilts/gradle/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/
DMainActivity.java85 public void onProgressChanged(SeekBar seekBar, int progress, in onCreate()
87 updateImage(progress); in onCreate()
319 private void updateImage(int progress) { in updateImage() argument
320 float f = getFilterParameter(progress); in updateImage()
/developers/samples/android/renderScript/BasicRenderScript/Application/src/main/java/com/example/android/basicrenderscript/
DMainActivity.java68 public void onProgressChanged(SeekBar seekBar, int progress, in onCreate()
72 float f = (float) ((max - min) * (progress / 100.0) + min); in onCreate()
/developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/basicrenderscript/
DMainActivity.java68 public void onProgressChanged(SeekBar seekBar, int progress, in onCreate()
72 float f = (float) ((max - min) * (progress / 100.0) + min); in onCreate()
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/
DCard.java216 public Card setProgress(int progress) { in setProgress() argument
218 mCardProgress.setProgress(progress); in setProgress()
661 public void setProgress(int progress) { in setProgress() argument
662 currProgress = progress; in setProgress()
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
DMainActivity.java337 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
340 long pos = progress * item.getDuration() / 100; in onCreate()
529 int progress = 0; in updateProgress() local
543 progress = (int) (100.0 * (position + timeDelta) / duration); in updateProgress()
546 mSeekBar.setProgress(progress); in updateProgress()
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
DMainActivity.java337 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
340 long pos = progress * item.getDuration() / 100; in onCreate()
529 int progress = 0; in updateProgress() local
543 progress = (int) (100.0 * (position + timeDelta) / duration); in updateProgress()
546 mSeekBar.setProgress(progress); in updateProgress()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/
DRichSetupFragment.java144 protected void onProgressUpdate(String... progress) { in onProgressUpdate() argument
145 Toast.makeText(getActivity(), progress[0], Toast.LENGTH_SHORT).show(); in onProgressUpdate() local
/developers/samples/android/ui/views/SlidingTabs/SlidingTabsColors/
DREADME.md13 the user's scroll progress.
/developers/build/prebuilts/gradle/SlidingTabsColors/
DREADME.md13 the user's scroll progress.
/developers/samples/android/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
DMainActivity.java70 mProgressBar = (ProgressBar) findViewById(R.id.progress); in onCreate()
/developers/samples/android/sensors/BatchStepSensor/Application/
DREADME-CardStream.txt45 -Set the properties for your card in the builder. Some properties (title, description, progress typ…
/developers/build/prebuilts/gradle/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
DMainActivity.java70 mProgressBar = (ProgressBar) findViewById(R.id.progress); in onCreate()
/developers/build/templates/CardStream/_MODULE_/
DREADME-CardStream.txt45 -Set the properties for your card in the builder. Some properties (title, description, progress typ…