Home
last modified time | relevance | path

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

/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/
DAudioCardModule.java34 protected ViewModelProvider mViewModelProvider; field in AudioCardModule
37 if (mViewModelProvider != null) { in setViewModelProvider()
40 mViewModelProvider = viewModelProvider; in setViewModelProvider()
44 mAudioCardPresenter.setModel(new AudioCardModel(mViewModelProvider)); in setViewModelProvider()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/controlbar/
DControlBarModule.java32 if (mViewModelProvider != null) { in setViewModelProvider()
35 mViewModelProvider = viewModelProvider; in setViewModelProvider()
39 mAudioCardPresenter.setModel(new AudioCardModel(mViewModelProvider)); in setViewModelProvider()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/assistive/
DAssistiveCardModule.java35 private ViewModelProvider mViewModelProvider; field in AssistiveCardModule
41 mViewModelProvider = viewModelProvider; in setViewModelProvider()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/calmmode/
DCalmModeFragment.java61 private ViewModelProvider mViewModelProvider; field in CalmModeFragment
79 mViewModelProvider = new ViewModelProvider(getViewModelStore(), in onCreateView()
130 mTemperatureViewModel = mViewModelProvider.get(TemperatureViewModel.class); in initTemperature()
253 mNavigationStateViewModel = mViewModelProvider.get(NavigationStateViewModel.class); in initNavState()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerActivity.java115 private ViewModelProvider mViewModelProvider; field in PhotoPickerActivity
191 mViewModelProvider = new ViewModelProvider(this); in onCreate()
240 mPreloaderInstanceHolder = mViewModelProvider.get(PreloaderInstanceHolder.class); in onCreate()
289 PickerViewModel viewModel = mViewModelProvider.get(PickerViewModel.class); in getOrCreateViewModel()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DPreviewFragment.java131 protected ViewModelProvider mViewModelProvider; field in PreviewFragment
240 mViewModelProvider = new ViewModelProvider(requireActivity()); in onCreate()
241 mSetWallpaperViewModel = mViewModelProvider.get(SetWallpaperViewModel.class); in onCreate()
DImagePreviewFragment.java241 SetWallpaperViewModel.getCallback(mViewModelProvider)); in setWallpaper()
DLivePreviewFragment.java119 mViewModelProvider); in setWallpaper()