Re-theme Launcher3 components (#4068)

There were some themes that were remove during the 14 and 13 merge. This commit attempt to fix it.

---------

Co-authored-by: John Andrew Camu <werdna.jac@gmail.com>
This commit is contained in:
SuperDragonXD
2024-02-11 09:00:46 +08:00
committed by GitHub
parent f1f8c1c6f4
commit f686b13f8b
12 changed files with 122 additions and 56 deletions

View File

@@ -99,6 +99,7 @@ import java.util.stream.Stream;
import app.lawnchair.allapps.LawnchairAlphabeticalAppsList;
import app.lawnchair.font.FontManager;
import app.lawnchair.theme.color.ColorTokens;
import app.lawnchair.ui.StretchRecyclerViewContainer;
/**
@@ -207,10 +208,10 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
mActivityContext = ActivityContext.lookupContext(context);
mAllAppsStore = new AllAppsStore<>(mActivityContext);
mScrimColor = Themes.getAttrColor(context, R.attr.allAppsScrimColor);
mScrimColor = ColorTokens.AllAppsScrimColor.resolveColor(context);
mHeaderThreshold = getResources().getDimensionPixelSize(
R.dimen.dynamic_grid_cell_border_spacing);
mHeaderProtectionColor = Themes.getAttrColor(context, R.attr.allappsHeaderProtectionColor);
mHeaderProtectionColor = ColorTokens.AllAppsHeaderProtectionColor.resolveColor(context);
mWorkManager = new WorkProfileManager(
mActivityContext.getSystemService(UserManager.class),