Searched refs:showBroadcastButton (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/ |
D | MediaData.kt | 179 val showBroadcastButton: Boolean constant in com.android.systemui.media.controls.shared.model.MediaDeviceData 195 showBroadcastButton == other.showBroadcastButton in equalsWithoutIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | MediaControlViewModel.kt | 172 val showBroadcastButton = legacyLeAudioSharing() && device?.showBroadcastButton == true in <lambda>() constant 185 if (showBroadcastButton) { in <lambda>() 192 ?: if (showBroadcastButton) { in <lambda>() 198 isTapEnabled = showBroadcastButton || !useDisabledAlpha, in <lambda>() 201 ?: if (showBroadcastButton) { in <lambda>() 214 isVisible = showBroadcastButton, in <lambda>() 216 if (showBroadcastButton) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDeviceManager.kt | 80 MediaDeviceData(enabled = false, icon = null, name = null, showBroadcastButton = false) in <lambda>() 268 /* showBroadcastButton */ showBroadcastButton = false in <lambda>() 365 showBroadcastButton = false in <lambda>() 402 showBroadcastButton = false in <lambda>() 419 showBroadcastButton = false in <lambda>() 432 showBroadcastButton = false in <lambda>() 440 showBroadcastButton = true in <lambda>()
|
D | MediaDataProcessor.kt | 830 showBroadcastButton = false in <lambda>()
|
D | LegacyMediaDataManagerImpl.kt | 885 showBroadcastButton = false in loadMediaDataInBg()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputDialog.java | 106 boolean showBroadcastButton = isBroadcastSupported() && mMediaOutputController.isPlaying(); in getStopButtonVisibility() 108 return (isActiveRemoteDevice || showBroadcastButton) ? View.VISIBLE : View.GONE; in getStopButtonVisibility()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDeviceManagerTest.kt | 751 MediaDeviceData(false, null, REMOTE_DEVICE_NAME, null, showBroadcastButton = false) in testRemotePlaybackDeviceOverride() 780 assertThat(data.showBroadcastButton).isFalse() in onBroadcastStarted_flagOff_currentMediaDeviceDataIsBroadcasting() 799 assertThat(data.showBroadcastButton).isTrue() in onBroadcastStarted_legacy_currentMediaDeviceDataIsBroadcasting() 819 assertThat(data.showBroadcastButton).isTrue() in onBroadcastStarted_legacy_currentMediaDeviceDataIsNotBroadcasting() 837 assertThat(data.showBroadcastButton).isFalse() in onBroadcastStopped_legacy_bluetoothLeBroadcastIsDisabledAndBroadcastingButtonIsGone() 854 assertThat(data.showBroadcastButton).isFalse() in onBroadcastStarted_currentMediaDeviceDataIsBroadcasting() 873 assertThat(data.showBroadcastButton).isFalse() in onBroadcastStarted_currentMediaDeviceDataIsNotBroadcasting() 891 assertThat(data.showBroadcastButton).isFalse() in onBroadcastStopped_bluetoothLeBroadcastIsDisabledAndBroadcastingButtonIsGone()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | MediaControlViewModelTest.kt | 92 val device = MediaDeviceData(true, null, DEVICE_NAME, null, showBroadcastButton = true) in initMediaData()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaControlPanel.java | 669 private void bindOutputSwitcherAndBroadcastButton(boolean showBroadcastButton, MediaData data) { in bindOutputSwitcherAndBroadcastButton() argument 680 if (showBroadcastButton) { in bindOutputSwitcherAndBroadcastButton() 730 if (showBroadcastButton) { in bindOutputSwitcherAndBroadcastButton()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaControlPanelTest.kt | 202 MediaDeviceData(false, null, DISABLED_DEVICE_NAME, null, showBroadcastButton = false) in <lambda>() 330 MediaDeviceData(true, null, name, null, showBroadcastButton = shouldShowBroadcastButton) in <lambda>()
|