commit | f88872655e85570f3b9bfebe78647ed36916b3f4 | [log] [tgz] |
---|---|---|
author | Chih-Chung Chang <chihchung@google.com> | Thu Jul 30 15:36:13 2009 +0800 |
committer | Chih-Chung Chang <chihchung@google.com> | Thu Jul 30 15:39:37 2009 +0800 |
tree | d1085691b7cae5424ea0284242ad8ed8a1fd0dfe | |
parent | b91e2b0292f9f4f76175a18e6e3cf392f3967ae8 [diff] |
Fix a bug in ImageView: The drawing matrix is not updated when setImageMatrix is called. The drawing matrix used in onDraw() is mDrawMatrix, but in setImageMatrix() only mMatrix is updated. We need to call configureBounds() to update mDrawMatrix if it was null. The is found in bug 2023281.