Home
last modified time | relevance | path

Searched refs:wallpaperManager (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DWallpaperSetter.java169 WallpaperManager wallpaperManager = WallpaperManager.getInstance(activity); in setCurrentLiveWallpaper() local
175 setWallpaperComponent(wallpaperManager, wallpaper, destination); in setCurrentLiveWallpaper()
176 wallpaperManager.setWallpaperOffsetSteps(0.5f /* xStep */, 0.0f /* yStep */); in setCurrentLiveWallpaper()
177 wallpaperManager.setWallpaperOffsets( in setCurrentLiveWallpaper()
196 private void setWallpaperComponent(WallpaperManager wallpaperManager, in setWallpaperComponent() argument
199 Method m = wallpaperManager.getClass().getMethod("setWallpaperComponentWithFlags", in setWallpaperComponent()
201 wallpaperManager.setWallpaperComponentWithFlags( in setWallpaperComponent()
206 wallpaperManager.setWallpaperComponent( in setWallpaperComponent()
224 WallpaperManager wallpaperManager = WallpaperManager.getInstance(context); in setCurrentLiveWallpaperFromRestore() local
225 setWallpaperComponent(wallpaperManager, wallpaper, destination); in setCurrentLiveWallpaperFromRestore()
[all …]
DDefaultWallpaperStatusChecker.kt24 private val wallpaperManager: WallpaperManager, constant in com.android.wallpaper.module.DefaultWallpaperStatusChecker
27 val systemWallpaperFile = wallpaperManager.getWallpaperFile(WallpaperManager.FLAG_SYSTEM) in isHomeStaticWallpaperSet()
41 return wallpaperManager.getWallpaperId(WallpaperManager.FLAG_LOCK) >= 0 in isLockWallpaperSet()
DWallpaperPickerSections.java42 WallpaperManager wallpaperManager, in getSectionControllersForScreen() argument
56 wallpaperManager, in getSectionControllersForScreen()
DCustomizationSections.java47 WallpaperManager wallpaperManager, in getSectionControllersForScreen() argument
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/fragment/
DColorPickerFragment.kt80 val wallpaperManager = WallpaperManager.getInstance(requireContext()) in onCreateView() constant
127 wallpaperManager, in onCreateView()
149 wallpaperManager.getWallpaperInfo(WallpaperManager.FLAG_SYSTEM) != null && in onCreateView()
150 wallpaperManager.getWallpaperId(WallpaperManager.FLAG_LOCK) < 0 in onCreateView()
178 wallpaperManager, in onCreateView()
223 wallpaperManager: WallpaperManager, in loadInitialColors()
229 wallpaperManager.getWallpaperColors( in loadInitialColors()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/
DMissingHashCodeGeneratorJobService.java74 final WallpaperManager wallpaperManager = (WallpaperManager) context.getSystemService( in onStartJob() local
85 boolean isLiveWallpaperSet = wallpaperManager.getWallpaperInfo() != null; in onStartJob()
90 wallpaperManager.forgetLoadedWallpaper(); in onStartJob()
92 Drawable wallpaperDrawable = wallpaperManager.getDrawable(); in onStartJob()
109 ParcelFileDescriptor parcelFd = wallpaperManager.getWallpaperFile( in onStartJob()
DMissingHashCodeGenerator.java46 WallpaperManager wallpaperManager = WallpaperManager.getInstance(context); in onReceive() local
50 if (!wallpaperManager.isWallpaperSupported()) { in onReceive()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperColorHints.kt37 private val wallpaperManager in <lambda>() constant
44 hints = wallpaperManager.getWallpaperColors(FLAG_SYSTEM)?.colorHints ?: 0 in <lambda>()
49 wallpaperManager.addOnColorsChangedListener( in <lambda>()
56 wallpaperManager.removeOnColorsChangedListener(onColorsChangedListener) in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBuiltInWallpaperAsset.java106 final WallpaperManager wallpaperManager = WallpaperManager.getInstance(mContext); in decodeBitmap() local
109 ? wallpaperManager.getBuiltInDrawable() in decodeBitmap()
110 : wallpaperManager.getBuiltInDrawable( in decodeBitmap()
119 wallpaperManager.forgetLoadedWallpaper(); in decodeBitmap()
DCurrentWallpaperAsset.java168 CurrentWallpaperKey(WallpaperManager wallpaperManager, in CurrentWallpaperKey() argument
170 mWallpaperManager = wallpaperManager; in CurrentWallpaperKey()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/util/
DLiveWallpaperDeleteUtil.kt31 class LiveWallpaperDeleteUtil @Inject constructor(private val wallpaperManager: WallpaperManager) { constant in com.android.wallpaper.picker.preview.ui.util.LiveWallpaperDeleteUtil
45 val currentInfo = wallpaperManager.getWallpaperInfo(FLAG_SYSTEM) in getDeleteAction()
46 val currentLockInfo = wallpaperManager.getWallpaperInfo(FLAG_LOCK) in getDeleteAction()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DLivePreviewFragment.java171 WallpaperManager wallpaperManager = WallpaperManager.getInstance(getContext()); in getCreativeWallpaperPreviewResultCallback()
173 wallpaperManager.getWallpaperInfo(FLAG_SYSTEM), in getCreativeWallpaperPreviewResultCallback()
174 wallpaperManager.getWallpaperInfo(FLAG_LOCK)); in getCreativeWallpaperPreviewResultCallback()
308 WallpaperManager wallpaperManager = WallpaperManager.getInstance(getContext());
310 wallpaperManager.getWallpaperInfo(FLAG_SYSTEM),
311 wallpaperManager.getWallpaperInfo(FLAG_LOCK));
475 WallpaperManager wallpaperManager = WallpaperManager.getInstance(context);
477 wallpaperManager.getWallpaperInfo(FLAG_SYSTEM),
478 wallpaperManager.getWallpaperInfo(FLAG_LOCK));
DWallpaperPickerDelegate.java370 WallpaperManager wallpaperManager = WallpaperManager.getInstance(mActivity); in getWallpaperSupportLevel() local
373 if (wallpaperManager.isWallpaperSupported()) { in getWallpaperSupportLevel()
374 return wallpaperManager.isSetWallpaperAllowed() in getWallpaperSupportLevel()
380 return wallpaperManager.isWallpaperSupported() in getWallpaperSupportLevel()
386 wallpaperManager.forgetLoadedWallpaper(); in getWallpaperSupportLevel()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/converter/
DWallpaperModelFactory.kt110 val wallpaperManager = WallpaperManager.getInstance(context) in getWallpaperModel() constant
112 wallpaperManager.getWallpaperInfo(WallpaperManager.FLAG_SYSTEM) in getWallpaperModel()
113 val currentLockWallpaper = wallpaperManager.getWallpaperInfo(WallpaperManager.FLAG_LOCK) in getWallpaperModel()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/
DWallpaperClientImpl.kt82 private val wallpaperManager: WallpaperManager, in <lambda>() constant in com.android.wallpaper.picker.customization.data.content.WallpaperClientImpl
167 wallpaperManager.setStaticWallpaperToSystem( in <lambda>()
291 wallpaperManager.setLiveWallpaperToSystem(updatedWallpaperModel, destination) in <lambda>()
515 val colors = wallpaperManager.getWallpaperColors(destination.toFlags()) in <lambda>()
610 wallpaperManager.getBitmapCrops(displaySizes, which, /* originalBitmap= */ true) in <lambda>()
619 return wallpaperManager.getWallpaperColors(bitmap, cropHints) in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wallpaper/
DFallbackHomeActivityTest.java62 WallpaperManager wallpaperManager = WallpaperManager.getInstance(application); in setUp() local
64 shadowApplication.setSystemService(Context.WALLPAPER_SERVICE, wallpaperManager); in setUp()
DWallpaperSuggestionActivityTest.java66 WallpaperManager wallpaperManager = WallpaperManager.getInstance(application); in setUp() local
68 shadowApplication.setSystemService(Context.WALLPAPER_SERVICE, wallpaperManager); in setUp()
/packages/apps/ThemePicker/src/com/android/customization/module/
DDefaultCustomizationSections.java108 WallpaperManager wallpaperManager, in getSectionControllersForScreen() argument
129 wallpaperManager, in getSectionControllersForScreen()
143 wallpaperManager, in getSectionControllersForScreen()
/packages/apps/ThemePicker/src/com/android/customization/picker/preview/ui/section/
DPreviewWithThemeSectionController.kt56 wallpaperManager: WallpaperManager, in <lambda>()
69 wallpaperManager, in <lambda>()
DPreviewWithClockCarouselSectionController.kt76 wallpaperManager: WallpaperManager,
91 wallpaperManager,
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java621 WallpaperManager wallpaperManager = getWallpaperManager(); in onStart() local
622 if (wallpaperManager.isWallpaperSupported()) { in onStart()
623 wallpaperManager.addOnColorsChangedListener(this, null); in onStart()
627 wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_LOCK); in onStart()
671 WallpaperManager wallpaperManager = getWallpaperManager(); in onStop() local
672 if (wallpaperManager.isWallpaperSupported()) { in onStop()
673 wallpaperManager.removeOnColorsChangedListener(this); in onStop()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/section/
DScreenPreviewSectionController.kt63 private val wallpaperManager: WallpaperManager, in <lambda>() constant in com.android.wallpaper.picker.customization.ui.section.ScreenPreviewSectionController
209 wallpaperManager.getWallpaperColors( in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/
DClockViewFactoryImpl.kt45 private val wallpaperManager: WallpaperManager, in <lambda>() constant in com.android.customization.picker.clock.ui.view.ClockViewFactoryImpl
137 val colors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_LOCK) in <lambda>()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestCustomizationSections.kt34 wallpaperManager: WallpaperManager, in getSectionControllersForScreen()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment2.kt142 private var wallpaperManager: WallpaperManager? = null in <lambda>() variable in com.android.wallpaper.picker.individual.IndividualPickerFragment2
149 wallpaperManager = WallpaperManager.getInstance(appContext) in <lambda>()
737 val wallpaperInfo = wallpaperManager?.wallpaperInfo in <lambda>()
749 wallpaperManager!!.getWallpaperId(WallpaperManager.FLAG_LOCK) >= 0 in <lambda>()

12