[SQUASH] Bring back Udfps icons and animations [1/3]

[SuperDroidBond: adapt UdfpsAnimation & UdfpsController for A13 usecase of FOD Customizations]

commit 663b6a32680ef059a099f70366ba4ad09e6a62ac
Author: SagarMakhar <sagarmakhar@gmail.com>
Date:   Fri Jul 23 14:03:51 2021 +0000

    SystemUI: Add Xtended fod icon [1/2]

    Change-Id: I17639d02f5acc84417091743019c76c8ce018c9b
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit da16161c9c2490b765939adb7cccfbe73c2cd932
Author: Pranav Vashi <neobuddy89@gmail.com>
Date:   Mon Jun 28 16:56:30 2021 +0900

    FODCircleView/FODAnimation: Clean ups and improvements

    * Unify various settings under TunerService API.
    * Observe both FOD_ANIM and FOD_RECOGNIZING_ANIMATION in FODCircleView only.
    * Remove redundant UpdateStyle() calls.
    * Allow mFODAnimation calls if FOD animation enabled.
    * Fix onScreenTurnedOn() -> Call showCircle only mPressPending/FOD Gesture enabled.

    Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
    Change-Id: Ic3367d0f2be7a0229a6466fc3dcf18e4879d5c19
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 47d60d786fb2b6b42f81ff1f1441f4af1f520419
Author: jhonboy121 <alfredmathew05@gmail.com>
Date:   Mon Apr 5 19:40:17 2021 +0000

    FODCircleView: refactor where show and hide animation calls are done

    relocated them to showCircle and hideCircle methods, fixes persistent animation after unlocking with long press of finger

    Change-Id: I8ed2ae0e040113c8b6d9c8e23982da316198f5dc
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit e4d78719c8536c4e55c3fb10ca3b968aff6bb51b
Author: jhonboy121 <alfredmathew05@gmail.com>
Date:   Mon Apr 5 13:59:12 2021 +0000

    SystemUI: instantiate FODAnimation early

    * avoids many NPE's
    * pass WindowManager instance to the constructor of FODAnimation class
    * also added a null check before starting animation
    * cleaned up code a little bit

    Change-Id: I940616e946c4f5ae8fe23bf169c776915b1b66e3
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit c195285d834dee1ac348c34c87e3ed5e1cae7381
Author: daniml3 <danimoral1001@gmail.com>
Date:   Tue Nov 24 22:11:20 2020 +0100

    FODCircleView: changes to FOD circle and animation visibility

    FOD Animation:
    * Hide the FOD animation along with the circle, this should avoid that the animation keeps visible and frozen after unlocking with FOD animations enabled.
    * Show the FOD animation along with the circle, so it is also shown with the screen off FOD.

    FOD Circle:
    * Show the circle even if the fade is in progress, so FOD works with screen off in one tap.

    Signed-off-by: daniml3 <danimoral1001@gmail.com>
    Change-Id: Iae0a0fc37628a1eed8209d818cb30a1de1f58f30
    Signed-off-by: DennySPb <dennyspb@gmail.com>
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 219f7d6565a9ce8023f2ffdd8b350e924565c4e0
Author: DennySPb <dennyspb@gmail.com>
Date:   Tue Dec 1 14:43:55 2020 +0300

    Disable FOD animation if animation resource package not installed

    also move package name to resource config
    "config_fodAnimationPackage" could be overlayed

    Change-Id: I8cd074d484cc34b7220243bb7f7e5ed2727205ff
    Signed-off-by: DennySPb <dennyspb@gmail.com>
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 72e18a7d8ff937264e410c76f0cc338e2254df79
Author: DennySPb <dennyspb@gmail.com>
Date:   Mon Nov 30 15:23:16 2020 +0300

    Move FOD Animation resources to standalone package [1/2]

    Change-Id: Ifa82df10ed9a27d18721560e41dca7f1ea3cf3e0
    Signed-off-by: DennySPb <dennyspb@gmail.com>
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 71c04df40b7f0a8017ecdaaf58c8ab89dc3d4600
Author: kondors1995 <normandija1945@gmail.com>
Date:   Fri Nov 27 16:19:12 2020 +0000

    Squashed: SystemUI: FOD icon picker

    Squashed commit of the following:

    commit 6661dcfaa194bd31c0627cdb917ec714d039850f
    Author: kondors1995 <normandija1945@gmail.com>
    Date:   Fri Nov 27 12:48:29 2020 +0000

        FOD: convert fod icons to webp

        Change-Id: I791863a995f9d9bd178f9fb3445458a6212883db

    commit 88565cd49d1a6bae723dc3aaaa766ba592ee559e
    Author: kondors1995 <normandija1945@gmail.com>
    Date:   Fri Nov 27 12:31:19 2020 +0000

        SystemUI: FOD icon picker

        Change-Id: I6ea35710bfb083dbf2f0f9551ab9bcb15ca4dce2

    commit 40e3e43dad0aad2ca89c74a147fbfa9c992e1768
    Author: AnierinB <anierinb@evolution-x.org>
    Date:   Mon Feb 17 23:10:17 2020 +0000

        SystemUI: Add fire_ice_ouroboros style FOD icon [1/2]

        Signed-off-by: AnierinB <anierinb@evolution-x.org>
        Change-Id: Idc1f17ead23cc9fd3d4b0135df8e1c20897c9c3c

    commit c81549d485a602bc48cd7524dec3bd09f27d18ac
    Author: AnierinB <anierinb@evolution-x.org>
    Date:   Sun Feb 9 01:31:39 2020 +0000

        SystemUI: Add scratch style FOD icons [1/2]

        Co-authored-by: deadlyghost088 <raag.naidu@gmail.com>
        Signed-off-by: AnierinB <anierinb@evolution-x.org>
        Change-Id: I029f3e0e73dc6d3203f456f331bfc01d0e9c301d

    commit a2f9903e095be735e8bd219095899c72b81eb868
    Author: 00day0 <therandomuser11@gmail.com>
    Date:   Mon Dec 16 21:31:27 2019 +0100

        SystemUI: FOD icon picker [1/2]

        Co-authored-by: Stallix <thestallix@gmail.com>
        Change-Id: I588229074ad07452cfca10dc572f5f919df6a448

    Change-Id: Ibfc3d72091c83b817eddf8fda750c09deb195783
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 0e628c32ce901903b46b08b88d9978772087b709
Author: daniml3 <danimoral1001@gmail.com>
Date:   Sat Nov 14 14:59:16 2020 +0100

    Refactor how FOD Animation is hidden

    On some devices, FOD does not work on AOD if FOD Animations are disabled.
    This commit makes the FOD Animation to be shown always, but when the animations are disabled, the animation's opacity will be set to 0, which will make them invisible and FOD will be still working on AOD.

    test: disable FOD animations, verify that they are invisible and that FOD still works, enable FOD animations, verify they are shown and FOD still works.

    Signed-off-by: daniml3 <danimoral1001@gmail.com>
    Change-Id: Idc7351d540684e4dd8d425738ee73b63a755d476
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 31166a3f2c6a3309790a02a46a96643971db7239
Author: Joey <joey@evolution-x.org>
Date:   Thu Nov 26 15:05:27 2020 +0800

    SystemUI: Add OP8T Cyberpunk 2077 FOD animation [1/2]

    Original source unkown So no idea who was OG comiter

    Change-Id: I72b55d82d02289a271bedfacc2bed7da0074f276
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 4c5f48166621000b80b94c98d7a0ff12e6377c00
Author: Joey Huab <joey@evolution-x.org>
Date:   Mon Nov 2 23:01:22 2020 +0900

    [SQUASH] SystemUI: Add remaining FOD animations

    Includes:

    * Add ASUS ROG FOD animations
    * Add MIUI Aurora FOD animation
    * Add Mi 10 Ultra FOD animations
    * Add OP Energy FOD animation from OnePlus 8 Pro
    * Add OP Ripple animations
    * FOD Animations: convert to webp icons
    * Update OOS FOD animations

    Co-authored-by: Raaj52 <mail2raaj52@gmail.com>
    Co-authored-by: Alexandru Scurtu <sasha.scurtu@gmail.com>
    Co-authored-by: Anushek <anushekprasal@gmail.com>
    Change-Id: I633511731d825beb269f3baee69e5f5676b9869f
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 2434341fe357e75cfb64396f6f14c3d45019d217
Author: jhenrique09 <jhenrique09.mcz@hotmail.com>
Date:   Tue Mar 24 09:26:50 2020 -0300

    FODAnimation: Check if view is null before adding a new one

    Change-Id: I4e49ad15922d821af36ef08c405ba2cf1c202ac1
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 5c73797244da0eaf4042c92cc874e631dca04bac
Author: jhenrique09 <jhenrique09@users.noreply.github.com>
Date:   Tue Nov 3 08:32:54 2020 +0000

    FODCircleView: Hide animation when auth fails

    Change-Id: I9c5cabdcdcbd27e13cdebc2254bca8ac3ccbf078
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 4b53f237557346af872a3bfc9a7cd5b83d921272
Author: Hikari-no-Tenshi <Hikari-no-Tenshi@users.noreply.github.com>
Date:   Tue Nov 3 08:30:53 2020 +0000

    FODAnimation: Allow to set vertical position offset

    For some reason on OnePlus 7 FOD animation not perfectly aligned with FOD circle.
    This commit allows to set offset for vertical position of FOD animation.

    Change-Id: I88d21447df3ac6cec7ab9256960e030d5e716d84
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit da9a6c4ac4fa8a1afc0d33cafcf42701e7b1b801
Author: TheScarastic <warabhishek@gmail.com>
Date:   Sat Feb 22 17:45:28 2020 +0000

    SystemUI: Separate FODAnimation into it's own class

    Co-authored-by: Stallix <joey@evolution-x.org>
    Change-Id: I050142dbdb54156d78f39e9add3b64edebca21ad
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 2a6707db73d47ccc4ce9cbdaf1407e46dd7b891d
Author: nullxception <nullxception@users.noreply.github.com>
Date:   Tue Nov 3 08:27:04 2020 +0000

    FODCircleView: cleanup FOD animation implementation

    * move list of animations into "actual" list
    * remove unnecessary style getter and setter

    Signed-off-by: Nauval Rizky <enuma.alrizky@gmail.com>
    Change-Id: Ia814569c39e02a9ad459aa597ea3597e83ae5f37
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit c642a0746984f11ddd4c54429dd657fceca5a3d0
Author: Joey Huab <joey@evolution-x.org>
Date:   Sat Feb 8 15:40:28 2020 +0000

    SystemUI: Recognizing FP animation effects [1/2]

    * Add the rest of the icons from MIUI
    * Includes the following animations:
    - DNA
    - Future
    - Halo Ring
    - Molecular
    - Cosmos
    - McLaren
    - Stripe
    - Wave

        FODCircleView: don't require systemui restart to toggle recognizing animations

    Co-authored-by: 00day0 <therandomuser11@gmail.com>
    Change-Id: I86cbb0b2c4f48d76bcfb0d876d3399ea68e97eb9
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit c88900206ac9ffa2fc48eb88634ba365750a5c10
Author: 00day0 <00day0@users.noreply.github.com>
Date:   Tue Nov 3 08:11:27 2020 +0000

    FODCircleView: Recognizing fingerprint animation [1/2]

    Change-Id: I86a49d2d8f7607d0f81b84e7e751930309ec4a1f
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

Change-Id: I0f0fcde998ad3d80f22f76f7136f141331ca6c7c
Co-authored-by: SagarMakhar <sagarmakhar@gmail.com>
Co-authored-by: SuperDroidBond <superdroidbond@yahoo.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com>
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
9 files changed