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.View 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/View.html" target="_top"><font size="+2"><code>View</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.View.canScrollHorizontally_added(int)"></A> 87 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#canScrollHorizontally(int)" target="_top"><code>canScrollHorizontally</code></A>(<code>int</code>)</nobr> 88 </TD> 89 <TD> </TD> 90</TR> 91<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 92 <TD VALIGN="TOP" WIDTH="25%"> 93 <A NAME="android.view.View.canScrollVertically_added(int)"></A> 94 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#canScrollVertically(int)" target="_top"><code>canScrollVertically</code></A>(<code>int</code>)</nobr> 95 </TD> 96 <TD> </TD> 97</TR> 98<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 99 <TD VALIGN="TOP" WIDTH="25%"> 100 <A NAME="android.view.View.createAccessibilityNodeInfo_added()"></A> 101 <nobr><code>AccessibilityNodeInfo</code> <A HREF="../../../../reference/android/view/View.html#createAccessibilityNodeInfo()" target="_top"><code>createAccessibilityNodeInfo</code></A>()</nobr> 102 </TD> 103 <TD> </TD> 104</TR> 105<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 106 <TD VALIGN="TOP" WIDTH="25%"> 107 <A NAME="android.view.View.dispatchGenericFocusedEvent_added(android.view.MotionEvent)"></A> 108 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#dispatchGenericFocusedEvent(android.view.MotionEvent)" target="_top"><code>dispatchGenericFocusedEvent</code></A>(<code>MotionEvent</code>)</nobr> 109 </TD> 110 <TD> </TD> 111</TR> 112<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 113 <TD VALIGN="TOP" WIDTH="25%"> 114 <A NAME="android.view.View.dispatchGenericPointerEvent_added(android.view.MotionEvent)"></A> 115 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#dispatchGenericPointerEvent(android.view.MotionEvent)" target="_top"><code>dispatchGenericPointerEvent</code></A>(<code>MotionEvent</code>)</nobr> 116 </TD> 117 <TD> </TD> 118</TR> 119<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 120 <TD VALIGN="TOP" WIDTH="25%"> 121 <A NAME="android.view.View.dispatchHoverEvent_added(android.view.MotionEvent)"></A> 122 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#dispatchHoverEvent(android.view.MotionEvent)" target="_top"><code>dispatchHoverEvent</code></A>(<code>MotionEvent</code>)</nobr> 123 </TD> 124 <TD> </TD> 125</TR> 126<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 127 <TD VALIGN="TOP" WIDTH="25%"> 128 <A NAME="android.view.View.findViewsWithText_added(java.util.ArrayList<android.view.View>, java.lang.CharSequence, int)"></A> 129 <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#findViewsWithText(java.util.ArrayList<android.view.View>, java.lang.CharSequence, int)" target="_top"><code>findViewsWithText</code></A>(<code>ArrayList<View>,</nobr> CharSequence<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 130 </TD> 131 <TD> </TD> 132</TR> 133<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 134 <TD VALIGN="TOP" WIDTH="25%"> 135 <A NAME="android.view.View.fitsSystemWindows_added()"></A> 136 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#fitsSystemWindows()" target="_top"><code>fitsSystemWindows</code></A>()</nobr> 137 </TD> 138 <TD> </TD> 139</TR> 140<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 141 <TD VALIGN="TOP" WIDTH="25%"> 142 <A NAME="android.view.View.isHovered_added()"></A> 143 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#isHovered()" target="_top"><code>isHovered</code></A>()</nobr> 144 </TD> 145 <TD> </TD> 146</TR> 147<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 148 <TD VALIGN="TOP" WIDTH="25%"> 149 <A NAME="android.view.View.onHoverChanged_added(boolean)"></A> 150 <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#onHoverChanged(boolean)" target="_top"><code>onHoverChanged</code></A>(<code>boolean</code>)</nobr> 151 </TD> 152 <TD> </TD> 153</TR> 154<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 155 <TD VALIGN="TOP" WIDTH="25%"> 156 <A NAME="android.view.View.onHoverEvent_added(android.view.MotionEvent)"></A> 157 <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#onHoverEvent(android.view.MotionEvent)" target="_top"><code>onHoverEvent</code></A>(<code>MotionEvent</code>)</nobr> 158 </TD> 159 <TD> </TD> 160</TR> 161<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 162 <TD VALIGN="TOP" WIDTH="25%"> 163 <A NAME="android.view.View.onInitializeAccessibilityEvent_added(android.view.accessibility.AccessibilityEvent)"></A> 164 <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent)" target="_top"><code>onInitializeAccessibilityEvent</code></A>(<code>AccessibilityEvent</code>)</nobr> 165 </TD> 166 <TD> </TD> 167</TR> 168<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 169 <TD VALIGN="TOP" WIDTH="25%"> 170 <A NAME="android.view.View.onInitializeAccessibilityNodeInfo_added(android.view.accessibility.AccessibilityNodeInfo)"></A> 171 <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#onInitializeAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo)" target="_top"><code>onInitializeAccessibilityNodeInfo</code></A>(<code>AccessibilityNodeInfo</code>)</nobr> 172 </TD> 173 <TD> </TD> 174</TR> 175<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 176 <TD VALIGN="TOP" WIDTH="25%"> 177 <A NAME="android.view.View.onPopulateAccessibilityEvent_added(android.view.accessibility.AccessibilityEvent)"></A> 178 <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#onPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent)" target="_top"><code>onPopulateAccessibilityEvent</code></A>(<code>AccessibilityEvent</code>)</nobr> 179 </TD> 180 <TD> </TD> 181</TR> 182<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 183 <TD VALIGN="TOP" WIDTH="25%"> 184 <A NAME="android.view.View.setAccessibilityDelegate_added(android.view.View.AccessibilityDelegate)"></A> 185 <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setAccessibilityDelegate(android.view.View.AccessibilityDelegate)" target="_top"><code>setAccessibilityDelegate</code></A>(<code>AccessibilityDelegate</code>)</nobr> 186 </TD> 187 <TD> </TD> 188</TR> 189<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 190 <TD VALIGN="TOP" WIDTH="25%"> 191 <A NAME="android.view.View.setFitsSystemWindows_added(boolean)"></A> 192 <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setFitsSystemWindows(boolean)" target="_top"><code>setFitsSystemWindows</code></A>(<code>boolean</code>)</nobr> 193 </TD> 194 <TD> </TD> 195</TR> 196<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 197 <TD VALIGN="TOP" WIDTH="25%"> 198 <A NAME="android.view.View.setHovered_added(boolean)"></A> 199 <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setHovered(boolean)" target="_top"><code>setHovered</code></A>(<code>boolean</code>)</nobr> 200 </TD> 201 <TD> </TD> 202</TR> 203<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 204 <TD VALIGN="TOP" WIDTH="25%"> 205 <A NAME="android.view.View.setOnHoverListener_added(android.view.View.OnHoverListener)"></A> 206 <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setOnHoverListener(android.view.View.OnHoverListener)" target="_top"><code>setOnHoverListener</code></A>(<code>OnHoverListener</code>)</nobr> 207 </TD> 208 <TD> </TD> 209</TR> 210<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 211 <TD VALIGN="TOP" WIDTH="25%"> 212 <A NAME="android.view.View.setScrollX_added(int)"></A> 213 <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setScrollX(int)" target="_top"><code>setScrollX</code></A>(<code>int</code>)</nobr> 214 </TD> 215 <TD> </TD> 216</TR> 217<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 218 <TD VALIGN="TOP" WIDTH="25%"> 219 <A NAME="android.view.View.setScrollY_added(int)"></A> 220 <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setScrollY(int)" target="_top"><code>setScrollY</code></A>(<code>int</code>)</nobr> 221 </TD> 222 <TD> </TD> 223</TR> 224</TABLE> 225 226<a NAME="fields"></a> 227<p> 228<a NAME="Added"></a> 229<TABLE summary="Added Fields" WIDTH="100%"> 230<TR> 231 <TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD> 232</TH> 233<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 234 <TD VALIGN="TOP" WIDTH="25%"> 235 <A NAME="android.view.View.ALPHA"></A> 236 <nobr><code>Property</code> <A HREF="../../../../reference/android/view/View.html#ALPHA" target="_top"><code>ALPHA</code></A></nobr> 237 </TD> 238 <TD> </TD> 239</TR> 240<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 241 <TD VALIGN="TOP" WIDTH="25%"> 242 <A NAME="android.view.View.FIND_VIEWS_WITH_CONTENT_DESCRIPTION"></A> 243 <nobr><code>int</code> <A HREF="../../../../reference/android/view/View.html#FIND_VIEWS_WITH_CONTENT_DESCRIPTION" target="_top"><code>FIND_VIEWS_WITH_CONTENT_DESCRIPTION</code></A></nobr> 244 </TD> 245 <TD> </TD> 246</TR> 247<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 248 <TD VALIGN="TOP" WIDTH="25%"> 249 <A NAME="android.view.View.FIND_VIEWS_WITH_TEXT"></A> 250 <nobr><code>int</code> <A HREF="../../../../reference/android/view/View.html#FIND_VIEWS_WITH_TEXT" target="_top"><code>FIND_VIEWS_WITH_TEXT</code></A></nobr> 251 </TD> 252 <TD> </TD> 253</TR> 254<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 255 <TD VALIGN="TOP" WIDTH="25%"> 256 <A NAME="android.view.View.ROTATION"></A> 257 <nobr><code>Property</code> <A HREF="../../../../reference/android/view/View.html#ROTATION" target="_top"><code>ROTATION</code></A></nobr> 258 </TD> 259 <TD> </TD> 260</TR> 261<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 262 <TD VALIGN="TOP" WIDTH="25%"> 263 <A NAME="android.view.View.ROTATION_X"></A> 264 <nobr><code>Property</code> <A HREF="../../../../reference/android/view/View.html#ROTATION_X" target="_top"><code>ROTATION_X</code></A></nobr> 265 </TD> 266 <TD> </TD> 267</TR> 268<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 269 <TD VALIGN="TOP" WIDTH="25%"> 270 <A NAME="android.view.View.ROTATION_Y"></A> 271 <nobr><code>Property</code> <A HREF="../../../../reference/android/view/View.html#ROTATION_Y" target="_top"><code>ROTATION_Y</code></A></nobr> 272 </TD> 273 <TD> </TD> 274</TR> 275<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 276 <TD VALIGN="TOP" WIDTH="25%"> 277 <A NAME="android.view.View.SCALE_X"></A> 278 <nobr><code>Property</code> <A HREF="../../../../reference/android/view/View.html#SCALE_X" target="_top"><code>SCALE_X</code></A></nobr> 279 </TD> 280 <TD> </TD> 281</TR> 282<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 283 <TD VALIGN="TOP" WIDTH="25%"> 284 <A NAME="android.view.View.SCALE_Y"></A> 285 <nobr><code>Property</code> <A HREF="../../../../reference/android/view/View.html#SCALE_Y" target="_top"><code>SCALE_Y</code></A></nobr> 286 </TD> 287 <TD> </TD> 288</TR> 289<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 290 <TD VALIGN="TOP" WIDTH="25%"> 291 <A NAME="android.view.View.SYSTEM_UI_FLAG_HIDE_NAVIGATION"></A> 292 <nobr><code>int</code> <A HREF="../../../../reference/android/view/View.html#SYSTEM_UI_FLAG_HIDE_NAVIGATION" target="_top"><code>SYSTEM_UI_FLAG_HIDE_NAVIGATION</code></A></nobr> 293 </TD> 294 <TD> </TD> 295</TR> 296<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 297 <TD VALIGN="TOP" WIDTH="25%"> 298 <A NAME="android.view.View.SYSTEM_UI_FLAG_LOW_PROFILE"></A> 299 <nobr><code>int</code> <A HREF="../../../../reference/android/view/View.html#SYSTEM_UI_FLAG_LOW_PROFILE" target="_top"><code>SYSTEM_UI_FLAG_LOW_PROFILE</code></A></nobr> 300 </TD> 301 <TD> </TD> 302</TR> 303<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 304 <TD VALIGN="TOP" WIDTH="25%"> 305 <A NAME="android.view.View.SYSTEM_UI_FLAG_VISIBLE"></A> 306 <nobr><code>int</code> <A HREF="../../../../reference/android/view/View.html#SYSTEM_UI_FLAG_VISIBLE" target="_top"><code>SYSTEM_UI_FLAG_VISIBLE</code></A></nobr> 307 </TD> 308 <TD> </TD> 309</TR> 310<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 311 <TD VALIGN="TOP" WIDTH="25%"> 312 <A NAME="android.view.View.TRANSLATION_X"></A> 313 <nobr><code>Property</code> <A HREF="../../../../reference/android/view/View.html#TRANSLATION_X" target="_top"><code>TRANSLATION_X</code></A></nobr> 314 </TD> 315 <TD> </TD> 316</TR> 317<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 318 <TD VALIGN="TOP" WIDTH="25%"> 319 <A NAME="android.view.View.TRANSLATION_Y"></A> 320 <nobr><code>Property</code> <A HREF="../../../../reference/android/view/View.html#TRANSLATION_Y" target="_top"><code>TRANSLATION_Y</code></A></nobr> 321 </TD> 322 <TD> </TD> 323</TR> 324<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 325 <TD VALIGN="TOP" WIDTH="25%"> 326 <A NAME="android.view.View.X"></A> 327 <nobr><code>Property</code> <A HREF="../../../../reference/android/view/View.html#X" target="_top"><code>X</code></A></nobr> 328 </TD> 329 <TD> </TD> 330</TR> 331<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 332 <TD VALIGN="TOP" WIDTH="25%"> 333 <A NAME="android.view.View.Y"></A> 334 <nobr><code>Property</code> <A HREF="../../../../reference/android/view/View.html#Y" target="_top"><code>Y</code></A></nobr> 335 </TD> 336 <TD> </TD> 337</TR> 338</TABLE> 339 340<p> 341<a NAME="Changed"></a> 342<TABLE summary="Changed Fields" WIDTH="100%"> 343<TR> 344 <TH VALIGN="TOP" COLSPAN=3>Changed Fields</FONT></TD> 345</TH> 346<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 347 <TD VALIGN="TOP" WIDTH="25%"> 348 <A NAME="android.view.View.STATUS_BAR_HIDDEN"></A> 349 <nobr><code>int</code> <A HREF="../../../../reference/android/view/View.html#STATUS_BAR_HIDDEN" target="_top"><code>STATUS_BAR_HIDDEN</code></font></A></nobr> </TD> 350 <TD VALIGN="TOP" WIDTH="30%"> 351<b>Now deprecated</b>.<br> 352 </TD> 353 <TD> </TD> 354</TR> 355<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 356 <TD VALIGN="TOP" WIDTH="25%"> 357 <A NAME="android.view.View.STATUS_BAR_VISIBLE"></A> 358 <nobr><code>int</code> <A HREF="../../../../reference/android/view/View.html#STATUS_BAR_VISIBLE" target="_top"><code>STATUS_BAR_VISIBLE</code></font></A></nobr> </TD> 359 <TD VALIGN="TOP" WIDTH="30%"> 360<b>Now deprecated</b>.<br> 361 </TD> 362 <TD> </TD> 363</TR> 364</TABLE> 365 366 </div> 367 <div id="footer"> 368 <div id="copyright"> 369 Except as noted, this content is licensed under 370 <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>. 371 For details and restrictions, see the <a href="/license.html">Content License</a>. 372 </div> 373 <div id="footerlinks"> 374 <p> 375 <a href="http://www.android.com/terms.html">Site Terms of Service</a> - 376 <a href="http://www.android.com/privacy.html">Privacy Policy</a> - 377 <a href="http://www.android.com/branding.html">Brand Guidelines</a> 378 </p> 379 </div> 380 </div> <!-- end footer --> 381 </div><!-- end doc-content --> 382 </div> <!-- end body-content --> 383<script src="//www.google-analytics.com/ga.js" type="text/javascript"> 384</script> 385<script type="text/javascript"> 386 try { 387 var pageTracker = _gat._getTracker("UA-5831155-1"); 388 pageTracker._setAllowAnchor(true); 389 pageTracker._initData(); 390 pageTracker._trackPageview(); 391 } catch(e) {} 392</script> 393</BODY> 394</HTML> 395