Improved drawing/matrix support in layoutlib

- Make the custom Canvas actually replace the original one so that it's used
  even by parts of the framework that allocate their own temp Canvas object.
- Better support for Matrix: added support for mapPoint() and mapRect(), and invert()
- Implemented drawBitmap() with a Matrix, and made the paint object not NPE when null.
6 files changed
tree: f16eb5ef112071051090933a8bd6ccddfb3eddfa
  1. api/
  2. bridge/
  3. create/
  4. .gitignore
  5. Android.mk