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

Issue 1116483002: Fix two image case in first run ImageCarousel. (Closed)

Created:
5 years, 7 months ago by aurimas (slooooooooow)
Modified:
5 years, 7 months ago
Reviewers:
newt (away)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix two image case in first run ImageCarousel. Old behavior: Two images would get duplicated and user would infitintely scroll through two images. New behavior: We only show two images and user is bound to be between image one and two. BUG=394399 Committed: https://crrev.com/cb629bd6b2c3cb074b7003fcf970af139644625a Cr-Commit-Position: refs/heads/master@{#327390}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Cache drawingOrder #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -3 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/firstrun/ImageCarousel.java View 1 3 chunks +20 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
aurimas (slooooooooow)
PTAL
5 years, 7 months ago (2015-04-28 20:50:45 UTC) #2
newt (away)
https://chromiumcodereview.appspot.com/1116483002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/firstrun/ImageCarousel.java File chrome/android/java/src/org/chromium/chrome/browser/firstrun/ImageCarousel.java (right): https://chromiumcodereview.appspot.com/1116483002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/firstrun/ImageCarousel.java#newcode379 chrome/android/java/src/org/chromium/chrome/browser/firstrun/ImageCarousel.java:379: if (mImages.length == 1 && getChildDrawingOrder(VIEW_COUNT, i) > 0) ...
5 years, 7 months ago (2015-04-28 21:39:04 UTC) #3
newt (away)
lgtm after comment
5 years, 7 months ago (2015-04-28 21:39:11 UTC) #4
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/1116483002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/firstrun/ImageCarousel.java File chrome/android/java/src/org/chromium/chrome/browser/firstrun/ImageCarousel.java (right): https://chromiumcodereview.appspot.com/1116483002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/firstrun/ImageCarousel.java#newcode379 chrome/android/java/src/org/chromium/chrome/browser/firstrun/ImageCarousel.java:379: if (mImages.length == 1 && getChildDrawingOrder(VIEW_COUNT, i) > 0) ...
5 years, 7 months ago (2015-04-28 21:49:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1116483002/20001
5 years, 7 months ago (2015-04-28 21:50:18 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-04-28 23:33:10 UTC) #9
commit-bot: I haz the power
5 years, 7 months ago (2015-04-28 23:34:09 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cb629bd6b2c3cb074b7003fcf970af139644625a
Cr-Commit-Position: refs/heads/master@{#327390}

Powered by Google App Engine
This is Rietveld 408576698