Merge "Rename BP assets to lowercase" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b43b45703e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -187,11 +187,11 @@ open class AuthBiometricFingerprintIconController(
|
|||||||
|
|
||||||
@RawRes
|
@RawRes
|
||||||
private fun getSideFpsAnimationForTransition(rotation: Int): Int = when (rotation) {
|
private fun getSideFpsAnimationForTransition(rotation: Int): Int = when (rotation) {
|
||||||
Surface.ROTATION_0 -> R.raw.BiometricPrompt_Landscape_Base
|
Surface.ROTATION_0 -> R.raw.biometricprompt_landscape_base
|
||||||
Surface.ROTATION_90 -> R.raw.BiometricPrompt_Portrait_Base_TopLeft
|
Surface.ROTATION_90 -> R.raw.biometricprompt_portrait_base_topleft
|
||||||
Surface.ROTATION_180 -> R.raw.BiometricPrompt_Landscape_Base
|
Surface.ROTATION_180 -> R.raw.biometricprompt_landscape_base
|
||||||
Surface.ROTATION_270 -> R.raw.BiometricPrompt_Portrait_Base_BottomRight
|
Surface.ROTATION_270 -> R.raw.biometricprompt_portrait_base_bottomright
|
||||||
else -> R.raw.BiometricPrompt_Landscape_Base
|
else -> R.raw.biometricprompt_landscape_base
|
||||||
}
|
}
|
||||||
|
|
||||||
@RawRes
|
@RawRes
|
||||||
@@ -203,14 +203,14 @@ open class AuthBiometricFingerprintIconController(
|
|||||||
STATE_HELP,
|
STATE_HELP,
|
||||||
STATE_ERROR -> {
|
STATE_ERROR -> {
|
||||||
when (rotation) {
|
when (rotation) {
|
||||||
Surface.ROTATION_0 -> R.raw.BiometricPrompt_Fingerprint_To_Error_Landscape
|
Surface.ROTATION_0 -> R.raw.biometricprompt_fingerprint_to_error_landscape
|
||||||
Surface.ROTATION_90 ->
|
Surface.ROTATION_90 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Fingerprint_To_Error_Portrait_TopLeft
|
R.raw.biometricprompt_symbol_fingerprint_to_error_portrait_topleft
|
||||||
Surface.ROTATION_180 ->
|
Surface.ROTATION_180 ->
|
||||||
R.raw.BiometricPrompt_Fingerprint_To_Error_Landscape
|
R.raw.biometricprompt_fingerprint_to_error_landscape
|
||||||
Surface.ROTATION_270 ->
|
Surface.ROTATION_270 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Fingerprint_To_Error_Portrait_BottomRight
|
R.raw.biometricprompt_symbol_fingerprint_to_error_portrait_bottomright
|
||||||
else -> R.raw.BiometricPrompt_Fingerprint_To_Error_Landscape
|
else -> R.raw.biometricprompt_fingerprint_to_error_landscape
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
STATE_AUTHENTICATING_ANIMATING_IN,
|
STATE_AUTHENTICATING_ANIMATING_IN,
|
||||||
@@ -218,25 +218,25 @@ open class AuthBiometricFingerprintIconController(
|
|||||||
if (oldState == STATE_ERROR || oldState == STATE_HELP) {
|
if (oldState == STATE_ERROR || oldState == STATE_HELP) {
|
||||||
when (rotation) {
|
when (rotation) {
|
||||||
Surface.ROTATION_0 ->
|
Surface.ROTATION_0 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Error_To_Fingerprint_Landscape
|
R.raw.biometricprompt_symbol_error_to_fingerprint_landscape
|
||||||
Surface.ROTATION_90 ->
|
Surface.ROTATION_90 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Error_To_Fingerprint_Portrait_TopLeft
|
R.raw.biometricprompt_symbol_error_to_fingerprint_portrait_topleft
|
||||||
Surface.ROTATION_180 ->
|
Surface.ROTATION_180 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Error_To_Fingerprint_Landscape
|
R.raw.biometricprompt_symbol_error_to_fingerprint_landscape
|
||||||
Surface.ROTATION_270 ->
|
Surface.ROTATION_270 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Error_To_Fingerprint_Portrait_BottomRight
|
R.raw.biometricprompt_symbol_error_to_fingerprint_portrait_bottomright
|
||||||
else -> R.raw.BiometricPrompt_Symbol_Error_To_Fingerprint_Landscape
|
else -> R.raw.biometricprompt_symbol_error_to_fingerprint_landscape
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
when (rotation) {
|
when (rotation) {
|
||||||
Surface.ROTATION_0 -> R.raw.BiometricPrompt_Fingerprint_To_Error_Landscape
|
Surface.ROTATION_0 -> R.raw.biometricprompt_fingerprint_to_error_landscape
|
||||||
Surface.ROTATION_90 ->
|
Surface.ROTATION_90 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Fingerprint_To_Error_Portrait_TopLeft
|
R.raw.biometricprompt_symbol_fingerprint_to_error_portrait_topleft
|
||||||
Surface.ROTATION_180 ->
|
Surface.ROTATION_180 ->
|
||||||
R.raw.BiometricPrompt_Fingerprint_To_Error_Landscape
|
R.raw.biometricprompt_fingerprint_to_error_landscape
|
||||||
Surface.ROTATION_270 ->
|
Surface.ROTATION_270 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Fingerprint_To_Error_Portrait_BottomRight
|
R.raw.biometricprompt_symbol_fingerprint_to_error_portrait_bottomright
|
||||||
else -> R.raw.BiometricPrompt_Fingerprint_To_Error_Landscape
|
else -> R.raw.biometricprompt_fingerprint_to_error_landscape
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -244,26 +244,26 @@ open class AuthBiometricFingerprintIconController(
|
|||||||
if (oldState == STATE_ERROR || oldState == STATE_HELP) {
|
if (oldState == STATE_ERROR || oldState == STATE_HELP) {
|
||||||
when (rotation) {
|
when (rotation) {
|
||||||
Surface.ROTATION_0 ->
|
Surface.ROTATION_0 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Error_To_Success_Landscape
|
R.raw.biometricprompt_symbol_error_to_success_landscape
|
||||||
Surface.ROTATION_90 ->
|
Surface.ROTATION_90 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Error_To_Success_Portrait_TopLeft
|
R.raw.biometricprompt_symbol_error_to_success_portrait_topleft
|
||||||
Surface.ROTATION_180 ->
|
Surface.ROTATION_180 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Error_To_Success_Landscape
|
R.raw.biometricprompt_symbol_error_to_success_landscape
|
||||||
Surface.ROTATION_270 ->
|
Surface.ROTATION_270 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Error_To_Success_Portrait_BottomRight
|
R.raw.biometricprompt_symbol_error_to_success_portrait_bottomright
|
||||||
else -> R.raw.BiometricPrompt_Symbol_Error_To_Success_Landscape
|
else -> R.raw.biometricprompt_symbol_error_to_success_landscape
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
when (rotation) {
|
when (rotation) {
|
||||||
Surface.ROTATION_0 ->
|
Surface.ROTATION_0 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Fingerprint_To_Success_Landscape
|
R.raw.biometricprompt_symbol_fingerprint_to_success_landscape
|
||||||
Surface.ROTATION_90 ->
|
Surface.ROTATION_90 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Fingerprint_To_Success_Portrait_TopLeft
|
R.raw.biometricprompt_symbol_fingerprint_to_success_portrait_topleft
|
||||||
Surface.ROTATION_180 ->
|
Surface.ROTATION_180 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Fingerprint_To_Success_Landscape
|
R.raw.biometricprompt_symbol_fingerprint_to_success_landscape
|
||||||
Surface.ROTATION_270 ->
|
Surface.ROTATION_270 ->
|
||||||
R.raw.BiometricPrompt_Symbol_Fingerprint_To_Success_Portrait_BottomRight
|
R.raw.biometricprompt_symbol_fingerprint_to_success_portrait_bottomright
|
||||||
else -> R.raw.BiometricPrompt_Symbol_Fingerprint_To_Success_Landscape
|
else -> R.raw.biometricprompt_symbol_fingerprint_to_success_landscape
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user