blob: 47c5ae6a1a55ab1ab2e803411d8f6117beea9524 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML style="overflow:auto;">
<HEAD>
<meta name="generator" content="JDiff v1.1.0">
<!-- Generated by the JDiff Javadoc doclet -->
<!-- (http://www.jdiff.org) -->
<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.">
<meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
<TITLE>
android.view.MotionEvent
</TITLE>
<link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
<link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
<noscript>
<style type="text/css">
body{overflow:auto;}
#body-content{position:relative; top:0;}
#doc-content{overflow:visible;border-left:3px solid #666;}
#side-nav{padding:0;}
#side-nav .toggle-list ul {display:block;}
#resize-packages-nav{border-bottom:3px solid #666;}
</style>
</noscript>
<style type="text/css">
</style>
</HEAD>
<BODY>
<!-- Start of nav bar -->
<a name="top"></a>
<div id="header" style="margin-bottom:0;padding-bottom:0;">
<div id="headerLeft">
<a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a>
</div>
<div id="headerRight">
<div id="headerLinks">
<!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
<span class="text">
<!-- &nbsp;<a href="#">English</a> | -->
<nobr><a href="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://www.android.com" target="_top">Android.com</a></nobr>
</span>
</div>
<div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
<table class="diffspectable">
<tr>
<td colspan="2" class="diffspechead">API Diff Specification</td>
</tr>
<tr>
<td class="diffspec" style="padding-top:.25em">To Level:</td>
<td class="diffvaluenew" style="padding-top:.25em">9</td>
</tr>
<tr>
<td class="diffspec">From Level:</td>
<td class="diffvalueold">8</td>
</tr>
<tr>
<td class="diffspec">Generated</td>
<td class="diffvalue">2010.11.19 19:12</td>
</tr>
</table>
</div><!-- End and-diff-id -->
<div class="and-diff-id" style="margin-right:8px;">
<table class="diffspectable">
<tr>
<td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
</tr>
</table>
</div> <!-- End and-diff-id -->
</div> <!-- End headerRight -->
</div> <!-- End header -->
<div id="body-content" xstyle="padding:12px;padding-right:18px;">
<div id="doc-content" style="position:relative;">
<div id="mainBodyFluid">
<H2>
Class android.view.<A HREF="../../../../reference/android/view/MotionEvent.html" target="_top"><font size="+2"><code>MotionEvent</code></font></A>
</H2>
<p><font xsize="+1">The superclass changed from <code>java.lang.Object</code> to <code>android.view.InputEvent</code>.<br></font>
<a NAME="constructors"></a>
<a NAME="methods"></a>
<p>
<a NAME="Removed"></a>
<TABLE summary="Removed Methods" WIDTH="100%">
<TR>
<TH VALIGN="TOP" COLSPAN=2>Removed Methods</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.obtain_removed(long, long, int, int, float, float, float, float, int, float, float, int, int)"></A>
<nobr><code>MotionEvent</code>&nbsp;obtain(<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>
</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<p>
<a NAME="Added"></a>
<TABLE summary="Added Methods" WIDTH="100%">
<TR>
<TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.addBatch_added(long, android.view.MotionEvent.PointerCoords[], int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#addBatch(long, android.view.MotionEvent.PointerCoords[], int)" target="_top"><code>addBatch</code></A>(<code>long,</nobr> PointerCoords[]<nobr>,</nobr> int<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getFlags_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getFlags()" target="_top"><code>getFlags</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getHistoricalOrientation_added(int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalOrientation(int)" target="_top"><code>getHistoricalOrientation</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getHistoricalOrientation_added(int, int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalOrientation(int, int)" target="_top"><code>getHistoricalOrientation</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getHistoricalPointerCoords_added(int, int, android.view.MotionEvent.PointerCoords)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalPointerCoords(int, int, android.view.MotionEvent.PointerCoords)" target="_top"><code>getHistoricalPointerCoords</code></A>(<code>int,</nobr> int<nobr>,</nobr> PointerCoords<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getHistoricalToolMajor_added(int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalToolMajor(int)" target="_top"><code>getHistoricalToolMajor</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getHistoricalToolMajor_added(int, int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalToolMajor(int, int)" target="_top"><code>getHistoricalToolMajor</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getHistoricalToolMinor_added(int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalToolMinor(int)" target="_top"><code>getHistoricalToolMinor</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getHistoricalToolMinor_added(int, int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalToolMinor(int, int)" target="_top"><code>getHistoricalToolMinor</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getHistoricalTouchMajor_added(int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalTouchMajor(int)" target="_top"><code>getHistoricalTouchMajor</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getHistoricalTouchMajor_added(int, int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalTouchMajor(int, int)" target="_top"><code>getHistoricalTouchMajor</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getHistoricalTouchMinor_added(int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalTouchMinor(int)" target="_top"><code>getHistoricalTouchMinor</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getHistoricalTouchMinor_added(int, int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getHistoricalTouchMinor(int, int)" target="_top"><code>getHistoricalTouchMinor</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getOrientation_added()"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getOrientation()" target="_top"><code>getOrientation</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getOrientation_added(int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getOrientation(int)" target="_top"><code>getOrientation</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getPointerCoords_added(int, android.view.MotionEvent.PointerCoords)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getPointerCoords(int, android.view.MotionEvent.PointerCoords)" target="_top"><code>getPointerCoords</code></A>(<code>int,</nobr> PointerCoords<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getToolMajor_added()"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getToolMajor()" target="_top"><code>getToolMajor</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getToolMajor_added(int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getToolMajor(int)" target="_top"><code>getToolMajor</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getToolMinor_added()"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getToolMinor()" target="_top"><code>getToolMinor</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getToolMinor_added(int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getToolMinor(int)" target="_top"><code>getToolMinor</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getTouchMajor_added()"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getTouchMajor()" target="_top"><code>getTouchMajor</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getTouchMajor_added(int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getTouchMajor(int)" target="_top"><code>getTouchMajor</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getTouchMinor_added()"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getTouchMinor()" target="_top"><code>getTouchMinor</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getTouchMinor_added(int)"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#getTouchMinor(int)" target="_top"><code>getTouchMinor</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.obtain_added(long, long, int, int, int[], android.view.MotionEvent.PointerCoords[], int, float, float, int, int, int, int)"></A>
<nobr><code>MotionEvent</code>&nbsp;<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>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.obtain_added(long, long, int, int, float, float, float, float, int, float, float, int, int)"></A>
<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>
</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<p>
<a NAME="Changed"></a>
<TABLE summary="Changed Methods" WIDTH="100%">
<TR>
<TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.describeContents_changed()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/InputEvent.html#describeContents()" target="_top"><code>describeContents</code></A>() </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
Method was locally defined, but is now inherited from <a href="../../../../reference/android/view/InputEvent.html#describeContents()" target="_top"><code>InputEvent</code></a>.
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.getDeviceId_changed()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/InputEvent.html#getDeviceId()" target="_top"><code>getDeviceId</code></A>() </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
Method was locally defined, but is now inherited from <a href="../../../../reference/android/view/InputEvent.html#getDeviceId()" target="_top"><code>InputEvent</code></a>.
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.recycle_changed()"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#recycle()" target="_top"><code>recycle</code></A>() </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
Change from non-final to final.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<a NAME="fields"></a>
<p>
<a NAME="Added"></a>
<TABLE summary="Added Fields" WIDTH="100%">
<TR>
<TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.MotionEvent.FLAG_WINDOW_IS_OBSCURED"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/MotionEvent.html#FLAG_WINDOW_IS_OBSCURED" target="_top"><code>FLAG_WINDOW_IS_OBSCURED</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
</div>
<div id="footer">
<div id="copyright">
Except as noted, this content is licensed under
<a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
For details and restrictions, see the <a href="/license.html">Content License</a>.
</div>
<div id="footerlinks">
<p>
<a href="http://www.android.com/terms.html">Site Terms of Service</a> -
<a href="http://www.android.com/privacy.html">Privacy Policy</a> -
<a href="http://www.android.com/branding.html">Brand Guidelines</a>
</p>
</div>
</div> <!-- end footer -->
</div><!-- end doc-content -->
</div> <!-- end body-content -->
<script src="//www.google-analytics.com/ga.js" type="text/javascript">
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-5831155-1");
pageTracker._setAllowAnchor(true);
pageTracker._initData();
pageTracker._trackPageview();
} catch(e) {}
</script>
</BODY>
</HTML>