/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperPreview.java | 72 private WallpaperManager mWallpaperManager; field in LiveWallpaperPreview 145 mWallpaperManager = WallpaperManager.getInstance(this); in initUI() 276 if (mWallpaperManager.getWallpaperInfo() != null in setLiveWallpaper() 277 && mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_LOCK) < 0) { in setLiveWallpaper() 301 mWallpaperManager.clear(WallpaperManager.FLAG_LOCK); in setLiveWallpaper() 315 mWallpaperManager.setWallpaperComponent(mWallpaperIntent.getComponent()); in setLiveWallpaper() 316 mWallpaperManager.setWallpaperOffsetSteps(0.5f, 0.0f); in setLiveWallpaper() 317 mWallpaperManager.setWallpaperOffsets(windowToken, 0.5f, 0.0f); in setLiveWallpaper()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | WallpaperOffsetInterpolator.java | 25 private final WallpaperManager mWallpaperManager; field in WallpaperOffsetInterpolator 49 mWallpaperManager = WallpaperManager.getInstance(workspace.getContext()); in WallpaperOffsetInterpolator() 63 mWallpaperManager.setWallpaperOffsets(mWindowToken, getCurrX(), 0.5f); in updateOffset() 202 mWallpaperManager.setWallpaperOffsetSteps(xOffset, 1.0f); in setWallpaperOffsetSteps() 232 mWallpaperIsLiveWallpaper = mWallpaperManager.getWallpaperInfo() != null; in onResume()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
D | SuggestionsChecksTest.java | 60 private WallpaperManagerWrapper mWallpaperManager; field in SuggestionsChecksTest 138 ReflectionHelpers.setField(mSuggestionsChecks, "mWallpaperManager", mWallpaperManager); in hasWallpaperSet_no_shouldReturnFalse() 139 when(mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_SYSTEM)) in hasWallpaperSet_no_shouldReturnFalse() 148 ReflectionHelpers.setField(mSuggestionsChecks, "mWallpaperManager", mWallpaperManager); in hasWallpaperSet_yes_shouldReturnTrue() 149 when(mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_SYSTEM)) in hasWallpaperSet_yes_shouldReturnTrue()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
D | WallpaperManagerCompatV16.java | 11 protected WallpaperManager mWallpaperManager; field in WallpaperManagerCompatV16 14 mWallpaperManager = WallpaperManager.getInstance(context.getApplicationContext()); in WallpaperManagerCompatV16() 20 mWallpaperManager.setStream(data); in setStream() 25 mWallpaperManager.clear(); in clear()
|
D | WallpaperManagerCompatVN.java | 25 setStream.invoke(mWallpaperManager, data, visibleCropHint, allowBackup, whichWallpaper); in setStream() 37 clear.invoke(mWallpaperManager, whichWallpaper); in clear()
|
/packages/apps/Launcher3/src/com/android/launcher3/dynamicui/ |
D | WallpaperColorInfo.java | 31 private final WallpaperManagerCompat mWallpaperManager; field in WallpaperColorInfo 40 mWallpaperManager = WallpaperManagerCompat.getInstance(context); in WallpaperColorInfo() 41 mWallpaperManager.addOnColorsChangedListener(this); in WallpaperColorInfo() 43 update(mWallpaperManager.getWallpaperColors(FLAG_SYSTEM)); in WallpaperColorInfo()
|
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/ |
D | WallpaperManagerWrapper.java | 24 private final WallpaperManager mWallpaperManager; field in WallpaperManagerWrapper 27 mWallpaperManager = (WallpaperManager) context.getSystemService(Context.WALLPAPER_SERVICE); in WallpaperManagerWrapper() 31 return mWallpaperManager.getWallpaperId(which); in getWallpaperId()
|
D | SuggestionsChecks.java | 45 private final WallpaperManagerWrapper mWallpaperManager; field in SuggestionsChecks 49 mWallpaperManager = new WallpaperManagerWrapper(mContext); in SuggestionsChecks() 100 return mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_SYSTEM) > 0; in hasWallpaperSet()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | ShortcutAndWidgetContainer.java | 34 private final WallpaperManager mWallpaperManager; field in ShortcutAndWidgetContainer 48 mWallpaperManager = WallpaperManager.getInstance(context); in ShortcutAndWidgetContainer() 151 mWallpaperManager.sendWallpaperCommand(getWindowToken(), in onLayout()
|
D | Workspace.java | 102 private final WallpaperManager mWallpaperManager; field in Workspace 293 mWallpaperManager = WallpaperManager.getInstance(context); in Workspace() 747 mIsStaticWallpaper = mWallpaperManager.getWallpaperInfo() == null; in onPageBeginMoving() 858 mWallpaperManager.suggestDesiredDimensions(mWallpaperWidth, mWallpaperHeight); in setWallpaperDimension() 865 mWallpaperManager.setWallpaperOffsetSteps(1.0f / (getChildCount() - 1), 1.0f); in wallpaperOffsetForCurrentScroll() 921 mWallpaperManager.setWallpaperOffsets(mWindowToken, in updateWallpaperOffsets() 1450 mWallpaperManager.sendWallpaperCommand(getWindowToken(),
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 35 private final WallpaperManager mWallpaperManager; field in ShortcutAndWidgetContainer 48 mWallpaperManager = WallpaperManager.getInstance(context); in ShortcutAndWidgetContainer() 173 mWallpaperManager.sendWallpaperCommand(getWindowToken(), in onLayout()
|
D | Workspace.java | 137 @Thunk final WallpaperManager mWallpaperManager; field in Workspace 343 mWallpaperManager = WallpaperManager.getInstance(context); in Workspace() 1572 if (size.x != mWallpaperManager.getDesiredMinimumWidth() in setWallpaperDimension() 1573 || size.y != mWallpaperManager.getDesiredMinimumHeight()) { in setWallpaperDimension() 1574 mWallpaperManager.suggestDesiredDimensions(size.x, size.y); in setWallpaperDimension() 1861 mWallpaperManager.sendWallpaperCommand(getWindowToken(), in onWallpaperTap()
|