Home
last modified time | relevance | path

Searched refs:getProgress (Results 1 – 25 of 67) sorted by relevance

123

/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/
DProgressLiveDataTest.java93 assertThat(progressObserver.getObservedValue().getProgress()).isEqualTo(START_PROGRESS); in testSetsValueOnActive()
104 assertThat(progressObserver.getObservedValue().getProgress()).isEqualTo( in testUnknownProgress()
117 assertThat(progressObserver.getObservedValue().getProgress()).isEqualTo( in testMovesForwardAtNormalSpeed()
132 assertThat(progressObserver.getObservedValue().getProgress()).isEqualTo( in testMovesForwardAtCustomSpeed()
146 assertThat(progressObserver.getObservedValue().getProgress()).isEqualTo( in testDoesntMoveForwardWhenPaused()
160 assertThat(progressObserver.getObservedValue().getProgress()).isEqualTo( in testDoesntMoveForwardWhenStopped()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMetadataController.java61 mController.seekTo(seekBar.getProgress());
128 playbackViewModel.getProgress().observe(lifecycleOwner, in MetadataController()
145 seekBar.setProgress((int) playbackProgress.getProgress()); in MetadataController()
168 combine(playbackViewModel.getMetadata(), playbackViewModel.getProgress(), in MetadataController()
176 pair(playbackViewModel.getMetadata(), playbackViewModel.getProgress()).observe( in MetadataController()
DControlBarHelper.java65 model.getProgress().observe(owner, in initProgressBar()
67 progressBar.setProgress((int) progress.getProgress()); in initProgressBar()
/packages/apps/Settings/src/com/android/settings/
DPointerSpeedPreference.java87 mIm.tryPointerSpeed(seekBar.getProgress() + InputManager.MIN_POINTER_SPEED); in onStopTrackingTouch()
103 mSeekBar.getProgress() + InputManager.MIN_POINTER_SPEED); in onDialogClosed()
125 myState.progress = mSeekBar.getProgress(); in onSaveInstanceState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DPointerSpeedPreference.java87 mIm.tryPointerSpeed(seekBar.getProgress() + InputManager.MIN_POINTER_SPEED); in onStopTrackingTouch()
103 mSeekBar.getProgress() + InputManager.MIN_POINTER_SPEED); in onDialogClosed()
125 myState.progress = mSeekBar.getProgress(); in onSaveInstanceState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/
DFingerprintEnrollEnrolling.java230 mProgressBar.getProgress(), progress); in animateProgress()
294 int progress = getProgress( in updateProgress()
306 private int getProgress(int steps, int remaining) { in getProgress() method in FingerprintEnrollEnrolling
371 if (mProgressBar.getProgress() >= PROGRESS_BAR_MAX) {
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollEnrolling.java234 mProgressBar.getProgress(), progress); in animateProgress()
298 int progress = getProgress( in updateProgress()
310 private int getProgress(int steps, int remaining) { in getProgress() method in FingerprintEnrollEnrolling
375 if (mProgressBar.getProgress() >= PROGRESS_BAR_MAX) {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DExportDialog.java102 mSeekVal.setText(mSliderLabel + mSeekBar.getProgress()); in onCreateView()
142 mQuality = mSeekBar.getProgress(); in onProgressChanged()
164 true, mSeekBar.getProgress(), scaleFactor, false); in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSeekBarPreference.java239 public int getProgress() { in getProgress() method in SeekBarPreference
248 int progress = seekBar.getProgress(); in syncProgress()
273 if (seekBar.getProgress() != mProgress) { in onStopTrackingTouch()
DLabeledSeekBar.java173 node.setChecked(virtualViewId == LabeledSeekBar.this.getProgress()); in onPopulateNodeForVirtualView()
180 event.setChecked(virtualViewId == LabeledSeekBar.this.getProgress()); in onPopulateEventForVirtualView()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DProgressLiveData.java74 setValue(new PlaybackProgress(getProgress(), mMaxProgress)); in updateProgress()
82 private long getProgress() { in getProgress() method in ProgressLiveData
/packages/apps/Settings/src/com/android/settings/widget/
DSeekBarPreference.java250 public int getProgress() { in getProgress() method in SeekBarPreference
259 int progress = seekBar.getProgress(); in syncProgress()
284 if (seekBar.getProgress() != mProgress) { in onStopTrackingTouch()
DLabeledSeekBar.java173 node.setChecked(virtualViewId == LabeledSeekBar.this.getProgress()); in onPopulateNodeForVirtualView()
180 event.setChecked(virtualViewId == LabeledSeekBar.this.getProgress()); in onPopulateEventForVirtualView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DBalanceSeekBarTest.java97 assertThat(mSeekBar.getProgress()).isEqualTo(getBalanceSeekBarCenter(mSeekBar)); in setProgressTest_shouldSnapToCenter()
108 assertThat(mSeekBar.getProgress()).isEqualTo(progressWithoutThreshold); in setProgressTest_shouldMaintainInputValue()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DAlarmVolumePreference.kt90 if (!mPreviewPlaying && seekBar.getProgress() != 0) { in onBindViewHolder()
106 val imageRes = if (mSeekbar.getProgress() == 0) { in onSeekbarChanged()
DAlarmVolumePreference.java106 if (!mPreviewPlaying && seekBar.getProgress() != 0) { in onBindViewHolder()
125 mAlarmIcon.setImageResource(mSeekbar.getProgress() == 0 ? in onSeekbarChanged()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceControllerTest.java147 assertThat(preference1.getProgress()).isEqualTo(100); in onDataLoaded_statsLoaded_hasOnePreference()
148 assertThat(preference2.getProgress()).isEqualTo(50); in onDataLoaded_statsLoaded_hasOnePreference()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSeekBarDialogPreference.java123 final int value = getClippedValueFromProgress(mSeekBar.getProgress()); in onClick()
145 mValueProxy.feedbackValue(getClippedValueFromProgress(seekBar.getProgress())); in onStopTrackingTouch()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DPreviewSeekBarPreferenceFragment.java111 final int progress = mSeekBar.getProgress(); in onCreateView()
119 final int progress = mSeekBar.getProgress(); in onCreateView()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DDiscoveryBounce.java208 public float getProgress() { in getProgress() method in DiscoveryBounce.VerticalProgressWrapper
209 return mController.getProgress() + mDelta; in getProgress()
/packages/apps/Settings/src/com/android/settings/display/
DPreviewSeekBarPreferenceFragment.java111 final int progress = mSeekBar.getProgress(); in onCreateView()
119 final int progress = mSeekBar.getProgress(); in onCreateView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRemoteVolumePreferenceControllerTest.java187 assertThat(mController.mPreference.getProgress()).isEqualTo(CURRENT_POS); in onRemoteUpdate_firstToken_updateTokenAndPreference()
219 assertThat(mController.mPreference.getProgress()).isEqualTo(CURRENT_POS); in onRemoteVolumeChanged_volumeChanged_updateIt()
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java352 if (seekBar.getProgress() == 0) { in onCreate()
361 if (seekBar.getProgress() == 0) { in onCreate()
414 if (seekBar.getProgress() == 0) { in onCreate()
423 if (seekBar.getProgress() == 0) { in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java301 (int) (100 * mProgressTracker.getProgress()), // Progress in percentage in makeCopyProgress()
871 final double completed = getProgress(); in update()
927 public double getProgress() { in getProgress() method in CopyJob.ByteCountProgressTracker
958 public double getProgress() { in getProgress() method in CopyJob.FileCountProgressTracker
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSeekBarPreference.java78 if (seekBar.getProgress() + mMin != mSeekBarValue) {
307 int seekBarValue = mMin + seekBar.getProgress(); in syncValueInternal()

123