Searched refs:MediaSourceViewModel (Results 1 – 13 of 13) sorted by relevance
47 public class MediaSourceViewModel extends AndroidViewModel { class50 private static MediaSourceViewModel sInstance;82 public static MediaSourceViewModel get(@NonNull Application application) { in get()84 sInstance = new MediaSourceViewModel(application); in get()94 private MediaSourceViewModel(@NonNull Application application) { in MediaSourceViewModel() method in MediaSourceViewModel132 MediaSourceViewModel(@NonNull Application application, @NonNull InputFactory inputFactory) { in MediaSourceViewModel() method in MediaSourceViewModel
48 import com.android.car.media.common.source.MediaSourceViewModel;57 private MediaSourceViewModel mMediaSourceViewModel;66 mMediaSourceViewModel = MediaSourceViewModel.get(activity.getApplication()); in onCreateView()128 private MediaSourceViewModel mMediaSourceViewModel;134 void init(MediaSourceViewModel mediaSourceViewModel, PlaybackViewModel playbackViewModel) { in init()
27 import com.android.car.media.common.source.MediaSourceViewModel;38 private MediaSourceViewModel mMediaSourceViewModel;44 void init(MediaSourceViewModel mediaSourceViewModel) { in init()
35 import com.android.car.media.common.source.MediaSourceViewModel;55 MediaSourceViewModel mMediaSourceViewModel = MediaSourceViewModel.get( in onCreateView()
12 import com.android.car.media.common.source.MediaSourceViewModel;39 MediaSourceViewModel mediaSrcVM = MediaSourceViewModel.get(getApplication()); in onCreate()
52 import com.android.car.media.common.source.MediaSourceViewModel;405 MediaSourceViewModel mediaSourceViewModel = getMediaSourceViewModel(); in onCreateView()615 private MediaSourceViewModel getMediaSourceViewModel() { in getMediaSourceViewModel()616 return MediaSourceViewModel.get(getActivity().getApplication()); in getMediaSourceViewModel()
63 import com.android.car.media.common.source.MediaSourceViewModel;253 MediaSourceViewModel mediaSourceViewModel = getMediaSourceViewModel(); in onCreate()702 MediaSourceViewModel mediaSourceViewModel = getMediaSourceViewModel(); in updateAppBarTitle()766 public MediaSourceViewModel getMediaSourceViewModel() { in getMediaSourceViewModel()767 return MediaSourceViewModel.get(getApplication()); in getMediaSourceViewModel()
48 import com.android.car.media.common.source.MediaSourceViewModel;229 MediaSourceViewModel.get(activity.getApplication()).getConnectedMediaBrowser()); in BrowseFragment()
30 import com.android.car.media.common.source.MediaSourceViewModel;92 MediaSourceViewModel model = MediaSourceViewModel.get(getApplication()); in onCreate()
73 private MediaSourceViewModel mViewModel;90 mViewModel = new MediaSourceViewModel(application, new MediaSourceViewModel.InputFactory() { in initializeViewModel()
29 import com.android.car.media.common.source.MediaSourceViewModel;160 MediaSourceViewModel mediaSourceVM, @NonNull ViewModelProvider viewModelProvider) { in getInstanceForBrowseRoot()
51 import com.android.car.media.common.source.MediaSourceViewModel;141 this(application, MediaSourceViewModel.get(application).getMediaController()); in PlaybackViewModel()
40 import com.android.car.media.common.source.MediaSourceViewModel;