Introduce initial A-Z app drawer to taskbar.

Invoking the drawer is currently hooked up to tapping empty space on the
taskbar. Apps can be launched, and drag-n-drop split screen works. The
drawer can only be dismissed by acting on an app icon or tapping the
taskbar again.

Test: Manual
Bug: 204696617
Change-Id: I7c5fdbc7d54d8209f6f15ef80bfeb5e9b80cf647
This commit is contained in:
Brian Isganitis
2022-01-24 22:54:21 -05:00
parent 65ffe19260
commit 4edf1da6e2
10 changed files with 292 additions and 15 deletions

View File

@@ -21,6 +21,7 @@ import android.view.View;
import com.android.launcher3.LauncherSettings.Favorites;
import com.android.launcher3.model.BgDataModel;
import com.android.launcher3.model.BgDataModel.FixedContainerItems;
import com.android.launcher3.model.data.AppInfo;
import com.android.launcher3.model.data.ItemInfo;
import com.android.launcher3.model.data.WorkspaceItemInfo;
import com.android.launcher3.util.ComponentKey;
@@ -198,6 +199,11 @@ public class TaskbarModelCallbacks implements
mControllers.taskbarPopupController.setDeepShortcutMap(deepShortcutMapCopy);
}
@Override
public void bindAllApplications(AppInfo[] apps, int flags) {
mControllers.taskbarAllAppsViewController.setApps(apps, flags);
}
protected void dumpLogs(String prefix, PrintWriter pw) {
pw.println(prefix + "TaskbarModelCallbacks:");