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

Issue 763253005: [Android] Add AppMenu touch duration metric. (Closed)

Created:
6 years ago by Kibeom Kim (inactive)
Modified:
6 years ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android] Add AppMenu touch duration metric. We want to monitor touch duration on AppMenu to decide optimal timeout for single tap vs dragging. BUG=434501 Committed: https://crrev.com/52b622f3041de604765f5320b86b5558223e4172 Cr-Commit-Position: refs/heads/master@{#308663}

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -1 line) Patch
M chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java View 1 2 3 chunks +6 lines, -1 line 0 comments Download
A chrome/browser/android/appmenu/app_menu_drag_helper.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/browser/android/appmenu/app_menu_drag_helper.cc View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Kibeom Kim (inactive)
6 years ago (2014-12-03 19:38:30 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/763253005/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/763253005/diff/20001/tools/metrics/histograms/histograms.xml#newcode421 tools/metrics/histograms/histograms.xml:421: +<histogram name="AppMenu.TouchDuration" units="milliseconds"> This looks like it's adding a ...
6 years ago (2014-12-08 15:50:52 UTC) #3
Ted C
https://codereview.chromium.org/763253005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java File chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java (right): https://codereview.chromium.org/763253005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java#newcode161 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java:161: nativeRecordTouchDuration(timeSinceDown); this can't be triggered before native is loaded ...
6 years ago (2014-12-10 17:28:55 UTC) #4
Kibeom Kim (inactive)
https://codereview.chromium.org/763253005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java File chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java (right): https://codereview.chromium.org/763253005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java#newcode161 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java:161: nativeRecordTouchDuration(timeSinceDown); On 2014/12/10 17:28:55, Ted C wrote: > this ...
6 years ago (2014-12-15 22:14:30 UTC) #5
Kibeom Kim (inactive)
jwd@ ptal : tools/metrics/histograms/histograms.xml (since asvitkine is OOO for a while)
6 years ago (2014-12-15 22:18:10 UTC) #7
Ted C
android logic - lgtm
6 years ago (2014-12-15 22:19:43 UTC) #8
jwd
lgtm
6 years ago (2014-12-16 19:08:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/763253005/40001
6 years ago (2014-12-16 19:54:09 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-16 20:56:34 UTC) #12
commit-bot: I haz the power
6 years ago (2014-12-16 20:57:10 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/52b622f3041de604765f5320b86b5558223e4172
Cr-Commit-Position: refs/heads/master@{#308663}

Powered by Google App Engine
This is Rietveld 408576698