Home
last modified time | relevance | path

Searched refs:customActions (Results 1 – 18 of 18) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCustomActionsInteractorTest.kt56 val customActions: StateFlow<List<ActionModel>> = in <lambda>() constant
57 underTest.customActions.stateIn(backgroundScope) in <lambda>()
58 assertThat(customActions.value) in <lambda>()
62 assertThat(customActions.value) in <lambda>()
72 val customActions: StateFlow<List<ActionModel>> = in <lambda>() constant
73 underTest.customActions.stateIn(backgroundScope) in <lambda>()
77 chooserRequestRepository.customActions.value = chooserActions in <lambda>()
80 assertThat(customActions.value) in <lambda>()
84 assertThat(customActions.value) in <lambda>()
110 val customActions: StateFlow<List<ActionModel>> = in <lambda>() constant
[all …]
/packages/apps/TV/src/com/android/tv/menu/
DMenuRowFactory.java71 List<CustomAction> customActions = in createMenuRow() local
74 if (customActions != null && !TextUtils.isEmpty(title)) { in createMenuRow()
75 return new PartnerRow(mMainActivity, menu, title, customActions); in createMenuRow()
96 @Nullable List<CustomAction> customActions, in TvOptionsRow() argument
103 tvOptionsRowAdapterFactory.create(context, customActions)); in TvOptionsRow()
110 Context context, Menu menu, String title, List<CustomAction> customActions) { in PartnerRow() argument
116 new PartnerOptionsRowAdapter(context, customActions)); in PartnerRow()
DPartnerOptionsRowAdapter.java25 public PartnerOptionsRowAdapter(Context context, List<CustomAction> customActions) { in PartnerOptionsRowAdapter() argument
26 super(context, customActions); in PartnerOptionsRowAdapter()
DCustomizableOptionsRowAdapter.java28 public CustomizableOptionsRowAdapter(Context context, List<CustomAction> customActions) { in CustomizableOptionsRowAdapter() argument
30 mCustomActions = customActions; in CustomizableOptionsRowAdapter()
DTvOptionsRowAdapter.java56 TvOptionsRowAdapter create(Context context, @Nullable List<CustomAction> customActions); in create() argument
61 @Nullable List<CustomAction> customActions, in TvOptionsRowAdapter() argument
64 super(context, customActions); in TvOptionsRowAdapter()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DUpdateChooserRequestInteractor.kt51 chooserActions = update.customActions.getOrDefault(current.chooserActions), in <lambda>()
54 update.customActions.onValue { actions -> in <lambda>()
55 repository.customActions.value = in <lambda>()
DChooserRequestInteractor.kt36 val customActions: Flow<List<CustomActionModel>> constant in com.android.intentresolver.contentpreview.payloadtoggle.domain.interactor.ChooserRequestInteractor
37 get() = repository.customActions.asSharedFlow()
DCustomActionsInteractor.kt46 val customActions: Flow<List<ActionModel>> in <lambda>() constant in com.android.intentresolver.contentpreview.payloadtoggle.domain.interactor.CustomActionsInteractor
48 chooserRequestInteractor.customActions in <lambda>()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DChooserActionFactoryTest.kt89 val customActions = factory.createCustomActions() in testCreateCustomActions() constant
91 assertThat(customActions.size).isEqualTo(1) in testCreateCustomActions()
92 assertThat(customActions[0].label).isEqualTo(actionLabel) in testCreateCustomActions()
95 customActions[0].onClicked.run() in testCreateCustomActions()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/update/
DSelectionChangeCallbackImplTest.kt180 .that(result.customActions.getOrThrow().map { it.icon to it.label }) in <lambda>()
224 assertThat(result.customActions).isEqualTo(Absent) in <lambda>()
265 assertThat(result.customActions).isEqualTo(Absent) in <lambda>()
318 assertThat(result.customActions).isEqualTo(Absent) in <lambda>()
344 assertThat(result.customActions).isEqualTo(Absent) in <lambda>()
371 assertThat(result.customActions).isEqualTo(Absent) in <lambda>()
392 assertThat(result.customActions).isEqualTo(Absent) in <lambda>()
414 assertThat(result.customActions).isEqualTo(Absent) in <lambda>()
445 assertThat(result.customActions.getOrThrow()).isEmpty() in <lambda>()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/update/
DSelectionChangeCallback.kt114 val customActions = in readCallbackResponse() constant
148 customActions, in readCallbackResponse()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/media/
DMediaCardPanelViewPagerAdapter.java145 List<PlaybackViewModel.RawCustomPlaybackAction> customActions = mPlaybackState == null in updateCustomActionsWithPlaybackState() local
163 for (PlaybackViewModel.RawCustomPlaybackAction a : customActions) { in updateCustomActionsWithPlaybackState()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/data/repository/
DChooserRequestRepository.kt38 val customActions: MutableStateFlow<List<CustomActionModel>> = MutableStateFlow(initialActions) constant
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/model/
DShareouselUpdate.kt27 val customActions: ValueUpdate<List<ChooserAction>> = ValueUpdate.Absent, constant in com.android.intentresolver.contentpreview.payloadtoggle.domain.model.ShareouselUpdate
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserActionFactory.java168 List<ChooserAction> customActions, in ChooserActionFactory() argument
176 mCustomActions = ImmutableList.copyOf(customActions); in ChooserActionFactory()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/inject/
DActivityModelModule.kt70 fun customActions(chooserReq: ValidationResult<ChooserRequest>): List<ChooserAction> = in <lambda>() method
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/viewmodel/
DShareouselViewModel.kt102 actionsInteractor.customActions.map { actions -> in <lambda>()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/viewmodel/
DShareouselViewModelTest.kt267 chooserRequestRepository.customActions.value = in <lambda>()