| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I16b0a232eb4108aedc9289e51a52ec9472b9dfd0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since 2 clip paths is taking the intersection as the final clip, we should
separate this test case into 2 groups.
Prior to M release, the 2nd clip path is overriding the first one.
The behavior changed in this CL:
e9c01a40a2f0f0da195dfbb2909aaee5c005d1c6
b/16376848
b/19946683
Change-Id: Ib21c95e70f1317321725acbbe0ccf91713f748c3
|
|
|
|
|
|
| |
b/21341096
Change-Id: I84e20366db21ceaa4f044be3e322f9215bb06ad2
|
|
|
|
|
|
|
| |
so you can actually see the animation rather than animating between
the same color.
Change-Id: Id32f6f5a22c000093fb9cbc1e9274eacbd183373
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
http://b/18758765
Change-Id: I899401a5fcbccd0421687bd5cf671f7751092195
|
|
|
|
|
|
| |
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
|
|/
|
|
|
|
|
|
|
| |
The risk is low since most of them are just matching the naming to xml.
And this update won't cause build breakage.
b/17623982
Change-Id: I1eda0b8314ec7b94bc03976cdc365a7dc1039f4c
|
|
|
|
|
|
| |
b/17393626
Change-Id: If6a28b072f7d4bcb2b57022d86ec784f4c0d78f1
|
|
|
|
|
|
|
|
|
| |
At the same time, remove the group alpha since we did not follow the convention
that group's alpha should apply together, not separately to each elements.
b/17393626
Change-Id: Idfc071414213583924961dc8ea760d6fb317873c
|
|
|
|
|
|
| |
bug:16861184
Change-Id: I0530602957a434b222725b6fcbc1af165ee05835
|
|
|
|
|
|
|
|
| |
bug:16850076
attrs/public.xml update will be separated for build break friday.
Change-Id: I5863193d5fecd7e210bd6db5294868f1a70e0d2f
|
|
|
|
| |
Change-Id: I7dceebd58d9365cf8e2a31dfeec418aa439bacb6
|
|
|
|
| |
Change-Id: Ib516fd4a27000d8e69a6640386332140ff0d6fdd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Merge <size> and <viewport> attributes all in to top-level <vector> tag
- Indent attributes under <group> in java doc.
- Updata android:stroke to be android:strokeColor, likewise android:fill
- Instead of android:clipToPath, make this a different clip-path tag.
- Document units of the various attributes
- Add example code for defining a VectorDrawable resource
More than that:
= Refactor the code to better support clipPath as a sub-class.
= Update all the xml files to use the new attributes and clip-path tag.
TODO:
-- Remove clipToPath, since that should happen on build break Friday.
bug:16488254
Change-Id: I6db5680ef83cb26c8f064a60fc7d6e7142974b0f
|
|
|
|
|
|
| |
bug:14585171
Change-Id: I61dec27856be09c44bb1d32ff61b3c3cd458cc34
|
|
|
|
|
|
| |
bug:16019658
Change-Id: I8b6ac23bf14de5427d3029436acf76bd1161f0ea
|
|
|
|
|
|
| |
bug:15905631
Change-Id: Ieb3dcac2dd446ba89f307716411688dcd6ec5279
|
|
|
|
|
|
| |
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: I419197ef38a611757f27ca3192350ad4bd403875
|
|
|
|
|
|
| |
b/15910407
Change-Id: I557e855f7d16e2eb0452d43ca6a672acdcae2071
|
|
|
|
| |
Change-Id: I16d2ed29f40c85ec48c87b5a0355e2a262ed3af7
|
|
|
|
|
|
|
|
| |
Basically extended the ValueAnimator to support a new type: pathType.
Add the PathDataEvaluator internally to interpolate path data.
Update test to show the path morphing.
Change-Id: I89db0199cbc12e3041790a6115f3f50b80213cdb
|
|
|
|
|
|
|
| |
The test case is showing that AnimatedVectorDrawable is able to use path to
define time interpolator and object movement now.
Change-Id: If3c0418265d0fd762c8f5f0bb8c39cce3ad34ef3
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
Also update the 3rd test to correctly testing clipping.
Removing some naive tests which rotate 360 or 0.
bug:15288554
Change-Id: I436e8e494cb78fc665a3890171a1af87367db419
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Since we don't support animation, it is better not to expose the group tag for now,
which will only lead to confusion.
Internally, we keep the group class to represent multiple paths. But we don't
allow multiple groups.
Change-Id: I041ba32dff05ef6b1cd9d5ab1a1717e55a356145
|
|
|
|
|
|
|
|
|
| |
State changed support is gone.
Rename VAnimatedPath.
Remove the obsolete documents.
Update the tests to reflect the API changes.
Change-Id: Icdc19c6519a4e29975877c1d167e61c8fa14a371
|
|
|
|
|
|
|
|
|
| |
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
|