/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgentTest.java | 72 @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/ |
D | WallpaperManagerCompat.java | 27 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/ |
D | ColorExtractorTest.java | 51 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/ |
D | MainActivity.java | 36 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/ |
D | ImageWallpaperRenderer.java | 114 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/ |
D | LockscreenWallpaper.java | 68 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/ |
D | SysuiColorExtractorTests.java | 62 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/ |
D | DozeFactory.java | 56 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/ |
D | Dependency.java | 315 @Inject Lazy<IWallpaperManager> mWallpaperManager; field in Dependency 504 mProviders.put(IWallpaperManager.class, mWallpaperManager::get); in start()
|