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

Skip to content
Commit 1d4e84e9 authored by Utkarsh Gupta's avatar Utkarsh Gupta Committed by Roman Birg
Browse files

Rewrite Keyguard Visualizer



* Create a much 'lighter' version of the visualizer
* Eliminate visualizer getting stuck bugs
* Show visualizer in absence of album art

To achieve this:
* Rewrite based on EqualizerView from Eleven
* Cache all the parameters that control displaying of the visualizer
* Depend on PhoneStatusBar for said parameters
* Use color generation logic from Eleven/BitmapWithColors
  This is much lighter on resource and
  better matches with notification color & album art.
* Instead of telling the visualizer the effect (i.e. requestVisualizer),
  we tell it the cause (i.e. setVisualizer(Animating/Touching))

Change-Id: I381b0168e824da3871d09afbd8b8ad33b8c97eb6
Signed-off-by: default avatarUtkarsh Gupta <utkarsh.eminem@gmail.com>
parent 0686de94
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