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

Commit c3841985 authored by Selim Cinek's avatar Selim Cinek
Browse files

Added animation for trusted to fingerprint error

Bug: 21781452
Change-Id: Ib3b229c9ebece926a68a0c6a69341d0f68166698
parent 69ff8afc
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project

   Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<set
    xmlns:android="http://schemas.android.com/apk/res/android" >
    <objectAnimator
        android:duration="600"
        android:propertyName="strokeColor"
        android:valueFrom="#FFF3511E"
        android:valueTo="#FFFFFFFF"
        android:interpolator="@android:interpolator/fast_out_slow_in" />
    <objectAnimator
        android:duration="600"
        android:propertyName="strokeAlpha"
        android:valueFrom="1.0"
        android:valueTo="0.5"
        android:valueType="floatType"
        android:interpolator="@android:interpolator/fast_out_slow_in" />
    <objectAnimator
        android:duration="383"
        android:propertyName="trimPathStart"
        android:valueFrom="0.5001"
        android:valueTo="0.0"
        android:valueType="floatType"
        android:interpolator="@interpolator/error_to_trustedstate_animation_interpolator_3" />
    <objectAnimator
        android:duration="383"
        android:propertyName="trimPathEnd"
        android:valueFrom="1.5"
        android:valueTo="0.0"
        android:valueType="floatType"
        android:interpolator="@interpolator/error_to_trustedstate_animation_interpolator_1" />
</set>
+49 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project

   Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<set
    xmlns:android="http://schemas.android.com/apk/res/android" >
    <set
        android:ordering="sequentially" >
        <objectAnimator
            android:duration="316"
            android:propertyName="pathData"
            android:valueFrom="M 0.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z"
            android:valueTo="M 0.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z"
            android:valueType="pathType"
            android:interpolator="@android:interpolator/linear" />
        <objectAnimator
            android:duration="233"
            android:propertyName="pathData"
            android:valueFrom="M 0.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z"
            android:valueTo="M 0.0,-1.988645 c 1.09829830627,0.0 1.988645,0.890346693734 1.988645,1.988645 c 0.0,1.09829830627 -0.890346693734,1.988645 -1.988645,1.988645 c -1.09829830627,0.0 -1.988645,-0.890346693734 -1.988645,-1.988645 c 0.0,-1.09829830627 0.890346693734,-1.988645 1.988645,-1.988645 Z"
            android:valueType="pathType"
            android:interpolator="@interpolator/error_to_trustedstate_animation_interpolator_1" />
    </set>
    <objectAnimator
        android:duration="600"
        android:propertyName="fillColor"
        android:valueFrom="#FFF3511E"
        android:valueTo="#FFFFFFFF"
        android:interpolator="@android:interpolator/fast_out_slow_in" />
    <objectAnimator
        android:duration="600"
        android:propertyName="fillAlpha"
        android:valueFrom="1.0"
        android:valueTo="0.5"
        android:valueType="floatType"
        android:interpolator="@android:interpolator/fast_out_slow_in" />
</set>
+59 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project

   Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<set
    xmlns:android="http://schemas.android.com/apk/res/android" >
    <objectAnimator
        android:duration="133"
        android:propertyXName="translateX"
        android:propertyYName="translateY"
        android:pathData="M -0.00391,5.333 c 0.00065,-0.22217 0.00326,-1.11083 0.00391,-1.333"
        android:interpolator="@interpolator/error_to_trustedstate_animation_interpolator_0" />
    <set
        android:ordering="sequentially" >
        <objectAnimator
            android:duration="83"
            android:propertyName="scaleX"
            android:valueFrom="1.0"
            android:valueTo="1.0"
            android:valueType="floatType"
            android:interpolator="@android:interpolator/linear" />
        <objectAnimator
            android:duration="16"
            android:propertyName="scaleX"
            android:valueFrom="1.0"
            android:valueTo="0.0"
            android:valueType="floatType"
            android:interpolator="@android:interpolator/linear" />
    </set>
    <set
        android:ordering="sequentially" >
        <objectAnimator
            android:duration="83"
            android:propertyName="scaleY"
            android:valueFrom="1.0"
            android:valueTo="1.0"
            android:valueType="floatType"
            android:interpolator="@android:interpolator/linear" />
        <objectAnimator
            android:duration="16"
            android:propertyName="scaleY"
            android:valueFrom="1.0"
            android:valueTo="0.0"
            android:valueType="floatType"
            android:interpolator="@android:interpolator/linear" />
    </set>
</set>
+53 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project

   Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<set
    xmlns:android="http://schemas.android.com/apk/res/android" >
    <set
        android:ordering="sequentially" >
        <objectAnimator
            android:duration="33"
            android:propertyName="scaleX"
            android:valueFrom="1.33333"
            android:valueTo="1.33333"
            android:valueType="floatType"
            android:interpolator="@android:interpolator/linear" />
        <objectAnimator
            android:duration="183"
            android:propertyName="scaleX"
            android:valueFrom="1.33333"
            android:valueTo="1.0"
            android:valueType="floatType"
            android:interpolator="@android:interpolator/fast_out_slow_in" />
    </set>
    <set
        android:ordering="sequentially" >
        <objectAnimator
            android:duration="33"
            android:propertyName="scaleY"
            android:valueFrom="1.33333"
            android:valueTo="1.33333"
            android:valueType="floatType"
            android:interpolator="@android:interpolator/linear" />
        <objectAnimator
            android:duration="183"
            android:propertyName="scaleY"
            android:valueFrom="1.33333"
            android:valueTo="1.0"
            android:valueType="floatType"
            android:interpolator="@android:interpolator/fast_out_slow_in" />
    </set>
</set>
+53 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project

   Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<set
    xmlns:android="http://schemas.android.com/apk/res/android" >
    <set
        android:ordering="sequentially" >
        <objectAnimator
            android:duration="33"
            android:propertyName="scaleX"
            android:valueFrom="1.33333"
            android:valueTo="1.33333"
            android:valueType="floatType"
            android:interpolator="@android:interpolator/linear" />
        <objectAnimator
            android:duration="183"
            android:propertyName="scaleX"
            android:valueFrom="1.33333"
            android:valueTo="1.0"
            android:valueType="floatType"
            android:interpolator="@android:interpolator/fast_out_slow_in" />
    </set>
    <set
        android:ordering="sequentially" >
        <objectAnimator
            android:duration="33"
            android:propertyName="scaleY"
            android:valueFrom="1.33333"
            android:valueTo="1.33333"
            android:valueType="floatType"
            android:interpolator="@android:interpolator/linear" />
        <objectAnimator
            android:duration="183"
            android:propertyName="scaleY"
            android:valueFrom="1.33333"
            android:valueTo="1.0"
            android:valueType="floatType"
            android:interpolator="@android:interpolator/fast_out_slow_in" />
    </set>
</set>
Loading