commit | 1fa70928d3207c357bc8834f098b52e9f6107480 | [log] [tgz] |
---|---|---|
author | Derek Sollenberger <djsollen@google.com> | Mon Mar 22 16:11:38 2010 -0400 |
committer | Derek Sollenberger <djsollen@google.com> | Tue Mar 23 15:34:33 2010 -0400 |
tree | 3adb65536ad1d900f553afc687c46914014f8065 | |
parent | 0ee0a2ea57197cb2f03905454098d9a7a309f77b [diff] |
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