Home
last modified time | relevance | path

Searched refs:wallpaperPreferences (Results 1 – 22 of 22) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DRotationWallpaperUpdateReceiver.java83 WallpaperPreferences wallpaperPreferences = injector.getPreferences(appContext); in switchToStaticWallpaper() local
84 if (wallpaperPreferences.getWallpaperPresentationMode() in switchToStaticWallpaper()
91 wallpaperPreferences.getHomeWallpaperAttributions(), in switchToStaticWallpaper()
92 wallpaperPreferences.getHomeWallpaperActionUrl(), in switchToStaticWallpaper()
93 wallpaperPreferences.getHomeWallpaperCollectionId(), in switchToStaticWallpaper()
94 wallpaperPreferences.getHomeWallpaperRemoteId()); in switchToStaticWallpaper()
DWallpaperPicker2Injector.kt318 wallpaperPreferences = getPreferences(context = appContext), in getWallpaperInteractor()
335 wallpaperPreferences = getPreferences(appContext), in getWallpaperClient()
DDefaultWallpaperPersister.java89 WallpaperPreferences wallpaperPreferences, in DefaultWallpaperPersister() argument
99 mWallpaperPreferences = wallpaperPreferences; in DefaultWallpaperPersister()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/
DMissingHashCodeGeneratorJobService.java83 WallpaperPreferences wallpaperPreferences = injector.getPreferences(context); in onStartJob()
89 if (!isLiveWallpaperSet && wallpaperPreferences.getHomeWallpaperHashCode() == 0) { in onStartJob()
104 wallpaperPreferences.setHomeWallpaperHashCode(homeBitmapHash); in onStartJob()
108 if (wallpaperPreferences.getLockWallpaperHashCode() == 0) { in onStartJob()
116 wallpaperPreferences.setLockWallpaperHashCode( in onStartJob()
117 wallpaperPreferences.getHomeWallpaperHashCode()); in onStartJob()
146 wallpaperPreferences.setLockWallpaperHashCode( in onStartJob()
DMissingHashCodeGenerator.java55 WallpaperPreferences wallpaperPreferences = injector.getPreferences(context); in onReceive() local
58 if (wallpaperPreferences.getHomeWallpaperHashCode() != 0 in onReceive()
59 && wallpaperPreferences.getLockWallpaperHashCode() != 0) { in onReceive()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/module/
DDefaultWallpaperPreferencesTest.kt31 private val wallpaperPreferences: DefaultWallpaperPreferences = constant in com.android.wallpaper.module.DefaultWallpaperPreferencesTest
36 wallpaperPreferences.setHomeStaticImageWallpaperMetadata( in setHomeStaticImageWallpaperMetadata_metadataShouldBeSavedToPreferences()
78 wallpaperPreferences.setHomeLiveWallpaperMetadata( in setHomeLiveWallpaperMetadata_metadataShouldBeSavedToPreferences()
116 wallpaperPreferences.setLockStaticImageWallpaperMetadata( in setLockStaticImageWallpaperMetadata_metadataShouldBeSavedToPreferences()
158 wallpaperPreferences.setLockLiveWallpaperMetadata( in setLockLiveWallpaperMetadata_metadataShouldBeSavedToPreferences()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DStaticWallpaperPreviewViewModel.kt56 private val wallpaperPreferences: WallpaperPreferences, in <lambda>() constant
133 .map { wallpaperPreferences.getWallpaperColors(it.commonWallpaperData.id.uniqueId) } in <lambda>()
209 private val wallpaperPreferences: WallpaperPreferences, in <lambda>() constant in Factory
216 wallpaperPreferences = wallpaperPreferences, in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/di/modules/
DRepositoryModule.kt38 wallpaperPreferences: WallpaperPreferences, in provideWallpaperRepository()
44 wallpaperPreferences, in provideWallpaperRepository()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/
DWallpaperClientImpl.kt83 private val wallpaperPreferences: WallpaperPreferences, in <lambda>() constant in com.android.wallpaper.picker.customization.data.content.WallpaperClientImpl
175 wallpaperPreferences.setStaticWallpaperMetadata( in <lambda>()
182 wallpaperPreferences.addStaticWallpaperToRecentWallpapers( in <lambda>()
192 wallpaperPreferences.setWallpaperPresentationMode( in <lambda>()
195 wallpaperPreferences.clearDailyRotations() in <lambda>()
293 wallpaperPreferences.setLiveWallpaperMetadata( in <lambda>()
298 wallpaperPreferences.addLiveWallpaperToRecentWallpapers( in <lambda>()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestWallpaperRotationInitializer.java58 WallpaperPreferences wallpaperPreferences = in startRotation() local
60 wallpaperPreferences.setWallpaperPresentationMode( in startRotation()
DTestInjector.kt281 wallpaperPreferences = getPreferences(context = context), in getWallpaperInteractor()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/repository/
DWallpaperRepository.kt50 private val wallpaperPreferences: WallpaperPreferences, in <lambda>() constant in com.android.wallpaper.picker.customization.data.repository.WallpaperRepository
78 WallpaperDestination.HOME -> wallpaperPreferences.getHomeWallpaperRecentsKey() in <lambda>()
79 WallpaperDestination.LOCK -> wallpaperPreferences.getLockWallpaperRecentsKey() in <lambda>()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DStaticWallpaperPreviewViewModelTest.kt86 @Inject lateinit var wallpaperPreferences: TestWallpaperPreferences variable in com.android.wallpaper.picker.preview.ui.viewmodel.StaticWallpaperPreviewViewModelTest
112 wallpaperPreferences, in setEverything()
118 wallpaperPreferences, in setEverything()
130 wallpaperPreferences, in setEverything()
306 wallpaperPreferences.storeWallpaperColors(WALLPAPER_ID, storedWallpaperColors) in wallpaperColors_withStoredColorsAndNullCropHints_returnsColorsStoredInPreferences()
388 wallpaperPreferences.storeWallpaperColors(WALLPAPER_ID, storedWallpaperColors) in wallpaperColors_withStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
DWallpaperPreviewViewModelTest.kt102 @Inject lateinit var wallpaperPreferences: TestWallpaperPreferences variable in com.android.wallpaper.picker.preview.ui.viewmodel.WallpaperPreviewViewModelTest
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/domain/interactor/
DPreviewActionsInteractorTest.kt63 @Inject lateinit var wallpaperPreferences: TestWallpaperPreferences variable in com.android.wallpaper.picker.preview.domain.interactor.PreviewActionsInteractorTest
76 wallpaperPreferences, in setUp()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/domain/interactor/
DWallpaperSnapshotRestorerTest.kt77 wallpaperPreferences = TestWallpaperPreferences(), in <lambda>()
DWallpaperInteractorTest.kt61 wallpaperPreferences = TestWallpaperPreferences(), in setUp()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/ui/viewmodel/
DCustomizationPickerViewModelTest.kt71 wallpaperPreferences = TestWallpaperPreferences(), in setUp()
DWallpaperQuickSwitchViewModelTest.kt67 wallpaperPreferences = TestWallpaperPreferences(), in <lambda>()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/data/repository/
DWallpaperRepositoryTest.kt58 wallpaperPreferences = prefs, in setUp()
/packages/apps/ThemePicker/src/com/android/customization/module/
DThemePickerInjector.kt222 wallpaperPreferences = getPreferences(appContext), in <lambda>()
224 wallpaperPreferences = getPreferences(context = appContext), in <lambda>()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/quickaffordance/ui/viewmodel/
DKeyguardQuickAffordancePickerViewModelTest.kt109 wallpaperPreferences = TestWallpaperPreferences(), in <lambda>()