diff options
author | vadimt <vadimt@google.com> | 2019-05-31 13:27:24 -0700 |
---|---|---|
committer | vadimt <vadimt@google.com> | 2019-05-31 13:34:24 -0700 |
commit | a8f77a6afd75f8bd18778d09a9eb6363b5f9bcc7 (patch) | |
tree | 95fa8e028b27cc5941560a5d30649fb3fa89ba46 /src/com/android/launcher3/allapps | |
parent | 164ebb2e8c15ba6b21bac943490fe8c5127d230b (diff) | |
download | packages_apps_Trebuchet-a8f77a6afd75f8bd18778d09a9eb6363b5f9bcc7.tar.gz packages_apps_Trebuchet-a8f77a6afd75f8bd18778d09a9eb6363b5f9bcc7.tar.bz2 packages_apps_Trebuchet-a8f77a6afd75f8bd18778d09a9eb6363b5f9bcc7.zip |
More debug tracing for switching to all apps not sending the final event
(to the test)
Bug: 134172603
Bug: 133867119
Change-Id: I00cf3a35daefa23d2e72a89d21e6ce37c8a9a46d
Diffstat (limited to 'src/com/android/launcher3/allapps')
-rw-r--r-- | src/com/android/launcher3/allapps/AllAppsTransitionController.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsTransitionController.java b/src/com/android/launcher3/allapps/AllAppsTransitionController.java index a7f89d9c0..c62fc3d8f 100644 --- a/src/com/android/launcher3/allapps/AllAppsTransitionController.java +++ b/src/com/android/launcher3/allapps/AllAppsTransitionController.java @@ -14,6 +14,7 @@ import static com.android.launcher3.util.SystemUiController.UI_STATE_ALL_APPS; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; +import android.util.Log; import android.util.Property; import android.view.animation.Interpolator; @@ -29,6 +30,7 @@ import com.android.launcher3.anim.AnimationSuccessListener; import com.android.launcher3.anim.AnimatorSetBuilder; import com.android.launcher3.anim.SpringObjectAnimator; import com.android.launcher3.anim.PropertySetter; +import com.android.launcher3.testing.TestProtocol; import com.android.launcher3.util.MultiValueAlpha; import com.android.launcher3.util.Themes; import com.android.launcher3.views.ScrimView; @@ -162,6 +164,10 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil @Override public void setStateWithAnimation(LauncherState toState, AnimatorSetBuilder builder, AnimationConfig config) { + if (TestProtocol.sDebugTracing) { + Log.d(TestProtocol.NO_ALLAPPS_EVENT_TAG, + "setStateWithAnimation " + toState.getClass().getSimpleName()); + } float targetProgress = toState.getVerticalProgress(mLauncher); if (Float.compare(mProgress, targetProgress) == 0) { setAlphas(toState, config, builder); |