Searched refs:semanticActions (Results 1 – 8 of 8) sorted by relevance
518 val semanticActions = in <lambda>() constant525 val state = mediaData.copy(semanticActions = semanticActions) in <lambda>()569 val semanticActions = in <lambda>() constant579 val state = mediaData.copy(semanticActions = semanticActions) in <lambda>()601 val semanticActions = in <lambda>() constant611 val state = mediaData.copy(semanticActions = semanticActions) in <lambda>()744 val semanticActions = in <lambda>() constant749 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 …]
1123 MediaButton semanticActions = data.getSemanticActions(); in bindActionButtons() local1132 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() argument1219 setSemanticButtonVisibleAndAlpha(button.getId(), mediaAction, semanticActions); in setSemanticButton() local1347 MediaButton semanticActions) { in setSemanticButtonVisibleAndAlpha() argument1353 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 …]
974 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 …]
381 private fun canShowScrubbingTimeViews(semanticActions: MediaButton?): Boolean { in <lambda>()384 return semanticActions?.let { in <lambda>()386 semanticActions.getActionById(id) != null in <lambda>()
49 val semanticActions: MediaButton? = null, constant in com.android.systemui.media.controls.shared.model.MediaData
576 it.copy(semanticActions = actions, isPlaying = isPlayingState(state.state)) in <lambda>()840 val semanticActions = createActionsFromState(sbn.packageName, mediaController, sbn.user) in <lambda>() constant841 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>()
621 it.copy(semanticActions = actions, isPlaying = isPlayingState(state.state)) in updateState()895 val semanticActions = createActionsFromState(sbn.packageName, mediaController, sbn.user) in loadMediaDataInBg() constant896 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()
103 semanticActionButtons = semanticActions, in <lambda>()