Searched refs:PreferenceViewModel (Results 1 – 4 of 4) sorted by relevance
29 import com.android.settings.biometrics.fingerprint2.ui.settings.viewmodel.PreferenceViewModel237 var dialog: PreferenceViewModel? = null in <lambda>()246 assertThat(dialog is PreferenceViewModel.DeleteDialog) in <lambda>()247 assertThat(dialog).isEqualTo(PreferenceViewModel.DeleteDialog(fingerprintToDelete)) in <lambda>()273 var dialog: PreferenceViewModel? = null in <lambda>()282 assertThat(dialog is PreferenceViewModel.DeleteDialog) in <lambda>()283 assertThat(dialog).isEqualTo(PreferenceViewModel.RenameDialog(fingerprintToRename)) in <lambda>()311 var dialog: PreferenceViewModel? = null in <lambda>()320 assertThat(dialog is PreferenceViewModel.DeleteDialog) in <lambda>()321 assertThat(dialog).isEqualTo(PreferenceViewModel.DeleteDialog(fingerprintToDelete)) in <lambda>()[all …]
22 sealed class PreferenceViewModel { class23 data class RenameDialog(val fingerprintViewModel: FingerprintData) : PreferenceViewModel()25 data class DeleteDialog(val fingerprintViewModel: FingerprintData) : PreferenceViewModel()
80 private val _isShowingDialog: MutableStateFlow<PreferenceViewModel?> = MutableStateFlow(null) in <lambda>()225 _isShowingDialog.tryEmit(PreferenceViewModel.DeleteDialog(fingerprintViewModel)) in <lambda>()236 _isShowingDialog.tryEmit(PreferenceViewModel.RenameDialog(fingerprintViewModel)) in <lambda>()
33 import com.android.settings.biometrics.fingerprint2.ui.settings.viewmodel.PreferenceViewModel in <lambda>()122 is PreferenceViewModel.RenameDialog -> { in <lambda>()130 is PreferenceViewModel.DeleteDialog -> { in <lambda>()