Moving bottom sheet variables to their own class

Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: Ibaee4e94e54dbeb2f79ea5c1b6e73415ae219251
This commit is contained in:
Sebastian Franco
2025-05-27 11:53:29 -07:00
committed by Uwais Ashraf
parent 501df2edca
commit 6dcdd67e23
10 changed files with 151 additions and 65 deletions
@@ -950,7 +950,8 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
onTaskbarInAppDisplayProgressUpdate(progress, WIDGETS_PAGE_PROGRESS_INDEX);
if (mEnableWidgetDepth) {
getDepthController().widgetDepth.setValue(Utilities.mapToRange(
progress, 0f, 1f, 0f, getDeviceProfile().bottomSheetDepth, EMPHASIZED));
progress, 0f, 1f, 0f,
getDeviceProfile().getBottomSheetProfile().getBottomSheetDepth(), EMPHASIZED));
}
}