Home
last modified time | relevance | path

Searched refs:coroutineScope (Results 1 – 25 of 117) sorted by relevance

12345

/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DInterruptionHandlerTest.kt46 state.setTargetScene(SceneB, coroutineScope = this) in <lambda>()
47 state.setTargetScene(SceneC, coroutineScope = this) in <lambda>()
83 state.setTargetScene(SceneB, coroutineScope = this) in <lambda>()
84 state.setTargetScene(SceneC, coroutineScope = this) in <lambda>()
126 state.setTargetScene(SceneB, coroutineScope = this) in <lambda>()
129 state.setTargetScene(SceneC, coroutineScope = this) in <lambda>()
167 val bToA = checkNotNull(state.setTargetScene(SceneA, coroutineScope = this)) in <lambda>()
193 val bToA = checkNotNull(state.setTargetScene(SceneB, coroutineScope = this)) in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/extensions/
DPointerInputScopeExt.kt30 import kotlinx.coroutines.coroutineScope
40 ) = coroutineScope { in observeTaps()
41 if (onTap == null) return@coroutineScope in observeTaps()
60 ) = coroutineScope { in detectLongPressGesture()
89 suspend fun PointerInputScope.consumeAllGestures() = coroutineScope { in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
DSceneTransitionLayoutDataSource.kt43 private val coroutineScope: CoroutineScope, constant in com.android.systemui.scene.ui.composable.SceneTransitionLayoutDataSource
50 scope = coroutineScope,
62 coroutineScope = coroutineScope, in changeScene()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotSoundController.kt58 @Application private val coroutineScope: CoroutineScope, in playScreenshotSound() constant in com.android.systemui.screenshot.ScreenshotSoundControllerImpl
63 coroutineScope.async("loadScreenshotSound", bgDispatcher) { in playScreenshotSound()
95 coroutineScope.launch { playScreenshotSound() } in playScreenshotSound()
99 coroutineScope.launch { releaseScreenshotSound() } in playScreenshotSound()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogManager.kt43 private lateinit var coroutineScope: CoroutineScope variable in com.android.systemui.qs.tiles.dialog.InternetDialogManager
65 coroutineScope = CoroutineScope(bgDispatcher) in create()
68 .create(aboveStatusBar, canConfigMobileData, canConfigWifi, coroutineScope) in create()
90 coroutineScope.cancel() in destroyDialog()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DCollections.kt21 import kotlinx.coroutines.coroutineScope in <lambda>()
28 coroutineScope { in <lambda>()
40 coroutineScope { in asyncMap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/data/repository/
DLocalMediaRepositoryFactory.kt28 fun create(packageName: String?, coroutineScope: CoroutineScope): LocalMediaRepository in create()
41 coroutineScope: CoroutineScope in create()
46 coroutineScope, in create()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DDraggableHandler.kt65 internal val coroutineScope: CoroutineScope, in onDrag() constant in com.android.compose.animation.scene.DraggableHandlerImpl
160 coroutineScope, in onDrag()
303 coroutineScope = draggableHandler.coroutineScope, in onDrag()
371 draggableHandler.coroutineScope.onChangeScene(targetScene.key) in onStop()
376 coroutineScope = draggableHandler.coroutineScope, in onStop()
448 coroutineScope = draggableHandler.coroutineScope, in onStop()
507 coroutineScope: CoroutineScope, in SwipeTransition()
526 coroutineScope = coroutineScope, in SwipeTransition()
540 coroutineScope = old.coroutineScope, in SwipeTransition()
557 val coroutineScope: CoroutineScope, constant in com.android.compose.animation.scene.SwipeTransition
[all …]
DSceneTransitionLayoutImpl.kt52 internal val coroutineScope: CoroutineScope, in <lambda>() constant
126 coroutineScope = coroutineScope, in <lambda>()
133 coroutineScope = coroutineScope, in <lambda>()
222 with(state) { coroutineScope.onChangeScene(targetSceneForBack) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/viewbinder/
DFooterViewBinder.kt28 import kotlinx.coroutines.coroutineScope in <lambda>()
59 ) = coroutineScope { in <lambda>()
82 ) = coroutineScope { in <lambda>()
121 ) = coroutineScope { in <lambda>()
155 ) = coroutineScope { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/dagger/
DAudioModule.kt50 @Application coroutineScope: CoroutineScope,
51 ): AudioManagerEventsReceiver = AudioManagerEventsReceiverImpl(context, coroutineScope)
60 @Application coroutineScope: CoroutineScope,
67 coroutineScope,
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/satellite/
DSatelliteDialogUtilsTest.kt59 private val coroutineScope = CoroutineScope(Dispatchers.Main) in <lambda>() constant
87 context, coroutineScope, TYPE_IS_WIFI, allowClick = { in <lambda>()
115 context, coroutineScope, TYPE_IS_WIFI, allowClick = { in <lambda>()
129 context, coroutineScope, TYPE_IS_WIFI, allowClick = { in <lambda>()
156 context, coroutineScope, TYPE_IS_WIFI, allowClick = { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/slider/ui/viewmodel/
DCastVolumeSliderViewModel.kt40 @Assisted private val coroutineScope: CoroutineScope, constant in com.android.systemui.volume.panel.component.volume.slider.ui.viewmodel.CastVolumeSliderViewModel
49 .stateIn(coroutineScope, SharingStarted.Eagerly, SliderState.Empty)
52 coroutineScope.launch { in onValueChanged()
101 coroutineScope: CoroutineScope,
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/view/accessibility/data/repository/
DCaptioningRepository.kt51 coroutineScope: CoroutineScope, in setIsSystemAudioCaptioningEnabled()
60 .shareIn(coroutineScope, SharingStarted.WhileSubscribed(), replay = 0) in setIsSystemAudioCaptioningEnabled()
68 coroutineScope, in setIsSystemAudioCaptioningEnabled()
79 coroutineScope, in setIsSystemAudioCaptioningEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/ui/viewmodel/
DVolumePanelViewModel.kt53 coroutineScope: CoroutineScope, in <lambda>()
61 daggerComponentFactory.create(this, coroutineScope) in <lambda>()
64 get() = volumePanelComponent.coroutineScope() in <lambda>()
135 fun create(coroutineScope: CoroutineScope): VolumePanelViewModel { in <lambda>()
138 coroutineScope, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIBottomSheetDialog.kt52 private val coroutineScope: CoroutineScope, constant
88 coroutineScope.launch { in onStart()
115 @Application private val coroutineScope: CoroutineScope, constant in Factory
128 coroutineScope = coroutineScope, in create()
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/worker/
DRetryRequestWorker.kt26 import kotlinx.coroutines.coroutineScope in <lambda>()
41 override suspend fun doWork() = coroutineScope { in <lambda>()
43 return@coroutineScope Result.success() in <lambda>()
DSingleV2RequestWorker.kt25 import kotlinx.coroutines.coroutineScope
53 override suspend fun doWork() = coroutineScope { in <lambda>()
55 return@coroutineScope Result.success() in <lambda>()
DSingleV1RequestWorker.kt26 import kotlinx.coroutines.coroutineScope
55 override suspend fun doWork() = coroutineScope { in <lambda>()
57 return@coroutineScope Result.success() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/
DMediaOutputInteractor.kt38 import kotlinx.coroutines.coroutineScope in <lambda>()
61 @VolumePanelScope private val coroutineScope: CoroutineScope, in <lambda>() constant in com.android.systemui.volume.panel.component.mediaoutput.domain.interactor.MediaOutputInteractor
77 .stateIn(coroutineScope, SharingStarted.Eagerly, MediaControllers(null, null)) in <lambda>()
88 .stateIn(coroutineScope, SharingStarted.Eagerly, MediaDeviceSessions(null, null)) in <lambda>()
103 .stateIn(coroutineScope, SharingStarted.Eagerly, Result.Loading()) in <lambda>()
111 coroutineScope { emit(localMediaRepositoryFactory.create(it, this)) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DSuspend.kt20 import kotlinx.coroutines.coroutineScope
27 suspend fun <R> race(vararg blocks: suspend () -> R): R = coroutineScope { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/captioning/ui/viewmodel/
DCaptioningViewModel.kt42 @VolumePanelScope private val coroutineScope: CoroutineScope, in <lambda>() constant in com.android.systemui.volume.panel.component.captioning.ui.viewmodel.CaptioningViewModel
60 .stateIn(coroutineScope, SharingStarted.Eagerly, null) in <lambda>()
70 coroutineScope.launch { captioningInteractor.setIsSystemAudioCaptioningEnabled(enabled) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DMuteQuickAffordanceCoreStartable.kt47 @Application private val coroutineScope: CoroutineScope, in <lambda>() constant in com.android.systemui.keyguard.data.quickaffordance.MuteQuickAffordanceCoreStartable
70 .launchIn(coroutineScope) in <lambda>()
74 coroutineScope.launch(backgroundDispatcher) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/component/volume/slider/ui/viewmodel/
DAudioStreamSliderViewModelKosmos.kt31 coroutineScope: CoroutineScope, in <lambda>()
35 coroutineScope, in <lambda>()
DCastVolumeSliderViewModelKosmos.kt30 coroutineScope: CoroutineScope in <lambda>()
34 coroutineScope, in <lambda>()

12345