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

@@ -130,11 +130,11 @@ public class StashedHandleViewController implements TaskbarControllers.LoggableT
mStashedHandleWidth =
resources.getDimensionPixelSize(R.dimen.taskbar_stashed_small_screen);
} else {
mTaskbarSize = deviceProfile.taskbarHeight;
mTaskbarSize = deviceProfile.getTaskbarProfile().getHeight();
mStashedHandleWidth = resources
.getDimensionPixelSize(R.dimen.taskbar_stashed_handle_width);
}
int taskbarBottomMargin = deviceProfile.taskbarBottomMargin;
int taskbarBottomMargin = deviceProfile.getTaskbarProfile().getBottomMargin();
mStashedHandleView.getLayoutParams().height = mTaskbarSize + taskbarBottomMargin;
mTaskbarStashedHandleAlpha.get(ALPHA_INDEX_STASHED).setValue(