Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Issue 22744003: Fix LabelButtonBorder image blending during state transitions (Closed)

Created:
7 years, 4 months ago by bartfab (slow)
Modified:
7 years, 4 months ago
Reviewers:
msw
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Obsoleted by http://crrev.com/217629. Fix LabelButtonBorder image blending during state transitions When a button is transitioning between states, it should fade between its background and foreground states. This can be done by painting the two states into layers and performing a weighted additive blending of these onto the |canvas|. BUG=239121 TEST=Manual

Patch Set 1 #

Patch Set 2 : One more compositing fix. #

Total comments: 4

Patch Set 3 : Nit addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -6 lines) Patch
M ui/views/controls/button/label_button_border.cc View 1 2 2 chunks +18 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
bartfab (slow)
Hi Mike, Could you take a look at this CL please? It is a simpler ...
7 years, 4 months ago (2013-08-09 16:33:36 UTC) #1
msw
I tried kPlusMode and it doesn't work quite right, if you slow the animation down ...
7 years, 4 months ago (2013-08-09 18:08:44 UTC) #2
bartfab (slow)
On 2013/08/09 18:08:44, msw wrote: > I tried kPlusMode and it doesn't work quite right, ...
7 years, 4 months ago (2013-08-09 18:22:31 UTC) #3
msw
On 2013/08/09 18:22:31, bartfab wrote: > On 2013/08/09 18:08:44, msw wrote: > > I tried ...
7 years, 4 months ago (2013-08-09 18:26:28 UTC) #4
msw
On 2013/08/09 18:26:28, msw wrote: > On 2013/08/09 18:22:31, bartfab wrote: > > On 2013/08/09 ...
7 years, 4 months ago (2013-08-09 18:27:37 UTC) #5
bartfab (slow)
On 2013/08/09 18:27:37, msw wrote: > On 2013/08/09 18:26:28, msw wrote: > > On 2013/08/09 ...
7 years, 4 months ago (2013-08-09 18:35:06 UTC) #6
benwells
On 2013/08/09 18:35:06, bartfab wrote: > On 2013/08/09 18:27:37, msw wrote: > > On 2013/08/09 ...
7 years, 4 months ago (2013-08-12 00:15:36 UTC) #7
bartfab (slow)
On 2013/08/12 00:15:36, benwells wrote: > On 2013/08/09 18:35:06, bartfab wrote: > > On 2013/08/09 ...
7 years, 4 months ago (2013-08-12 11:16:11 UTC) #8
benwells
On 2013/08/12 11:16:11, bartfab wrote: > On 2013/08/12 00:15:36, benwells wrote: > > On 2013/08/09 ...
7 years, 4 months ago (2013-08-12 11:32:03 UTC) #9
bartfab (slow)
On 2013/08/12 11:32:03, benwells wrote: > On 2013/08/12 11:16:11, bartfab wrote: > > On 2013/08/12 ...
7 years, 4 months ago (2013-08-12 11:38:05 UTC) #10
bartfab (slow)
On 2013/08/12 11:38:05, bartfab wrote: > On 2013/08/12 11:32:03, benwells wrote: > > On 2013/08/12 ...
7 years, 4 months ago (2013-08-12 17:18:36 UTC) #11
bartfab (slow)
On 2013/08/12 17:18:36, bartfab wrote: > On 2013/08/12 11:38:05, bartfab wrote: > > On 2013/08/12 ...
7 years, 4 months ago (2013-08-13 15:29:40 UTC) #12
msw
My local testing (clipping the button into 10 vertical strips with a gradient of alpha ...
7 years, 4 months ago (2013-08-13 21:43:19 UTC) #13
bartfab (slow)
I updated the CL to address the nits. Mike, I had seen your CL but ...
7 years, 4 months ago (2013-08-14 08:28:01 UTC) #14
msw
On 2013/08/14 08:28:01, bartfab wrote: > Mike, I had seen your CL but you seemed ...
7 years, 4 months ago (2013-08-14 14:53:44 UTC) #15
msw
On 2013/08/14 14:53:44, msw wrote: > On 2013/08/14 08:28:01, bartfab wrote: > > Mike, I ...
7 years, 4 months ago (2013-08-15 18:18:15 UTC) #16
bartfab (slow)
7 years, 4 months ago (2013-08-16 07:51:28 UTC) #17
On 2013/08/15 18:18:15, msw wrote:
> On 2013/08/14 14:53:44, msw wrote:
> > On 2013/08/14 08:28:01, bartfab wrote:
> > > Mike, I had seen your CL but you seemed to have put it on hold
indefinitely
> 2
> > > months ago. If you want to revive your CL and land that instead, that
SGTM.
> > > Otherwise, I think this CL is a good solution, even if only in the
interim.
> > 
> > Sorry, I linked to the wrong CL, here's a new one:
> > https://codereview.chromium.org/23058003/
> > This uses SkLerpXfermode similar to your approach.
> > Mike Reed just posted some comments, I'll address them today.
> 
> I landed http://crrev.com/217629 I hope that works for your case.

Thanks! I will close this issue.

Powered by Google App Engine
This is Rietveld 408576698