Home
last modified time | relevance | path

Searched refs:AuthDialog (Results 1 – 12 of 12) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthBiometricView.java134 private @AuthDialog.DialogSize int mSize = AuthDialog.SIZE_UNKNOWN;
184 } else if (mSize == AuthDialog.SIZE_SMALL) {
187 } else if (mSize == AuthDialog.SIZE_LARGE) {
326 if (size != AuthDialog.SIZE_LARGE) { in updatePaddings()
343 if (newSize == AuthDialog.SIZE_SMALL) { in updateSize()
363 } else if (mSize == AuthDialog.SIZE_SMALL && newSize == AuthDialog.SIZE_MEDIUM) { in updateSize()
529 if (mSize != AuthDialog.SIZE_SMALL) { in updateState()
638 if (mSize != AuthDialog.SIZE_MEDIUM) { in onHelp()
777 updateSize(AuthDialog.SIZE_LARGE); in startTransitionToCredentialUI()
946 : AuthDialog.SIZE_MEDIUM); in onLayout()
[all …]
H A DAuthBiometricFaceView.kt47 newState == STATE_AUTHENTICATING && size == AuthDialog.SIZE_MEDIUM) {
59 if (size == AuthDialog.SIZE_MEDIUM) {
H A DUdfpsDialogMeasureAdapter.java66 public AuthDialog.LayoutParams onMeasureInternal( in onMeasureInternal()
67 int width, int height, @NonNull AuthDialog.LayoutParams layoutParams, in onMeasureInternal()
101 private AuthDialog.LayoutParams onMeasureInternalPortrait(int width, int height, in onMeasureInternalPortrait()
170 return new AuthDialog.LayoutParams(width, totalHeight); in onMeasureInternalPortrait()
188 private AuthDialog.LayoutParams onMeasureInternalLandscape(int width, int height, in onMeasureInternalLandscape()
262 return new AuthDialog.LayoutParams(remeasuredWidth, remeasuredHeight); in onMeasureInternalLandscape()
H A DAuthContainerView.java101 implements AuthDialog, WakefulnessLifecycle.Observer, CredentialView.Host {
212 }, mConfig.mSkipAnimation ? 0 : AuthDialog.ANIMATE_CREDENTIAL_START_DELAY_MS); in onAction()
401 getJankListener(view, TRANSIT, AuthDialog.ANIMATE_MEDIUM_TO_LARGE_DURATION_MS), in showPrompt()
465 AuthDialog.ANIMATE_MEDIUM_TO_LARGE_DURATION_MS)); in showLegacyPrompt()
791 outState.putBoolean(AuthDialog.KEY_CONTAINER_GOING_AWAY,
795 outState.putBoolean(AuthDialog.KEY_BIOMETRIC_SHOWING,
797 outState.putBoolean(AuthDialog.KEY_CREDENTIAL_SHOWING, mCredentialView != null);
H A DAuthDialog.java38 public interface AuthDialog extends Dumpable { interface
H A DAuthBiometricFingerprintView.kt56 override fun onMeasureInternal(width: Int, height: Int): AuthDialog.LayoutParams {
H A DAuthController.java155 AuthDialog mCurrentDialog;
1219 final AuthDialog newDialog = buildDialog( in showDialog()
1296 if (!savedState.getBoolean(AuthDialog.KEY_CONTAINER_GOING_AWAY, false)) { in onConfigurationChanged()
1298 savedState.getBoolean(AuthDialog.KEY_CREDENTIAL_SHOWING); in onConfigurationChanged()
1319 protected AuthDialog buildDialog(@Background DelayableExecutor bgExecutor, in buildDialog()
1347 final AuthDialog dialog = mCurrentDialog; in dump()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/
H A DBiometricPromptLayout.java35 import com.android.systemui.biometrics.AuthDialog;
98 private AuthDialog.LayoutParams onMeasureInternal(int width, int height) { in onMeasureInternal()
133 final AuthDialog.LayoutParams params = new AuthDialog.LayoutParams(width, totalHeight); in onMeasureInternal()
158 final AuthDialog.LayoutParams params = onMeasureInternal(width, height); in onMeasure()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DAuthBiometricFingerprintViewTest.kt203 biometricView.mLayoutParams = AuthDialog.LayoutParams(0, 0)
204 biometricView.updateSize(AuthDialog.SIZE_SMALL)
241 assertThat(state.getInt(AuthDialog.KEY_BIOMETRIC_TRY_AGAIN_VISIBILITY))
243 assertThat(state.getInt(AuthDialog.KEY_BIOMETRIC_STATE))
246 assertThat(state.getBoolean(AuthDialog.KEY_BIOMETRIC_INDICATOR_ERROR_SHOWING)).isTrue()
248 assertThat(state.getString(AuthDialog.KEY_BIOMETRIC_INDICATOR_STRING))
H A DAuthControllerTest.java141 private AuthDialog mDialog1;
143 private AuthDialog mDialog2;
703 savedState.putBoolean(AuthDialog.KEY_CONTAINER_GOING_AWAY, false); in testConfigurationPersists_whenOnConfigurationChanged()
732 savedState.putBoolean(AuthDialog.KEY_CONTAINER_GOING_AWAY, false); in testConfigurationPersists_whenBiometricFallbackToCredential()
733 savedState.putBoolean(AuthDialog.KEY_CREDENTIAL_SHOWING, true); in testConfigurationPersists_whenBiometricFallbackToCredential()
1102 protected AuthDialog buildDialog(DelayableExecutor bgExecutor, PromptInfo promptInfo, in buildDialog()
1112 AuthDialog dialog; in buildDialog()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
H A DBiometricViewSizeBinder.kt34 import com.android.systemui.biometrics.AuthDialog
137 val duration = AuthDialog.ANIMATE_SMALL_TO_MEDIUM_DURATION_MS
168 val duration = AuthDialog.ANIMATE_MEDIUM_TO_LARGE_DURATION_MS
H A DCredentialViewBinder.kt11 import com.android.systemui.biometrics.AuthDialog
127 .setDuration(AuthDialog.ANIMATE_CREDENTIAL_INITIAL_DURATION_MS.toLong())