From 574fa34dd53eec4cacc456296f69c12169b37ca8 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Wed, 7 Jan 2015 14:20:45 +0000 Subject: [PATCH] Add
    formatting to WebView#enableSlowWholeDocumentDraw documentation. Bug:18072267 Change-Id: I21eec752ca9a0a6c0dab92f3748e687dd13961fa --- core/java/android/webkit/WebView.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 8d2c51f00dd2a..48712bb3bb632 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -1634,11 +1634,12 @@ public class WebView extends AbsoluteLayout * the portion of the HTML document that needs to be drawn. These * optimizations are transparent to the developers. However, under certain * circumstances, an App developer may want to disable them: - * 1. When an app uses {@link #onDraw} to do own drawing and accesses portions - * of the page that is way outside the visible portion of the page. - * 2. When an app uses {@link #capturePicture} to capture a very large HTML document. - * Note that capturePicture is a deprecated API. - * + *
      + *
    1. When an app uses {@link #onDraw} to do own drawing and accesses portions + * of the page that is way outside the visible portion of the page.
    2. + *
    3. When an app uses {@link #capturePicture} to capture a very large HTML document. + * Note that capturePicture is a deprecated API.
    4. + *
    * Enabling drawing the entire HTML document has a significant performance * cost. This method should be called before any WebViews are created. */