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

Commit c61f219a authored by James Lemieux's avatar James Lemieux
Browse files

Shorten clock tab animation

Bug: 25631044

The clock tab animation was noticeably longer than the other
tab animations. Some rotations were removed to shorten its
duration. Also, animated vectors are v22+, so the resource files
were moved into /animator-v22 to fix some lint warnings.

Change-Id: I90b116df2a3cc7a30bdd69b8e478207dd3f016fb
parent bb0e88de
Loading
Loading
Loading
Loading
+74 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2014 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"
     android:ordering="sequentially">
    <objectAnimator
        android:duration="33"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:propertyName="rotation"
        android:valueFrom="0"
        android:valueTo="8"/>
    <objectAnimator
        android:duration="67"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:propertyName="rotation"
        android:valueFrom="8"
        android:valueTo="-8"/>
    <objectAnimator
        android:duration="67"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:propertyName="rotation"
        android:valueFrom="-8"
        android:valueTo="8"/>
    <objectAnimator
        android:duration="67"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:propertyName="rotation"
        android:valueFrom="8"
        android:valueTo="-8"/>
    <objectAnimator
        android:duration="67"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:propertyName="rotation"
        android:valueFrom="-8"
        android:valueTo="8"/>
    <objectAnimator
        android:duration="67"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:propertyName="rotation"
        android:valueFrom="8"
        android:valueTo="-8"/>
    <objectAnimator
        android:duration="67"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:propertyName="rotation"
        android:valueFrom="-8"
        android:valueTo="8"/>
    <objectAnimator
        android:duration="67"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:propertyName="rotation"
        android:valueFrom="8"
        android:valueTo="-8"/>
    <objectAnimator
        android:duration="33"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:propertyName="rotation"
        android:valueFrom="-8"
        android:valueTo="0"/>
</set>
 No newline at end of file
Loading