| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Also fix native delegate generation to put "this" parameter even
for methods that don't have any parameters.
Change-Id: I5dd0c505871370ff7b4cda16de84a5b3ae438f73
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of renaming the old Matrix class into _Original_Matrix
and have layoutlib provide a full new implementation of Matrix,
we keep the old one by only modifying it to implement the native
methods which calls out to a new Matrix_Delegate class.
The goal is to not have to maintain the java portion in
sync between the framework and the layoutlib version.
Change-Id: I3e1aefffbae45e91b75331c0c6ff2260323deacd
|
|
|
|
|
|
|
|
|
|
|
|
| |
The makefile variable USE_OPENGL_RENDERER must be set to true to compile
libhwui and the related code in the JNI layer.
This change also removes obsolete APIs from Canvas that must not be used
and would be confusing if left in. These APIs were remnants of our first
attempt at an OpenGL renderer for the view hierarchy and had not been
taken out before Android 1.0 was released.
Change-Id: I2475ff1307212bab26c926724f3c508681c7dae1
|
| |
|
|
|
|
| |
Change-Id: I09a7e84948be013cbb11f6d9774ab81df897b424
|
|
|
|
| |
Change-Id: Iec9284d0e65d1313739e361d1fd5a522646fd1fd
|
|
|
|
| |
Change-Id: I298d00208ace2421478c5864cc5a66a508b2b411
|
|
|
|
| |
Change-Id: I0a200f438b7ccde2bfc19fd23614a647cb19d312
|
|
|
|
| |
Change-Id: Ifaafa4fc42a22f4851449a7c35a5b82e211aafe7
|
|
|
|
|
|
|
|
|
|
|
|
| |
This prevented ImageView from making proper use of ScaleType.
Also fixed Canvas.getSaveCount() that returned the wrong
value and Matrix.getTransform() which used the wrong order
for the AffineTransform constructor!!
Bug: 2364564
Change-Id: I78babf4aa6689440e52ad06b1473f75b20eb66da
|
|
|
|
|
|
| |
BUG 2041229
Change-Id: Ib12bcb7f6d8f0e4c2b51871f8129ecf51fa938ee
|
|
- 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.
|