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 API Change Statistics
     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 class="gc-documentation">
     28 <!-- Start of nav bar -->
     29 <a name="top"></a>
     30 <div id="header" style="margin-bottom:0;xborder-bottom:none;">
     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">6</td>
     50       </tr>
     51       <tr>
     52         <td class="diffspec">From Level:</td>
     53         <td class="diffvalueold">5</td>
     54       </tr>
     55       <tr>
     56         <td class="diffspec">Generated</td>
     57         <td class="diffvalue">2009.11.20 11:08</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="../changes.html" target="_top">Top of Report</a>
     65       </tr>
     66     </table>
     67   </div> <!-- End and-diff-id -->
     68   </div> <!-- End headerRight -->
     69   </div> <!-- End header -->
     70 <div id="body-content">
     71 <div id="doc-content" style="position:relative;">
     72 <div id="mainBodyFluid">
     73 <h1>API&nbsp;Change&nbsp;Statistics</h1>
     74 <p>The overall difference between API Levels 5 and 6 is approximately <span style="color:222;font-weight:bold;">0.01%</span>.
     75 </p>
     76 <br>
     77 <a name="numbers"></a>
     78 <h2>Total of Differences, by Number and Type</h2>
     79 <p>
     80 The table below lists the numbers of program elements (packages, classes, constructors, methods, and fields) that were added, changed, or removed. The table includes only the highest-level program elements &mdash; that is, if a class with two methods was added, the number of methods added does not include those two methods, but the number of classes added does include that class.
     81 </p>
     82 <TABLE summary="Number of differences" WIDTH="100%">
     83 <TR>
     84   <th>Type</th>
     85   <TH ALIGN="center"><b>Additions</b></TH>
     86   <TH ALIGN="center"><b>Changes</b></TH>
     87   <TH ALIGN="center">Removals</TH>
     88   <TH ALIGN="center"><b>Total</b></TH>
     89 </TR>
     90 <TR>
     91   <TD>Packages</TD>
     92   <TD ALIGN="right">0</TD>
     93   <TD ALIGN="right">4</TD>
     94   <TD ALIGN="right">0</TD>
     95   <TD ALIGN="right">4</TD>
     96 </TR>
     97 <TR>
     98   <TD>Classes and <i>Interfaces</i></TD>
     99   <TD ALIGN="right">0</TD>
    100   <TD ALIGN="right">4</TD>
    101   <TD ALIGN="right">0</TD>
    102   <TD ALIGN="right">4</TD>
    103 </TR>
    104 <TR>
    105   <TD>Constructors</TD>
    106   <TD ALIGN="right">0</TD>
    107   <TD ALIGN="right">0</TD>
    108   <TD ALIGN="right">0</TD>
    109   <TD ALIGN="right">0</TD>
    110 </TR>
    111 <TR>
    112   <TD>Methods</TD>
    113   <TD ALIGN="right">0</TD>
    114   <TD ALIGN="right">2</TD>
    115   <TD ALIGN="right">0</TD>
    116   <TD ALIGN="right">2</TD>
    117 </TR>
    118 <TR>
    119   <TD>Fields</TD>
    120   <TD ALIGN="right">7</TD>
    121   <TD ALIGN="right">1</TD>
    122   <TD ALIGN="right">0</TD>
    123   <TD ALIGN="right">8</TD>
    124 </TR>
    125 <TR>
    126   <TD style="background-color:#FAFAFA"><b>Total</b></TD>
    127   <TD  style="background-color:#FAFAFA" ALIGN="right"><strong>7</strong></TD>
    128   <TD  style="background-color:#FAFAFA" ALIGN="right"><strong>11</strong></TD>
    129   <TD  style="background-color:#FAFAFA" ALIGN="right"><strong>0</strong></TD>
    130   <TD  style="background-color:#FAFAFA" ALIGN="right"><strong>18</strong></TD>
    131 </TR>
    132 </TABLE>
    133 <br>
    134 <a name="packages"></a>
    135 <h2>Changed Packages, Sorted by Percentage Difference</h2>
    136 <TABLE summary="Packages sorted by percentage difference" WIDTH="100%">
    137 <TR>
    138   <TH  WIDTH="10%">Percentage Difference*</TH>
    139   <TH>Package</TH>
    140 </TR>
    141 <TR>
    142   <TD ALIGN="center">&lt;1</TD>
    143   <TD><A HREF="pkg_android.accounts.html">android.accounts</A></TD>
    144 </TR>
    145 <TR>
    146   <TD ALIGN="center">&lt;1</TD>
    147   <TD><A HREF="pkg_android.os.html">android.os</A></TD>
    148 </TR>
    149 <TR>
    150   <TD ALIGN="center">&lt;1</TD>
    151   <TD><A HREF="pkg_android.html">android</A></TD>
    152 </TR>
    153 <TR>
    154   <TD ALIGN="center">&lt;1</TD>
    155   <TD><A HREF="pkg_android.view.html">android.view</A></TD>
    156 </TR>
    157 </TABLE>
    158 <p style="font-size:10px">* See <a href="#calculation">Calculation of Change Percentages</a>, below.</p>
    159 <br>
    160 <a name="classes"></a>
    161 <h2>Changed Classes and <i>Interfaces</i>, Sorted by Percentage Difference</h2>
    162 <TABLE summary="Classes sorted by percentage difference" WIDTH="100%">
    163 <TR WIDTH="20%">
    164   <TH WIDTH="10%">Percentage<br>Difference*</TH>
    165   <TH><b>Class or <i>Interface</i></b></TH>
    166 </TR>
    167 <TR>
    168   <TD ALIGN="center">10</TD>
    169   <TD><A HREF="android.accounts.AbstractAccountAuthenticator.html">
    170 android.accounts.AbstractAccountAuthenticator</A></TD>
    171 </TR>
    172 <TR>
    173   <TD ALIGN="center">6</TD>
    174   <TD><A HREF="android.os.Build.VERSION_CODES.html">
    175 android.os.Build.VERSION_CODES</A></TD>
    176 </TR>
    177 <TR>
    178   <TD ALIGN="center">&lt;1</TD>
    179   <TD><A HREF="android.view.WindowManager.LayoutParams.html">
    180 android.view.WindowManager.LayoutParams</A></TD>
    181 </TR>
    182 <TR>
    183   <TD ALIGN="center">&lt;1</TD>
    184   <TD><A HREF="android.R.attr.html">
    185 android.R.attr</A></TD>
    186 </TR>
    187 </TABLE>
    188 <p style="font-size:10px">* See <a href="#calculation">Calculation of Change Percentages</a>, below.</p>
    189 <br>
    190 <h2 id="calculation">Calculation of Change Percentages</h2>
    191 <p>
    192 The percent change statistic reported for all elements in the &quot;to&quot; API Level specification is defined recursively as follows:</p>
    193 <pre>
    194 Percentage difference = 100 * (added + removed + 2*changed)
    195                         -----------------------------------
    196                         sum of public elements in BOTH APIs
    197 </pre>
    198 <p>where <code>added</code> is the number of packages added, <code>removed</code> is the number of packages removed, and <code>changed</code> is the number of packages changed.
    199 This definition is applied recursively for the classes and their program elements, so the value for a changed package will be less than 1, unless every class in that package has changed.
    200 The definition ensures that if all packages are removed and all new packages are
    201 added, the change will be 100%.</p>
    202       </div>	
    203       <div id="footer">
    204         <div id="copyright">
    205         Except as noted, this content is licensed under 
    206         <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
    207         For details and restrictions, see the <a href="/license.html">Content License</a>.
    208         </div>
    209       <div id="footerlinks">
    210       <p>
    211         <a href="http://www.android.com/terms.html">Site Terms of Service</a> -
    212         <a href="http://www.android.com/privacy.html">Privacy Policy</a> -
    213         <a href="http://www.android.com/branding.html">Brand Guidelines</a>
    214       </p>
    215     </div>
    216     </div> <!-- end footer -->
    217     </div><!-- end doc-content -->
    218     </div> <!-- end body-content --> 
    219 <script src="http://www.google-analytics.com/ga.js" type="text/javascript">
    220 </script>
    221 <script type="text/javascript">
    222   try {
    223     var pageTracker = _gat._getTracker("UA-5831155-1");
    224     pageTracker._setAllowAnchor(true);
    225     pageTracker._initData();
    226     pageTracker._trackPageview();
    227   } catch(e) {}
    228 </script>
    229 </BODY></HTML>
    230