Merge "disable high-quality filtering during scrolling, until I can cached the scaled images." into eclair
This commit is contained in:
@ -1646,6 +1646,8 @@ final class WebViewCore {
|
||||
|
||||
final DrawFilter mZoomFilter =
|
||||
new PaintFlagsDrawFilter(ZOOM_BITS, Paint.LINEAR_TEXT_FLAG);
|
||||
final DrawFilter mScrollFilter =
|
||||
new PaintFlagsDrawFilter(SCROLL_BITS, 0);
|
||||
|
||||
/* package */ void drawContentPicture(Canvas canvas, int color,
|
||||
boolean animatingZoom,
|
||||
@ -1654,7 +1656,7 @@ final class WebViewCore {
|
||||
if (animatingZoom) {
|
||||
df = mZoomFilter;
|
||||
} else if (animatingScroll) {
|
||||
df = null;
|
||||
df = mScrollFilter;
|
||||
}
|
||||
canvas.setDrawFilter(df);
|
||||
boolean tookTooLong = nativeDrawContent(canvas, color);
|
||||
|
Reference in New Issue
Block a user