android.app
Class WallpaperManager
java.lang.Object
android.app.WallpaperManager
public class WallpaperManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTION_LIVE_WALLPAPER_CHOOSER
public static final String ACTION_LIVE_WALLPAPER_CHOOSER
- See Also:
- Constant Field Values
WALLPAPER_PREVIEW_META_DATA
public static final String WALLPAPER_PREVIEW_META_DATA
- See Also:
- Constant Field Values
COMMAND_TAP
public static final String COMMAND_TAP
- See Also:
- Constant Field Values
COMMAND_SECONDARY_TAP
public static final String COMMAND_SECONDARY_TAP
- See Also:
- Constant Field Values
COMMAND_DROP
public static final String COMMAND_DROP
- See Also:
- Constant Field Values
getInstance
public static WallpaperManager getInstance(Context context)
getDrawable
public Drawable getDrawable()
peekDrawable
public Drawable peekDrawable()
getFastDrawable
public Drawable getFastDrawable()
peekFastDrawable
public Drawable peekFastDrawable()
forgetLoadedWallpaper
public void forgetLoadedWallpaper()
getWallpaperInfo
public WallpaperInfo getWallpaperInfo()
setResource
public void setResource(int resid)
throws IOException
- Throws:
IOException
setBitmap
public void setBitmap(Bitmap bitmap)
throws IOException
- Throws:
IOException
setStream
public void setStream(InputStream data)
throws IOException
- Throws:
IOException
getDesiredMinimumWidth
public int getDesiredMinimumWidth()
getDesiredMinimumHeight
public int getDesiredMinimumHeight()
suggestDesiredDimensions
public void suggestDesiredDimensions(int minimumWidth,
int minimumHeight)
setWallpaperOffsets
public void setWallpaperOffsets(IBinder windowToken,
float xOffset,
float yOffset)
setWallpaperOffsetSteps
public void setWallpaperOffsetSteps(float xStep,
float yStep)
sendWallpaperCommand
public void sendWallpaperCommand(IBinder windowToken,
String action,
int x,
int y,
int z,
Bundle extras)
clearWallpaperOffsets
public void clearWallpaperOffsets(IBinder windowToken)
clear
public void clear()
throws IOException
- Throws:
IOException
Copyright © 2008-2012. All Rights Reserved.