Searched refs:previewAction (Results 1 – 4 of 4) sorted by relevance
39 private val previewAction = PreviewAction("description", onClick = {}) in <lambda>() constant74 fakeActionsProvider1.callPreview(previewAction) in setPreview_onCurrentScreenshot_updatesViewModel()76 verify(viewModel).setPreviewAction(previewAction) in setPreview_onCurrentScreenshot_updatesViewModel()83 fakeActionsProvider1.callPreview(previewAction) in setPreview_onNonCurrentScreenshot_doesNotUpdateViewModel()92 fun callPreview(previewAction: PreviewAction) { in callPreview()93 actionsCallback.providePreviewAction(previewAction) in callPreview()
35 val previewAction: StateFlow<PreviewAction?> = _previewAction constant in com.android.systemui.screenshot.ui.viewmodel.ScreenshotViewModel60 fun setPreviewAction(previewAction: PreviewAction) { in setPreviewAction()61 _previewAction.value = previewAction in setPreviewAction()
88 fun providePreviewAction(previewAction: PreviewAction) { in getController()90 viewModel.setPreviewAction(previewAction) in getController()
131 viewModel.previewAction.collect { action -> in <lambda>()