Home
last modified time | relevance | path

Searched refs:totalSteps (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsEnrollView.java107 void onEnrollmentProgress(int remaining, int totalSteps) { in onEnrollmentProgress() argument
109 mFingerprintProgressDrawable.onEnrollmentProgress(remaining, totalSteps); in onEnrollmentProgress()
110 mFingerprintDrawable.onEnrollmentProgress(remaining, totalSteps); in onEnrollmentProgress()
114 void onEnrollmentHelp(int remaining, int totalSteps) { in onEnrollmentHelp() argument
115 mHandler.post(() -> mFingerprintProgressDrawable.onEnrollmentHelp(remaining, totalSteps)); in onEnrollmentHelp()
DUdfpsEnrollViewController.java40 public void onEnrollmentProgress(int remaining, int totalSteps) {
41 mView.onEnrollmentProgress(remaining, totalSteps);
45 public void onEnrollmentHelp(int remaining, int totalSteps) {
46 mView.onEnrollmentHelp(remaining, totalSteps);
DUdfpsEnrollProgressBarDrawable.java178 void onEnrollmentProgress(int remaining, int totalSteps) { in onEnrollmentProgress() argument
180 updateState(remaining, totalSteps, false /* showingHelp */); in onEnrollmentProgress()
183 void onEnrollmentHelp(int remaining, int totalSteps) { in onEnrollmentHelp() argument
184 updateState(remaining, totalSteps, true /* showingHelp */); in onEnrollmentHelp()
191 private void updateState(int remainingSteps, int totalSteps, boolean showingHelp) { in updateState() argument
192 updateProgress(remainingSteps, totalSteps, showingHelp); in updateState()
196 private void updateProgress(int remainingSteps, int totalSteps, boolean showingHelp) { in updateProgress() argument
197 if (mRemainingSteps == remainingSteps && mTotalSteps == totalSteps) { in updateProgress()
228 mTotalSteps = totalSteps; in updateProgress()
230 final int progressSteps = Math.max(0, totalSteps - remainingSteps); in updateProgress()
DUdfpsEnrollHelper.java50 void onEnrollmentProgress(int remaining, int totalSteps); in onEnrollmentProgress() argument
51 void onEnrollmentHelp(int remaining, int totalSteps); in onEnrollmentHelp() argument
130 int getStageThresholdSteps(int totalSteps, int stageIndex) { in getStageThresholdSteps() argument
131 return Math.round(totalSteps * mFingerprintManager.getEnrollStageThreshold(stageIndex)); in getStageThresholdSteps()
DUdfpsEnrollDrawable.java141 void onEnrollmentProgress(int remaining, int totalSteps) { in onEnrollmentProgress() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DUdfpsControllerOverlayTest.kt515 override fun onEnrollmentProgress(remaining: Int, totalSteps: Int) { in onEnrollmentProgress()
519 override fun onEnrollmentHelp(remaining: Int, totalSteps: Int) { in onEnrollmentHelp()