/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | MediaButtonController.java | 40 import com.android.car.media.common.playback.PlaybackViewModel; 72 private PlaybackViewModel mModel; 73 private PlaybackViewModel.PlaybackController mController; 115 public void setModel(@NonNull PlaybackViewModel model, @NonNull LifecycleOwner owner) { in setModel() 159 private void onPlaybackStateChanged(@Nullable PlaybackViewModel.PlaybackStateWrapper state) { in onPlaybackStateChanged() 204 private int convertMainAction(@Nullable PlaybackViewModel.PlaybackStateWrapper state) { in convertMainAction() 205 @PlaybackViewModel.Action int action = in convertMainAction() 206 (state != null) ? state.getMainAction() : PlaybackViewModel.ACTION_DISABLED; in convertMainAction() 208 case PlaybackViewModel.ACTION_DISABLED: in convertMainAction() 210 case PlaybackViewModel.ACTION_PLAY: in convertMainAction() [all …]
|
D | PlaybackFragment.java | 56 import com.android.car.media.common.playback.PlaybackViewModel; 57 import com.android.car.media.common.playback.PlaybackViewModel.PlaybackStateWrapper; 75 private PlaybackViewModel mPlaybackViewModel; 92 mPlaybackViewModel = PlaybackViewModel.get(application, MEDIA_SOURCE_MODE_PLAYBACK); in onCreateView() 230 private PlaybackViewModel mPlaybackViewModel; 238 PlaybackViewModel playbackViewModel, MediaItemsRepository mediaItemsRepository) { in init()
|
D | MinimizedPlaybackControlBar.java | 30 import com.android.car.media.common.playback.PlaybackViewModel; 45 private PlaybackViewModel mPlaybackViewModel; 86 public void setModel(@NonNull PlaybackViewModel model, @NonNull LifecycleOwner owner, in setModel()
|
D | MetadataController.java | 36 import com.android.car.media.common.playback.PlaybackViewModel; 42 private PlaybackViewModel.PlaybackController mController; 95 @NonNull PlaybackViewModel playbackViewModel, @NonNull TextView title, in MetadataController()
|
D | ControlBarHelper.java | 28 import com.android.car.media.common.playback.PlaybackViewModel; 39 @NonNull PlaybackViewModel model, @Nullable ProgressBar progressBar, in initProgressBar()
|
D | PlaybackControlsActionBar.java | 28 import com.android.car.media.common.playback.PlaybackViewModel; 79 public void setModel(@NonNull PlaybackViewModel model, @NonNull LifecycleOwner owner) { in setModel()
|
D | CustomPlaybackAction.java | 25 import com.android.car.media.common.playback.PlaybackViewModel.PlaybackStateWrapper;
|
D | PlaybackErrorsHelper.java | 29 import com.android.car.media.common.playback.PlaybackViewModel.PlaybackStateWrapper;
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | MediaActivity.java | 61 import com.android.car.media.common.playback.PlaybackViewModel; 82 private PlaybackViewModel.PlaybackController mPlaybackController; 99 private PlaybackViewModel.PlaybackStateWrapper mCurrentPlaybackStateWrapper; 145 PlaybackViewModel playbackViewModel = getPlaybackViewModel(); in onCreate() 209 private void handlePlaybackState(PlaybackViewModel.PlaybackStateWrapper state, in handlePlaybackState() 218 PlaybackViewModel.PlaybackStateWrapper state, boolean ignoreSameState) { 487 PlaybackViewModel playbackViewModel = getPlaybackViewModel(); in onRootLoaded() 500 private PlaybackViewModel getPlaybackViewModel() { in getPlaybackViewModel() 501 return PlaybackViewModel.get(getApplication(), MEDIA_SOURCE_MODE_BROWSE); in getPlaybackViewModel() 523 private PlaybackViewModel mPlaybackViewModel; [all …]
|
D | PlaybackFragment.java | 54 import com.android.car.media.common.playback.PlaybackViewModel; 104 private PlaybackViewModel.PlaybackController mController; 761 private PlaybackViewModel getPlaybackViewModel() { in getPlaybackViewModel() 762 return PlaybackViewModel.get(getActivity().getApplication(), MEDIA_SOURCE_MODE_BROWSE); in getPlaybackViewModel()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/ |
D | MediaViewModel.java | 40 import com.android.car.media.common.playback.PlaybackViewModel; 56 private PlaybackViewModel mPlaybackViewModel; 76 PlaybackViewModel playbackViewModel) { in MediaViewModel() 89 mPlaybackViewModel = PlaybackViewModel.get(getApplication(), in onCreate() 140 PlaybackViewModel getPlaybackViewModel() { in getPlaybackViewModel()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/ |
D | PlaybackViewModel.java | 73 public class PlaybackViewModel extends AndroidViewModel { class 80 private static PlaybackViewModel[] sInstances = new PlaybackViewModel[2]; 83 public static PlaybackViewModel get(@NonNull Application application, int mode) { in get() 85 sInstances[mode] = new PlaybackViewModel(application, mode); in get() 154 private PlaybackViewModel(Application application, int mode) { in PlaybackViewModel() method in PlaybackViewModel 160 public PlaybackViewModel(Application application, in PlaybackViewModel() method in PlaybackViewModel
|
/packages/apps/Car/Media/src/com/android/car/media/service/ |
D | MediaConnectorService.java | 34 import com.android.car.media.common.playback.PlaybackViewModel; 71 PlaybackViewModel playbackViewModel = PlaybackViewModel.get(getApplication(), in onStartCommand()
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | MusicFragment.java | 36 import com.android.car.media.common.playback.PlaybackViewModel; 56 PlaybackViewModel playbackViewModel = in onCreateView() 57 PlaybackViewModel.get(activity.getApplication(), MEDIA_SOURCE_MODE_PLAYBACK); in onCreateView()
|
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/ |
D | PlaybackViewModelTest.java | 89 private PlaybackViewModel mPlaybackViewModel; 101 mPlaybackViewModel = new PlaybackViewModel(application, mBrowsingStateLD, in setUp() 123 CaptureObserver<PlaybackViewModel.PlaybackStateWrapper> observer = new CaptureObserver<>(); in testGetPlaybackState()
|
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/ |
D | MediaViewModelTest.java | 38 import com.android.car.media.common.playback.PlaybackViewModel; 66 private PlaybackViewModel mPlaybackViewModel;
|