Modifier and Type | Class and Description |
---|---|
static class |
LockscreenWallpaper.WallpaperDrawable
Drawable that aligns left horizontally and center vertically (like ImageWallpaper).
|
Constructor and Description |
---|
LockscreenWallpaper(Context ctx,
PhoneStatusBar bar,
Handler h) |
Modifier and Type | Method and Description |
---|---|
Bitmap |
getBitmap() |
com.android.systemui.statusbar.phone.LockscreenWallpaper.LoaderResult |
loadBitmap(int currentUserId,
UserHandle selectedUser) |
void |
onWallpaperChanged() |
void |
run()
When an object implementing interface
Runnable is used
to create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread. |
void |
setCurrentUser(int user) |
void |
setSelectedUser(UserHandle selectedUser) |
public LockscreenWallpaper(Context ctx, PhoneStatusBar bar, Handler h)
public Bitmap getBitmap()
public com.android.systemui.statusbar.phone.LockscreenWallpaper.LoaderResult loadBitmap(int currentUserId, UserHandle selectedUser)
public void setCurrentUser(int user)
public void setSelectedUser(UserHandle selectedUser)
public void onWallpaperChanged()
public void run()
Runnable
Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
The general contract of the method run
is that it may
take any action whatsoever.
run
in interface Runnable
Thread.run()