Home
last modified time | relevance | path

Searched refs:semanticActions (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanelTest.kt518 val semanticActions = in <lambda>() constant
525 val state = mediaData.copy(semanticActions = semanticActions) in <lambda>()
569 val semanticActions = in <lambda>() constant
579 val state = mediaData.copy(semanticActions = semanticActions) in <lambda>()
601 val semanticActions = in <lambda>() constant
611 val state = mediaData.copy(semanticActions = semanticActions) in <lambda>()
744 val semanticActions = in <lambda>() constant
749 val state = mediaData.copy(semanticActions = semanticActions) in <lambda>()
763 val state = mediaData.copy(semanticActions = MediaButton()) in <lambda>()
776 val state = mediaData.copy(semanticActions = MediaButton()) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java1123 MediaButton semanticActions = data.getSemanticActions(); in bindActionButtons() local
1132 if (semanticActions != null) { in bindActionButtons()
1141 MediaAction action = semanticActions.getActionById(id); in bindActionButtons()
1142 setSemanticButton(button, action, semanticActions); in bindActionButtons()
1208 MediaButton semanticActions) { in setSemanticButton() argument
1219 setSemanticButtonVisibleAndAlpha(button.getId(), mediaAction, semanticActions); in setSemanticButton() local
1347 MediaButton semanticActions) { in setSemanticButtonVisibleAndAlpha() argument
1353 scrubbingTimeViewsEnabled(semanticActions) && hideWhenScrubbing && mIsScrubbing; in setSemanticButtonVisibleAndAlpha()
1357 if ((buttonId == R.id.actionPrev && semanticActions.getReservePrev()) in setSemanticButtonVisibleAndAlpha()
1358 || (buttonId == R.id.actionNext && semanticActions.getReserveNext())) { in setSemanticButtonVisibleAndAlpha()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessorTest.kt974 assertThat(data.semanticActions!!.playOrPause).isNotNull() in testAddResumptionControls()
1001 assertThat(data.semanticActions!!.playOrPause).isNotNull() in testAddResumptionControls_withExplicitIndicator()
1698 assertThat(mediaDataCaptor.value!!.semanticActions).isNull() in testPlaybackActions_noState_usesNotification()
1719 assertThat(mediaDataCaptor.value!!.semanticActions).isNotNull() in testPlaybackActions_hasPrevNext()
1720 val actions = mediaDataCaptor.value!!.semanticActions!! in testPlaybackActions_hasPrevNext()
1760 assertThat(mediaDataCaptor.value!!.semanticActions).isNotNull() in testPlaybackActions_noPrevNext_usesCustom()
1761 val actions = mediaDataCaptor.value!!.semanticActions!! in testPlaybackActions_noPrevNext_usesCustom()
1792 assertThat(mediaDataCaptor.value!!.semanticActions).isNotNull() in testPlaybackActions_connecting()
1793 val actions = mediaDataCaptor.value!!.semanticActions!! in testPlaybackActions_connecting()
1819 assertThat(mediaDataCaptor.value!!.semanticActions).isNotNull() in testPlaybackActions_reservedSpace()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaControlViewModel.kt381 private fun canShowScrubbingTimeViews(semanticActions: MediaButton?): Boolean { in <lambda>()
384 return semanticActions?.let { in <lambda>()
386 semanticActions.getActionById(id) != null in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/
DMediaData.kt49 val semanticActions: MediaButton? = null, constant in com.android.systemui.media.controls.shared.model.MediaData
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessor.kt576 it.copy(semanticActions = actions, isPlaying = isPlayingState(state.state)) in <lambda>()
840 val semanticActions = createActionsFromState(sbn.packageName, mediaController, sbn.user) in <lambda>() constant
841 if (semanticActions == null) { in <lambda>()
888 semanticActions, in <lambda>()
1421 if (hasSession && removed.semanticActions != null) { in <lambda>()
1426 } else if (!notificationRemoved && removed.semanticActions == null) { in <lambda>()
1482 semanticActions = MediaButton(playOrPause = resumeAction), in <lambda>()
DLegacyMediaDataManagerImpl.kt621 it.copy(semanticActions = actions, isPlaying = isPlayingState(state.state)) in updateState()
895 val semanticActions = createActionsFromState(sbn.packageName, mediaController, sbn.user) in loadMediaDataInBg() constant
896 if (semanticActions == null) { in loadMediaDataInBg()
942 semanticActions, in loadMediaDataInBg()
1478 if (hasSession && removed.semanticActions != null) { in handlePossibleRemoval()
1483 } else if (!notificationRemoved && removed.semanticActions == null) { in handlePossibleRemoval()
1539 semanticActions = MediaButton(playOrPause = resumeAction), in convertToResumePlayer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaControlInteractor.kt103 semanticActionButtons = semanticActions, in <lambda>()