| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Before, the VectorDrawable is behaving like BitmapDrawable inside a ImageView,
and it can be blurry due to scaling.
Now apply the scaling information to the cached bitmap, then the size of bitmap
will match the ImageView's screen size. Therefore, no blurry any more.
b/18185626
Change-Id: I979cef3b5178a9bd37ee6cc776df3361ca47c803
|
|
|
|
|
|
| |
b/21341096
Change-Id: I84e20366db21ceaa4f044be3e322f9215bb06ad2
|
|
|
|
|
|
|
|
| |
This crashes while trying to run due to the '?attr/color1' reference inside
res/anim/blink.xml
Bug: 20817800
Change-Id: Ie3ea24ac9b22e69af152d6ffe87c8c953929299c
|
|
|
|
|
|
|
|
|
| |
Originally, stroke width is independent of group scaling.
But that is a bug and causing animation trouble.
b/19501782
Change-Id: I33d5e44f2f8b2a82fee1a5a326223a39aaffa86c
|
|
|
|
|
|
|
|
| |
Internally, switch to use AnimatorSet instead of an array of Animators
b/19825918
Change-Id: Ia67d2cc7dd89362e6b0019c916d3f2a0d0f3e39e
|
|
|
|
|
|
| |
b/18171696
Change-Id: I4c4e96c2d0a8e664d81abb300a8f56c5bbb358cd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Such that UX team has less pain on building the VD / AVD assets.
This also requires removing internal API dependence in the test.
To build the VectorDrawableTest with prebuilt SDK.
<root dir>/tapas VectorDrawableTest
<root dir>/make -j64 showcommand
Then later for incremental build.
<root dir>/mmm ./frameworks/base/tests/VectorDrawableTest/ -j20
b/18260896
Change-Id: Id559074df78d7c2a5c529c545834da23986bc15f
|
|\
| |
| |
| | |
now." into lmp-mr1-dev
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, the android:reversible flag behaves like a suggestion.
Now it is used to enforce no reverse when set to false. In this way, user can
safely setup one direction animation only.
When set to true, but AVD can't reverse , then it will show a warning.
At the same time, update the tests to show different cases, including
AnimationDrawable.
b/18413484
Change-Id: I5552c49dcbd76b0724b4d5593bce8388b27bd905
|
|/
|
|
|
|
|
|
|
| |
We have to cache the starting point for the latest "move", then apply it after
we close the path.
b/18214929
Change-Id: I8e8e5c810d720a1c194b8f59d74867a0efbb7662
|
|
|
|
|
|
|
|
| |
This is for unbundle apps, so it is not a good idea to put in open source.
b/18171696
Change-Id: I4272a9cd12904b90b4421e88304795a292ceec58
|
|
|
|
|
|
|
|
|
|
|
| |
Now "1e-5" will not be separated as "1e" and "-5".
Add one test for this use case.
Make sure we print out the pathData when path parsing has error.
b/17919923
Change-Id: I10a00ce21166cfb5a009c49c1a93f40eeb956d83
|
|
|
|
|
|
|
|
|
| |
Like "0.0.0" will be separated to "0.0 .0" now, just to make sure we are more
complied with svg path data.
b/17892882
Change-Id: Id7b64e9882f5174aa794a0256e2a29d66c724876
|
|
|
|
|
|
|
|
|
| |
This adds more realistic avds for testing purpose.
Also add root level alpha tests.
b/17698712
Change-Id: I32efaecf8a46a110c77e432a5307296e8a443160
|
|
|
|
|
|
|
|
|
| |
This is just updating the internal test app.
No real functionality changed.
b/17631551
Change-Id: Icc01e017ea4fbf97712214e6ac02691d29ea5e96
|
|
|
|
|
|
| |
b/17393626
Change-Id: If6a28b072f7d4bcb2b57022d86ec784f4c0d78f1
|
|
|
|
|
|
| |
bug:16861184
Change-Id: I0530602957a434b222725b6fcbc1af165ee05835
|
|
|
|
| |
Change-Id: I7dceebd58d9365cf8e2a31dfeec418aa439bacb6
|
|
|
|
| |
Change-Id: Ib516fd4a27000d8e69a6640386332140ff0d6fdd
|
|
|
|
|
|
| |
bug:16019658
Change-Id: I8b6ac23bf14de5427d3029436acf76bd1161f0ea
|
|
|
|
|
|
| |
bug:16162242
Change-Id: Ie0b7618beeb65ebeb65db41600165837524bcee4
|
|
|
|
|
|
|
|
|
| |
So we put path and group into a big list, then use reflectiont to handle them
differently.
bug:16162141
Change-Id: I4c84dc952d5d9b49412301dcd6459395e21d3b31
|
|
|
|
|
| |
BUG: 16016730
Change-Id: I6d02a1235c0aecd7e62f12226f3689372d043ddd
|
|
|
|
| |
Change-Id: I3c75963a624cd87a47a9eff68f9e113b8c147210
|
|
|
|
| |
Change-Id: I16d2ed29f40c85ec48c87b5a0355e2a262ed3af7
|
|
|
|
|
|
|
| |
Now inflation will not cause duplicated constant states.
And update tests.
Change-Id: I66861e5451c4c10d18756e8522546ea1cb938a55
|
|
|
|
|
|
|
|
|
|
|
| |
Currently as a hidden class.
It can support many the animations now as far as ObjectAnimator and
hierarchical group can support.
And we don't have path morphing yet.
Also support the Animator / Interpolator inflation from Context and Resources.
Change-Id: I948bbdf7373ad291171eed0b497959dce8c2edf3
|
|
|
|
| |
Change-Id: Ieabd1f628cdccd4939f733f92c0cbefbf8bc0446
|
|
|
|
|
|
|
|
|
|
| |
The fill used to be dafault as "none".
Now it is default to opaque black, which is consistent with svg now.
So it is better to always set the fill value.
bug:15288554
Change-Id: I07ac41c5adc77665e66e52f2c0220139586fb09b
|
|
|
|
|
|
| |
bug:15288554
Change-Id: I7caedb8466d078a0d9a6148e00d02eded4a4d234
|
|
|
|
|
|
| |
bug:15288554
Change-Id: Iebe176d0a9c2c566d1910674a068e65e15569829
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first step, including:
1. Bring the group tag back by reverting.
2. If there is no group tag, then treat all the paths as a single group.
Make sure our test cases covering both cases.
At the same time, fix one tiny UI bug in the test.
TODO:
1. Move the rotation to the group tag.
2. Add translation/scale to the group tag.
3. Convert the group into a tree hierarchy.
This reverts commit 404211630ba3bb865109434aba4433e7541b39d3.
Conflicts:
graphics/java/android/graphics/drawable/VectorDrawable.java
Change-Id: Ife65bb6a7fc85f9947124b8e356cd5b82119796a
|
|
|
|
|
|
|
|
|
| |
Cleaning on the API level, and related tests.
The animated icon will be only showing the initial state.
TODO: Deep clean on the functionality part and attributes.
Change-Id: I5723bc5b64f796c3a273d74bde02095751160a88
|
|
Rename the test from DynamicDrawableTest to VectorDrawableTest.
Remove duplicate function calls in the test.
Fix comments in VectorDrawable
Change-Id: I1ef87137088ccc10b1abdb40ca368345d9dbadab
|