Home
last modified time | relevance | path

Searched refs:mWallpaperManager (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
DWallpaperBackupAgentTest.java72 @Mock private WallpaperManager mWallpaperManager; field in WallpaperBackupAgentTest
93 mContext.injectSystemService(WallpaperManager.class, mWallpaperManager); in setUp()
154 verify(mWallpaperManager, times(1)).setWallpaperComponent(mWallpaperComponent); in updateWallpaperComponent_doesApplyLater()
155 verify(mWallpaperManager, times(1)).clear(eq(FLAG_LOCK)); in updateWallpaperComponent_doesApplyLater()
170 verify(mWallpaperManager, times(1)).setWallpaperComponent(mWallpaperComponent); in updateWallpaperComponent_applyToLockFalse_doesApplyLaterOnlyToMainScreen()
171 verify(mWallpaperManager, never()).clear(eq(FLAG_LOCK)); in updateWallpaperComponent_applyToLockFalse_doesApplyLaterOnlyToMainScreen()
186 verify(mWallpaperManager, never()).setWallpaperComponent(mWallpaperComponent); in updateWallpaperComponent_deviceNotInRestore_doesNotApply()
187 verify(mWallpaperManager, never()).clear(eq(FLAG_LOCK)); in updateWallpaperComponent_deviceNotInRestore_doesNotApply()
202 verify(mWallpaperManager, never()).setWallpaperComponent(mWallpaperComponent); in updateWallpaperComponent_differentPackageInstalled_doesNotApply()
203 verify(mWallpaperManager, never()).clear(eq(FLAG_LOCK)); in updateWallpaperComponent_differentPackageInstalled_doesNotApply()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DWallpaperManagerCompat.java28 private final WallpaperManager mWallpaperManager; field in WallpaperManagerCompat
31 mWallpaperManager = context.getSystemService(WallpaperManager.class); in WallpaperManagerCompat()
38 mWallpaperManager.setWallpaperZoomOut(windowToken, zoom); in setWallpaperZoomOut()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayControllerTest.java93 private WallpaperManager mWallpaperManager; field in ThemeOverlayControllerTest
122 mSecureSettings, mWallpaperManager, mUserManager, mDeviceProvisionedController, in setup()
136 verify(mWallpaperManager).addOnColorsChangedListener(mColorsListener.capture(), eq(null), in setup()
151 verify(mWallpaperManager).getWallpaperColors(eq(WallpaperManager.FLAG_SYSTEM)); in start_checksWallpaper()
290 when(mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_LOCK)).thenReturn(20); in onWallpaperColorsChanged_ResetThemeWithDifferentWallpapers()
291 when(mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_SYSTEM)).thenReturn(21); in onWallpaperColorsChanged_ResetThemeWithDifferentWallpapers()
320 when(mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_LOCK)).thenReturn(-1); in onWallpaperColorsChanged_ResetThemeWithSameWallpaper()
348 when(mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_LOCK)).thenReturn(1); in onWallpaperColorsChanged_changeLockWallpaper()
375 when(mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_LOCK)).thenReturn(-1); in onWallpaperColorsChanged_changeHomeWallpaper()
404 when(mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_LOCK)).thenReturn(1); in onWallpaperColorsChanged_ResetThemeWhenFromLatestWallpaper()
[all …]
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/
DColorExtractorTest.java51 private WallpaperManager mWallpaperManager; field in ColorExtractorTest
56 mWallpaperManager = mock(WallpaperManager.class); in setup()
62 new ColorExtractor(mContext, type, true, mWallpaperManager); in ColorExtractor_extractWhenInitialized()
89 ColorExtractor extractor = new ColorExtractor(mContext, type, true, mWallpaperManager); in getColors_usesExtractedColors()
105 mWallpaperManager); in addOnColorsChangedListener_invokesListener()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java36 WallpaperManager mWallpaperManager; field in MainActivity
58 mWallpaperManager = (WallpaperManager)getSystemService(Context.WALLPAPER_SERVICE); in onCreate()
132 mWallpaperManager.suggestDesiredDimensions( in updateDimens()
140 mWallpaperManager.setWallpaperOffsets(token, loadFloatText(mWallOffXView), in updateWallOff()
151 mWallpaperManager.setDisplayPadding(padding); in updatePadding()
157 mWallpaperManager.setDisplayOffset(token, loadIntText(mDispOffXView), in updateDispOff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageWallpaperRenderer.java124 private final WallpaperManager mWallpaperManager; field in ImageWallpaperRenderer.WallpaperTexture
129 mWallpaperManager = wallpaperManager; in WallpaperTexture()
138 mBitmap = mWallpaperManager.getBitmap(false /* hardware */); in use()
139 mWcgContent = mWallpaperManager.wallpaperSupportsWcg( in use()
141 mWallpaperManager.forgetLoadedWallpaper(); in use()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenWallpaper.java70 private final WallpaperManager mWallpaperManager; field in LockscreenWallpaper
92 mWallpaperManager = wallpaperManager; in LockscreenWallpaper()
113 if (!mWallpaperManager.isWallpaperSupported()) { in getBitmap()
131 if (!mWallpaperManager.isWallpaperSupported()) { in loadBitmap()
148 ParcelFileDescriptor fd = mWallpaperManager.getWallpaperFile( in loadBitmap()
166 return LoaderResult.success(mWallpaperManager.getBitmapAsUser( in loadBitmap()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWakefulnessLifecycleTest.java47 private IWallpaperManager mWallpaperManager; field in WakefulnessLifecycleTest
51 mWallpaperManager = mock(IWallpaperManager.class); in setUp()
52 mWakefulness = new WakefulnessLifecycle(mContext, mWallpaperManager); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/
DSysuiColorExtractorTests.java62 private WallpaperManager mWallpaperManager; field in SysuiColorExtractorTests
78 }, mock(ConfigurationController.class), mWallpaperManager, true /* immediately */); in setUp()
115 tonal, configurationController, mWallpaperManager, true /* immediately */); in onUiModeChanged_reloadsColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayController.java109 private WallpaperManager mWallpaperManager; field in ThemeOverlayController
168 return mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_LOCK) in getLatestWallpaperType()
169 > mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_SYSTEM) in getLatestWallpaperType()
286 mWallpaperManager = wallpaperManager; in ThemeOverlayController()
335 WallpaperColors systemColor = mWallpaperManager.getWallpaperColors( in start()
356 mWallpaperManager.addOnColorsChangedListener(mOnColorsChangedListener, null, in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java351 @Inject Lazy<IWallpaperManager> mWallpaperManager; field in Dependency
556 mProviders.put(IWallpaperManager.class, mWallpaperManager::get); in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java275 @Mock private IWallpaperManager mWallpaperManager; field in StatusBarTest
338 new WakefulnessLifecycle(mContext, mWallpaperManager); in setup()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java795 WallpaperColors primaryColors = mIWallpaperEngine.mWallpaperManager in notifyLocalColorsChanged()
1970 final WallpaperManager mWallpaperManager; field in WallpaperService.IWallpaperEngineWrapper
1979 mWallpaperManager = getSystemService(WallpaperManager.class); in IWallpaperEngineWrapper()