diff options
| author | 2023-10-30 20:00:41 -0700 | |
|---|---|---|
| committer | 2023-11-02 23:24:07 +0000 | |
| commit | 9e3ed4f713d97742508b64c7fb05e05d9b88caa6 (patch) | |
| tree | 8341f49cbc839a74c0d0cab1662b11b21948632f /libs/androidfw/FileStream.cpp | |
| parent | b22ed81fa705f67f4c4ef4f1c136a7c4bf5cf7c4 (diff) | |
UI fixes for the progress bar and handle display density changes
Summary of changes:
- Change the code to use the sensor radius from fingerprintManager for the length of the progress bar
- Use length and thickness to describe the progress bar instead of height and width.
- The progress bar overlay is now fullscreen with the progress bar being a child element with fixed width and height. In previous setup, progress bar either kept getting clipped or the length changes were not getting reflected correctly.
- Update the view leftTop point calculation in the view model to take into account the thickness of the progress bar and the padding from screen edge
- Added a command to make the progress bar testing easier.
Bug: 305271359
Flag: LEGACY REST_TO_UNLOCK DEVELOPMENT
Test: tested with various display sizes in the settings and different orientations to make sure the progress is aligned next to the sensor.
Test: atest SideFpsSensorInteractorTest
Test: pending for the viewModel, will add in a follow-up CL
Change-Id: I1dd485a96c1c878329e9273f0d102ca009a3fdcd
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions