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.kt124 PatternDotViewModel(x = it.x, y = it.y) in <lambda>()
130 PatternDotViewModel( in <lambda>()
178 PatternDotViewModel(0, 0), in <lambda>()
179 PatternDotViewModel(1, 0), in <lambda>()
180 PatternDotViewModel(2, 0), in <lambda>()
204 PatternDotViewModel(1, 0), in <lambda>()
205 PatternDotViewModel(1, 1), in <lambda>()
206 PatternDotViewModel(1, 2), in <lambda>()
232 PatternDotViewModel(2, 0), in <lambda>()
233 PatternDotViewModel(1, 1), in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DPatternBouncerViewModel.kt65 private val selectedDotSet = MutableStateFlow<LinkedHashSet<PatternDotViewModel>>(linkedSetOf()) in <lambda>()
68 val selectedDots: StateFlow<List<PatternDotViewModel>> = selectedDotList.asStateFlow() in <lambda>()
70 private val _currentDot = MutableStateFlow<PatternDotViewModel?>(null) in <lambda>()
73 val currentDot: StateFlow<PatternDotViewModel?> = _currentDot.asStateFlow() in <lambda>()
78 val dots: StateFlow<List<PatternDotViewModel>> = _dots.asStateFlow() in <lambda>()
147 PatternDotViewModel( in <lambda>()
162 linkedSetOf<PatternDotViewModel>().apply { in <lambda>()
190 return selectedDotSet.value.map(PatternDotViewModel::toCoordinate) in <lambda>()
193 private fun defaultDots(): List<PatternDotViewModel> { in <lambda>()
196 (0 until rowCount).forEach { y -> add(PatternDotViewModel(x = x, y = y)) } in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPatternBouncer.kt62 import com.android.systemui.bouncer.ui.viewmodel.PatternDotViewModel in <lambda>()
100 val dots: List<PatternDotViewModel> by viewModel.dots.collectAsStateWithLifecycle() in <lambda>()
102 val currentDot: PatternDotViewModel? by viewModel.currentDot.collectAsStateWithLifecycle() in <lambda>()
104 val selectedDots: List<PatternDotViewModel> by in <lambda>()
393 dotAppearFadeInAnimatables: Map<PatternDotViewModel, Animatable<Float, AnimationVector1D>>, in showEntryAnimation()
394 dotAppearMoveUpAnimatables: Map<PatternDotViewModel, Animatable<Float, AnimationVector1D>>, in showEntryAnimation()
428 dot: PatternDotViewModel, in pixelOffset()
453 dots: List<PatternDotViewModel>, in showFailureAnimation()
454 scalingAnimatables: Map<PatternDotViewModel, Animatable<Float, AnimationVector1D>>, in showFailureAnimation()
457 buildList<MutableList<PatternDotViewModel>> { in showFailureAnimation()