Class android.view.MotionEvent

The superclass changed from java.lang.Object to android.view.InputEvent.

Removed Methods
MotionEvent obtain( long, long , int , int , float , float , float , float , int , float , float , int , int )  
 

Added Methods
void  addBatch( long, PointerCoords[] , int )  
int  getFlags()  
float  getHistoricalOrientation( int)  
float  getHistoricalOrientation( int, int )  
void  getHistoricalPointerCoords( int, int , PointerCoords )  
float  getHistoricalToolMajor( int)  
float  getHistoricalToolMajor( int, int )  
float  getHistoricalToolMinor( int)  
float  getHistoricalToolMinor( int, int )  
float  getHistoricalTouchMajor( int)  
float  getHistoricalTouchMajor( int, int )  
float  getHistoricalTouchMinor( int)  
float  getHistoricalTouchMinor( int, int )  
float  getOrientation()  
float  getOrientation( int)  
void  getPointerCoords( int, PointerCoords )  
float  getToolMajor()  
float  getToolMajor( int)  
float  getToolMinor()  
float  getToolMinor( int)  
float  getTouchMajor()  
float  getTouchMajor( int)  
float  getTouchMinor()  
float  getTouchMinor( int)  
MotionEvent  obtain( long, long , int , int , int[] , PointerCoords[] , int , float , float , int , int , int , int )  
MotionEvent  obtain( long, long , int , int , float , float , float , float , int , float , float , int , int )  
 

Changed Methods
int  describeContents() Method was locally defined, but is now inherited from InputEvent.  
int  getDeviceId() Method was locally defined, but is now inherited from InputEvent.  
void  recycle() Change from non-final to final.
 
 

Added Fields
int  FLAG_WINDOW_IS_OBSCURED  
 
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.