ztenghui
a0d17f8090
Merge "Update the javadoc for the clip path fix."
2015-01-20 22:08:46 +00:00
Alan Viverette
d2052175eb
am c83245be: am 628e646e: am aa229902: Merge "Jump ripples to end when switching to a non-hardware canvas" into lmp-mr1-dev
...
* commit 'c83245be678608533ce53005f4149719f6dd5e03':
Jump ripples to end when switching to a non-hardware canvas
2015-01-15 04:57:39 +00:00
Alan Viverette
c83245be67
am 628e646e: am aa229902: Merge "Jump ripples to end when switching to a non-hardware canvas" into lmp-mr1-dev
...
* commit '628e646eeae6147578428632d7c25326b8b7ef59':
Jump ripples to end when switching to a non-hardware canvas
2015-01-15 01:39:44 +00:00
Alan Viverette
a0c0ca7389
Jump ripples to end when switching to a non-hardware canvas
...
Previously we canceled the hardware animations but neglected to reset
the state, which left us drawing in the pressed state.
Bug: 19020524
Change-Id: I439a18126b9093cac40006361be99f8d077b95a9
2015-01-14 17:05:21 -08:00
ztenghui
6fbcefe4d7
Update the javadoc for the clip path fix.
...
b/18758765
Change-Id: I1845c09a120ecdf0d7685ff1f6165b1e841db5ce
2015-01-14 14:40:58 -08:00
ztenghui
5a880611cc
Merge "Limit the scope of clip path to the group, not global"
2015-01-09 23:16:23 +00:00
ztenghui
054a17caaa
Limit the scope of clip path to the group, not global
...
http://b/18758765
Change-Id: I899401a5fcbccd0421687bd5cf671f7751092195
2015-01-09 14:53:47 -08:00
Derek Sollenberger
304cc53874
Use the generic Canvas instead of SkCanvas
...
bug: 18642206
Change-Id: I0dc3f6b620083e5948c2d4be541ae7c6261b3482
2015-01-09 09:16:06 -05:00
Alan Viverette
5dc973cb03
Use text ascent / descent to center SimpleMonthView labels
...
Also updates Canvas.drawText() docs to clarify that the y-origin is
actually the baseline rather than the top (which is what developers
expect).
BUG: 18864682
Change-Id: Ibfa2a79327d17b5135f90468195fbeca922a25c8
2015-01-08 11:12:39 -08:00
Alan Viverette
f4c068b72e
Add getDither, getFilterBitmap to Drawable for CTS testing
...
Also removes unnecessary overrides from PictureDrawable.
Change-Id: I13539b5204e8c0d8b9912da14de7ceae62720e3f
2015-01-06 11:01:36 -08:00
Alan Viverette
304ea5aac7
Merge "Allow use of theme attributes in color state lists"
2015-01-06 18:47:29 +00:00
Tom Hudson
8dfaa49042
Make DisplayListRenderer inherit from Canvas, merge JNI
...
Incrementally unify the upper layers for Skia and HWUI.
Remove redundant code from GLES20Canvas.java; instead
use inherited mNativeCanvasWrapper and superclass method
definitions.
Moves some unrelated SkPaint utility functions from Renderer
to new utils/PaintUtils.
bug: 15672762
Change-Id: I4ddd4214b8e9eeb95289d054ef423f2542bb5fa5
2015-01-05 15:25:41 -08:00
Alan Viverette
45c4bbbbce
Allow use of theme attributes in color state lists
...
BUG: 17384842
Change-Id: Ibdc413acbd00e37b908432abd55f6521c22b8fc9
2015-01-05 14:59:19 -08:00
Alan Viverette
5a4be5a2da
am e260a358: am 7c3212b2: Merge "Propagate DrawableContainer state on mutate, fix ColorDrawable theming" into lmp-mr1-dev
...
automerge: 81612d8
* commit '81612d80c5b2d40c8cf1fb03336a9b0f9249d82a':
Propagate DrawableContainer state on mutate, fix ColorDrawable theming
2014-12-12 22:15:39 +00:00
Alan Viverette
0a69ae9666
am 1060d75e: am 9a1b4c29: Merge "Move ripple to end state on jump when hardware exit is pending" into lmp-mr1-dev
...
automerge: 2e0e2a4
* commit '2e0e2a44073e7417a42d97e9d7b82e050a845b4d':
Move ripple to end state on jump when hardware exit is pending
2014-12-12 22:14:20 +00:00
Alan Viverette
81612d80c5
am e260a358: am 7c3212b2: Merge "Propagate DrawableContainer state on mutate, fix ColorDrawable theming" into lmp-mr1-dev
...
* commit 'e260a358bfc945bf01d901f496b7f30784cbf920':
Propagate DrawableContainer state on mutate, fix ColorDrawable theming
2014-12-12 22:11:46 +00:00
Alan Viverette
2e0e2a4407
am 1060d75e: am 9a1b4c29: Merge "Move ripple to end state on jump when hardware exit is pending" into lmp-mr1-dev
...
* commit '1060d75e3abd37671b0962297f4587dd3d6e0cc8':
Move ripple to end state on jump when hardware exit is pending
2014-12-12 22:11:40 +00:00
Alan Viverette
7c3212b2f4
Merge "Propagate DrawableContainer state on mutate, fix ColorDrawable theming" into lmp-mr1-dev
2014-12-12 22:00:26 +00:00
Alan Viverette
9bc11ac168
Move ripple to end state on jump when hardware exit is pending
...
BUG: 18734676
Change-Id: Ie063e1eec0b4f28f936ea27822afacfd1b72a0e9
2014-12-12 13:38:10 -08:00
Alan Viverette
419aa7ad14
Propagate DrawableContainer state on mutate, fix ColorDrawable theming
...
BUG: 18542282
BUG: 18467568
Change-Id: Id1d75cfe47fde3206ab40e5360289e0cb2504402
2014-12-12 12:34:15 -08:00
Alan Viverette
9f2d0d27ac
am 934d8d85: am daec5943: Fix build automerge: aaf2e19
...
* commit '934d8d85be221b86cb5097625c0f48391b3a71b2':
Fix build
2014-12-11 01:40:26 +00:00
Alan Viverette
6a9fb4b6dd
am 7d0aed2d: am 4e137437: Merge "Update tint filter after setting gradient drawable state" into lmp-mr1-dev automerge: c211857
...
* commit '7d0aed2d2c0c2fd4bcaa0e786efd6134ae162d07':
Update tint filter after setting gradient drawable state
2014-12-11 01:40:17 +00:00
Alan Viverette
d8d9cbe3ff
am 1259ab3a: am 3d517a70: am 62b780e8: Avoid creating futures for drawables with no constant state
...
* commit '1259ab3a881adb008b74e5ad81c84e088f674cf6':
Avoid creating futures for drawables with no constant state
2014-12-11 01:38:38 +00:00
Alan Viverette
934d8d85be
am daec5943: Fix build
...
automerge: aaf2e19
* commit 'aaf2e190d363f5934e5bc2fd3293d41aa9ac00aa':
Fix build
2014-12-11 00:37:51 +00:00
Alan Viverette
7d0aed2d2c
am 4e137437: Merge "Update tint filter after setting gradient drawable state" into lmp-mr1-dev
...
automerge: c211857
* commit 'c211857af37eabb6073fa2ac402c9f7de9548822':
Update tint filter after setting gradient drawable state
2014-12-11 00:32:53 +00:00
Alan Viverette
daec594370
Fix build
...
Change-Id: I2efdf2790aa768eaaa6e7e0b80a9ad7b2ddf3cb9
2014-12-10 16:29:59 -08:00
Alan Viverette
1259ab3a88
am 3d517a70: am 62b780e8: Avoid creating futures for drawables with no constant state
...
* commit '3d517a701cb583f59ed8deefd21ab854c3890065':
Avoid creating futures for drawables with no constant state
2014-12-11 00:07:20 +00:00
Alan Viverette
3ad771b384
Update tint filter after setting gradient drawable state
...
BUG: 18706381
Change-Id: I7d664303c9b796243da6c55d1ea9482736aabf07
2014-12-10 16:00:43 -08:00
Alan Viverette
62b780e85f
Avoid creating futures for drawables with no constant state
...
We don't need to create futures for drawables without constant state,
since we only copy on mutate and we don't need to do any work on mutate()
for drawables without shared constant state. Also we would crash in that
case, so avoiding the NPE is nice too.
Rider: Also fixes elevations again.
BUG: 18696100
Change-Id: I4d7737f39ce3efc5830704e5ce412c540603e6ac
2014-12-10 13:52:28 -08:00
Nick Kralevich
7668e78601
resolved conflicts for merge of 3bae94d7 to master
...
Change-Id: I381539b1494447d62290c492f2550840fe0b559c
2014-12-10 11:03:40 -08:00
Alan Viverette
f1d6706fb4
am c5d71c67: am 60abe259: am 6ef76c60: Merge "Fix default value of AnimationDrawable\'s one shot property" into lmp-mr1-dev
...
* commit 'c5d71c67dfbcd0d80ee1fa453e027ea642542fc3':
Fix default value of AnimationDrawable's one shot property
2014-12-09 23:47:27 +00:00
John Reck
3bae94d78e
resolved conflicts for merge of fe11126d to lmp-mr1-dev-plus-aosp
...
Change-Id: I60bf82ff71d9af0d80e7da8856efb4641c85885b
2014-12-09 15:38:38 -08:00
Alan Viverette
d3a0da9aac
am 5a50a8bc: am e615da7e: am f1792c42: Merge "Fix hotspot coordinate propagation in ViewGroup and AbsListView" into lmp-mr1-dev
...
* commit '5a50a8bcabdb2593b48b06854a7455318399b6d1':
Fix hotspot coordinate propagation in ViewGroup and AbsListView
2014-12-09 22:23:37 +00:00
John Reck
dad7d84c04
Teach AssetAtlas about more drawables
...
Bug: 18317479
Change-Id: I16868ee204d24af72af9a2efc987f7e9eb1d266b
2014-12-09 14:18:33 -08:00
Alan Viverette
c5d71c67df
am 60abe259: am 6ef76c60: Merge "Fix default value of AnimationDrawable\'s one shot property" into lmp-mr1-dev
...
* commit '60abe25978ab1c1e4935dcd58af9cd3a0994c12e':
Fix default value of AnimationDrawable's one shot property
2014-12-09 18:14:13 +00:00
Alan Viverette
6ef76c60df
Merge "Fix default value of AnimationDrawable's one shot property" into lmp-mr1-dev
2014-12-09 17:59:08 +00:00
Alan Viverette
0b9ab9749a
Fix default value of AnimationDrawable's one shot property
...
BUG: 18676499
Change-Id: Iaaf134b3a58a04cd99db001edc4438ee75dab878
2014-12-09 09:48:18 -08:00
ztenghui
6828d32772
am 9bb5cef9: am 971fe6d6: am 04c022f4: Merge "AVD: Deep copy the animator target setup when mutate." into lmp-mr1-dev
...
* commit '9bb5cef91f82f883a8899dee5fad56111648f1e1':
AVD: Deep copy the animator target setup when mutate.
2014-12-09 00:18:02 +00:00
Alan Viverette
d505fb7917
am 5f5e13d0: am 108e5394: am 6dfa60f3: Avoid extra saveLayer calls in RippleDrawable, fix docs
...
* commit '5f5e13d07fcf7531c0bb61f147732a430ad5aeda':
Avoid extra saveLayer calls in RippleDrawable, fix docs
2014-12-09 00:16:54 +00:00
Alan Viverette
5a50a8bcab
am e615da7e: am f1792c42: Merge "Fix hotspot coordinate propagation in ViewGroup and AbsListView" into lmp-mr1-dev
...
* commit 'e615da7eb74907c7df993009ba8137e6ddd4ac62':
Fix hotspot coordinate propagation in ViewGroup and AbsListView
2014-12-08 19:45:20 +00:00
ztenghui
9bb5cef91f
am 971fe6d6: am 04c022f4: Merge "AVD: Deep copy the animator target setup when mutate." into lmp-mr1-dev
...
* commit '971fe6d66419065b96b46a20b7110ba435fa3a9a':
AVD: Deep copy the animator target setup when mutate.
2014-12-08 19:15:36 +00:00
Alan Viverette
5f5e13d07f
am 108e5394: am 6dfa60f3: Avoid extra saveLayer calls in RippleDrawable, fix docs
...
* commit '108e539495edb2bfc0d1a3a2cb0879583561bed6':
Avoid extra saveLayer calls in RippleDrawable, fix docs
2014-12-08 19:12:32 +00:00
Alan Viverette
b942b6f15c
Fix hotspot coordinate propagation in ViewGroup and AbsListView
...
There was a weird disconnect between setPressed() and hotspot propagation
behavior. This makes hotspot propagation work like setPressed(). Also
fixes ripple animation during drag-to-open.
BUG: 18631557
BUG: 18593243
Change-Id: Id4adf5d815e4d426b4182aac4d0c780f04472ae4
2014-12-08 10:37:39 -08:00
Alan Viverette
b2accbb6d2
am 23d86231: am ae656af7: am bab2b594: Merge "Update locally cached drawables when constant state changes" into lmp-mr1-dev
...
* commit '23d86231e9af2f4ba43cbc8a8cbbfc9757a98ddc':
Update locally cached drawables when constant state changes
2014-12-05 21:49:36 +00:00
Alan Viverette
23d86231e9
am ae656af7: am bab2b594: Merge "Update locally cached drawables when constant state changes" into lmp-mr1-dev
...
* commit 'ae656af727966df132d5ec7a462bc8bd98e41b71':
Update locally cached drawables when constant state changes
2014-12-05 21:41:10 +00:00
ztenghui
04c022f4c1
Merge "AVD: Deep copy the animator target setup when mutate." into lmp-mr1-dev
2014-12-05 18:28:30 +00:00
ztenghui
d2f50c78c3
AVD: Deep copy the animator target setup when mutate.
...
Only calling VectorDrawable's mutate here will miss all the animator setup,
when the VectorDrawable has a new state.
So we just deep copy everything and setup the animators again.
b/18521582
Change-Id: Id164312750bb548f9c2d21cc0b5806cd2bafcf0d
2014-12-04 16:55:26 -08:00
Alan Viverette
6dfa60f33c
Avoid extra saveLayer calls in RippleDrawable, fix docs
...
Also fixes opacity returned from InsetDrawable to accurately reflect
the transparent inset area and updates button to correctly use tint.
BUG: 18226391
Change-Id: Ia9a88d9d663990a6829d2f251c7f59ea2a79d816
2014-12-04 16:52:16 -08:00
John Reck
1022888d33
resolved conflicts for merge of 203c8171 to master
...
Change-Id: I256397410c261fae049bae4572f132235be1c5c9
2014-12-04 16:06:34 -08:00
Derek Sollenberger
203c817180
am c1a2f38c: am 4d9da135: Merge "Update AndroidPixelRef to prevent VM from cleaning up memory prematurely." into lmp-mr1-dev
...
* commit 'c1a2f38ce0447b005d0cde6836857f451af84dc6':
Update AndroidPixelRef to prevent VM from cleaning up memory prematurely.
2014-12-04 21:46:39 +00:00