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
Loading
Please register or sign in to comment