2/n: Refactor common code from FingerprintDialogView

Bug: 111461540

Test: BiometricPromptDemo works
Change-Id: I7077b062f1da0e084a38d5d53248123a82456a48
9 files changed