Home
last modified time | relevance | path

Searched refs:setProgress (Results 1 – 25 of 114) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DProgressReporterTest.java58 r.setProgress(20); in testBasic()
61 r.setProgress(-20); in testBasic()
64 r.setProgress(1024); in testBasic()
70 r.setProgress(20); in testSegment()
77 r.setProgress(50); in testSegment()
83 r.setProgress(80); in testSegment()
89 r.setProgress(20); in testSegmentOvershoot()
94 r.setProgress(-100, 2); in testSegmentOvershoot()
97 r.setProgress(1, 2); in testSegmentOvershoot()
100 r.setProgress(100, 2); in testSegmentOvershoot()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/view/
DSeekBarWithIconButtonsViewTest.java83 mIconDiscreteSliderLinearLayout.setProgress(0); in setSeekBarProgressZero_startIconAndFrameDisabled()
93 mIconDiscreteSliderLinearLayout.setProgress(mSeekbar.getMax()); in setSeekBarProgressMax_endIconAndFrameDisabled()
105 mIconDiscreteSliderLinearLayout.setProgress(1); in setSeekBarProgressMax_allIconsAndFramesEnabled()
115 mIconDiscreteSliderLinearLayout.setProgress(mSeekbar.getMax() - 1); in clickIconEnd_currentProgressIsOneToMax_reachesMax()
124 mIconDiscreteSliderLinearLayout.setProgress(1); in clickIconStart_currentProgressIsOne_reachesZero()
134 mIconDiscreteSliderLinearLayout.setProgress(1); in setProgress_onlyOnProgressChangedTriggeredWithFromUserFalse()
147 mIconDiscreteSliderLinearLayout.setProgress(0); in clickIconEnd_triggerCallbacksInSequence()
162 mIconDiscreteSliderLinearLayout.setProgress(magnitude); in clickIconStart_triggerCallbacksInSequence()
178 mIconDiscreteSliderLinearLayout.setProgress(1); in setProgressStateLabels_getExpectedStateDescriptionOnInitialization()
193 mIconDiscreteSliderLinearLayout.setProgress(1); in setProgressStateLabels_progressChanged_getExpectedStateDescription()
/frameworks/base/core/java/com/android/internal/util/
DProgressReporter.java119 public void setProgress(int progress) { in setProgress() method in ProgressReporter
120 setProgress(progress, 100, null); in setProgress()
128 public void setProgress(int progress, @Nullable CharSequence title) { in setProgress() method in ProgressReporter
129 setProgress(progress, 100, title); in setProgress()
135 public void setProgress(int n, int m) { in setProgress() method in ProgressReporter
136 setProgress(n, m, null); in setProgress()
142 public void setProgress(int n, int m, @Nullable CharSequence title) { in setProgress() method in ProgressReporter
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DMandelbrot.java35 b.setProgress(0); in onBar1Setup()
46 b.setProgress(0); in onBar2Setup()
59 b.setProgress(0); in onBar3Setup()
72 b.setProgress(0); in onBar4Setup()
DVignette.java43 b.setProgress(25); in onBar1Setup()
49 b.setProgress(50); in onBar2Setup()
55 b.setProgress(20); in onBar3Setup()
61 b.setProgress(50); in onBar4Setup()
67 b.setProgress(50); in onBar5Setup()
DLevelsV4.java87 b.setProgress(50); in onBar1Setup()
93 b.setProgress(0); in onBar2Setup()
99 b.setProgress(0); in onBar3Setup()
105 b.setProgress(128); in onBar4Setup()
111 b.setProgress(128); in onBar5Setup()
DFisheye.java42 b.setProgress(25); in onBar1Setup()
48 b.setProgress(50); in onBar2Setup()
54 b.setProgress(50); in onBar3Setup()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DMandelbrot.java35 b.setProgress(0); in onBar1Setup()
46 b.setProgress(0); in onBar2Setup()
59 b.setProgress(0); in onBar3Setup()
72 b.setProgress(0); in onBar4Setup()
DVignette.java43 b.setProgress(25); in onBar1Setup()
49 b.setProgress(50); in onBar2Setup()
55 b.setProgress(20); in onBar3Setup()
61 b.setProgress(50); in onBar4Setup()
67 b.setProgress(50); in onBar5Setup()
DLevelsV4.java87 b.setProgress(50); in onBar1Setup()
93 b.setProgress(0); in onBar2Setup()
99 b.setProgress(0); in onBar3Setup()
105 b.setProgress(128); in onBar4Setup()
111 b.setProgress(128); in onBar5Setup()
DFisheye.java45 b.setProgress(25); in onBar1Setup()
51 b.setProgress(50); in onBar2Setup()
57 b.setProgress(50); in onBar3Setup()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DVignette.java47 b.setProgress(25); in onBar1Setup()
53 b.setProgress(50); in onBar2Setup()
59 b.setProgress(20); in onBar3Setup()
65 b.setProgress(50); in onBar4Setup()
71 b.setProgress(50); in onBar5Setup()
DMandelbrot.java41 b.setProgress(0); in onBar1Setup()
52 b.setProgress(0); in onBar2Setup()
65 b.setProgress(0); in onBar3Setup()
78 b.setProgress(0); in onBar4Setup()
DLevelsV4.java93 b.setProgress(50); in onBar1Setup()
99 b.setProgress(0); in onBar2Setup()
105 b.setProgress(0); in onBar3Setup()
111 b.setProgress(128); in onBar4Setup()
117 b.setProgress(128); in onBar5Setup()
DFisheye.java45 b.setProgress(25); in onBar1Setup()
51 b.setProgress(50); in onBar2Setup()
57 b.setProgress(50); in onBar3Setup()
/frameworks/base/core/java/android/preference/
DSeekBarPreference.java89 seekBar.setProgress(mProgress); in onBindView()
95 setProgress(restoreValue ? getPersistedInt(mProgress) in onSetInitialValue()
124 public void setProgress(int progress) { in setProgress() method in SeekBarPreference
125 setProgress(progress, true); in setProgress()
128 private void setProgress(int progress, boolean notifyChanged) { in setProgress() method in SeekBarPreference
156 setProgress(progress, false); in syncProgress()
158 seekBar.setProgress(mProgress); in syncProgress()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/
DBackgroundBlurActivity.kt62 blurBackgroundSeekBar.setProgress(mBackgroundBlurRadius) in <lambda>()
63 blurBehindSeekBar.setProgress(mBlurBehindRadius) in <lambda>()
72 backgroundAlphaSeekBar.setProgress((mAlphaWithBlur * 100).toInt()) in <lambda>()
73 dimAmountSeekBar.setProgress((mDimAmountWithBlur * 100).toInt()) in <lambda>()
78 backgroundAlphaSeekBar.setProgress((mAlphaNoBlur * 100).toInt()) in <lambda>()
79 dimAmountSeekBar.setProgress((mDimAmountNoBlur * 100).toInt()) in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/fragments/
DInstallStagingFragment.java61 mProgressBar.setProgress(0); in onStart()
66 public void setProgress(int progress) { in setProgress() method in InstallStagingFragment
68 mProgressBar.setProgress(progress); in setProgress()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputSeekbar.java50 setProgress(scaleVolumeToProgress(volume), true); in setVolume()
58 setProgress(getMin()); in resetVolume()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/
DSeekBarWithIconButtonsView.java96 setProgress(progress); in SeekBarWithIconButtonsView()
125 setProgress(DEFAULT_SEEKBAR_PROGRESS); in SeekBarWithIconButtonsView()
226 public void setProgress(int progress) { in setProgress() method in SeekBarWithIconButtonsView
227 mSeekbar.setProgress(progress); in setProgress()
233 mSeekbar.setProgress(progress); in setProgressFromButton()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DGainmapMetadataEditor.kt150 gainmapMinSeek.setProgress( in updateMetadataUi()
152 gainmapMaxSeek.setProgress( in updateMetadataUi()
154 capacityMinSeek.setProgress( in updateMetadataUi()
156 capacityMaxSeek.setProgress( in updateMetadataUi()
158 gammaSeek.setProgress( in updateMetadataUi()
161 offsetSdrSeek.setProgress( in updateMetadataUi()
164 offsetHdrSeek.setProgress( in updateMetadataUi()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DProgressBarWrapper.java65 public void setProgress(int progress) { in setProgress() method in ProgressBarWrapper
66 mDeterminate.setProgress(progress); in setProgress()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java87 overscrollXBar.setProgress(0); in onCreate()
113 overscrollYBar.setProgress(0); in onCreate()
140 scrollXSeekBar.setProgress(0); in onCreate()
165 scrollYSeekBar.setProgress(0); in onCreate()
189 stretchIntensitySeekbar.setProgress(stretchProgress); in onCreate()
215 stretchDistanceSeekbar.setProgress((int) (mStretchAffectedDistance * 100)); in onCreate()
/frameworks/base/packages/SettingsLib/AppPreference/src/com/android/settingslib/widget/
DAppPreference.java63 public void setProgress(int amount) { in setProgress() method in AppPreference
75 progress.setProgress(mProgress); in onBindViewHolder()
/frameworks/base/core/tests/coretests/src/android/widget/
DProgressBarTest.java71 mInstrumentation.runOnMainSync(() -> mBar.setProgress(50)); in testStateDescription_determinateProgressBar_default()
91 mInstrumentation.runOnMainSync(() -> mBar.setProgress(50)); in testStateDescription_determinateProgressBar_custom_viewApi()
118 mInstrumentation.runOnMainSync(() -> mBar.setProgress(50)); in testStateDescription_determinateProgressBar_custom_accessibilityNodeInfoApi()

12345