ztenghui
bb2391929c
am ffa16f94: Merge "Correct the documentation for VectorDrawable" into lmp-dev
...
* commit 'ffa16f944882f2e27109af8fe4b7272322f9cb84':
Correct the documentation for VectorDrawable
2014-09-30 22:09:22 +00:00
ztenghui
c3fdffa981
Correct the documentation for VectorDrawable
...
We missed the alpha for the vector drawable root level in the documentation.
And the animation target can be vector drawable itself for the alpha value,
which is more than path and group object.
b/17696183
Change-Id: Ic9d441fbdf411dad92718ae5adbc6655fe708453
2014-09-30 15:02:24 -07:00
Alan Viverette
d11215b8bb
am b805da9b: Merge "Fix drawable container tinting" into lmp-dev
...
* commit 'b805da9b592e67cb777b78db3a96d47c60e31ca7':
Fix drawable container tinting
2014-09-30 14:55:36 +00:00
Chris Craik
75533864ac
am e910cc88: Merge "Implement alpha as documented for drawables" into lmp-dev
...
* commit 'e910cc88387f49b119bb2f8e579849864970ac87':
Implement alpha as documented for drawables
2014-09-30 14:55:26 +00:00
Alan Viverette
b805da9b59
Merge "Fix drawable container tinting" into lmp-dev
2014-09-30 00:32:30 +00:00
Alan Viverette
bddb843e79
Fix drawable container tinting
...
BUG: 17704311
Change-Id: Ib9ced41e8589352c852e6c9dc7abbe6e4b9f2520
2014-09-29 17:22:47 -07:00
Chris Craik
3f873d8644
Implement alpha as documented for drawables
...
bug:17693526
With this change, outline opacity isn't published by default, as was
intended. Default behavior for custom drawables is to have a
rectangular outline, but not cast a shadow, e.g. as a button
background.
Change-Id: If80a256ff359bcb58f3f593ec9018f2df5fc4e44
2014-09-29 21:14:43 +00:00
Alan Viverette
cde6e29ac6
am 63756956: Merge "Add callback to track and thumb drawables, propagate state in ASLD" into lmp-dev
...
* commit '637569566d2234b06e08d94acf4db1b0d3be6501':
Add callback to track and thumb drawables, propagate state in ASLD
2014-09-26 23:19:32 +00:00
Alan Viverette
b067405bf4
Add callback to track and thumb drawables, propagate state in ASLD
...
BUG: 17665424
Change-Id: I22da4530f3e2869d856102e804f020461a46fe49
2014-09-26 16:12:16 -07:00
Alan Viverette
571cd7e938
am 81e2f789: Merge "Fixed mutate() for RippleDrawable, ASLD, AVD, fix applyTheme in VD" into lmp-dev
...
* commit '81e2f789029701b569d3c0deee8bc74fbebab5db':
Fixed mutate() for RippleDrawable, ASLD, AVD, fix applyTheme in VD
2014-09-26 19:44:08 +00:00
Alan Viverette
5004032ebc
Fixed mutate() for RippleDrawable, ASLD, AVD, fix applyTheme in VD
...
BUG: 17646144
Change-Id: I58c111d86224dc8f7f557073c0bcbc22ad74aa1b
2014-09-26 10:37:30 -07:00
Alan Viverette
4f79d73d26
am 21662c96: Merge "Cut ripple background alpha in half" into lmp-dev
...
* commit '21662c96fa9d107a60f4ce98f7179264c972b142':
Cut ripple background alpha in half
2014-09-25 20:23:50 +00:00
Alan Viverette
33ae07ab81
Merge "Cut ripple background alpha in half" into lmp-dev
2014-09-25 20:14:34 +00:00
Alan Viverette
8bdb442703
Cut ripple background alpha in half
...
Ripple alpha is supposed to be split evenly between the foreground
ripple layer and the background layer, but the background alpha wasn't
getting adjusted properly.
BUG: 17658817
Change-Id: I7af2f2ed38400a40d4a17da020363c7ae5c71a7b
2014-09-25 13:06:03 -07:00
ztenghui
533b4d3e51
am c793e67c: Merge "Fix AVD for CTS failure." into lmp-dev
...
* commit 'c793e67ca93a1550fa68c887ef00d207ac1e1d84':
Fix AVD for CTS failure.
2014-09-24 23:18:15 +00:00
ztenghui
dde353394c
Merge "Fix AVD for CTS failure." into lmp-dev
2014-09-24 23:07:18 +00:00
ztenghui
98916d146a
Fix AVD for CTS failure.
...
Mostly about changingConfig flags, the fix is just a copy from VectorDrawable.
b/17631551
Change-Id: Ibad9c2f61cd86b15e9bca1d1991c8cd147897bb0
2014-09-23 16:07:27 -07:00
ztenghui
60f27e6571
am aa60232b: am 8518c090: Merge "Fix animation on the some properties" into lmp-dev
...
* commit 'aa60232b96ace3ab176611c170e950a7b6db5481':
Fix animation on the some properties
2014-09-23 19:45:28 +00:00
ztenghui
dbcccffc37
Fix animation on the some properties
...
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
2014-09-23 11:22:26 -07:00
Chris Craik
26d5da351e
am 53dc022a: am e99510a4: Merge "Hide other color filter mutability" into lmp-dev
...
* commit '53dc022a6c12c1b916583dc8aee92cb63c7f73f5':
Hide other color filter mutability
2014-09-19 18:03:55 +00:00
Chris Craik
f559326b18
Hide other color filter mutability
...
bug:17262092
Change-Id: Ia6c0e1a684365c372803d1a6be41a478a05e0dd0
2014-09-19 08:54:09 -07:00
Alan Viverette
e45ed5e85f
am a96b8ea7: am 6a750aa9: Merge "Reduce overdraw after clearing ripples in RippleDrawable" into lmp-dev
...
* commit 'a96b8ea7fe489965b7381b59169dd20fd46d334c':
Reduce overdraw after clearing ripples in RippleDrawable
2014-09-16 08:59:13 +00:00
ztenghui
9a51c4b17d
am 64672ef1: am 3137b288: Merge "Set cache dirty when re-create the cache bitmap" into lmp-dev
...
* commit '64672ef149fa48afcf7f5f4b2ed0f96386b6d368':
Set cache dirty when re-create the cache bitmap
2014-09-16 08:58:53 +00:00
Alan Viverette
238aeca552
Merge "Reduce overdraw after clearing ripples in RippleDrawable" into lmp-dev
2014-09-16 00:37:16 +00:00
ztenghui
9c13ed366f
Set cache dirty when re-create the cache bitmap
...
b/17503595
Change-Id: Icdaa3651345b740772363f8afb29bb36741fcc87
2014-09-15 23:41:34 +00:00
Alan Viverette
2ae5640354
Reduce overdraw after clearing ripples in RippleDrawable
...
We only need to force a transparent draw after canceling a render
thread accelerated animation, and then we can draw again without
the transparency to avoid overdraw in the display list.
BUG: 17451761
Change-Id: I640f9a29d0940a93802f14a15f27d2c2072755ce
2014-09-15 12:27:13 -07:00
Alan Viverette
8c9e8e3083
am 3512e8d6: am 1e8bb662: Merge "Apply VectorDrawable color filter at draw time" into lmp-dev
...
* commit '3512e8d63d5ea422876661a38d01766d15cbf096':
Apply VectorDrawable color filter at draw time
2014-09-13 02:35:14 +00:00
Alan Viverette
068a026187
am 2b4de8b4: am f559f89c: Merge "Report button opacity for current state, fix button shadows" into lmp-dev
...
* commit '2b4de8b4ee417695cdc88e9aef0aded47036e8ef':
Report button opacity for current state, fix button shadows
2014-09-13 02:33:52 +00:00
Alan Viverette
264ea9c35f
Merge "Apply VectorDrawable color filter at draw time" into lmp-dev
2014-09-12 23:47:55 +00:00
Alan Viverette
b07b086bd4
Apply VectorDrawable color filter at draw time
...
BUG: 17491152
Change-Id: Ia0ca0bd7cd00363ad5777d3e2e62fa1131a6d8a5
2014-09-12 16:37:44 -07:00
ztenghui
a5d91d52b4
am 8207e209: am 2bb77b5a: Merge "Add root alpha and animation to (Animated)VectorDrawable" into lmp-dev
...
* commit '8207e209ade72f13a1ed77f5bc219163385a28af':
Add root alpha and animation to (Animated)VectorDrawable
2014-09-12 23:22:34 +00:00
Alan Viverette
6d32576312
Merge "Report button opacity for current state, fix button shadows" into lmp-dev
2014-09-12 23:14:33 +00:00
Alan Viverette
888b4cf73c
Report button opacity for current state, fix button shadows
...
BUG: 17433604
Change-Id: I25e0bd9b96e09ed2a4d85476b60f459e7cc33002
2014-09-12 16:13:32 -07:00
ztenghui
74cc5c39ae
Merge "Add root alpha and animation to (Animated)VectorDrawable" into lmp-dev
2014-09-12 22:12:03 +00:00
ztenghui
8490354dc6
Add root alpha and animation to (Animated)VectorDrawable
...
b/17393626
Change-Id: If6a28b072f7d4bcb2b57022d86ec784f4c0d78f1
2014-09-12 15:11:10 -07:00
Alan Viverette
0cfc7717aa
am 5dee9c9b: am 855fc8c7: Update icons to vectors, fix preload theming & vector tinting
...
* commit '5dee9c9b3e68e7567e765b7abb5ba3d3f05ce989':
Update icons to vectors, fix preload theming & vector tinting
2014-09-12 20:52:03 +00:00
Alan Viverette
607bd84826
Update icons to vectors, fix preload theming & vector tinting
...
Adds a missing JNI binding to AssetManager, ensures drawables have
default tint modes as documented, and updates vector tint appropriately
when state changes.
BUG: 17385604
Change-Id: Ice92885989ebc13b95952f5dc3b7904cc956da12
2014-09-12 13:06:45 -07:00
Chet Haase
51698b5e0d
am 7768b45e: am f23dcf73: Merge "Unfilled shapes should not report themselves as opaque" into lmp-dev
...
* commit '7768b45e8e49a87709f752ed1a3f67616b70f76a':
Unfilled shapes should not report themselves as opaque
2014-09-12 05:46:39 +00:00
Chris Craik
3c813371be
am d6ec00a6: am f1101afa: Merge "Fix null rect parameter for saveLayer / saveLayerAlpha" into lmp-dev
...
* commit 'd6ec00a609c31d40493bfa15314763ec8937f09d':
Fix null rect parameter for saveLayer / saveLayerAlpha
2014-09-12 05:46:30 +00:00
Chet Haase
25877af238
Merge "Unfilled shapes should not report themselves as opaque" into lmp-dev
2014-09-12 00:54:18 +00:00
Chet Haase
22cf0b0cb8
Unfilled shapes should not report themselves as opaque
...
Issue #17470611 Stroked, unfilled GradientDrawable shouldn't cast a shadow
Change-Id: Ied60e12c2d2567efec8dac1fe69c77b49ef25b8e
2014-09-11 17:45:43 -07:00
Chris Craik
9bc13a353f
Fix null rect parameter for saveLayer / saveLayerAlpha
...
bug:17476559
Change-Id: I3ba43c9eed8f6fc455eb41e0990e75e0f4c7b648
2014-09-11 16:55:10 -07:00
ztenghui
2a67fa92f0
am 548b9294: am 8738c8db: Merge "Bring back the fillAlpha and strokeAlpha." into lmp-dev
...
* commit '548b92941c8cea5c3aa125c0fe6ea69748c18591':
Bring back the fillAlpha and strokeAlpha.
2014-09-11 18:30:30 +00:00
ztenghui
c96e392765
Merge "Bring back the fillAlpha and strokeAlpha." into lmp-dev
2014-09-11 16:32:37 +00:00
Alan Viverette
72b834a301
am 5d1f9528: am 2a94c34d: Merge "Copy opaque over shape in GradientDrawable copy constructor" into lmp-dev
...
* commit '5d1f9528fd1b6f4c7919c9e19f69c86bbf1dc561':
Copy opaque over shape in GradientDrawable copy constructor
2014-09-11 00:39:58 +00:00
Alan Viverette
87610e535d
Merge "Copy opaque over shape in GradientDrawable copy constructor" into lmp-dev
2014-09-11 00:22:10 +00:00
Alan Viverette
c3a63c1fbb
Copy opaque over shape in GradientDrawable copy constructor
...
BUG: 17433604
Change-Id: I8eeba8bd68930db178545a3b25e29c3c45ae1f79
2014-09-10 16:54:02 -07:00
Alan Viverette
25cc6dcea8
am b5d64475: am 38669745: Merge "Only force drawing in RippleDrawable when necessary" into lmp-dev
...
* commit 'b5d64475b9383b85432adf62d7d853e43b217d53':
Only force drawing in RippleDrawable when necessary
2014-09-10 23:38:11 +00:00
ztenghui
2e17d2b232
Bring back the fillAlpha and strokeAlpha.
...
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
2014-09-10 16:26:48 -07:00
Alan Viverette
5aaa7788d5
Merge "Only force drawing in RippleDrawable when necessary" into lmp-dev
2014-09-10 23:26:06 +00:00