Home | History | Annotate | Download | only in changes
      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>
     10 android.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">
     16 body{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 <!-- &nbsp;<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">5</td>
     50       </tr>
     51       <tr>
     52         <td class="diffspec">From Level:</td>
     53         <td class="diffvalueold">4</td>
     54       </tr>
     55       <tr>
     56         <td class="diffspec">Generated</td>
     57         <td class="diffvalue">2009.11.19 19:35</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>
     74 Class 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="Added"></a>
     80 <TABLE summary="Added Methods" WIDTH="100%">
     81 <TR>
     82   <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD>
     83 </TH>
     84 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     85   <TD VALIGN="TOP" WIDTH="25%">
     86   <A NAME="android.view.MotionEvent.findPointerIndex_added(int)"></A>
     87   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#findPointerIndex(int)" target="_top"><code>findPointerIndex</code></A>(<code>int</code>)</nobr>
     88   </TD>
     89   <TD>&nbsp;</TD>
     90 </TR>
     91 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     92   <TD VALIGN="TOP" WIDTH="25%">
     93   <A NAME="android.view.MotionEvent.getHistoricalPressure_added(int, int)"></A>
     94   <nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalPressure(int, int)" target="_top"><code>getHistoricalPressure</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
     95   </TD>
     96   <TD>&nbsp;</TD>
     97 </TR>
     98 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     99   <TD VALIGN="TOP" WIDTH="25%">
    100   <A NAME="android.view.MotionEvent.getHistoricalSize_added(int, int)"></A>
    101   <nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalSize(int, int)" target="_top"><code>getHistoricalSize</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
    102   </TD>
    103   <TD>&nbsp;</TD>
    104 </TR>
    105 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    106   <TD VALIGN="TOP" WIDTH="25%">
    107   <A NAME="android.view.MotionEvent.getHistoricalX_added(int, int)"></A>
    108   <nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalX(int, int)" target="_top"><code>getHistoricalX</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
    109   </TD>
    110   <TD>&nbsp;</TD>
    111 </TR>
    112 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    113   <TD VALIGN="TOP" WIDTH="25%">
    114   <A NAME="android.view.MotionEvent.getHistoricalY_added(int, int)"></A>
    115   <nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalY(int, int)" target="_top"><code>getHistoricalY</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
    116   </TD>
    117   <TD>&nbsp;</TD>
    118 </TR>
    119 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    120   <TD VALIGN="TOP" WIDTH="25%">
    121   <A NAME="android.view.MotionEvent.getPointerCount_added()"></A>
    122   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getPointerCount()" target="_top"><code>getPointerCount</code></A>()</nobr>
    123   </TD>
    124   <TD>&nbsp;</TD>
    125 </TR>
    126 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    127   <TD VALIGN="TOP" WIDTH="25%">
    128   <A NAME="android.view.MotionEvent.getPointerId_added(int)"></A>
    129   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getPointerId(int)" target="_top"><code>getPointerId</code></A>(<code>int</code>)</nobr>
    130   </TD>
    131   <TD>&nbsp;</TD>
    132 </TR>
    133 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    134   <TD VALIGN="TOP" WIDTH="25%">
    135   <A NAME="android.view.MotionEvent.getPressure_added(int)"></A>
    136   <nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getPressure(int)" target="_top"><code>getPressure</code></A>(<code>int</code>)</nobr>
    137   </TD>
    138   <TD>&nbsp;</TD>
    139 </TR>
    140 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    141   <TD VALIGN="TOP" WIDTH="25%">
    142   <A NAME="android.view.MotionEvent.getSize_added(int)"></A>
    143   <nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getSize(int)" target="_top"><code>getSize</code></A>(<code>int</code>)</nobr>
    144   </TD>
    145   <TD>&nbsp;</TD>
    146 </TR>
    147 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    148   <TD VALIGN="TOP" WIDTH="25%">
    149   <A NAME="android.view.MotionEvent.getX_added(int)"></A>
    150   <nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getX(int)" target="_top"><code>getX</code></A>(<code>int</code>)</nobr>
    151   </TD>
    152   <TD>&nbsp;</TD>
    153 </TR>
    154 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    155   <TD VALIGN="TOP" WIDTH="25%">
    156   <A NAME="android.view.MotionEvent.getY_added(int)"></A>
    157   <nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getY(int)" target="_top"><code>getY</code></A>(<code>int</code>)</nobr>
    158   </TD>
    159   <TD>&nbsp;</TD>
    160 </TR>
    161 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    162   <TD VALIGN="TOP" WIDTH="25%">
    163   <A NAME="android.view.MotionEvent.obtain_added(long, long, int, int, float, float, float, float, int, float, float, int, int)"></A>
    164   <nobr><code>MotionEvent</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#obtain(long, long, int, int, float, float, float, float, int, float, float, int, int)" target="_top"><code>obtain</code></A>(<code>long,</nobr> long<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> int<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr>
    165   </TD>
    166   <TD>&nbsp;</TD>
    167 </TR>
    168 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    169   <TD VALIGN="TOP" WIDTH="25%">
    170   <A NAME="android.view.MotionEvent.obtainNoHistory_added(android.view.MotionEvent)"></A>
    171   <nobr><code>MotionEvent</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#obtainNoHistory(android.view.MotionEvent)" target="_top"><code>obtainNoHistory</code></A>(<code>MotionEvent</code>)</nobr>
    172   </TD>
    173   <TD>&nbsp;</TD>
    174 </TR>
    175 </TABLE>
    176 &nbsp;
    177 <a NAME="fields"></a>
    178 <p>
    179 <a NAME="Added"></a>
    180 <TABLE summary="Added Fields" WIDTH="100%">
    181 <TR>
    182   <TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD>
    183 </TH>
    184 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    185   <TD VALIGN="TOP" WIDTH="25%">
    186   <A NAME="android.view.MotionEvent.ACTION_MASK"></A>
    187   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_MASK" target="_top"><code>ACTION_MASK</code></A></nobr>
    188   </TD>
    189   <TD>&nbsp;</TD>
    190 </TR>
    191 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    192   <TD VALIGN="TOP" WIDTH="25%">
    193   <A NAME="android.view.MotionEvent.ACTION_POINTER_1_DOWN"></A>
    194   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_POINTER_1_DOWN" target="_top"><code>ACTION_POINTER_1_DOWN</code></A></nobr>
    195   </TD>
    196   <TD>&nbsp;</TD>
    197 </TR>
    198 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    199   <TD VALIGN="TOP" WIDTH="25%">
    200   <A NAME="android.view.MotionEvent.ACTION_POINTER_1_UP"></A>
    201   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_POINTER_1_UP" target="_top"><code>ACTION_POINTER_1_UP</code></A></nobr>
    202   </TD>
    203   <TD>&nbsp;</TD>
    204 </TR>
    205 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    206   <TD VALIGN="TOP" WIDTH="25%">
    207   <A NAME="android.view.MotionEvent.ACTION_POINTER_2_DOWN"></A>
    208   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_POINTER_2_DOWN" target="_top"><code>ACTION_POINTER_2_DOWN</code></A></nobr>
    209   </TD>
    210   <TD>&nbsp;</TD>
    211 </TR>
    212 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    213   <TD VALIGN="TOP" WIDTH="25%">
    214   <A NAME="android.view.MotionEvent.ACTION_POINTER_2_UP"></A>
    215   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_POINTER_2_UP" target="_top"><code>ACTION_POINTER_2_UP</code></A></nobr>
    216   </TD>
    217   <TD>&nbsp;</TD>
    218 </TR>
    219 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    220   <TD VALIGN="TOP" WIDTH="25%">
    221   <A NAME="android.view.MotionEvent.ACTION_POINTER_3_DOWN"></A>
    222   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_POINTER_3_DOWN" target="_top"><code>ACTION_POINTER_3_DOWN</code></A></nobr>
    223   </TD>
    224   <TD>&nbsp;</TD>
    225 </TR>
    226 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    227   <TD VALIGN="TOP" WIDTH="25%">
    228   <A NAME="android.view.MotionEvent.ACTION_POINTER_3_UP"></A>
    229   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_POINTER_3_UP" target="_top"><code>ACTION_POINTER_3_UP</code></A></nobr>
    230   </TD>
    231   <TD>&nbsp;</TD>
    232 </TR>
    233 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    234   <TD VALIGN="TOP" WIDTH="25%">
    235   <A NAME="android.view.MotionEvent.ACTION_POINTER_DOWN"></A>
    236   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_POINTER_DOWN" target="_top"><code>ACTION_POINTER_DOWN</code></A></nobr>
    237   </TD>
    238   <TD>&nbsp;</TD>
    239 </TR>
    240 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    241   <TD VALIGN="TOP" WIDTH="25%">
    242   <A NAME="android.view.MotionEvent.ACTION_POINTER_ID_MASK"></A>
    243   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_POINTER_ID_MASK" target="_top"><code>ACTION_POINTER_ID_MASK</code></A></nobr>
    244   </TD>
    245   <TD>&nbsp;</TD>
    246 </TR>
    247 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    248   <TD VALIGN="TOP" WIDTH="25%">
    249   <A NAME="android.view.MotionEvent.ACTION_POINTER_ID_SHIFT"></A>
    250   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_POINTER_ID_SHIFT" target="_top"><code>ACTION_POINTER_ID_SHIFT</code></A></nobr>
    251   </TD>
    252   <TD>&nbsp;</TD>
    253 </TR>
    254 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    255   <TD VALIGN="TOP" WIDTH="25%">
    256   <A NAME="android.view.MotionEvent.ACTION_POINTER_UP"></A>
    257   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#ACTION_POINTER_UP" target="_top"><code>ACTION_POINTER_UP</code></A></nobr>
    258   </TD>
    259   <TD>&nbsp;</TD>
    260 </TR>
    261 </TABLE>
    262 &nbsp;
    263       </div>	
    264       <div id="footer">
    265         <div id="copyright">
    266         Except as noted, this content is licensed under 
    267         <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
    268         For details and restrictions, see the <a href="/license.html">Content License</a>.
    269         </div>
    270       <div id="footerlinks">
    271       <p>
    272         <a href="http://www.android.com/terms.html">Site Terms of Service</a> -
    273         <a href="http://www.android.com/privacy.html">Privacy Policy</a> -
    274         <a href="http://www.android.com/branding.html">Brand Guidelines</a>
    275       </p>
    276     </div>
    277     </div> <!-- end footer -->
    278     </div><!-- end doc-content -->
    279     </div> <!-- end body-content --> 
    280 <script src="http://www.google-analytics.com/ga.js" type="text/javascript">
    281 </script>
    282 <script type="text/javascript">
    283   try {
    284     var pageTracker = _gat._getTracker("UA-5831155-1");
    285     pageTracker._setAllowAnchor(true);
    286     pageTracker._initData();
    287     pageTracker._trackPageview();
    288   } catch(e) {}
    289 </script>
    290 </BODY>
    291 </HTML>
    292