Moving hotseat variables in DeviceProfile to their own class

Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I377b33668c3ed330d362527f62226dd84a5773db
This commit is contained in:
Uwais Ashraf
2025-05-28 15:22:52 +00:00
parent 501df2edca
commit 478f07798e
11 changed files with 243 additions and 144 deletions
@@ -1080,7 +1080,7 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
float halfQsbIconWidthDiff =
(launcherDp.hotseatQsbWidth - taskbarDp.taskbarIconSize) / 2f;
float scale = ((float) taskbarDp.taskbarIconSize)
/ launcherDp.hotseatQsbVisualHeight;
/ launcherDp.getHotseatProfile().getQsbVisualHeight();
setter.addFloat(child, SCALE_PROPERTY, scale, 1f, interpolator);
float fromX = isRtl ? -halfQsbIconWidthDiff : halfQsbIconWidthDiff;