Home
last modified time | relevance | path

Searched refs:remainingSteps (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/biometrics2/ui/widget/
DUdfpsEnrollProgressBarDrawable.java195 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()
216 if (remainingSteps == -1 && mIsAccessibilityEnabled) { in updateProgress()
221 } else if (remainingSteps != -1 && !mIsAccessibilityEnabled) { in updateProgress()
232 mRemainingSteps = remainingSteps; in updateProgress()
235 final int progressSteps = Math.max(0, totalSteps - remainingSteps); in updateProgress()
252 if (remainingSteps == 0) { in updateProgress()
254 } else if (remainingSteps > 0) { in updateProgress()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DUdfpsEnrollProgressBarDrawable.java195 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()
217 if (remainingSteps == -1 && mIsAccessibilityEnabled) { in updateProgress()
222 } else if (remainingSteps != -1 && !mIsAccessibilityEnabled) { in updateProgress()
232 mRemainingSteps = remainingSteps; in updateProgress()
235 final int progressSteps = Math.max(0, totalSteps - remainingSteps); in updateProgress()
252 if (remainingSteps == 0) { in updateProgress()
254 } else if (remainingSteps > 0) { in updateProgress()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/udfps/ui/widget/
DUdfpsEnrollProgressBarDrawableV2.kt63 private var remainingSteps = 0 in <lambda>() variable
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>()
251 this.remainingSteps = remainingSteps in <lambda>()
253 val targetProgress = (totalSteps - remainingSteps).toFloat().div(max(1, totalSteps)) in <lambda>()
265 if (remainingSteps == 0) { in <lambda>()
DUdfpsEnrollViewV2.kt52 private var remainingSteps = -1 in <lambda>() variable
132 onEnrollmentProgress(event.remainingSteps, event.totalStepsRequired) in <lambda>()
190 val animateIfLastStepGood = isAcquiredGood && remainingSteps <= 2 && remainingSteps >= 0 in <lambda>()
236 fingerprintProgressDrawable.onEnrollmentProgress(it.remainingSteps, it.totalStepsRequired, true) in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/udfps/ui/viewmodel/
DUdfpsLastStepViewModel.kt66 stepSize.update { steps[0].remainingSteps - steps[1].remainingSteps } in <lambda>()
80 if (it.remainingSteps == stepSize.value) { in <lambda>()
DUdfpsViewModel.kt209 (event.totalStepsRequired - event.remainingSteps).toFloat() / event.totalStepsRequired in <lambda>()
262 udfpsEnrollInteractor.onEnrollmentStep(it.remainingSteps, it.totalStepsRequired) in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/lib/model/
DFingerEnrollState.kt31 data class EnrollProgress(val remainingSteps: Int, val totalStepsRequired: Int) : constant in com.android.settings.biometrics.fingerprint2.lib.model.FingerEnrollState.EnrollProgress
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/rfps/ui/viewmodel/
DRFPSViewModel.kt104 val didCompleteEnrollment: Flow<Boolean> = progress.filterNotNull().map { it.remainingSteps == 0 } in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/rfps/ui/fragment/
DRFPSEnrollFragment.kt239 progress.remainingSteps.toFloat() / progress.totalStepsRequired.toFloat() in <lambda>()