<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//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.View </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"> <!-- <a href="#">English</a> | --> <nobr><a href="//developer.android.com" target="_top">Android Developers</a> | <a href="//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">21</td> </tr> <tr> <td class="diffspec">From Level:</td> <td class="diffvalueold">20</td> </tr> <tr> <td class="diffspec">Generated</td> <td class="diffvalue">2014.10.15 15:01</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/View.html" target="_top"><font size="+2"><code>View</code></font></A> </H2> <a NAME="constructors"></a> <p> <a NAME="Added"></a> <TABLE summary="Added Constructors" WIDTH="100%"> <TR> <TH VALIGN="TOP" COLSPAN=2>Added Constructors</FONT></TD> </TH> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.ctor_added(android.content.Context, android.util.AttributeSet, int, int)"></A> <nobr><A HREF="../../../../reference/android/view/View.html#View(android.content.Context, android.util.AttributeSet, int, int)" target="_top"><code>View</code></A>(<code>Context,</nobr> AttributeSet<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr> </TD> <TD> </TD> </TR> </TABLE> <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.View.initializeFadingEdge_removed(android.content.res.TypedArray)"></A> <nobr><code>void</code> initializeFadingEdge(<code>TypedArray</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.initializeScrollbars_removed(android.content.res.TypedArray)"></A> <nobr><code>void</code> initializeScrollbars(<code>TypedArray</code>)</nobr> </TD> <TD> </TD> </TR> </TABLE> <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.View.computeSystemWindowInsets_added(android.view.WindowInsets, android.graphics.Rect)"></A> <nobr><code>WindowInsets</code> <A HREF="../../../../reference/android/view/View.html#computeSystemWindowInsets(android.view.WindowInsets, android.graphics.Rect)" target="_top"><code>computeSystemWindowInsets</code></A>(<code>WindowInsets,</nobr> Rect<nobr><nobr></code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.dispatchNestedFling_added(float, float, boolean)"></A> <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#dispatchNestedFling(float, float, boolean)" target="_top"><code>dispatchNestedFling</code></A>(<code>float,</nobr> float<nobr>,</nobr> boolean<nobr><nobr></code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.dispatchNestedPreFling_added(float, float)"></A> <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#dispatchNestedPreFling(float, float)" target="_top"><code>dispatchNestedPreFling</code></A>(<code>float,</nobr> float<nobr><nobr></code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.dispatchNestedPreScroll_added(int, int, int[], int[])"></A> <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#dispatchNestedPreScroll(int, int, int[], int[])" target="_top"><code>dispatchNestedPreScroll</code></A>(<code>int,</nobr> int<nobr>,</nobr> int[]<nobr>,</nobr> int[]<nobr><nobr></code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.dispatchNestedScroll_added(int, int, int, int, int[])"></A> <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#dispatchNestedScroll(int, int, int, int, int[])" target="_top"><code>dispatchNestedScroll</code></A>(<code>int,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int[]<nobr><nobr></code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.drawableHotspotChanged_added(float, float)"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#drawableHotspotChanged(float, float)" target="_top"><code>drawableHotspotChanged</code></A>(<code>float,</nobr> float<nobr><nobr></code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.getBackgroundTintList_added()"></A> <nobr><code>ColorStateList</code> <A HREF="../../../../reference/android/view/View.html#getBackgroundTintList()" target="_top"><code>getBackgroundTintList</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.getBackgroundTintMode_added()"></A> <nobr><code>Mode</code> <A HREF="../../../../reference/android/view/View.html#getBackgroundTintMode()" target="_top"><code>getBackgroundTintMode</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.getClipToOutline_added()"></A> <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#getClipToOutline()" target="_top"><code>getClipToOutline</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.getElevation_added()"></A> <nobr><code>float</code> <A HREF="../../../../reference/android/view/View.html#getElevation()" target="_top"><code>getElevation</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.getOutlineProvider_added()"></A> <nobr><code>ViewOutlineProvider</code> <A HREF="../../../../reference/android/view/View.html#getOutlineProvider()" target="_top"><code>getOutlineProvider</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.getStateListAnimator_added()"></A> <nobr><code>StateListAnimator</code> <A HREF="../../../../reference/android/view/View.html#getStateListAnimator()" target="_top"><code>getStateListAnimator</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.getTransitionName_added()"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/view/View.html#getTransitionName()" target="_top"><code>getTransitionName</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.getTranslationZ_added()"></A> <nobr><code>float</code> <A HREF="../../../../reference/android/view/View.html#getTranslationZ()" target="_top"><code>getTranslationZ</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.getZ_added()"></A> <nobr><code>float</code> <A HREF="../../../../reference/android/view/View.html#getZ()" target="_top"><code>getZ</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.hasNestedScrollingParent_added()"></A> <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#hasNestedScrollingParent()" target="_top"><code>hasNestedScrollingParent</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.invalidateOutline_added()"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#invalidateOutline()" target="_top"><code>invalidateOutline</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.isAccessibilityFocused_added()"></A> <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#isAccessibilityFocused()" target="_top"><code>isAccessibilityFocused</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.isImportantForAccessibility_added()"></A> <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#isImportantForAccessibility()" target="_top"><code>isImportantForAccessibility</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.isNestedScrollingEnabled_added()"></A> <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#isNestedScrollingEnabled()" target="_top"><code>isNestedScrollingEnabled</code></A>()</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.requestUnbufferedDispatch_added(android.view.MotionEvent)"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#requestUnbufferedDispatch(android.view.MotionEvent)" target="_top"><code>requestUnbufferedDispatch</code></A>(<code>MotionEvent</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.setBackgroundTintList_added(android.content.res.ColorStateList)"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setBackgroundTintList(android.content.res.ColorStateList)" target="_top"><code>setBackgroundTintList</code></A>(<code>ColorStateList</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.setBackgroundTintMode_added(android.graphics.PorterDuff.Mode)"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setBackgroundTintMode(android.graphics.PorterDuff.Mode)" target="_top"><code>setBackgroundTintMode</code></A>(<code>Mode</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.setClipToOutline_added(boolean)"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setClipToOutline(boolean)" target="_top"><code>setClipToOutline</code></A>(<code>boolean</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.setElevation_added(float)"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setElevation(float)" target="_top"><code>setElevation</code></A>(<code>float</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.setNestedScrollingEnabled_added(boolean)"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setNestedScrollingEnabled(boolean)" target="_top"><code>setNestedScrollingEnabled</code></A>(<code>boolean</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.setOutlineProvider_added(android.view.ViewOutlineProvider)"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setOutlineProvider(android.view.ViewOutlineProvider)" target="_top"><code>setOutlineProvider</code></A>(<code>ViewOutlineProvider</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.setStateListAnimator_added(android.animation.StateListAnimator)"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setStateListAnimator(android.animation.StateListAnimator)" target="_top"><code>setStateListAnimator</code></A>(<code>StateListAnimator</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.setTransitionName_added(java.lang.String)"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setTransitionName(java.lang.String)" target="_top"><code>setTransitionName</code></A>(<code>String</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.setTranslationZ_added(float)"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setTranslationZ(float)" target="_top"><code>setTranslationZ</code></A>(<code>float</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.setZ_added(float)"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#setZ(float)" target="_top"><code>setZ</code></A>(<code>float</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.startNestedScroll_added(int)"></A> <nobr><code>boolean</code> <A HREF="../../../../reference/android/view/View.html#startNestedScroll(int)" target="_top"><code>startNestedScroll</code></A>(<code>int</code>)</nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.stopNestedScroll_added()"></A> <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#stopNestedScroll()" target="_top"><code>stopNestedScroll</code></A>()</nobr> </TD> <TD> </TD> </TR> </TABLE> <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.View.SCROLL_AXIS_HORIZONTAL"></A> <nobr><code>int</code> <A HREF="../../../../reference/android/view/View.html#SCROLL_AXIS_HORIZONTAL" target="_top"><code>SCROLL_AXIS_HORIZONTAL</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.SCROLL_AXIS_NONE"></A> <nobr><code>int</code> <A HREF="../../../../reference/android/view/View.html#SCROLL_AXIS_NONE" target="_top"><code>SCROLL_AXIS_NONE</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.SCROLL_AXIS_VERTICAL"></A> <nobr><code>int</code> <A HREF="../../../../reference/android/view/View.html#SCROLL_AXIS_VERTICAL" target="_top"><code>SCROLL_AXIS_VERTICAL</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.TRANSLATION_Z"></A> <nobr><code>Property</code> <A HREF="../../../../reference/android/view/View.html#TRANSLATION_Z" target="_top"><code>TRANSLATION_Z</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.view.View.Z"></A> <nobr><code>Property</code> <A HREF="../../../../reference/android/view/View.html#Z" target="_top"><code>Z</code></A></nobr> </TD> <TD> </TD> </TR> </TABLE> </div> <div id="footer"> <div id="copyright"> Except as noted, this content is licensed under <a href="//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="//www.android.com/terms.html">Site Terms of Service</a> - <a href="//www.android.com/privacy.html">Privacy Policy</a> - <a href="//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>