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

Issue 2771713004: Adds UMA for screen rotation animation smoothness. (Closed)

Created:
3 years, 9 months ago by wutao
Modified:
3 years, 9 months ago
Reviewers:
oshima, varkha, Mark P, bruthig
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds UMA for screen rotation animation smoothness. Adding histgram of screen rotation animation smoothness. BUG=678763 TEST=manual, created histogram locally. Review-Url: https://codereview.chromium.org/2771713004 Cr-Commit-Position: refs/heads/master@{#459635} Committed: https://chromium.googlesource.com/chromium/src/+/3f08f81806674e0e9882a09c6f97852b184628b5

Patch Set 1 #

Total comments: 11

Patch Set 2 : Respond to reviewers. #

Total comments: 8

Patch Set 3 : Adds histograms.xml. #

Total comments: 10

Patch Set 4 : Fixed the description of histogram metric. #

Total comments: 4

Patch Set 5 : Merged and Moves the ScreenRotationAnimationMetricsReporter to .cc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -20 lines) Patch
M ash/rotator/screen_rotation_animator.h View 1 2 3 4 4 chunks +6 lines, -8 lines 0 comments Download
M ash/rotator/screen_rotation_animator.cc View 1 2 3 4 7 chunks +32 lines, -12 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (14 generated)
wutao
Hi Valery and Oshima, I am adding a UMA metric for screen rotation animation smoothness ...
3 years, 9 months ago (2017-03-24 01:37:14 UTC) #2
varkha
https://codereview.chromium.org/2771713004/diff/1/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2771713004/diff/1/ash/rotator/screen_rotation_animator.cc#newcode16 ash/rotator/screen_rotation_animator.cc:16: #include "base/lazy_instance.h" Not necessary? https://codereview.chromium.org/2771713004/diff/1/ash/rotator/screen_rotation_animator.cc#newcode190 ash/rotator/screen_rotation_animator.cc:190: "Ash.Rotator.ScreenRotationAnimationSmoothness", kPercentage_MIN, Suggestion: ...
3 years, 9 months ago (2017-03-24 02:50:25 UTC) #3
varkha
https://codereview.chromium.org/2771713004/diff/1/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2771713004/diff/1/ash/rotator/screen_rotation_animator.cc#newcode203 ash/rotator/screen_rotation_animator.cc:203: base::MakeUnique<ScreenRotationAnimationMetricsReporter>(); On 2017/03/24 02:50:25, varkha wrote: > This could ...
3 years, 9 months ago (2017-03-24 03:01:34 UTC) #4
wutao
Hi Valery, Could you please have a look again. Thanks. Tao https://codereview.chromium.org/2771713004/diff/1/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): ...
3 years, 9 months ago (2017-03-24 06:12:38 UTC) #5
bruthig
https://codereview.chromium.org/2771713004/diff/20001/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2771713004/diff/20001/ash/rotator/screen_rotation_animator.cc#newcode189 ash/rotator/screen_rotation_animator.cc:189: "Ash.Rotation.AnimationSmoothness", kPercentage_MIN, kPercentage_MAX, FYI You will need to add ...
3 years, 9 months ago (2017-03-24 14:25:39 UTC) #6
varkha
https://codereview.chromium.org/2771713004/diff/20001/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2771713004/diff/20001/ash/rotator/screen_rotation_animator.cc#newcode262 ash/rotator/screen_rotation_animator.cc:262: std::unique_ptr<ui::LayerAnimationSequence> animation_sequence = On 2017/03/24 14:25:39, bruthig wrote: > ...
3 years, 9 months ago (2017-03-24 15:05:00 UTC) #7
varkha
https://codereview.chromium.org/2771713004/diff/1/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2771713004/diff/1/ash/rotator/screen_rotation_animator.cc#newcode203 ash/rotator/screen_rotation_animator.cc:203: base::MakeUnique<ScreenRotationAnimationMetricsReporter>(); On 2017/03/24 06:12:38, wutao wrote: > On 2017/03/24 ...
3 years, 9 months ago (2017-03-24 15:08:47 UTC) #8
varkha
https://codereview.chromium.org/2771713004/diff/20001/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2771713004/diff/20001/ash/rotator/screen_rotation_animator.cc#newcode262 ash/rotator/screen_rotation_animator.cc:262: std::unique_ptr<ui::LayerAnimationSequence> animation_sequence = On 2017/03/24 15:04:59, varkha wrote: > ...
3 years, 9 months ago (2017-03-24 16:49:33 UTC) #9
wutao
On 2017/03/24 15:08:47, varkha wrote: > https://codereview.chromium.org/2771713004/diff/1/ash/rotator/screen_rotation_animator.cc > File ash/rotator/screen_rotation_animator.cc (right): > > https://codereview.chromium.org/2771713004/diff/1/ash/rotator/screen_rotation_animator.cc#newcode203 > ...
3 years, 9 months ago (2017-03-24 20:21:06 UTC) #10
wutao
Hi Valery and Ben, Please have another look. Hi Mark, Would you please look at ...
3 years, 9 months ago (2017-03-24 20:24:38 UTC) #12
Mark P
https://codereview.chromium.org/2771713004/diff/40001/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2771713004/diff/40001/ash/rotator/screen_rotation_animator.cc#newcode188 ash/rotator/screen_rotation_animator.cc:188: base::LinearHistogram::FactoryGet( Maybe I haven't thought about this enough, but ...
3 years, 9 months ago (2017-03-24 20:32:41 UTC) #14
varkha
https://codereview.chromium.org/2771713004/diff/40001/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2771713004/diff/40001/ash/rotator/screen_rotation_animator.cc#newcode53 ash/rotator/screen_rotation_animator.cc:53: const int kPercentage_MAX = 101; Don't need those if ...
3 years, 9 months ago (2017-03-24 20:38:22 UTC) #16
wutao
Hi Mark and Valery, I made changes according to your comments. Please have a look ...
3 years, 9 months ago (2017-03-24 21:48:25 UTC) #19
varkha
PS4 lgtm. Thanks for adding this!
3 years, 9 months ago (2017-03-24 21:48:48 UTC) #20
Mark P
histograms.xml lgtm
3 years, 9 months ago (2017-03-24 21:54:33 UTC) #21
oshima
lgtm with nits https://codereview.chromium.org/2771713004/diff/60001/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2771713004/diff/60001/ash/rotator/screen_rotation_animator.cc#newcode183 ash/rotator/screen_rotation_animator.cc:183: void Report(int value) override { nit: ...
3 years, 9 months ago (2017-03-24 22:46:00 UTC) #22
bruthig
lgtm
3 years, 9 months ago (2017-03-24 23:16:16 UTC) #23
wutao
Merged and ready to commit. https://codereview.chromium.org/2771713004/diff/60001/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2771713004/diff/60001/ash/rotator/screen_rotation_animator.cc#newcode183 ash/rotator/screen_rotation_animator.cc:183: void Report(int value) override ...
3 years, 9 months ago (2017-03-24 23:50:55 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2771713004/80001
3 years, 9 months ago (2017-03-25 03:00:35 UTC) #31
commit-bot: I haz the power
3 years, 9 months ago (2017-03-25 03:07:26 UTC) #34
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/3f08f81806674e0e9882a09c6f97...

Powered by Google App Engine
This is Rietveld 408576698