feat: Fully reimplement customisation in IDP/DP

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

fix: Apply workspace page indicator early

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

fix: initGrid respect DBGridInfo

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
Pun Butrach committed 2026-03-20 20:39:39 +07:00
1 parent 050aeb3b3a
commit 44dc0b11f0
5 files changed
+64 -46

No files matched your search

+4 -10
View File
@@ -395,6 +395,8 @@ public class DeviceProfile {
workspacePageIndicatorHeight = res.getDimensionPixelSize(
R.dimen.workspace_page_indicator_height);
workspacePageIndicatorHeight *= PreferenceExtensionsKt
.firstBlocking(preferenceManager2.getPageIndicatorHeightFactor());
mWorkspacePageIndicatorOverlapWorkspace =
res.getDimensionPixelSize(R.dimen.workspace_page_indicator_overlap_workspace);
@@ -463,15 +465,6 @@ public class DeviceProfile {
setupAllAppsStyle(context);
workspacePageIndicatorHeight = res.getDimensionPixelSize(
R.dimen.workspace_page_indicator_height);
float pageIndicatorHeightFactor = PreferenceExtensionsKt
.firstBlocking(preferenceManager2.getPageIndicatorHeightFactor());
workspacePageIndicatorHeight *= (int) pageIndicatorHeightFactor;
// mWorkspacePageIndicatorOverlapWorkspace = res
// .getDimensionPixelSize(R.dimen.workspace_page_indicator_overlap_workspace);
if (!mIsResponsiveGrid) {
TypedArray cellStyle;
if (inv.cellStyle != INVALID_RESOURCE_HANDLE) {
@@ -1324,7 +1317,8 @@ public class DeviceProfile {
mTypeIndex,
scale,
iconSizePx,
mIconDrawablePaddingOriginalPx
mIconDrawablePaddingOriginalPx,
allAppsCellHeightMultiplier
);
}
updateAllAppsContainerWidth();