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

Issue 2600213002: Adds animated touch point and the hint box for touch calibration UX (Closed)

Created:
3 years, 11 months ago by malaykeshav
Modified:
3 years, 11 months ago
Reviewers:
stevenjb, oshima
CC:
chromium-reviews, davemoore+watch_chromium.org, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds animated touch point and the hint box for touch calibration UX - Adds the circular throbbing touch point view that the user interacts with during touch calibration. - Adds the hint box view that contains the hint message as given in the UX specs. (https://drive.google.com/file/d/0B_2Uyb2Rhx2OU0FIbXUyMkhMZlE/view) - Adds required resource strings for hint box messages. Working protottpe(The video is the entire prototype. This change only involves adding the touch point and hint box.): https://drive.google.com/a/google.com/file/d/0B_WkX8bSkoT1QVR0WFJYdUY2SmZTdWdUVFNSM0F5WDF4YlBn/view Screenshot of how it looks on different DPI screens: https://screenshot.googleplex.com/ND5d9v0799y.png Screenshot for RTL: https://screenshot.googleplex.com/Xd3PyAYbDTV.png BUG=634166 COMPONENT=Touch Calibration, ChromeOS, UI Strings Review-Url: https://codereview.chromium.org/2600213002 Cr-Commit-Position: refs/heads/master@{#443000} Committed: https://chromium.googlesource.com/chromium/src/+/2f631d1860f7dfcf100b5a6bef46263cd7a4e698

Patch Set 1 : Adds animated touch point and the hint box for touch calibration UX #

Total comments: 22

Patch Set 2 : Resolving comments #

Patch Set 3 : Hint box now updates size based on the label and sublabel #

Total comments: 2

Patch Set 4 : Resolving comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -1 line) Patch
M chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.h View 1 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc View 1 2 3 5 chunks +291 lines, -1 line 0 comments Download
M ui/strings/ui_strings.grd View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (22 generated)
malaykeshav
Addition of animated touch point and hint box to the touch calibration UX. PTAL
3 years, 11 months ago (2016-12-27 20:09:23 UTC) #7
stevenjb
https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc File chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc (right): https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc#newcode71 chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc:71: } while (width <= bounds.width() && height <= bounds.height()); ...
3 years, 11 months ago (2016-12-28 01:04:50 UTC) #8
stevenjb
Also, it's been a long time now since I have worked in Views, it would ...
3 years, 11 months ago (2016-12-28 01:05:33 UTC) #9
malaykeshav
Adding @oshima PTAL
3 years, 11 months ago (2017-01-05 19:35:02 UTC) #11
oshima
https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc File chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc (right): https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc#newcode62 chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc:62: int GetFontSizeForRect(gfx::Rect bounds, base::string16 text) { a few questions. ...
3 years, 11 months ago (2017-01-05 23:29:04 UTC) #12
malaykeshav
Resolved comments. The text now has DIP size and works with RTL. Screenshot of how ...
3 years, 11 months ago (2017-01-09 18:59:41 UTC) #15
oshima
https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc File chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc (right): https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc#newcode222 chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc:222: height() * 0.11f); On 2017/01/09 18:59:40, malaykeshav wrote: > ...
3 years, 11 months ago (2017-01-09 19:44:17 UTC) #17
malaykeshav
PTAL https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc File chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc (right): https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc#newcode222 chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc:222: height() * 0.11f); On 2017/01/09 19:44:16, oshima wrote: ...
3 years, 11 months ago (2017-01-09 22:29:57 UTC) #21
oshima
https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc File chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc (right): https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc#newcode62 chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc:62: int GetFontSizeForRect(gfx::Rect bounds, base::string16 text) { On 2017/01/09 18:59:41, ...
3 years, 11 months ago (2017-01-10 17:11:18 UTC) #26
oshima
3 years, 11 months ago (2017-01-10 17:11:20 UTC) #27
malaykeshav
On 2017/01/10 at 17:11:18, oshima wrote: > https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc > File chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc (right): > > https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc#newcode62 ...
3 years, 11 months ago (2017-01-10 23:07:24 UTC) #28
malaykeshav
Hint box now updates size based on the label and sublabel. PTAL https://codereview.chromium.org/2600213002/diff/20001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc File chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc ...
3 years, 11 months ago (2017-01-10 23:07:48 UTC) #29
oshima
lgtm for this change. I think the calibration process should be canceled when the display ...
3 years, 11 months ago (2017-01-11 18:17:14 UTC) #31
malaykeshav
> I think the calibration process should be canceled when the display metrics changes. Is ...
3 years, 11 months ago (2017-01-11 18:45:34 UTC) #32
malaykeshav
https://codereview.chromium.org/2600213002/diff/100001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc File chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc (right): https://codereview.chromium.org/2600213002/diff/100001/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc#newcode74 chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc:74: const gfx::Size GetSizeForString(base::string16 text, gfx::FontList font_list) { On 2017/01/11 ...
3 years, 11 months ago (2017-01-11 18:45:43 UTC) #33
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/2600213002/120001
3 years, 11 months ago (2017-01-11 18:48:03 UTC) #36
commit-bot: I haz the power
Committed patchset #4 (id:120001) as https://chromium.googlesource.com/chromium/src/+/2f631d1860f7dfcf100b5a6bef46263cd7a4e698
3 years, 11 months ago (2017-01-11 22:00:24 UTC) #39
dschuyler
3 years, 11 months ago (2017-01-12 00:39:23 UTC) #40
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:120001) has been created in
https://codereview.chromium.org/2629003003/ by dschuyler@chromium.org.

The reason for reverting is: Hoping to clear up issue on builder here:

https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%2...

-- sheriff.

Powered by Google App Engine
This is Rietveld 408576698