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.KeyEvent 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 <!-- <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/KeyEvent.html" target="_top"><font size="+2"><code>KeyEvent</code></font></A> 75 </H2> 76 <a NAME="constructors"></a> 77 <p> 78 <a NAME="Changed"></a> 79 <TABLE summary="Changed Constructors" WIDTH="100%"> 80 <TR> 81 <TH VALIGN="TOP" COLSPAN=3>Changed Constructors</FONT></TD> 82 </TH> 83 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 84 <TD VALIGN="TOP" WIDTH="25%"> 85 <A NAME="android.view.KeyEvent.ctor_changed(android.view.KeyEvent, long, int)"></A> 86 <nobr><A HREF="../../../../reference/android/view/KeyEvent.html#KeyEvent(android.view.KeyEvent, long, int)" target="_top"><code>KeyEvent</code></A>(<code>KeyEvent,</nobr> long<nobr>,</nobr> int<nobr><nobr></code>) </nobr> 87 </TD> 88 <TD VALIGN="TOP" WIDTH="30%"> 89 <b>Now deprecated</b>.<br> 90 </TD> 91 <TD> </TD> 92 </TR> 93 </TABLE> 94 95 <a NAME="methods"></a> 96 <p> 97 <a NAME="Added"></a> 98 <TABLE summary="Added Methods" WIDTH="100%"> 99 <TR> 100 <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD> 101 </TH> 102 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 103 <TD VALIGN="TOP" WIDTH="25%"> 104 <A NAME="android.view.KeyEvent.changeTimeRepeat_added(android.view.KeyEvent, long, int, int)"></A> 105 <nobr><code>KeyEvent</code> <A HREF="../../../../reference/android/view/KeyEvent.html#changeTimeRepeat(android.view.KeyEvent, long, int, int)" target="_top"><code>changeTimeRepeat</code></A>(<code>KeyEvent,</nobr> long<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 106 </TD> 107 <TD> </TD> 108 </TR> 109 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 110 <TD VALIGN="TOP" WIDTH="25%"> 111 <A NAME="android.view.KeyEvent.dispatch_added(android.view.KeyEvent.Callback, android.view.KeyEvent.DispatcherState, java.lang.Object)"></A> 112 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/KeyEvent.html#dispatch(android.view.KeyEvent.Callback, android.view.KeyEvent.DispatcherState, java.lang.Object)" target="_top"><code>dispatch</code></A>(<code>Callback,</nobr> DispatcherState<nobr>,</nobr> Object<nobr><nobr></code>)</nobr> 113 </TD> 114 <TD> </TD> 115 </TR> 116 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 117 <TD VALIGN="TOP" WIDTH="25%"> 118 <A NAME="android.view.KeyEvent.isCanceled_added()"></A> 119 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/KeyEvent.html#isCanceled()" target="_top"><code>isCanceled</code></A>()</nobr> 120 </TD> 121 <TD> </TD> 122 </TR> 123 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 124 <TD VALIGN="TOP" WIDTH="25%"> 125 <A NAME="android.view.KeyEvent.isLongPress_added()"></A> 126 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/KeyEvent.html#isLongPress()" target="_top"><code>isLongPress</code></A>()</nobr> 127 </TD> 128 <TD> </TD> 129 </TR> 130 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 131 <TD VALIGN="TOP" WIDTH="25%"> 132 <A NAME="android.view.KeyEvent.isTracking_added()"></A> 133 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/KeyEvent.html#isTracking()" target="_top"><code>isTracking</code></A>()</nobr> 134 </TD> 135 <TD> </TD> 136 </TR> 137 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 138 <TD VALIGN="TOP" WIDTH="25%"> 139 <A NAME="android.view.KeyEvent.startTracking_added()"></A> 140 <nobr><code>void</code> <A HREF="../../../../reference/android/view/KeyEvent.html#startTracking()" target="_top"><code>startTracking</code></A>()</nobr> 141 </TD> 142 <TD> </TD> 143 </TR> 144 </TABLE> 145 146 <p> 147 <a NAME="Changed"></a> 148 <TABLE summary="Changed Methods" WIDTH="100%"> 149 <TR> 150 <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD> 151 </TH> 152 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 153 <TD VALIGN="TOP" WIDTH="25%"> 154 <A NAME="android.view.KeyEvent.dispatch_changed(android.view.KeyEvent.Callback)"></A> 155 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/KeyEvent.html#dispatch(android.view.KeyEvent.Callback)" target="_top"><code>dispatch</code></A>(<code>Callback</code>) </nobr> 156 </TD> 157 <TD VALIGN="TOP" WIDTH="30%"> 158 <b>Now deprecated</b>.<br> 159 </TD> 160 <TD> </TD> 161 </TR> 162 </TABLE> 163 164 <a NAME="fields"></a> 165 <p> 166 <a NAME="Added"></a> 167 <TABLE summary="Added Fields" WIDTH="100%"> 168 <TR> 169 <TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD> 170 </TH> 171 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 172 <TD VALIGN="TOP" WIDTH="25%"> 173 <A NAME="android.view.KeyEvent.FLAG_CANCELED"></A> 174 <nobr><code>int</code> <A HREF="../../../../reference/android/view/KeyEvent.html#FLAG_CANCELED" target="_top"><code>FLAG_CANCELED</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.KeyEvent.FLAG_CANCELED_LONG_PRESS"></A> 181 <nobr><code>int</code> <A HREF="../../../../reference/android/view/KeyEvent.html#FLAG_CANCELED_LONG_PRESS" target="_top"><code>FLAG_CANCELED_LONG_PRESS</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.KeyEvent.FLAG_LONG_PRESS"></A> 188 <nobr><code>int</code> <A HREF="../../../../reference/android/view/KeyEvent.html#FLAG_LONG_PRESS" target="_top"><code>FLAG_LONG_PRESS</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.KeyEvent.FLAG_TRACKING"></A> 195 <nobr><code>int</code> <A HREF="../../../../reference/android/view/KeyEvent.html#FLAG_TRACKING" target="_top"><code>FLAG_TRACKING</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.KeyEvent.FLAG_VIRTUAL_HARD_KEY"></A> 202 <nobr><code>int</code> <A HREF="../../../../reference/android/view/KeyEvent.html#FLAG_VIRTUAL_HARD_KEY" target="_top"><code>FLAG_VIRTUAL_HARD_KEY</code></A></nobr> 203 </TD> 204 <TD> </TD> 205 </TR> 206 </TABLE> 207 208 </div> 209 <div id="footer"> 210 <div id="copyright"> 211 Except as noted, this content is licensed under 212 <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>. 213 For details and restrictions, see the <a href="/license.html">Content License</a>. 214 </div> 215 <div id="footerlinks"> 216 <p> 217 <a href="http://www.android.com/terms.html">Site Terms of Service</a> - 218 <a href="http://www.android.com/privacy.html">Privacy Policy</a> - 219 <a href="http://www.android.com/branding.html">Brand Guidelines</a> 220 </p> 221 </div> 222 </div> <!-- end footer --> 223 </div><!-- end doc-content --> 224 </div> <!-- end body-content --> 225 <script src="http://www.google-analytics.com/ga.js" type="text/javascript"> 226 </script> 227 <script type="text/javascript"> 228 try { 229 var pageTracker = _gat._getTracker("UA-5831155-1"); 230 pageTracker._setAllowAnchor(true); 231 pageTracker._initData(); 232 pageTracker._trackPageview(); 233 } catch(e) {} 234 </script> 235 </BODY> 236 </HTML> 237