Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java62 WallpaperManager wallpaperManager) { in ColorExtractor() argument
76 if (wallpaperManager.isWallpaperSupported()) { in ColorExtractor()
77 wallpaperManager.addOnColorsChangedListener(this, null /* handler */); in ColorExtractor()
78 initExtractColors(wallpaperManager, immediately); in ColorExtractor()
82 private void initExtractColors(WallpaperManager wallpaperManager, boolean immediately) { in initExtractColors() argument
84 mSystemColors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_SYSTEM); in initExtractColors()
85 mLockColors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_LOCK); in initExtractColors()
89 AsyncTask.THREAD_POOL_EXECUTOR, wallpaperManager); in initExtractColors()
220 WallpaperManager wallpaperManager = mContext.getSystemService(WallpaperManager.class); in destroy() local
221 if (wallpaperManager != null) { in destroy()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
DSysuiColorExtractor.java61 WallpaperManager wallpaperManager, boolean immediately) { in SysuiColorExtractor() argument
62 super(context, type, immediately, wallpaperManager); in SysuiColorExtractor()
71 if (wallpaperManager.isWallpaperSupported()) { in SysuiColorExtractor()
72 wallpaperManager.removeOnColorsChangedListener(this); in SysuiColorExtractor()
73 wallpaperManager.addOnColorsChangedListener(this, null /* handler */, in SysuiColorExtractor()
/frameworks/base/services/core/java/com/android/server/
DWallpaperUpdateReceiver.java52 WallpaperManager wallpaperManager = WallpaperManager.getInstance(uiContext); in updateWallpaper() local
56 wallpaperManager.setBitmap(blank); in updateWallpaper()
57 wallpaperManager.setResource(com.android.internal.R.drawable.default_wallpaper); in updateWallpaper()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DImageWallpaperTest.java81 WallpaperManager wallpaperManager = mock(WallpaperManager.class); in setUp() local
84 when(mMockContext.getSystemService(WallpaperManager.class)).thenReturn(wallpaperManager); in setUp()
94 when(wallpaperManager.getBitmap(false)).thenReturn(mWallpaperBitmap); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationShadeDepthControllerTest.kt62 @Mock private lateinit var wallpaperManager: WallpaperManager in <lambda>() variable in com.android.systemui.statusbar.NotificationShadeDepthControllerTest
92 keyguardStateController, choreographer, wallpaperManager, in <lambda>()
197 verify(wallpaperManager).setWallpaperZoomOut(any(), anyFloat()) in <lambda>()
223 doThrow(IllegalArgumentException("test exception")).`when`(wallpaperManager) in <lambda>()
226 verify(wallpaperManager).setWallpaperZoomOut(any(), anyFloat()) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageWallpaperRenderer.java118 private WallpaperTexture(WallpaperManager wallpaperManager) { in WallpaperTexture() argument
119 mWallpaperManager = wallpaperManager; in WallpaperTexture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeFactory.java70 DockManager dockManager, @Nullable IWallpaperManager wallpaperManager, in DozeFactory() argument
84 mWallpaperManager = wallpaperManager; in DozeFactory()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java574 WallpaperManager wallpaperManager = null;
576 wallpaperManager = WallpaperManager.getInstance(mContext.getApplicationContext());
584 wallpaperManager.setStream(is);
777 if (mSetWallpaper && wallpaperManager != null) {
780 wallpaperManager.setStream(new ByteArrayInputStream(outByteArray));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenWallpaper.java81 public LockscreenWallpaper(WallpaperManager wallpaperManager, in LockscreenWallpaper() argument
88 mWallpaperManager = wallpaperManager; in LockscreenWallpaper()
DStatusBar.java530 WallpaperManager wallpaperManager = context.getSystemService(WallpaperManager.class);
531 WallpaperInfo info = wallpaperManager.getWallpaperInfo(UserHandle.USER_CURRENT);
913 IWallpaperManager wallpaperManager = IWallpaperManager.Stub.asInterface( in start() local
916 wallpaperManager.setInAmbientMode(false /* ambientMode */, 0L /* duration */); in start()