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

Skip to content
Commit 1c4bb8dc authored by mincheli's avatar mincheli
Browse files

Refactoring that make WindowMagnificationController has WindowMagnificationAnimationController

It reverses the relationship between
WindowMagnificationAnimationController and WindowMagnificationController
to simplify the further changes.
1. WindowMagnificationController has
  WindowMagnificationAnimationController instance.
  WindowMagnificationController is able to know if window
  magnifier is animating or not.
  If it is animating, the setScale() action or moveMagnifier()  will
  be interrupted.
2. ControllerSupplier  supplies  WindowMagnificationController in
  WindowMagnification.class.

Bug: 206734640
Test: atest IWindowMagnificationConnectionTest,
  atest WindowMagnificationAnimationControllerTest,
  atest WindowMagnificationControllerTest,
  atest WindowMagnificationTest,
Change-Id: Ibe3471dc99d1aed506b3fd04d12131321d82a07a
parent 39c38f9b
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