Home
last modified time | relevance | path

Searched refs:mWallpaperManager (Results 1 – 9 of 9) 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.java27 private final WallpaperManager mWallpaperManager; field in WallpaperManagerCompat
30 mWallpaperManager = context.getSystemService(WallpaperManager.class); in WallpaperManagerCompat()
37 mWallpaperManager.setWallpaperZoomOut(windowToken, zoom); in setWallpaperZoomOut()
/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.java114 private final WallpaperManager mWallpaperManager; field in ImageWallpaperRenderer.WallpaperTexture
119 mWallpaperManager = wallpaperManager; in WallpaperTexture()
128 mBitmap = mWallpaperManager.getBitmap(false /* hardware */); in use()
129 mWcgContent = mWallpaperManager.wallpaperSupportsWcg( in use()
131 mWallpaperManager.forgetLoadedWallpaper(); in use()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenWallpaper.java68 private final WallpaperManager mWallpaperManager; field in LockscreenWallpaper
88 mWallpaperManager = wallpaperManager; in LockscreenWallpaper()
108 if (!mWallpaperManager.isWallpaperSupported()) { in getBitmap()
126 if (!mWallpaperManager.isWallpaperSupported()) { in loadBitmap()
135 ParcelFileDescriptor fd = mWallpaperManager.getWallpaperFile( in loadBitmap()
153 return LoaderResult.success(mWallpaperManager.getBitmapAsUser( in loadBitmap()
/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/doze/
DDozeFactory.java56 private final IWallpaperManager mWallpaperManager; field in DozeFactory
84 mWallpaperManager = wallpaperManager; in DozeFactory()
121 new DozeWallpaperState(mWallpaperManager, mBiometricUnlockController, in assembleMachine()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java315 @Inject Lazy<IWallpaperManager> mWallpaperManager; field in Dependency
504 mProviders.put(IWallpaperManager.class, mWallpaperManager::get); in start()