From 05b3720bebb7a31211da870181f440e56a824369 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Mon, 25 Jan 2010 08:30:35 -0500 Subject: [PATCH] Cherry-pick https://android-git.corp.google.com/g/#change,38305 disable high-quality filtering during scrolling, until I can cached the scaled images. Change-Id: I58fa779a8d9a23a20a0fdd93ea06c251b6c6ca8d Fix http://b/issue?id=2574172 --- core/java/android/webkit/WebViewCore.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/android/webkit/WebViewCore.java b/core/java/android/webkit/WebViewCore.java index 445e7ffac9270..c921015cb3145 100644 --- a/core/java/android/webkit/WebViewCore.java +++ b/core/java/android/webkit/WebViewCore.java @@ -1752,9 +1752,9 @@ final class WebViewCore { final DrawFilter mZoomFilter = new PaintFlagsDrawFilter(ZOOM_BITS, Paint.LINEAR_TEXT_FLAG); - final DrawFilter mScrollFilter = null; - // If we need to trade more speed for less quality on slower devices - // use this: new PaintFlagsDrawFilter(SCROLL_BITS, 0); + // If we need to trade better quality for speed, set mScrollFilter to null + final DrawFilter mScrollFilter = + new PaintFlagsDrawFilter(SCROLL_BITS, 0); /* package */ void drawContentPicture(Canvas canvas, int color, boolean animatingZoom,