Home
last modified time | relevance | path

Searched refs:MAX_PROGRESS_VALUE (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DBalanceSeekBarTest.java40 private static final int MAX_PROGRESS_VALUE = 200; field in BalanceSeekBarTest
74 mProxySeekBarListener.onProgressChanged(mSeekBar, MAX_PROGRESS_VALUE, true); in onProgressChanged_shouldInvokeMethod()
77 eq(MAX_PROGRESS_VALUE), eq(true)); in onProgressChanged_shouldInvokeMethod()
82 mSeekBar.setMax(MAX_PROGRESS_VALUE); in setMaxTest_shouldSetValue()
84 assertThat(getBalanceSeekBarCenter(mSeekBar)).isEqualTo(MAX_PROGRESS_VALUE / 2); in setMaxTest_shouldSetValue()
86 MAX_PROGRESS_VALUE * BalanceSeekBar.SNAP_TO_PERCENTAGE); in setMaxTest_shouldSetValue()
93 mSeekBar.setMax(MAX_PROGRESS_VALUE); in setProgressTest_shouldSnapToCenter()
104 mSeekBar.setMax(MAX_PROGRESS_VALUE); in setProgressTest_shouldMaintainInputValue()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugReportService.java129 static final float MAX_PROGRESS_VALUE = 100f; field in BugReportService
293 .setProgress((int) MAX_PROGRESS_VALUE, (int) mBugReportProgress.get(), false) in buildProgressNotification()
414 public void onProgress(@FloatRange(from = 0f, to = MAX_PROGRESS_VALUE) float progress) { in requestBugReport()
423 mBugReportProgress.set(MAX_PROGRESS_VALUE); in requestBugReport()
424 sendProgressEventToHandler(MAX_PROGRESS_VALUE); in requestBugReport()
446 mBugReportProgress.set(MAX_PROGRESS_VALUE); in handleBugReportManagerError()
447 sendProgressEventToHandler(MAX_PROGRESS_VALUE); in handleBugReportManagerError()
DBugReportActivity.java18 import static com.google.android.car.bugreport.BugReportService.MAX_PROGRESS_VALUE;
232 if (progressValue == MAX_PROGRESS_VALUE) { in onProgressChanged()