1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 2<HTML style="overflow:auto;"> 3<HEAD> 4<meta name="generator" content="JDiff v1.1.0"> 5<!-- Generated by the JDiff Javadoc doclet --> 6<!-- (http://www.jdiff.org) --> 7<meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared."> 8<meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet"> 9<TITLE> 10android.view.MotionEvent 11</TITLE> 12<link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" /> 13<link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" /> 14<noscript> 15<style type="text/css"> 16body{overflow:auto;} 17#body-content{position:relative; top:0;} 18#doc-content{overflow:visible;border-left:3px solid #666;} 19#side-nav{padding:0;} 20#side-nav .toggle-list ul {display:block;} 21#resize-packages-nav{border-bottom:3px solid #666;} 22</style> 23</noscript> 24<style type="text/css"> 25</style> 26</HEAD> 27<BODY> 28<!-- Start of nav bar --> 29<a name="top"></a> 30<div id="header" style="margin-bottom:0;padding-bottom:0;"> 31<div id="headerLeft"> 32<a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a> 33</div> 34 <div id="headerRight"> 35 <div id="headerLinks"> 36<!-- <img src="/assets/images/icon_world.jpg" alt="" /> --> 37<span class="text"> 38<!-- <a href="#">English</a> | --> 39<nobr><a href="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://www.android.com" target="_top">Android.com</a></nobr> 40</span> 41</div> 42 <div class="and-diff-id" style="margin-top:6px;margin-right:8px;"> 43 <table class="diffspectable"> 44 <tr> 45 <td colspan="2" class="diffspechead">API Diff Specification</td> 46 </tr> 47 <tr> 48 <td class="diffspec" style="padding-top:.25em">To Level:</td> 49 <td class="diffvaluenew" style="padding-top:.25em">14</td> 50 </tr> 51 <tr> 52 <td class="diffspec">From Level:</td> 53 <td class="diffvalueold">13</td> 54 </tr> 55 <tr> 56 <td class="diffspec">Generated</td> 57 <td class="diffvalue">2011.10.06 23:19</td> 58 </tr> 59 </table> 60 </div><!-- End and-diff-id --> 61 <div class="and-diff-id" style="margin-right:8px;"> 62 <table class="diffspectable"> 63 <tr> 64 <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a> 65 </tr> 66 </table> 67 </div> <!-- End and-diff-id --> 68 </div> <!-- End headerRight --> 69 </div> <!-- End header --> 70<div id="body-content" xstyle="padding:12px;padding-right:18px;"> 71<div id="doc-content" style="position:relative;"> 72<div id="mainBodyFluid"> 73<H2> 74Class android.view.<A HREF="../../../../reference/android/view/MotionEvent.html" target="_top"><font size="+2"><code>MotionEvent</code></font></A> 75</H2> 76<a NAME="constructors"></a> 77<a NAME="methods"></a> 78<p> 79<a NAME="Removed"></a> 80<TABLE summary="Removed Methods" WIDTH="100%"> 81<TR> 82 <TH VALIGN="TOP" COLSPAN=2>Removed Methods</FONT></TD> 83</TH> 84<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 85 <TD VALIGN="TOP" WIDTH="25%"> 86 <A NAME="android.view.MotionEvent.obtain_removed(long, long, int, int, int[], android.view.MotionEvent.PointerCoords[], int, float, float, int, int, int, int)"></A> 87 <nobr><code>MotionEvent</code> obtain(<code>long,</nobr> long<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int[]<nobr>,</nobr> PointerCoords[]<nobr>,</nobr> int<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 88 </TD> 89 <TD> </TD> 90</TR> 91</TABLE> 92 93<p> 94<a NAME="Added"></a> 95<TABLE summary="Added Methods" WIDTH="100%"> 96<TR> 97 <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD> 98</TH> 99<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 100 <TD VALIGN="TOP" WIDTH="25%"> 101 <A NAME="android.view.MotionEvent.getButtonState_added()"></A> 102 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#getButtonState()" target="_top"><code>getButtonState</code></A>()</nobr> 103 </TD> 104 <TD> </TD> 105</TR> 106<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 107 <TD VALIGN="TOP" WIDTH="25%"> 108 <A NAME="android.view.MotionEvent.getPointerProperties_added(int, android.view.MotionEvent.PointerProperties)"></A> 109 <nobr><code>void</code> <A HREF="../../../../reference/android/view/MotionEvent.html#getPointerProperties(int, android.view.MotionEvent.PointerProperties)" target="_top"><code>getPointerProperties</code></A>(<code>int,</nobr> PointerProperties<nobr><nobr></code>)</nobr> 110 </TD> 111 <TD> </TD> 112</TR> 113<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 114 <TD VALIGN="TOP" WIDTH="25%"> 115 <A NAME="android.view.MotionEvent.getToolType_added(int)"></A> 116 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#getToolType(int)" target="_top"><code>getToolType</code></A>(<code>int</code>)</nobr> 117 </TD> 118 <TD> </TD> 119</TR> 120<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 121 <TD VALIGN="TOP" WIDTH="25%"> 122 <A NAME="android.view.MotionEvent.obtain_added(long, long, int, int, android.view.MotionEvent.PointerProperties[], android.view.MotionEvent.PointerCoords[], int, int, float, float, int, int, int, int)"></A> 123 <nobr><code>MotionEvent</code> <A HREF="../../../../reference/android/view/MotionEvent.html#obtain(long, long, int, int, android.view.MotionEvent.PointerProperties[], android.view.MotionEvent.PointerCoords[], int, int, float, float, int, int, int, int)" target="_top"><code>obtain</code></A>(<code>long,</nobr> long<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> PointerProperties[]<nobr>,</nobr> PointerCoords[]<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 124 </TD> 125 <TD> </TD> 126</TR> 127<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 128 <TD VALIGN="TOP" WIDTH="25%"> 129 <A NAME="android.view.MotionEvent.obtain_added(long, long, int, int, int[], android.view.MotionEvent.PointerCoords[], int, float, float, int, int, int, int)"></A> 130 <nobr><code>MotionEvent</code> <A HREF="../../../../reference/android/view/MotionEvent.html#obtain(long, long, int, int, int[], android.view.MotionEvent.PointerCoords[], int, float, float, int, int, int, int)" target="_top"><code>obtain</code></A>(<code>long,</nobr> long<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int[]<nobr>,</nobr> PointerCoords[]<nobr>,</nobr> int<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 131 </TD> 132 <TD> </TD> 133</TR> 134</TABLE> 135 136<a NAME="fields"></a> 137<p> 138<a NAME="Added"></a> 139<TABLE summary="Added Fields" WIDTH="100%"> 140<TR> 141 <TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD> 142</TH> 143<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 144 <TD VALIGN="TOP" WIDTH="25%"> 145 <A NAME="android.view.MotionEvent.ACTION_HOVER_ENTER"></A> 146 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_HOVER_ENTER" target="_top"><code>ACTION_HOVER_ENTER</code></A></nobr> 147 </TD> 148 <TD> </TD> 149</TR> 150<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 151 <TD VALIGN="TOP" WIDTH="25%"> 152 <A NAME="android.view.MotionEvent.ACTION_HOVER_EXIT"></A> 153 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_HOVER_EXIT" target="_top"><code>ACTION_HOVER_EXIT</code></A></nobr> 154 </TD> 155 <TD> </TD> 156</TR> 157<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 158 <TD VALIGN="TOP" WIDTH="25%"> 159 <A NAME="android.view.MotionEvent.AXIS_DISTANCE"></A> 160 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#AXIS_DISTANCE" target="_top"><code>AXIS_DISTANCE</code></A></nobr> 161 </TD> 162 <TD> </TD> 163</TR> 164<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 165 <TD VALIGN="TOP" WIDTH="25%"> 166 <A NAME="android.view.MotionEvent.AXIS_TILT"></A> 167 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#AXIS_TILT" target="_top"><code>AXIS_TILT</code></A></nobr> 168 </TD> 169 <TD> </TD> 170</TR> 171<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 172 <TD VALIGN="TOP" WIDTH="25%"> 173 <A NAME="android.view.MotionEvent.BUTTON_BACK"></A> 174 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#BUTTON_BACK" target="_top"><code>BUTTON_BACK</code></A></nobr> 175 </TD> 176 <TD> </TD> 177</TR> 178<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 179 <TD VALIGN="TOP" WIDTH="25%"> 180 <A NAME="android.view.MotionEvent.BUTTON_FORWARD"></A> 181 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#BUTTON_FORWARD" target="_top"><code>BUTTON_FORWARD</code></A></nobr> 182 </TD> 183 <TD> </TD> 184</TR> 185<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 186 <TD VALIGN="TOP" WIDTH="25%"> 187 <A NAME="android.view.MotionEvent.BUTTON_PRIMARY"></A> 188 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#BUTTON_PRIMARY" target="_top"><code>BUTTON_PRIMARY</code></A></nobr> 189 </TD> 190 <TD> </TD> 191</TR> 192<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 193 <TD VALIGN="TOP" WIDTH="25%"> 194 <A NAME="android.view.MotionEvent.BUTTON_SECONDARY"></A> 195 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#BUTTON_SECONDARY" target="_top"><code>BUTTON_SECONDARY</code></A></nobr> 196 </TD> 197 <TD> </TD> 198</TR> 199<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 200 <TD VALIGN="TOP" WIDTH="25%"> 201 <A NAME="android.view.MotionEvent.BUTTON_TERTIARY"></A> 202 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#BUTTON_TERTIARY" target="_top"><code>BUTTON_TERTIARY</code></A></nobr> 203 </TD> 204 <TD> </TD> 205</TR> 206<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 207 <TD VALIGN="TOP" WIDTH="25%"> 208 <A NAME="android.view.MotionEvent.INVALID_POINTER_ID"></A> 209 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#INVALID_POINTER_ID" target="_top"><code>INVALID_POINTER_ID</code></A></nobr> 210 </TD> 211 <TD> </TD> 212</TR> 213<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 214 <TD VALIGN="TOP" WIDTH="25%"> 215 <A NAME="android.view.MotionEvent.TOOL_TYPE_ERASER"></A> 216 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#TOOL_TYPE_ERASER" target="_top"><code>TOOL_TYPE_ERASER</code></A></nobr> 217 </TD> 218 <TD> </TD> 219</TR> 220<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 221 <TD VALIGN="TOP" WIDTH="25%"> 222 <A NAME="android.view.MotionEvent.TOOL_TYPE_FINGER"></A> 223 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#TOOL_TYPE_FINGER" target="_top"><code>TOOL_TYPE_FINGER</code></A></nobr> 224 </TD> 225 <TD> </TD> 226</TR> 227<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 228 <TD VALIGN="TOP" WIDTH="25%"> 229 <A NAME="android.view.MotionEvent.TOOL_TYPE_MOUSE"></A> 230 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#TOOL_TYPE_MOUSE" target="_top"><code>TOOL_TYPE_MOUSE</code></A></nobr> 231 </TD> 232 <TD> </TD> 233</TR> 234<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 235 <TD VALIGN="TOP" WIDTH="25%"> 236 <A NAME="android.view.MotionEvent.TOOL_TYPE_STYLUS"></A> 237 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#TOOL_TYPE_STYLUS" target="_top"><code>TOOL_TYPE_STYLUS</code></A></nobr> 238 </TD> 239 <TD> </TD> 240</TR> 241<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 242 <TD VALIGN="TOP" WIDTH="25%"> 243 <A NAME="android.view.MotionEvent.TOOL_TYPE_UNKNOWN"></A> 244 <nobr><code>int</code> <A HREF="../../../../reference/android/view/MotionEvent.html#TOOL_TYPE_UNKNOWN" target="_top"><code>TOOL_TYPE_UNKNOWN</code></A></nobr> 245 </TD> 246 <TD> </TD> 247</TR> 248</TABLE> 249 250 </div> 251 <div id="footer"> 252 <div id="copyright"> 253 Except as noted, this content is licensed under 254 <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>. 255 For details and restrictions, see the <a href="/license.html">Content License</a>. 256 </div> 257 <div id="footerlinks"> 258 <p> 259 <a href="http://www.android.com/terms.html">Site Terms of Service</a> - 260 <a href="http://www.android.com/privacy.html">Privacy Policy</a> - 261 <a href="http://www.android.com/branding.html">Brand Guidelines</a> 262 </p> 263 </div> 264 </div> <!-- end footer --> 265 </div><!-- end doc-content --> 266 </div> <!-- end body-content --> 267<script src="//www.google-analytics.com/ga.js" type="text/javascript"> 268</script> 269<script type="text/javascript"> 270 try { 271 var pageTracker = _gat._getTracker("UA-5831155-1"); 272 pageTracker._setAllowAnchor(true); 273 pageTracker._initData(); 274 pageTracker._trackPageview(); 275 } catch(e) {} 276</script> 277</BODY> 278</HTML> 279