Searched refs:stickyKeys (Results 1 – 7 of 7) sorted by relevance
29 fun logNewStickyKeysReceived(stickyKeys: Map<ModifierKey, Locked>) { in logNewStickyKeysReceived()33 { str1 = stickyKeys.toString() }, in logNewStickyKeysReceived()38 fun logNewUiState(stickyKeys: Map<ModifierKey, Locked>) { in logNewUiState()42 { str1 = stickyKeys.toString() }, in logNewUiState()
158 val stickyKeys by collectLastValue(viewModel.indicatorContent) in emitsStickyKeysListWhenStickyKeyIsPressed() constant163 assertThat(stickyKeys).isEqualTo(mapOf(ALT to Locked(false))) in emitsStickyKeysListWhenStickyKeyIsPressed()170 val stickyKeys by collectLastValue(viewModel.indicatorContent) in emitsEmptyListWhenNoStickyKeysAreActive() constant175 assertThat(stickyKeys).isEqualTo(emptyMap<ModifierKey, Locked>()) in emitsEmptyListWhenNoStickyKeysAreActive()182 val stickyKeys by collectLastValue(viewModel.indicatorContent) in passesAllStickyKeysToDialog() constant190 assertThat(stickyKeys).isEqualTo(mapOf( in passesAllStickyKeysToDialog()201 val stickyKeys by collectLastValue(viewModel.indicatorContent) in showsOnlyLockedStateIfKeyIsStickyAndLocked() constant208 assertThat(stickyKeys).isEqualTo(mapOf(ALT to Locked(true))) in showsOnlyLockedStateIfKeyIsStickyAndLocked()215 val stickyKeys by collectLastValue(viewModel.indicatorContent) in doesNotChangeOrderOfKeysIfTheyBecomeLocked() constant222 val previousShiftIndex = stickyKeys?.toList()?.indexOf(SHIFT to Locked(false)) in doesNotChangeOrderOfKeysIfTheyBecomeLocked()[all …]
42 viewModel.indicatorContent.collect { stickyKeys -> in <lambda>() method43 stickyKeysLogger.logNewUiState(stickyKeys) in <lambda>()44 if (stickyKeys.isEmpty()) { in <lambda>()
60 val stickyKeys by viewModel.indicatorContent.collectAsStateWithLifecycle(emptyMap()) in StickyKeysIndicator() constant61 StickyKeysIndicator(stickyKeys) in StickyKeysIndicator()65 fun StickyKeysIndicator(stickyKeys: Map<ModifierKey, Locked>, modifier: Modifier = Modifier) { in StickyKeysIndicator()76 stickyKeys.forEach { (key, isLocked) -> key(key) { StickyKeyText(key, isLocked) } } in StickyKeysIndicator()
45 val stickyKeys: Flow<LinkedHashMap<ModifierKey, Locked>> in <lambda>() constant59 override val stickyKeys: Flow<LinkedHashMap<ModifierKey, Locked>> = constant
30 override val stickyKeys: Flow<LinkedHashMap<ModifierKey, Locked>> = _stickyKeys constant in com.android.systemui.keyboard.data.repository.FakeStickyKeysRepository
48 if (enabled) stickyKeysRepository.stickyKeys else flowOf(emptyMap()) in <lambda>()