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

Issue 2557163002: Implements computation of touch calibration transform using user provided data (Closed)

Created:
4 years ago by malaykeshav
Modified:
4 years ago
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implements computation of touch calibration transform using user provided data Implements the computation of touch transform used to transform all touch input events coming from a touch device and maps them to their corresponding locations on the screen/display device. The design doc linked below offers an explanation on how all the computation works. - Additionally solves a minor bug related to Ozone. - Adds test to to check for this minor bug. Design Doc=go/cros-touch-calibration BUG=667921, 672293 COMPONENT=Chrome OS, Touch, Ash Committed: https://crrev.com/3e3486a3c4efe28a9e1c391af2fa8cc3f8b41ed8 Cr-Commit-Position: refs/heads/master@{#440515}

Patch Set 1 : Implements computation of touch calibration transform using user provided data #

Patch Set 2 : Sync with ToT #

Patch Set 3 : Added link to crbug in code #

Total comments: 47

Patch Set 4 : Resolving comments #

Patch Set 5 : Sync with ToT #

Total comments: 18

Patch Set 6 : Resolving comments #

Total comments: 4

Patch Set 7 : Removed CHECK() and added test as friend class #

Total comments: 8

Patch Set 8 : Resolving comments #

Total comments: 12

Patch Set 9 : Resolved comments #

Patch Set 10 : Fixed unused variable error #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+683 lines, -66 lines) Patch
M ash/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -4 lines 0 comments Download
M ash/touch/touch_transformer_controller.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -7 lines 0 comments Download
M ash/touch/touch_transformer_controller.cc View 1 2 3 4 5 6 7 8 3 chunks +180 lines, -23 lines 1 comment Download
M ash/touch/touch_transformer_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 8 chunks +501 lines, -32 lines 0 comments Download

Messages

