/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | TutorialStepIndicator.java | 60 public void setTutorialProgress(int currentStep, int totalSteps) { in setTutorialProgress() argument 65 if (totalSteps <= 0) { in setTutorialProgress() 66 Log.w(LOG_TAG, "Total number of steps invalid: " + totalSteps + ". Assuming 1 step."); in setTutorialProgress() 67 totalSteps = 1; in setTutorialProgress() 69 if (currentStep > totalSteps) { in setTutorialProgress() 72 currentStep = totalSteps; in setTutorialProgress() 74 if (totalSteps < 2) { in setTutorialProgress() 80 mTotalSteps = totalSteps; in setTutorialProgress()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/udfps/ui/widget/ |
D | UdfpsEnrollProgressBarDrawableV2.kt | 64 private var totalSteps = 0 in <lambda>() variable 146 fun onEnrollmentProgress(remaining: Int, totalSteps: Int, isRecreating: Boolean = false) { in <lambda>() 148 updateProgress(remaining, totalSteps, isRecreating) in <lambda>() 153 if (remainingSteps == totalSteps) { in <lambda>() 238 private fun updateProgress(remainingSteps: Int, totalSteps: Int, isRecreating: Boolean) { in <lambda>() 239 if (this.remainingSteps == remainingSteps && this.totalSteps == totalSteps) { in <lambda>() 252 this.totalSteps = totalSteps in <lambda>() 253 val targetProgress = (totalSteps - remainingSteps).toFloat().div(max(1, totalSteps)) in <lambda>()
|
D | UdfpsEnrollViewV2.kt | 179 private fun onEnrollmentProgress(remaining: Int, totalSteps: Int) { in <lambda>() 180 fingerprintProgressDrawable.onEnrollmentProgress(remaining, totalSteps) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/widget/ |
D | UdfpsEnrollProgressBarDrawable.java | 182 void onEnrollmentProgress(final int remaining, final int totalSteps) { in onEnrollmentProgress() argument 184 updateState(remaining, totalSteps, false /* showingHelp */); in onEnrollmentProgress() 187 void onEnrollmentHelp(int remaining, int totalSteps) { in onEnrollmentHelp() argument 188 updateState(remaining, totalSteps, true /* showingHelp */); in onEnrollmentHelp() 195 private void updateState(int remainingSteps, int totalSteps, boolean showingHelp) { in updateState() argument 196 updateProgress(remainingSteps, totalSteps, showingHelp); in updateState() 200 private void updateProgress(int remainingSteps, int totalSteps, boolean showingHelp) { in updateProgress() argument 201 if (mRemainingSteps == remainingSteps && mTotalSteps == totalSteps) { in updateProgress() 233 mTotalSteps = totalSteps; in updateProgress() 235 final int progressSteps = Math.max(0, totalSteps - remainingSteps); in updateProgress()
|
D | UdfpsEnrollView.java | 89 public void onEnrollmentProgress(int remaining, int totalSteps) { in onEnrollmentProgress() argument 91 mTotalSteps = totalSteps; in onEnrollmentProgress() 95 mFingerprintProgressDrawable.onEnrollmentProgress(remaining, totalSteps); in onEnrollmentProgress() 96 mFingerprintDrawable.onEnrollmentProgress(remaining, totalSteps); in onEnrollmentProgress()
|
D | UdfpsEnrollDrawable.java | 184 void onEnrollmentProgress(final int remaining, final int totalSteps) { in onEnrollmentProgress() argument 186 mTotalSteps = totalSteps; in onEnrollmentProgress() 348 private int getStageThresholdSteps(int totalSteps, int stageIndex) { in getStageThresholdSteps() argument 349 return Math.round(totalSteps * mFingerprintManager.getEnrollStageThreshold(stageIndex)); in getStageThresholdSteps()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | UdfpsEnrollProgressBarDrawable.java | 182 void onEnrollmentProgress(int remaining, int totalSteps) { in onEnrollmentProgress() argument 184 updateState(remaining, totalSteps, false /* showingHelp */); in onEnrollmentProgress() 187 void onEnrollmentHelp(int remaining, int totalSteps) { in onEnrollmentHelp() argument 188 updateState(remaining, totalSteps, true /* showingHelp */); in onEnrollmentHelp() 195 private void updateState(int remainingSteps, int totalSteps, boolean showingHelp) { in updateState() argument 196 updateProgress(remainingSteps, totalSteps, showingHelp); in updateState() 200 private void updateProgress(int remainingSteps, int totalSteps, boolean showingHelp) { in updateProgress() argument 201 if (mRemainingSteps == remainingSteps && mTotalSteps == totalSteps) { in updateProgress() 233 mTotalSteps = totalSteps; in updateProgress() 235 final int progressSteps = Math.max(0, totalSteps - remainingSteps); in updateProgress()
|
D | UdfpsEnrollHelper.java | 52 void onEnrollmentProgress(int remaining, int totalSteps); in onEnrollmentProgress() argument 54 void onEnrollmentHelp(int remaining, int totalSteps); in onEnrollmentHelp() argument 151 public void onEnrollmentProgress(int totalSteps, int remaining) { in onEnrollmentProgress() argument 153 mTotalSteps = totalSteps; in onEnrollmentProgress() 270 private int getStageThresholdSteps(int totalSteps, int stageIndex) { in getStageThresholdSteps() argument 271 return Math.round(totalSteps * mFingerprintManager.getEnrollStageThreshold(stageIndex)); in getStageThresholdSteps()
|
D | UdfpsEnrollView.java | 78 public void onEnrollmentProgress(int remaining, int totalSteps) { in onEnrollmentProgress() argument 80 mFingerprintProgressDrawable.onEnrollmentProgress(remaining, totalSteps); in onEnrollmentProgress() 81 mFingerprintDrawable.onEnrollmentProgress(remaining, totalSteps); in onEnrollmentProgress() 86 public void onEnrollmentHelp(int remaining, int totalSteps) { in onEnrollmentHelp() argument 87 mHandler.post(() -> mFingerprintProgressDrawable.onEnrollmentHelp(remaining, totalSteps)); in onEnrollmentHelp()
|
D | UdfpsEnrollDrawable.java | 160 void onEnrollmentProgress(int remaining, int totalSteps) { in onEnrollmentProgress() argument
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/domain/interactor/ |
D | FingerprintEnrollInteractor.kt | 75 var totalSteps: Int? = null in enroll() variable 81 if (totalSteps == null) { in enroll() 82 totalSteps = remaining + 1 in enroll() 85 trySend(FingerEnrollState.EnrollProgress(remaining, totalSteps!!)).onFailure { error -> in enroll()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollEnrollingTest.java | 690 public void onEnrollmentProgress(int remaining, int totalSteps) { in onEnrollmentProgress() argument 695 public void onEnrollmentHelp(int remaining, int totalSteps) { in onEnrollmentHelp() argument
|