Home
last modified time | relevance | path

Searched refs:UserAction (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileMapperTest.kt61 supportedActions: Set<QSTileState.UserAction> = in createUiNightModeTileState()
63 setOf(QSTileState.UserAction.LONG_CLICK) in createUiNightModeTileState()
64 else setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK), in createUiNightModeTileState()
217 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in supportsClickAndLongClickActionsWhenNotInPowerSaveInNightMode()
240 supportedActions = setOf(QSTileState.UserAction.LONG_CLICK) in supportsOnlyLongClickActionWhenUnavailableInPowerSaveInNightMode()
261 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in supportsClickAndLongClickActionsWhenNotInPowerSaveNotInNightMode()
282 supportedActions = setOf(QSTileState.UserAction.LONG_CLICK) in supportsOnlyClickActionWhenUnavailableInPowerSaveNotInNightMode()
303 supportedActions = setOf(QSTileState.UserAction.LONG_CLICK) in secondaryLabelCorrectWhenInPowerSaveMode()
331 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in secondaryLabelCorrectWhenInNightModeNotInPowerSaveModeLocationEnabledUiModeIsNightAuto()
359 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in secondaryLabelCorrectWhenNotInNightModeNotInPowerSaveModeLocationEnableUiModeIsNightAuto()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/ui/
DBatterySaverTileMapper.kt50 supportedActions = setOf(QSTileState.UserAction.LONG_CLICK) in map()
55 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
70 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/viewmodel/
DSceneContainerViewModel.kt22 import com.android.compose.animation.scene.UserAction in <lambda>()
72 ): StateFlow<Map<UserAction, UserActionResult>> { in <lambda>()
155 actionResultMap: Map<UserAction, UserActionResult>, in <lambda>()
156 ): Map<UserAction, UserActionResult> { in <lambda>()
165 destinationScenes: Map<UserAction, UserActionResult>, in <lambda>()
166 ): Flow<Map<UserAction, UserActionResult>> { in <lambda>()
DGoneSceneViewModel.kt22 import com.android.compose.animation.scene.UserAction
44 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
58 ): Map<UserAction, UserActionResult> { in destinationScenes()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/shared/model/
DFakeScene.kt20 import com.android.compose.animation.scene.UserAction
36 private val destinationScenesChannel = Channel<Map<UserAction, UserActionResult>>()
49 suspend fun setDestinationScenes(value: Map<UserAction, UserActionResult>) { in setDestinationScenes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileState.kt43 val supportedActions: Set<UserAction>,
103 enum class UserAction { class in com.android.systemui.qs.tiles.viewmodel.QSTileState
121 var supportedActions: Set<UserAction> = setOf(UserAction.CLICK)
DQSTileViewModelAdapter.kt131 if (isActionSupported(QSTileState.UserAction.CLICK)) { in <lambda>()
137 if (isActionSupported(QSTileState.UserAction.CLICK)) { in <lambda>()
143 if (isActionSupported(QSTileState.UserAction.LONG_CLICK)) { in <lambda>()
148 private fun isActionSupported(action: QSTileState.UserAction): Boolean = in <lambda>()
241 viewModelState.supportedActions.contains(QSTileState.UserAction.LONG_CLICK) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/shared/model/
DScene.kt20 import com.android.compose.animation.scene.UserAction
57 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>>
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalScene.kt24 import com.android.compose.animation.scene.UserAction
48 override val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
49 MutableStateFlow<Map<UserAction, UserActionResult>>(
/frameworks/base/packages/SystemUI/src/com/android/systemui/notifications/ui/viewmodel/
DNotificationsShadeSceneViewModel.kt21 import com.android.compose.animation.scene.UserAction
33 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/domain/
DCustomTileMapper.kt82 setOf(QSTileState.UserAction.LONG_CLICK) in map()
84 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitionLayout.kt135 userActions: Map<UserAction, UserActionResult> = emptyMap(), in scene()
398 sealed interface UserAction { in align() interface
399 infix fun to(scene: SceneKey): Pair<UserAction, UserActionResult> { in align()
405 data object Back : UserAction
412 ) : UserAction {
DScene.kt40 actions: Map<UserAction, UserActionResult>, in <lambda>()
57 userActions: Map<UserAction, UserActionResult> in <lambda>()
58 ): Map<UserAction, UserActionResult> { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileMapperTest.kt75 actions = setOf(QSTileState.UserAction.LONG_CLICK), in stateHasPendingBinding()
130 actions = setOf(QSTileState.UserAction.LONG_CLICK), in stateUnavailable()
242 actions: Set<QSTileState.UserAction> = in createTileState()
243 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK), in createTileState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileMapper.kt130 setOf(QSTileState.UserAction.LONG_CLICK) in map()
131 else setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/
DFontScalingTileMapper.kt53 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/colorcorrection/domain/
DColorCorrectionTileMapper.kt51 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ui/viewmodel/
DQuickSettingsShadeSceneViewModel.kt21 import com.android.compose.animation.scene.UserAction
46 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
DQuickSettingsSceneViewModel.kt25 import com.android.compose.animation.scene.UserAction
74 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
95 ): Map<UserAction, UserActionResult> { in destinationScenes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/inversion/domain/
DColorInversionTileMapper.kt53 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenSceneViewModel.kt24 import com.android.compose.animation.scene.UserAction in <lambda>()
59 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> = in <lambda>()
93 ): Map<UserAction, UserActionResult> { in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/
DLockscreenScene.kt23 import com.android.compose.animation.scene.UserAction
45 override val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/onehanded/ui/
DOneHandedModeTileMapper.kt53 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/airplane/domain/
DAirplaneModeMapper.kt63 QSTileState.UserAction.CLICK, in map()
64 QSTileState.UserAction.LONG_CLICK, in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/
DDataSaverTileMapper.kt53 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()

123