From 0b2395c1935bf34b2671209ae817dc14331d418a Mon Sep 17 00:00:00 2001 From: Dirk Dougherty Date: Wed, 23 Jun 2010 15:38:39 -0700 Subject: [PATCH] Doc change: Add revision notes for Android 2.2_r2 development platform. Fix some umappable characters in WebView class doc. Change-Id: I5522406335fbf96164a5b812ec4891c499343d1e --- core/java/android/webkit/WebView.java | 12 ++++++------ docs/html/sdk/android-2.2.jd | 26 ++++++++++++++++++++++++-- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 921d0f559118..2df250d0ba48 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -236,14 +236,14 @@ import junit.framework.Assert; * *

Building web pages to support different screen densities

* - *

The screen density of a device is based on the screen resolution. A screen with low density - * has fewer available pixels per inch, where a screen with high density - * has more — sometimes significantly more — pixels per inch. The density of a + *

A screen's density is based on it's screen resolution and physical size. A screen with low + * density has fewer available pixels per inch, where a screen with high density + * has more -- sometimes significantly more -- pixels per inch. The density of a * screen is important because, other things being equal, a UI element (such as a button) whose * height and width are defined in terms of screen pixels will appear larger on the lower density - * screen and smaller on the higher density screen. - * For simplicity, Android collapses all actual screen densities into three generalized densities: - * high, medium, and low.

+ * screen and smaller on the higher density screen. For simplicity, Android collapses all + * actual screen densities into three generalized densities:high, medium, and low.

+ * *

By default, WebView scales a web page so that it is drawn at a size that matches the default * appearance on a medium density screen. So, it applies 1.5x scaling on a high density screen * (because its pixels are smaller) and 0.75x scaling on a low density screen (because its pixels diff --git a/docs/html/sdk/android-2.2.jd b/docs/html/sdk/android-2.2.jd index f82edf943297..1c7b5a50b776 100644 --- a/docs/html/sdk/android-2.2.jd +++ b/docs/html/sdk/android-2.2.jd @@ -2,7 +2,6 @@ page.title=Android 2.2 Platform sdk.platform.version=2.2 sdk.platform.apiLevel=8 sdk.platform.majorMinor=minor -sdk.platform.deployableDate=May 2010 @jd:body @@ -118,6 +117,30 @@ function toggleDiv(link) {

+ Android {@sdkPlatformVersion}, Revision 2 (July 2010) +
+
+
Dependencies:
+
+

Requires SDK Tools r6 or higher.

+
+ +
System Image:
+
+
    +
  • Adds default Search Widget.
  • +
  • Includes proper provisioning for the platform's Backup Manager. For more information about how to use the Backup Manager, see Data Backup.
  • +
  • Updates the Android 2.2 system image to FRF91.
  • +
+
+ +
+
+
+ +
+ + Android {@sdkPlatformVersion}, Revision 1 (May 2010)
@@ -135,7 +158,6 @@ function toggleDiv(link) {
-

API Level

The Android {@sdkPlatformVersion} platform delivers an updated version of -- 2.11.0