Alan Viverette
d78a44576c
Jump drawable state (including ripples) on view detach
...
BUG: 15350931
Change-Id: I09928f59fb7b9f6d87b1f5219353a41ae6b5681d
2014-08-21 12:57:45 -07:00
Alan Viverette
34a14f967a
Better handling of unresolved theme attributes
...
Also adds a (very obviously wrong) default color to RippleDrawable
Change-Id: I6d29b371f4e59accbebf25eb059b1f372b9184b0
2014-08-15 17:15:39 -07:00
Alan Viverette
27cede8777
Prevent re-entry when clearing animating hotspots
...
BUG: 16651728
Change-Id: I2b1b1501a4adfded833d0ed95ec3537ae217a6d7
2014-08-12 15:03:01 -07:00
Alan Viverette
dbcbca4475
Don't make ripples respond to selection state
...
Also exports view pressed state for hierarchyviewer.
BUG: 16622634
Change-Id: I754428dd1d59f3b7450b01976a73d5151d27152e
2014-08-08 12:23:41 -07:00
Chris Craik
77b5cad3ef
Add outline alpha
...
bug:16140822
bug:16566746
This allows background drawables to alter the opacity of a shadow
being cast with their own alpha values.
Change-Id: I49698cc7c1bf4b2b55ffe2f82899543ca62bc61c
2014-07-31 12:29:57 -07:00
Alan Viverette
b6417b8b94
Don't double-cancel the active ripple
...
BUG: 16651728
Change-Id: Ibe413eabf9644c2ac9a5c8c1418ff996dacf606a
2014-07-29 10:21:50 -07:00
Alan Viverette
6ce6d70f9c
Separate background from ripple for better focus/press UX
...
Regresses the "jump" when focus changes, since the background position
is static and we don't have any reasonable UX spec for this yet.
BUG: 16323640
Change-Id: I7152546ed08375864174049b342653b3c4d3d9fb
2014-07-24 16:31:42 -07:00
Alan Viverette
96335e3543
Merge "Remove the max ripple count exceeded warning" into lmp-dev
2014-07-24 15:36:09 +00:00
Alan Viverette
e5d6cf85e2
Remove the max ripple count exceeded warning
...
BUG: 16543509
Change-Id: I84ec8e01136d1f0f34c6153d8ef7936de547746e
2014-07-24 13:45:46 -07:00
Alan Viverette
ade9ef236c
Ensure ripple mask gets updated in public constructor
...
Change-Id: I084ff0357c8e3cf08d3700d9c7dce42726b986f1
2014-07-23 11:25:28 -07:00
Chris Craik
31ba192dd2
Tweaks to outline API
...
b/15283203
b/16142564
Remove boolean return value chaining, as it's redundant with
the data in the Outline itself.
Change-Id: I3116e57cd1b35c98b74e95195117edd7e39fb2df
2014-07-19 00:13:59 +00:00
Alan Viverette
7068c39526
Fix hotspot movement on focus change
...
BUG: 15726988
Change-Id: I97f88e5f7e404ecfcd5c254fddd18c8f6616064e
2014-07-16 00:06:14 +00:00
Alan Viverette
935b1fa24d
Remove old RippleDrawable constructor, fix new constructor
...
BUG: 16221737
Change-Id: I3807d8d7ccccf66568b9d5421cb9456fe818e2bf
2014-07-11 12:34:06 -07:00
Alan Viverette
8e5e11b99f
Handle configuration changes in drawable attributes
...
Adds themeable attribute support to InsetDrawable, adds support
for attribute configuration changes to all themable drawables.
BUG: 16045735
Change-Id: I3dc62d28801760ac69d303be81b6c78bb9bb5aca
2014-07-07 22:54:22 +00:00
Alan Viverette
7c0517272b
Fix getOutline() in ripple and layer drawables
...
BUG: 16134862
Change-Id: Ibcef20fc154ecc342344770f96fbd3d77d6fad26
2014-07-07 15:29:12 -07:00
Alan Viverette
6ae2d7cefa
Don't call deprecated RippleDrawable constructor
...
BUG: 15972806
Change-Id: If0973eed2da4708312a1320be4dd0b314157bc9a
2014-06-30 11:34:21 -07:00
Alan Viverette
7275abde37
Require color in RippleDrawable constructor, fix documentation
...
Marks old constructor for removal and emits LOG_E when used.
BUG: 15808263
Change-Id: Iae4f3237261541cb04f42343351b3fc0ac4929ac
2014-06-27 14:34:54 -07:00
Alan Viverette
e3c433aa45
Persist selector on ListView and GridView layout
...
BUG: 15472031
Change-Id: I0d10be3e0cf8a4d7580bd834e432c1c15fc481f5
2014-06-19 14:36:59 -07:00
Alan Viverette
a4eab42fe4
Change ripple tint to color, remove tintMode
...
Also fixes double ripple on list preferences, missing ripple on up
button, and adds the Toolbar style to public. Further improves
ripple performance.
BUG: 15523923
BUG: 15473856
Change-Id: I5e8bf417368b60fcc33c80852e12f27b8c580774
2014-06-10 11:00:25 -07:00
Alan Viverette
1b6e856e6f
Optimize use of layers in ripple, update dialog styling
...
BUG: 15474733
BUG: 15473856
Change-Id: I7c17865c7b2d4aad0fc3660ffac90e9f7ce8fda9
2014-06-09 10:59:08 -07:00
Alan Viverette
b996d809bf
Update ripple spec, fix ripple mask, rotate progress drawable
...
Change-Id: I4fc155bf2f12d9f324c354dee81479f9cddafac4
2014-06-04 14:35:42 -07:00
Alan Viverette
55a54e17df
Merge "Update theme colors, fix EditText state transition" into lmp-preview-dev
2014-06-03 22:49:33 +00:00
Alan Viverette
dcf7b59f84
Update theme colors, fix EditText state transition
...
BUG: 11218747
BUG: 15200201
Change-Id: I94368897ea9466ae971b25fc80d6ca43433aadd5
2014-06-03 14:43:38 -07:00
Alan Viverette
7a98f74438
Fix NPE when ripples are canceled due to visibility change
...
BUG: 15406248
Change-Id: I63ce42fef8e1614372ee4a82e45eb15e8bbe1fe3
2014-06-03 10:13:22 -07:00
Alan Viverette
dc6046fca3
Allow ripple bounds to change during enter animation
...
BUG: 15315168
Change-Id: I7588be96648318473998cfd5deba678224f1db51
2014-06-01 16:48:31 -07:00
Alan Viverette
4d2f2483f6
Fixes hotspot list transitions, update to use a single hotspot
...
Also updates background and button colors to match spec, removes
dependency on bouncycastle Arrays. Vastly simplifies ripple drawing.
Adds APIs for maximum ripple radius. Makes selectableItemBackground
bounded by default and adds an unbounded version and theme attribute.
BUG: 15315168
BUG: 15314684
BUG: 15314830
BUG: 15316768
BUG: 15333033
BUG: 15344050
Change-Id: Ib0619587ce78e43056b66571bae185e0f1613185
2014-06-01 15:58:04 -07:00
Alan Viverette
e7772d313b
Move setTint into Drawable, unhide getDirtyBounds on Drawable
...
BUG: 15089957
Change-Id: Ib622ba24b3f4bcf430e1d524895ac5cb104a232e
2014-05-21 23:50:03 -07:00
Alan Viverette
53a3ed7c46
Clean up hotspot bounds API
...
Change-Id: I7daf7e2d360d761f673aa69a0f925b8076ab19c6
2014-05-21 15:42:54 -07:00
Alan Viverette
c80ad99a33
TouchFeedbackDrawable is now RippleDrawable
...
Change-Id: I59f5f04b73089215c6320560556ac21beb03db06
2014-05-19 16:27:31 -07:00