From c0a003ed7717a75c2c1c62ecda9e61a12f404ae3 Mon Sep 17 00:00:00 2001 From: Kateryna Ivanova Date: Wed, 26 Apr 2023 15:12:30 +0000 Subject: [PATCH] Revert^2 "Introduce library for public animation APIs" af289a1cd1399345c56b13a607b8f9e005f3845f Bug: 271850966 Change-Id: Iddc1790fc3704ce20fde4377d05360a77b6c146c --- Android.bp | 6 +++--- .../src/com/android/launcher3/taskbar/TaskbarEduTooltip.kt | 6 +++--- .../launcher3/taskbar/TaskbarLauncherStateController.java | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Android.bp b/Android.bp index e730c9d57c..a7edf2a9b9 100644 --- a/Android.bp +++ b/Android.bp @@ -79,7 +79,7 @@ android_library { "androidx.test.uiautomator_uiautomator", "androidx.preference_preference", "SystemUISharedLib", - "SystemUIAnimationLib", + "animationlib", "launcher-testing-shared", ], srcs: [ @@ -243,7 +243,7 @@ android_library { "lottie", "SystemUISharedLib", "SystemUI-statsd", - "SystemUIAnimationLib", + "animationlib", ], manifest: "quickstep/AndroidManifest.xml", min_sdk_version: "current", @@ -305,7 +305,7 @@ android_library { "SystemUISharedLib", "Launcher3CommonDepsLib", "QuickstepResLib", - "SystemUIAnimationLib", + "animationlib", ], manifest: "quickstep/AndroidManifest.xml", platform_apis: true, diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarEduTooltip.kt b/quickstep/src/com/android/launcher3/taskbar/TaskbarEduTooltip.kt index 7dda73f274..7f65e41fd0 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarEduTooltip.kt +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarEduTooltip.kt @@ -26,15 +26,15 @@ import android.view.MotionEvent.ACTION_DOWN import android.view.View import android.view.ViewGroup import android.view.animation.Interpolator +import com.android.app.animation.Interpolators.EMPHASIZED_ACCELERATE +import com.android.app.animation.Interpolators.EMPHASIZED_DECELERATE +import com.android.app.animation.Interpolators.STANDARD import com.android.launcher3.AbstractFloatingView import com.android.launcher3.R import com.android.launcher3.anim.AnimatorListeners import com.android.launcher3.popup.RoundedArrowDrawable import com.android.launcher3.util.Themes import com.android.launcher3.views.ActivityContext -import com.android.systemui.animation.Interpolators.EMPHASIZED_ACCELERATE -import com.android.systemui.animation.Interpolators.EMPHASIZED_DECELERATE -import com.android.systemui.animation.Interpolators.STANDARD private const val ENTER_DURATION_MS = 300L private const val EXIT_DURATION_MS = 150L diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarLauncherStateController.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarLauncherStateController.java index 59b5e743f6..ed78e2d238 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarLauncherStateController.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarLauncherStateController.java @@ -15,13 +15,13 @@ */ package com.android.launcher3.taskbar; +import static com.android.app.animation.Interpolators.EMPHASIZED; import static com.android.launcher3.taskbar.TaskbarKeyguardController.MASK_ANY_SYSUI_LOCKED; import static com.android.launcher3.taskbar.TaskbarStashController.FLAG_IN_APP; import static com.android.launcher3.taskbar.TaskbarStashController.FLAG_IN_STASHED_LAUNCHER_STATE; import static com.android.launcher3.taskbar.TaskbarViewController.ALPHA_INDEX_HOME; import static com.android.launcher3.util.FlagDebugUtils.appendFlag; import static com.android.launcher3.util.FlagDebugUtils.formatFlagChange; -import static com.android.systemui.animation.Interpolators.EMPHASIZED; import static com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_AWAKE; import static com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_DEVICE_DREAMING; import static com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_WAKEFULNESS_MASK;