Home
last modified time | relevance | path

Searched refs:PatternDotViewModel (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DPatternBouncerViewModelTest.kt122 PatternDotViewModel( in <lambda>()
131 PatternDotViewModel( in <lambda>()
179 PatternDotViewModel(0, 0), in <lambda>()
180 PatternDotViewModel(1, 0), in <lambda>()
181 PatternDotViewModel(2, 0) in <lambda>()
205 PatternDotViewModel(1, 0), in <lambda>()
206 PatternDotViewModel(1, 1), in <lambda>()
207 PatternDotViewModel(1, 2) in <lambda>()
233 PatternDotViewModel(2, 0), in <lambda>()
234 PatternDotViewModel(1, 1), in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DPatternBouncerViewModel.kt57 private val _selectedDots = MutableStateFlow<LinkedHashSet<PatternDotViewModel>>(linkedSetOf()) in <lambda>()
60 val selectedDots: StateFlow<List<PatternDotViewModel>> = in <lambda>()
69 private val _currentDot = MutableStateFlow<PatternDotViewModel?>(null) in <lambda>()
72 val currentDot: StateFlow<PatternDotViewModel?> = _currentDot.asStateFlow() in <lambda>()
77 val dots: StateFlow<List<PatternDotViewModel>> = _dots.asStateFlow() in <lambda>()
136 PatternDotViewModel( in <lambda>()
152 linkedSetOf<PatternDotViewModel>().apply { in <lambda>()
180 return _selectedDots.value.map(PatternDotViewModel::toCoordinate) in <lambda>()
183 private fun defaultDots(): List<PatternDotViewModel> { in <lambda>()
188 PatternDotViewModel( in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPatternBouncer.kt59 import com.android.systemui.bouncer.ui.viewmodel.PatternDotViewModel in <lambda>()
97 val dots: List<PatternDotViewModel> by viewModel.dots.collectAsStateWithLifecycle() in <lambda>()
99 val currentDot: PatternDotViewModel? by viewModel.currentDot.collectAsStateWithLifecycle() in <lambda>()
101 val selectedDots: List<PatternDotViewModel> by in <lambda>()
377 dotAppearFadeInAnimatables: Map<PatternDotViewModel, Animatable<Float, AnimationVector1D>>, in showEntryAnimation()
378 dotAppearMoveUpAnimatables: Map<PatternDotViewModel, Animatable<Float, AnimationVector1D>>, in showEntryAnimation()
412 dot: PatternDotViewModel, in pixelOffset()
437 dots: List<PatternDotViewModel>, in showFailureAnimation()
438 scalingAnimatables: Map<PatternDotViewModel, Animatable<Float, AnimationVector1D>>, in showFailureAnimation()
441 buildList<MutableList<PatternDotViewModel>> { in showFailureAnimation()