OSDN Git Service

fixing problem with allocating too much memory to a surface by fixing
authorDerek Sollenberger <djsollen@google.com>
Mon, 22 Mar 2010 20:11:38 +0000 (16:11 -0400)
committerDerek Sollenberger <djsollen@google.com>
Tue, 23 Mar 2010 19:34:33 +0000 (15:34 -0400)
commit1fa70928d3207c357bc8834f098b52e9f6107480
tree3adb65536ad1d900f553afc687c46914014f8065
parent0ee0a2ea57197cb2f03905454098d9a7a309f77b
fixing problem with allocating too much memory to a surface by fixing
the size of the surface when it exceeds a threshold and resizing the
surface when it falls beneath the threshold.

This change also causes the surface to fix its size while it is
being zoomed in order to prevent the surface from getting multiple
surfaceChangedEvents as the result of a zoom.  This also allows us
to have a smooth zoom animation for the surface.

Change-Id: I30e208f98d3a32660032bf1df9de77d0a813d756
core/java/android/webkit/ViewManager.java
core/java/android/webkit/WebView.java