Total messages: 81 (54 generated)
malaykeshav
PTAL Updates touch transform controller to compute the transform using user provided calibration data. The ...
4 years ago (2016-12-07 22:27:09 UTC) #4
sadrul
/cc +kylechar@: does this need some equivalent work for mus?
4 years ago (2016-12-08 02:13:27 UTC) #16
kylechar
On 2016/12/08 02:13:27, sadrul wrote: > /cc +kylechar@: does this need some equivalent work for ...
4 years ago (2016-12-08 13:59:45 UTC) #17
malaykeshav
Ping for review.
4 years ago (2016-12-10 08:01:07 UTC) #18
sky
I'm not familiar at all with this code. I'm assuming Oshima or Sadrul knows more ...
4 years ago (2016-12-12 02:06:48 UTC) #20
malaykeshav
@sadrul, @oshima - Ping for review This needs to be checked in for M57. Subsequent ...
4 years ago (2016-12-19 06:52:27 UTC) #21
malaykeshav
Found some typos in the patch. Do not have access to a corp device to ...
4 years ago (2016-12-19 19:12:01 UTC) #22
kylechar
Was asked to review this by sadrul. https://codereview.chromium.org/2557163002/diff/60001/ash/touch/touch_transformer_controller.cc File ash/touch/touch_transformer_controller.cc (right): https://codereview.chromium.org/2557163002/diff/60001/ash/touch/touch_transformer_controller.cc#newcode58 ash/touch/touch_transformer_controller.cc:58: SkMatrix44 touch_point_matrix; ...
4 years ago (2016-12-19 20:00:22 UTC) #24
malaykeshav
Resolved comments with the required changes. PTAL https://codereview.chromium.org/2557163002/diff/60001/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2557163002/diff/60001/ash/BUILD.gn#newcode1478 ash/BUILD.gn:1478: if (!(use_x11 ...
4 years ago (2016-12-20 09:56:05 UTC) #28
sadrul
https://codereview.chromium.org/2557163002/diff/60001/ash/touch/touch_transformer_controller_unittest.cc File ash/touch/touch_transformer_controller_unittest.cc (right): https://codereview.chromium.org/2557163002/diff/60001/ash/touch/touch_transformer_controller_unittest.cc#newcode43 ash/touch/touch_transformer_controller_unittest.cc:43: gfx::Point GetPointWithError(const gfx::Point& point, const gfx::Size& error) { On ...
4 years ago (2016-12-20 17:31:06 UTC) #31
kylechar
https://codereview.chromium.org/2557163002/diff/60001/ash/touch/touch_transformer_controller.h File ash/touch/touch_transformer_controller.h (right): https://codereview.chromium.org/2557163002/diff/60001/ash/touch/touch_transformer_controller.h#newcode39 ash/touch/touch_transformer_controller.h:39: // applied to the touch input's location. On 2016/12/20 ...
4 years ago (2016-12-20 17:41:29 UTC) #32
malaykeshav
Resolved comments. (Except for the friend class issue, which did not seem to work. Will ...
4 years ago (2016-12-20 19:16:56 UTC) #35
malaykeshav
https://codereview.chromium.org/2557163002/diff/140001/ash/touch/touch_transformer_controller.cc File ash/touch/touch_transformer_controller.cc (right): https://codereview.chromium.org/2557163002/diff/140001/ash/touch/touch_transformer_controller.cc#newcode97 ash/touch/touch_transformer_controller.cc:97: CHECK(product_matrix.invert(&product_matrix_inverse)); A safer way to do this would be ...
4 years ago (2016-12-20 19:34:56 UTC) #36
sadrul
https://codereview.chromium.org/2557163002/diff/140001/ash/touch/touch_transformer_controller.cc File ash/touch/touch_transformer_controller.cc (right): https://codereview.chromium.org/2557163002/diff/140001/ash/touch/touch_transformer_controller.cc#newcode97 ash/touch/touch_transformer_controller.cc:97: CHECK(product_matrix.invert(&product_matrix_inverse)); On 2016/12/20 19:34:56, malaykeshav wrote: > A safer ...
4 years ago (2016-12-21 02:09:50 UTC) #39
malaykeshav
https://codereview.chromium.org/2557163002/diff/140001/ash/touch/touch_transformer_controller.cc File ash/touch/touch_transformer_controller.cc (right): https://codereview.chromium.org/2557163002/diff/140001/ash/touch/touch_transformer_controller.cc#newcode97 ash/touch/touch_transformer_controller.cc:97: CHECK(product_matrix.invert(&product_matrix_inverse)); On 2016/12/21 02:09:50, sadrul wrote: > On 2016/12/20 ...
4 years ago (2016-12-21 02:13:53 UTC) #40
malaykeshav
Removed CHECK and added test as friend class. PTAL https://codereview.chromium.org/2557163002/diff/60001/ash/touch/touch_transformer_controller.h File ash/touch/touch_transformer_controller.h (right): https://codereview.chromium.org/2557163002/diff/60001/ash/touch/touch_transformer_controller.h#newcode43 ash/touch/touch_transformer_controller.h:43: ...
4 years ago (2016-12-21 05:49:42 UTC) #43
sadrul
Thanks. lgtm from me, but please wait for a final approval from kylechar@ too https://codereview.chromium.org/2557163002/diff/120001/ash/touch/touch_transformer_controller.h ...
4 years ago (2016-12-22 02:25:43 UTC) #49
malaykeshav
Resolved comments. @kylechar PTAL https://codereview.chromium.org/2557163002/diff/120001/ash/touch/touch_transformer_controller.h File ash/touch/touch_transformer_controller.h (right): https://codereview.chromium.org/2557163002/diff/120001/ash/touch/touch_transformer_controller.h#newcode40 ash/touch/touch_transformer_controller.h:40: void SetForCalibration(bool is_calibrating); On 2016/12/22 ...
4 years ago (2016-12-22 09:04:33 UTC) #52
kylechar
https://codereview.chromium.org/2557163002/diff/200001/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2557163002/diff/200001/ash/BUILD.gn#newcode1406 ash/BUILD.gn:1406: if (!use_x11 && !use_ozone) { The top of this ...
4 years ago (2016-12-22 16:56:00 UTC) #55
kylechar
lgtm
4 years ago (2016-12-22 18:00:14 UTC) #56
malaykeshav
https://codereview.chromium.org/2557163002/diff/200001/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2557163002/diff/200001/ash/BUILD.gn#newcode1406 ash/BUILD.gn:1406: if (!use_x11 && !use_ozone) { On 2016/12/22 at 16:56:00, ...
4 years ago (2016-12-22 19:48:51 UTC) #61
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/2557163002/280001
4 years ago (2016-12-22 21:26:11 UTC) #70
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/331866)
4 years ago (2016-12-22 21:32:25 UTC) #72
Daniel Erat
lgtm for ash/ with a comment nit; feel free to address it in a later ...
4 years ago (2016-12-22 21:45:22 UTC) #74
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/2557163002/280001
4 years ago (2016-12-22 21:46:40 UTC) #76
commit-bot: I haz the power
Committed patchset #10 (id:280001)
4 years ago (2016-12-22 21:51:13 UTC) #79
commit-bot: I haz the power
4 years ago (2016-12-22 21:54:19 UTC) #81
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/3e3486a3c4efe28a9e1c391af2fa8cc3f8b41ed8
Cr-Commit-Position: refs/heads/master@{#440515}

Powered by Google App Engine
This is Rietveld 408576698