API Diff Specification
To Version: Android SDK 0.9_r1
From Version: Android SDK m5-rc14
Generated 2008.08.14 15:44

Class android.view.Surface

Removed Constructors
android.view(SurfaceSession, int, int, int, int) create a surface
android.view(SurfaceSession, int, int, int, int, int)  
 

Added Constructors
Surface(SurfaceSession, int, int, int, int, int, int) create a surface
 

Removed Methods
void post() request a page flip for this surface
Bitmap screenshot() screenshot API for instrumentation.
 

Added Methods
int describeContents()  
 

Changed Methods
Canvas lockCanvas(Rect) Change in exceptions thrown from no exceptions to android.view.Surface.OutOfResourcesException.
draw into a surface
void writeToParcel(Parcel, int) Change in signature from Parcel to (Parcel, int).
 
 

Removed Fields
int ORIENTATION_180  
int ORIENTATION_270  
int ORIENTATION_90  
int ORIENTATION_DEFAULT  
int PAGE_ALIGNED The surface is guaranteed to be aligned on a Page boundary
 

Added Fields
int FX_SURFACE_BLUR Creates a Blur surface.
int FX_SURFACE_DIM Creates a Dim surface.
int FX_SURFACE_MASK Mask used for FX values above
int FX_SURFACE_NORMAL Creates a normal surface.
int GPU Implies "HARDWARE", the surface is to be used by the GPU additionally the backbuffer is never preserved for these surfaces.
int HARDWARE The surface is to be used by hardware accelerators or DMA engines
int NON_PREMULTIPLIED Creates a surface where color components are interpreted as "non pre-multiplied" by their alpha channel.
int PUSH_BUFFERS Creates a surface without a rendering buffer.
int ROTATION_0  
int ROTATION_180  
int ROTATION_270  
int ROTATION_90  
 

©2008 Google - Code Home - Site Terms of Service - Privacy Policy
Generated by JDiff