android.service.wallpaper
Class WallpaperService.Engine

java.lang.Object
  extended by android.service.wallpaper.WallpaperService.Engine
Enclosing class:
WallpaperService

public class WallpaperService.Engine
extends Object


Constructor Summary
WallpaperService.Engine()
           
 
Method Summary
protected  void dump(String prefix, FileDescriptor fd, PrintWriter out, String[] args)
           
 int getDesiredMinimumHeight()
           
 int getDesiredMinimumWidth()
           
 SurfaceHolder getSurfaceHolder()
           
 boolean isPreview()
           
 boolean isVisible()
           
 Bundle onCommand(String action, int x, int y, int z, Bundle extras, boolean resultRequested)
           
 void onCreate(SurfaceHolder surfaceHolder)
           
 void onDesiredSizeChanged(int desiredWidth, int desiredHeight)
           
 void onDestroy()
           
 void onOffsetsChanged(float xOffset, float yOffset, float xOffsetStep, float yOffsetStep, int xPixelOffset, int yPixelOffset)
           
 void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height)
           
 void onSurfaceCreated(SurfaceHolder holder)
           
 void onSurfaceDestroyed(SurfaceHolder holder)
           
 void onSurfaceRedrawNeeded(SurfaceHolder holder)
           
 void onTouchEvent(MotionEvent event)
           
 void onVisibilityChanged(boolean visible)
           
 void setTouchEventsEnabled(boolean enabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WallpaperService.Engine

public WallpaperService.Engine()
Method Detail

getSurfaceHolder

public SurfaceHolder getSurfaceHolder()

getDesiredMinimumWidth

public int getDesiredMinimumWidth()

getDesiredMinimumHeight

public int getDesiredMinimumHeight()

isVisible

public boolean isVisible()

isPreview

public boolean isPreview()

setTouchEventsEnabled

public void setTouchEventsEnabled(boolean enabled)

onCreate

public void onCreate(SurfaceHolder surfaceHolder)

onDestroy

public void onDestroy()

onVisibilityChanged

public void onVisibilityChanged(boolean visible)

onTouchEvent

public void onTouchEvent(MotionEvent event)

onOffsetsChanged

public void onOffsetsChanged(float xOffset,
                             float yOffset,
                             float xOffsetStep,
                             float yOffsetStep,
                             int xPixelOffset,
                             int yPixelOffset)

onCommand

public Bundle onCommand(String action,
                        int x,
                        int y,
                        int z,
                        Bundle extras,
                        boolean resultRequested)

onDesiredSizeChanged

public void onDesiredSizeChanged(int desiredWidth,
                                 int desiredHeight)

onSurfaceChanged

public void onSurfaceChanged(SurfaceHolder holder,
                             int format,
                             int width,
                             int height)

onSurfaceRedrawNeeded

public void onSurfaceRedrawNeeded(SurfaceHolder holder)

onSurfaceCreated

public void onSurfaceCreated(SurfaceHolder holder)

onSurfaceDestroyed

public void onSurfaceDestroyed(SurfaceHolder holder)

dump

protected void dump(String prefix,
                    FileDescriptor fd,
                    PrintWriter out,
                    String[] args)


Copyright © 2008-2012. All Rights Reserved.