feat: Better At-a-Glance perceptive wallpaper colour luminance detection

This commit is contained in:
Pun Butrach committed 2026-01-10 20:49:46 +07:00
1 parent 19eb97e405
commit d36845897b
1639 files changed
+93897 -146732

No files matched your search

@@ -167,11 +167,11 @@ public class WorkUtilityView extends LinearLayout implements Insettable,
int bottomMargin = getResources().getDimensionPixelSize(R.dimen.work_fab_margin_bottom);
DeviceProfile dp = ActivityContext.lookupContext(getContext()).getDeviceProfile();
if (mActivityContext.getAppsView().isSearchBarFloating()) {
bottomMargin += dp.getHotseatProfile().getQsbHeight();
bottomMargin += dp.hotseatQsbHeight;
}
if (!dp.getDeviceProperties().isGestureMode() && dp.isTaskbarPresent) {
bottomMargin += dp.getTaskbarProfile().getHeight();
if (!dp.isGestureMode && dp.isTaskbarPresent) {
bottomMargin += dp.taskbarHeight;
}
lp.bottomMargin = bottomMargin;