/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 | 28 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/ |
D | ThemeOverlayControllerTest.java | 93 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/ |
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 | 124 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/ |
D | LockscreenWallpaper.java | 70 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/ |
D | WakefulnessLifecycleTest.java | 47 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/ |
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/theme/ |
D | ThemeOverlayController.java | 109 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/ |
D | Dependency.java | 351 @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/ |
D | StatusBarTest.java | 275 @Mock private IWallpaperManager mWallpaperManager; field in StatusBarTest 338 new WakefulnessLifecycle(mContext, mWallpaperManager); in setup()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 795 WallpaperColors primaryColors = mIWallpaperEngine.mWallpaperManager in notifyLocalColorsChanged() 1970 final WallpaperManager mWallpaperManager; field in WallpaperService.IWallpaperEngineWrapper 1979 mWallpaperManager = getSystemService(WallpaperManager.class); in IWallpaperEngineWrapper()
|