5ceb30f2164c745789c13bd0060e57fa8c04a8fd |
|
22-Mar-2016 |
Diego Perez <diegoperez@google.com> |
Add fill type support to vector drawable The platform has added fill type to vector drawables. This CL implements the native replacement. Also remove a couple of delegates for classes that have been removed from the platform. Change-Id: Ie6ba344db9c9c2c45cd0ef4b99f11f9d8bcfd7de
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/drawable/multi_path.xml
|
566b303365078fac9a454f1595add19e02631db3 |
|
01-Mar-2016 |
Diego Perez <diegoperez@google.com> |
Add support for GradientColor in layoutlib Change-Id: Ia9a55a9e00d7ddb5263f3dbe46b5da8dde457526
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/drawable/multi_path.xml
|
b9c48d8f49d35e2682c7205a9d8d5fcc25d7c736 |
|
18-Dec-2015 |
Diego Perez <diegoperez@google.com> |
New path interpolation to paint vector drawables Before this CL, PathMeasure_Delegate would use Path_Delegate.approximate to get a path segment to draw. Path_Delegate.approximate uses a flattening iterator to do the path approximation. Unfortunately, because we do not control the stroke mode while painting, in some cases the approximation would draw unwanted artifacts caused by the rough approximation and the use of wrong miter values. This CL does a much better calculation of the path and interpolates the segments of the curves instead of replacing them with line segments. This also fixes an issue with the calculation of empty paths. Bug: http://b.android.com/187256 Change-Id: I450f7aa4c3d9efcbf902a40c3b4d6d388546893f
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/drawable/multi_path.xml
|