Add "wave" animation when entering taskbar edu

Each icon scales and translates up, then back down. If the icon is predicted, it also plays a "slot machine" animation through random icons from AllAppsList.

Test: Visual
Bug: 180605356
Change-Id: Ia41cb0e340347eea6b580d23c8a2386837e9c399
This commit is contained in:
Tony Wickham
2021-08-26 13:00:43 -07:00
parent 8e0484bf69
commit 31f787d352
8 changed files with 181 additions and 4 deletions
@@ -17,6 +17,10 @@ package com.android.launcher3.taskbar;
import android.graphics.Rect;
import com.android.launcher3.model.data.ItemInfoWithIcon;
import java.util.stream.Stream;
/**
* Base class for providing different taskbar UI
*/
@@ -35,4 +39,8 @@ public class TaskbarUIController {
protected void updateContentInsets(Rect outContentInsets) { }
protected void onStashedInAppChanged() { }
public Stream<ItemInfoWithIcon> getAppIconsForEdu() {
return Stream.empty();
}
}