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 committed 2025-05-29 13:16:05 +00:00
1 parent 501df2edca
commit 478f07798e
11 files changed
+243 -144

No files matched your search

@@ -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;