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

Issue 256343002: The snap ratio is wrong (Closed)

Created:
6 years, 7 months ago by yongha78.lee
Modified:
6 years, 7 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

The snap ratio is wrong Snapping which is intended to snap to existing scale during pinch is not working. That is, because the snap ratio constant is wrong, snapping logic do not work and might make extra tiling during pinch. BUG=368203 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269563

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Modified by guide #

Patch Set 4 : Add Unittest for snappedTiling #

Patch Set 5 : Modify bug description #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -1 line) Patch
M AUTHORS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 6 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
yongha78.lee
PTAL
6 years, 7 months ago (2014-04-29 12:06:29 UTC) #1
yongha78.lee
6 years, 7 months ago (2014-04-29 12:09:51 UTC) #2
danakj
https://codereview.chromium.org/256343002/diff/10001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/256343002/diff/10001/cc/layers/picture_layer_impl.cc#newcode1054 cc/layers/picture_layer_impl.cc:1054: float snapped_ratio = kMaxScaleRatioDuringPinch; This was purposely written as ...
6 years, 7 months ago (2014-04-29 17:30:04 UTC) #3
yongha78.lee
On 2014/04/29 17:30:04, danakj wrote: > https://codereview.chromium.org/256343002/diff/10001/cc/layers/picture_layer_impl.cc > File cc/layers/picture_layer_impl.cc (right): > > https://codereview.chromium.org/256343002/diff/10001/cc/layers/picture_layer_impl.cc#newcode1054 > ...
6 years, 7 months ago (2014-04-30 00:52:19 UTC) #4
enne (OOO)
Maybe kSnapToExistingTileRatio should be 1.2 instead of 0.2? https://codereview.chromium.org/81453002 added this code along with some ...
6 years, 7 months ago (2014-04-30 01:12:37 UTC) #5
epennerAtGoogle
On 2014/04/30 01:12:37, enne wrote: > Maybe kSnapToExistingTileRatio should be 1.2 instead of 0.2? > ...
6 years, 7 months ago (2014-05-01 17:39:31 UTC) #6
yongha78.lee
On 2014/05/01 17:39:31, epennerAtGoogle wrote: > On 2014/04/30 01:12:37, enne wrote: > > Maybe kSnapToExistingTileRatio ...
6 years, 7 months ago (2014-05-02 04:16:07 UTC) #7
epennerAtGoogle
On 2014/05/02 04:16:07, yongha78.lee wrote: > On 2014/05/01 17:39:31, epennerAtGoogle wrote: > > On 2014/04/30 ...
6 years, 7 months ago (2014-05-02 19:47:21 UTC) #8
yongha78.lee
On 2014/05/02 19:47:21, epennerAtGoogle wrote: > On 2014/05/02 04:16:07, yongha78.lee wrote: > > On 2014/05/01 ...
6 years, 7 months ago (2014-05-08 05:23:05 UTC) #9
epenner
On 2014/05/08 05:23:05, yongha78.lee wrote: > On 2014/05/02 19:47:21, epennerAtGoogle wrote: > > On 2014/05/02 ...
6 years, 7 months ago (2014-05-08 22:17:48 UTC) #10
enne (OOO)
Could you update the description and the title of this bug to something more...descriptive? The ...
6 years, 7 months ago (2014-05-08 22:26:18 UTC) #11
yongha78.lee
The CQ bit was checked by yongha78.lee@samsung.com
6 years, 7 months ago (2014-05-09 00:50:17 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongha78.lee@samsung.com/256343002/70001
6 years, 7 months ago (2014-05-09 00:57:31 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 02:14:28 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 02:26:44 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/2723) android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/140723) android_dbg ...
6 years, 7 months ago (2014-05-09 02:26:44 UTC) #16
yongha78.lee
The CQ bit was checked by yongha78.lee@samsung.com
6 years, 7 months ago (2014-05-09 04:36:24 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongha78.lee@samsung.com/256343002/70001
6 years, 7 months ago (2014-05-09 04:41:38 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 05:21:58 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 05:29:11 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/2755) android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/140766) chromium_presubmit ...
6 years, 7 months ago (2014-05-09 05:29:11 UTC) #21
yongha78.lee
The CQ bit was checked by yongha78.lee@samsung.com
6 years, 7 months ago (2014-05-09 07:43:21 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongha78.lee@samsung.com/256343002/90001
6 years, 7 months ago (2014-05-09 07:49:56 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 08:50:28 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 08:57:18 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/2799) ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/150326) ios_rel_device ...
6 years, 7 months ago (2014-05-09 08:57:18 UTC) #26
yongha78.lee
The CQ bit was checked by yongha78.lee@samsung.com
6 years, 7 months ago (2014-05-09 10:37:11 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongha78.lee@samsung.com/256343002/110001
6 years, 7 months ago (2014-05-09 10:42:01 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 12:33:27 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 12:55:59 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/66772)
6 years, 7 months ago (2014-05-09 12:56:00 UTC) #31
yongha78.lee
On 2014/05/08 22:26:18, enne wrote: > Could you update the description and the title of ...
6 years, 7 months ago (2014-05-09 23:40:07 UTC) #32
enne (OOO)
On 2014/05/09 23:40:07, yongha78.lee wrote: > On 2014/05/08 22:26:18, enne wrote: > > Could you ...
6 years, 7 months ago (2014-05-09 23:49:01 UTC) #33
yongha78.lee
On 2014/05/09 23:49:01, enne wrote: > On 2014/05/09 23:40:07, yongha78.lee wrote: > > On 2014/05/08 ...
6 years, 7 months ago (2014-05-10 00:14:23 UTC) #34
enne (OOO)
Thanks, lgtm.
6 years, 7 months ago (2014-05-10 00:15:35 UTC) #35
yongha78.lee
The CQ bit was checked by yongha78.lee@samsung.com
6 years, 7 months ago (2014-05-10 00:27:20 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongha78.lee@samsung.com/256343002/110001
6 years, 7 months ago (2014-05-10 00:32:21 UTC) #37
commit-bot: I haz the power
6 years, 7 months ago (2014-05-10 11:48:54 UTC) #38
Message was sent while issue was closed.
Change committed as 269563

Powered by Google App Engine
This is Rietveld 408576698