WallpaperManager

Class of android.app · WallpaperManager.java · Android's reference

public class WallpaperManager

The wallpaper service: a device without wallpaper support, so nothing is read or set.

Fields

public static final int FLAG_SYSTEM = 1 source
public static final int FLAG_LOCK = 2 source
public static final String ACTION_CHANGE_LIVE_WALLPAPER = "android.service.wallpaper.CHANGE_LIVE_WALLPAPER" source
public static final String ACTION_LIVE_WALLPAPER_CHOOSER = "android.service.wallpaper.LIVE_WALLPAPER_CHOOSER" source
public static final String EXTRA_LIVE_WALLPAPER_COMPONENT = "android.service.wallpaper.extra.LIVE_WALLPAPER_COMPONENT" source

Methods

public static WallpaperManager getInstance(android.content.Context context) source
public boolean isWallpaperSupported() source
public boolean isSetWallpaperAllowed() source
public Drawable getDrawable() source
public Drawable getDrawable(int which) source
public Drawable peekDrawable() source
public Drawable getFastDrawable() source
public Drawable peekFastDrawable() source
public Drawable getBuiltInDrawable() source
public int getWallpaperId(int which) source
public int getDesiredMinimumWidth() source

Zero or less: the caller uses the display's size.

public int getDesiredMinimumHeight() source
public void suggestDesiredDimensions(int minimumWidth, int minimumHeight) empty body source
public void setBitmap(Bitmap bitmap) throws IOException empty body source
public int setBitmap(Bitmap fullImage, android.graphics.Rect visibleCropHint, boolean allowBackup, int which) throws IOException source
public void setResource(int resid) throws IOException empty body source
public int setResource(int resid, int which) throws IOException source
public void setStream(InputStream bitmapData) throws IOException empty body source
public void clear() throws IOException empty body source
public void clear(int which) throws IOException empty body source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.