Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9e3ed4f7 authored by Chandru S's avatar Chandru S
Browse files

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
parent b22ed81f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment