summaryrefslogtreecommitdiff
path: root/tools/layoutlib/bridge/src/android/graphics/Bitmap.java
AgeCommit message (Collapse)Author
2010-10-29Implement the layoutlib Bitmap through a native delegate.Xavier Ducrohet
This does not implement all the native methods of the android.graphics.Bitmap class, only what's needed to draw an ImageView object. The rest will be implemented after Canvas and Paint have been moved to the native delegate. Change-Id: Ia0c3b2cafa03871c298deaef5817a25ac1c35521
2010-01-13ADT/Layoutlib: Reimplement parts of BitmapFactoryXavier Ducrohet
The original bitmap factory is mostly done in native and deals with the normal android Bitmap class which has been replaced in the layoutlib by a bitmap that is merely a wrapper around an AWT BufferedImage. This new BitmapFactory creates the layoutlib version of Bitmap all in Java. Change-Id: Ice8b5d19141a9a43f83349c159201bf85604b3b0
2009-09-23Fix issue #2125720 Weather Forecast Widget - graphics do not scaleDianne Hackborn
I forgot to add the new density field to the Bitmaps' parcelable data. Change-Id: I77cf3e93e356297e0caed6fc71b62b5cd8f79124
2009-08-17Improved drawing/matrix support in layoutlibXavier Ducrohet
- 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.
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2008-10-21Initial ContributionThe Android Open Source Project