Moving taskbar variables in DeviceProfile to their own class

Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I05ec9e15ef02096326596af4835adb706473a736
This commit is contained in:
Sebastian Franco authored and Sebastián Franco committed 2025-05-29 11:04:06 -07:00
1 parent 4f08a7a40e
commit 8244449a9f
31 files changed
+239 -131

No files matched your search

@@ -366,7 +366,7 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT
flags -> (flags & flagsToRemoveTranslation) != 0, AnimatedFloat.VALUE,
1, 0));
// Center nav buttons in new height for IME.
float transForIme = (mContext.getDeviceProfile().taskbarHeight
float transForIme = (mContext.getDeviceProfile().getTaskbarProfile().getHeight()
- mControllers.taskbarInsetsController.getTaskbarHeightForIme()) / 2f;
// For gesture nav, nav buttons only show for IME anyway so keep them translated down.
float defaultButtonTransY = alwaysShowButtons ? 0 : transForIme;