<UserEventLogging> Log app launches

b/26494415

1) Current Logger can capture taps from
- homescreen
- folder inside homescreen
- apps prediction
- all apps a-z
- tap from hotseat
2) Deprecate LauncherCallback methods that is no longer needed

Future CL.
3) Stats and Logger will be merged. Bundle used for Stats can be
replaced with LauncherLogProto
4) Logging anything else other than app launches

Change-Id: Id52eb615f66142017b5c490a220ce6654d325681
This commit is contained in:
Hyunyoung Song
2016-02-19 12:14:47 -08:00
parent f940684626
commit fbf19cccd2
6 changed files with 236 additions and 3 deletions

View File

@@ -54,20 +54,33 @@ public interface LauncherCallbacks {
*/
public void onLauncherProviderChange();
public void finishBindingItems(final boolean upgradePath);
public void onClickAllAppsButton(View v);
public void bindAllApplications(ArrayList<AppInfo> apps);
public void onInteractionBegin();
public void onInteractionEnd();
/**
* Extension points for Gel Logging.
*/
@Deprecated
public void onClickAllAppsButton(View v);
@Deprecated
public void onClickFolderIcon(View v);
@Deprecated
public void onClickAppShortcut(View v);
@Deprecated
public void onClickPagedViewIcon(View v);
@Deprecated
public void onClickWallpaperPicker(View v);
@Deprecated
public void onClickSettingsButton(View v);
@Deprecated
public void onClickAddWidgetButton(View v);
@Deprecated
public void onPageSwitch(View newPage, int newPageIndex);
@Deprecated
public void onWorkspaceLockedChanged();
@Deprecated
public void onDragStarted(View view);
public void onInteractionBegin();
public void onInteractionEnd();
/*
* Extension points for replacing the search experience