Add logging for Onboarding
Bug: 73784423 * Discovery bounce, homescreen, hotseat UserEvent: action:TIP UserEvent: Source child:HOTSEAT id=0 BOUNCE * Discovery bounce, overview, prediction UserEvent: action:TIP UserEvent: Source child:PREDICTION BOUNCE * Swipe up from navbar text (visibility, cancel target) UserEvent: action:TIP UserEvent: Source child:TIP SWIPE_UP_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET SWIPE_UP_TEXT * Quickscrub text (visibility, cancel target) UserEvent: action:TIP UserEvent: Source child:TIP QUICK_SCRUB_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET QUICK_SCRUB_TEXT * Prediction apps text (visibility, cancel target) UserEvent: action:TAP UserEvent: Source child:TIP PREDICTION_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET PREDICTION_TEXT Change-Id: I94710b5ed3d00e3599985b154eb660af4a958288
This commit is contained in:
1 parent
c14adabe99
commit
018eec6899
8 files changed
+130
-9
No files matched your search
@@ -18,6 +18,8 @@ package com.android.launcher3.allapps;
|
||||
|
||||
import static com.android.launcher3.LauncherState.NORMAL;
|
||||
import static com.android.launcher3.LauncherState.OVERVIEW;
|
||||
import static com.android.launcher3.userevent.nano.LauncherLogProto.ContainerType.HOTSEAT;
|
||||
import static com.android.launcher3.userevent.nano.LauncherLogProto.ContainerType.PREDICTION;
|
||||
|
||||
import android.animation.Animator;
|
||||
import android.animation.AnimatorInflater;
|
||||
@@ -127,6 +129,7 @@ public class DiscoveryBounce extends AbstractFloatingView {
|
||||
AnimatorInflater.loadAnimator(launcher, R.animator.discovery_bounce));
|
||||
view.mIsOpen = true;
|
||||
launcher.getDragLayer().addView(view);
|
||||
launcher.getUserEventDispatcher().logActionBounceTip(HOTSEAT);
|
||||
}
|
||||
|
||||
public static void showForOverviewIfNeeded(Launcher launcher) {
|
||||
@@ -173,5 +176,6 @@ public class DiscoveryBounce extends AbstractFloatingView {
|
||||
DiscoveryBounce view = new DiscoveryBounce(launcher, animator);
|
||||
view.mIsOpen = true;
|
||||
launcher.getDragLayer().addView(view);
|
||||
launcher.getUserEventDispatcher().logActionBounceTip(PREDICTION);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user