Merge "[OneSearch] Add LAUNCHER_ALLAPPS_SCROLLED event." into tm-dev
This commit is contained in:
commit
fe72583a86
3 files changed
+33
-14
No files matched your search
@@ -19,6 +19,7 @@ import static android.view.View.MeasureSpec.EXACTLY;
|
||||
import static android.view.View.MeasureSpec.UNSPECIFIED;
|
||||
import static android.view.View.MeasureSpec.makeMeasureSpec;
|
||||
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_SCROLLED;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_VERTICAL_SWIPE_BEGIN;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_VERTICAL_SWIPE_END;
|
||||
import static com.android.launcher3.util.LogConfig.SEARCH_LOGGING;
|
||||
@@ -203,6 +204,7 @@ public class AllAppsRecyclerView extends BaseRecyclerView {
|
||||
StatsLogManager mgr = ActivityContext.lookupContext(getContext()).getStatsLogManager();
|
||||
switch (state) {
|
||||
case SCROLL_STATE_DRAGGING:
|
||||
mgr.logger().log(LAUNCHER_ALLAPPS_SCROLLED);
|
||||
requestFocus();
|
||||
mgr.logger().sendToInteractionJankMonitor(
|
||||
LAUNCHER_ALLAPPS_VERTICAL_SWIPE_BEGIN, this);
|
||||
|
||||
@@ -527,7 +527,11 @@ public class StatsLogManager implements ResourceBasedOverride {
|
||||
LAUNCHER_TASKBAR_LONGPRESS_SHOW(897),
|
||||
|
||||
@UiEvent(doc = "User clicks on the search icon on header to launch search in app.")
|
||||
LAUNCHER_ALLAPPS_SEARCHINAPP_LAUNCH(913);
|
||||
LAUNCHER_ALLAPPS_SEARCHINAPP_LAUNCH(913),
|
||||
|
||||
@UiEvent(doc = "User scrolled on one of the all apps surfaces such as A-Z list, search "
|
||||
+ "result page etc.")
|
||||
LAUNCHER_ALLAPPS_SCROLLED(985);
|
||||
|
||||
// ADD MORE
|
||||
|
||||
|
||||
Reference in new issue
Block a user