OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / frameworks / base / docs / html / sdk / api_diff / 7 / changes / jdiff_statistics.html
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">7</td>
50       </tr>
51       <tr>
52         <td class="diffspec">From Level:</td>
53         <td class="diffvalueold">6</td>
54       </tr>
55       <tr>
56         <td class="diffspec">Generated</td>
57         <td class="diffvalue">2009.12.18 22:29</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 6 and 7 is approximately <span style="color:222;font-weight:bold;">0.48%</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">1</TD>
93   <TD ALIGN="right">11</TD>
94   <TD ALIGN="right">0</TD>
95   <TD ALIGN="right">12</TD>
96 </TR>
97 <TR>
98   <TD>Classes and <i>Interfaces</i></TD>
99   <TD ALIGN="right">5</TD>
100   <TD ALIGN="right">21</TD>
101   <TD ALIGN="right">0</TD>
102   <TD ALIGN="right">26</TD>
103 </TR>
104 <TR>
105   <TD>Constructors</TD>
106   <TD ALIGN="right">1</TD>
107   <TD ALIGN="right">0</TD>
108   <TD ALIGN="right">0</TD>
109   <TD ALIGN="right">1</TD>
110 </TR>
111 <TR>
112   <TD>Methods</TD>
113   <TD ALIGN="right">52</TD>
114   <TD ALIGN="right">2</TD>
115   <TD ALIGN="right">0</TD>
116   <TD ALIGN="right">54</TD>
117 </TR>
118 <TR>
119   <TD>Fields</TD>
120   <TD ALIGN="right">22</TD>
121   <TD ALIGN="right">3</TD>
122   <TD ALIGN="right">0</TD>
123   <TD ALIGN="right">25</TD>
124 </TR>
125 <TR>
126   <TD style="background-color:#FAFAFA"><b>Total</b></TD>
127   <TD  style="background-color:#FAFAFA" ALIGN="right"><strong>81</strong></TD>
128   <TD  style="background-color:#FAFAFA" ALIGN="right"><strong>37</strong></TD>
129   <TD  style="background-color:#FAFAFA" ALIGN="right"><strong>0</strong></TD>
130   <TD  style="background-color:#FAFAFA" ALIGN="right"><strong>118</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">8</TD>
143   <TD><A HREF="pkg_android.webkit.html">android.webkit</A></TD>
144 </TR>
145 <TR>
146   <TD ALIGN="center">5</TD>
147   <TD><A HREF="pkg_android.telephony.html">android.telephony</A></TD>
148 </TR>
149 <TR>
150   <TD ALIGN="center">1</TD>
151   <TD><A HREF="pkg_android.app.html">android.app</A></TD>
152 </TR>
153 <TR>
154   <TD ALIGN="center">&lt;1</TD>
155   <TD><A HREF="pkg_android.media.html">android.media</A></TD>
156 </TR>
157 <TR>
158   <TD ALIGN="center">&lt;1</TD>
159   <TD><A HREF="pkg_android.content.pm.html">android.content.pm</A></TD>
160 </TR>
161 <TR>
162   <TD ALIGN="center">&lt;1</TD>
163   <TD><A HREF="pkg_android.os.html">android.os</A></TD>
164 </TR>
165 <TR>
166   <TD ALIGN="center">&lt;1</TD>
167   <TD><A HREF="pkg_android.widget.html">android.widget</A></TD>
168 </TR>
169 <TR>
170   <TD ALIGN="center">&lt;1</TD>
171   <TD><A HREF="pkg_android.graphics.html">android.graphics</A></TD>
172 </TR>
173 <TR>
174   <TD ALIGN="center">&lt;1</TD>
175   <TD><A HREF="pkg_android.html">android</A></TD>
176 </TR>
177 <TR>
178   <TD ALIGN="center">&lt;1</TD>
179   <TD><A HREF="pkg_android.content.html">android.content</A></TD>
180 </TR>
181 <TR>
182   <TD ALIGN="center">&lt;1</TD>
183   <TD><A HREF="pkg_android.view.html">android.view</A></TD>
184 </TR>
185 </TABLE>
186 <p style="font-size:10px">* See <a href="#calculation">Calculation of Change Percentages</a>, below.</p>
187 <br>
188 <a name="classes"></a>
189 <h2>Changed Classes and <i>Interfaces</i>, Sorted by Percentage Difference</h2>
190 <TABLE summary="Classes sorted by percentage difference" WIDTH="100%">
191 <TR WIDTH="20%">
192   <TH WIDTH="10%">Percentage<br>Difference*</TH>
193   <TH><b>Class or <i>Interface</i></b></TH>
194 </TR>
195 <TR>
196   <TD ALIGN="center">77</TD>
197   <TD><A HREF="android.webkit.WebStorage.html">
198 android.webkit.WebStorage</A></TD>
199 </TR>
200 <TR>
201   <TD ALIGN="center">75</TD>
202   <TD><A HREF="android.webkit.GeolocationPermissions.html">
203 android.webkit.GeolocationPermissions</A></TD>
204 </TR>
205 <TR>
206   <TD ALIGN="center">24</TD>
207   <TD><A HREF="android.webkit.WebChromeClient.html">
208 android.webkit.WebChromeClient</A></TD>
209 </TR>
210 <TR>
211   <TD ALIGN="center">17</TD>
212   <TD><A HREF="android.app.WallpaperManager.html">
213 android.app.WallpaperManager</A></TD>
214 </TR>
215 <TR>
216   <TD ALIGN="center">16</TD>
217   <TD><A HREF="android.media.MediaRecorder.AudioSource.html">
218 android.media.MediaRecorder.AudioSource</A></TD>
219 </TR>
220 <TR>
221   <TD ALIGN="center">14</TD>
222   <TD><A HREF="android.widget.ViewFlipper.html">
223 android.widget.ViewFlipper</A></TD>
224 </TR>
225 <TR>
226   <TD ALIGN="center">10</TD>
227   <TD><A HREF="android.telephony.PhoneStateListener.html">
228 android.telephony.PhoneStateListener</A></TD>
229 </TR>
230 <TR>
231   <TD ALIGN="center">6</TD>
232   <TD><A HREF="android.webkit.CacheManager.CacheResult.html">
233 android.webkit.CacheManager.CacheResult</A></TD>
234 </TR>
235 <TR>
236   <TD ALIGN="center">6</TD>
237   <TD><A HREF="android.content.pm.PackageManager.html">
238 android.content.pm.PackageManager</A></TD>
239 </TR>
240 <TR>
241   <TD ALIGN="center">5</TD>
242   <TD><A HREF="android.os.Build.VERSION_CODES.html">
243 android.os.Build.VERSION_CODES</A></TD>
244 </TR>
245 <TR>
246   <TD ALIGN="center">5</TD>
247   <TD><A HREF="android.webkit.WebSettings.html">
248 android.webkit.WebSettings</A></TD>
249 </TR>
250 <TR>
251   <TD ALIGN="center">5</TD>
252   <TD><A HREF="android.os.PowerManager.html">
253 android.os.PowerManager</A></TD>
254 </TR>
255 <TR>
256   <TD ALIGN="center">3</TD>
257   <TD><A HREF="android.telephony.NeighboringCellInfo.html">
258 android.telephony.NeighboringCellInfo</A></TD>
259 </TR>
260 <TR>
261   <TD ALIGN="center">3</TD>
262   <TD><A HREF="android.widget.RemoteViews.html">
263 android.widget.RemoteViews</A></TD>
264 </TR>
265 <TR>
266   <TD ALIGN="center">2</TD>
267   <TD><A HREF="android.graphics.Rect.html">
268 android.graphics.Rect</A></TD>
269 </TR>
270 <TR>
271   <TD ALIGN="center">1</TD>
272   <TD><A HREF="android.content.Intent.html">
273 android.content.Intent</A></TD>
274 </TR>
275 <TR>
276   <TD ALIGN="center">1</TD>
277   <TD><A HREF="android.view.ViewGroup.html">
278 android.view.ViewGroup</A></TD>
279 </TR>
280 <TR>
281   <TD ALIGN="center">&lt;1</TD>
282   <TD><A HREF="android.webkit.WebView.html">
283 android.webkit.WebView</A></TD>
284 </TR>
285 <TR>
286   <TD ALIGN="center">&lt;1</TD>
287   <TD><A HREF="android.Manifest.permission.html">
288 android.Manifest.permission</A></TD>
289 </TR>
290 <TR>
291   <TD ALIGN="center">&lt;1</TD>
292   <TD><A HREF="android.view.View.html">
293 android.view.View</A></TD>
294 </TR>
295 <TR>
296   <TD ALIGN="center">&lt;1</TD>
297   <TD><A HREF="android.R.attr.html">
298 android.R.attr</A></TD>
299 </TR>
300 </TABLE>
301 <p style="font-size:10px">* See <a href="#calculation">Calculation of Change Percentages</a>, below.</p>
302 <br>
303 <h2 id="calculation">Calculation of Change Percentages</h2>
304 <p>
305 The percent change statistic reported for all elements in the &quot;to&quot; API Level specification is defined recursively as follows:</p>
306 <pre>
307 Percentage difference = 100 * (added + removed + 2*changed)
308                         -----------------------------------
309                         sum of public elements in BOTH APIs
310 </pre>
311 <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.
312 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.
313 The definition ensures that if all packages are removed and all new packages are
314 added, the change will be 100%.</p>
315       </div>    
316       <div id="footer">
317         <div id="copyright">
318         Except as noted, this content is licensed under 
319         <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
320         For details and restrictions, see the <a href="/license.html">Content License</a>.
321         </div>
322       <div id="footerlinks">
323       <p>
324         <a href="http://www.android.com/terms.html">Site Terms of Service</a> -
325         <a href="http://www.android.com/privacy.html">Privacy Policy</a> -
326         <a href="http://www.android.com/branding.html">Brand Guidelines</a>
327       </p>
328     </div>
329     </div> <!-- end footer -->
330     </div><!-- end doc-content -->
331     </div> <!-- end body-content --> 
332 <script src="http://www.google-analytics.com/ga.js" type="text/javascript">
333 </script>
334 <script type="text/javascript">
335   try {
336     var pageTracker = _gat._getTracker("UA-5831155-1");
337     pageTracker._setAllowAnchor(true);
338     pageTracker._initData();
339     pageTracker._trackPageview();
340   } catch(e) {}
341 </script>
342 </BODY></HTML>