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.MotionEvent

Change from non-final to final.

Removed Constructors
android.view(long, long, int, float, float)  
android.view(long, long, int, float, float, float, float, float, float, int)  
 

Added Methods
int describeContents()  
int getEdgeFlags() Returns a bitfield indicating which edges, if any, where touched by this MotionEvent.
long getHistoricalEventTime(int) Returns the time that a historical movement occurred between this event and the previous event.
int getMetaState() Returns the state of any meta / modifier keys that were in effect when the event was generated.
MotionEvent obtain(MotionEvent) Create a new MotionEvent, copying from an existing one.
MotionEvent obtain(long, long, int, float, float, float, float, int, float, float, int, int) Create a new MotionEvent, filling in all of the basic values that define the motion.
MotionEvent obtain(long, long, int, float, float, int) Create a new MotionEvent, filling in a subset of the basic motion values.
void recycle() Recycle the MotionEvent, to be re-used by a later caller.
void setEdgeFlags(int) Sets the bitfield indicating which edges, if any, where touched by this MotionEvent.
 

Changed Methods
void addBatch(long, float, float, float, float, int) Change in signature from (float, float, float, float) to (long, float, float, float, float, int).
Add a new movement to the batch of movements in this event.
void writeToParcel(Parcel, int) Change in signature from Parcel to (Parcel, int).
 
 

Added Fields
int EDGE_BOTTOM Flag indicating the motion event intersected the bottom edge of the screen.
int EDGE_LEFT Flag indicating the motion event intersected the left edge of the screen.
int EDGE_RIGHT Flag indicating the motion event intersected the right edge of the screen.
int EDGE_TOP Flag indicating the motion event intersected the top edge of the screen.
 

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