diff options
| author | 2024-04-26 18:47:42 -0700 | |
|---|---|---|
| committer | 2024-04-30 05:29:22 +0000 | |
| commit | 2e46c77cdaf0187e75265b4d82b655e0fcd2cb5d (patch) | |
| tree | 9e81c31aa70d911f8eab4dba729783a7c84a9545 /libs/input/PointerController.cpp | |
| parent | 194dab1550900dd9e48b50caaac30507c4f19b24 (diff) | |
Allow devices to calculate their own split ratio instead of using fixed ratio
Previously, the 30-70 and 70-30 ratios were always calculated precisely at 34.15%, defined in docked_stack_divider_fixed_ratio.
This CL adds a boolean flag, config_flexibleSplitRatios, that allows devices to override docked_stack_divider_fixed_ratio. When overridden, the device will possibly use a larger split ratio to ensure that apps are shown with a minimum size.
Fixes: 330388049
Test: Manual
Change-Id: I491e895abab075e0319804fdec21f5e94053e7f3
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions