am d3788b97: Merge "WebView animation support" into ics-mr1

* commit 'd3788b97c9a28e8cbfa4432389a5de04073a333b':
  WebView animation support
This commit is contained in:
Teng-Hui Zhu
2011-11-29 14:21:10 -08:00
committed by Android Git Automerger

View File

@@ -493,6 +493,9 @@ class ZoomManager {
if (mHardwareAccelerated) {
mWebView.updateScrollCoordinates(mWebView.getScrollX() - tx, mWebView.getScrollY() - ty);
// By adding webView matrix, we need to offset the canvas a bit
// to make the animation smooth.
canvas.translate(tx, ty);
setZoomScale(zoomScale, false);
if (mZoomScale == 0) {