Home | History | Annotate | Download | only in anim
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /**
      4  * Copyright (C) 2018 The Android Open Source Project
      5  *
      6  * Licensed under the Apache License, Version 2.0 (the "License");
      7  * you may not use this file except in compliance with the License.
      8  * You may obtain a copy of the License at
      9  *
     10  *     http://www.apache.org/licenses/LICENSE-2.0
     11  *
     12  * Unless required by applicable law or agreed to in writing, software
     13  * distributed under the License is distributed on an "AS IS" BASIS,
     14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15  * See the License for the specific language governing permissions and
     16  * limitations under the License.
     17  */
     18 -->
     19 <set
     20     xmlns:android="http://schemas.android.com/apk/res/android" >
     21     <set
     22         android:ordering="sequentially" >
     23         <objectAnimator
     24             android:duration="1000"
     25             android:propertyName="translateX"
     26             android:valueFrom="415.0"
     27             android:valueTo="415.0"
     28             android:valueType="floatType"
     29             android:interpolator="@interpolator/topinfo_animation_interpolator_0" />
     30         <objectAnimator
     31             android:duration="1000"
     32             android:propertyName="translateX"
     33             android:valueFrom="415.0"
     34             android:valueTo="206.0"
     35             android:valueType="floatType"
     36             android:interpolator="@android:interpolator/fast_out_slow_in" />
     37         <objectAnimator
     38             android:duration="1000"
     39             android:propertyName="translateX"
     40             android:valueFrom="206.0"
     41             android:valueTo="206.0"
     42             android:valueType="floatType"
     43             android:interpolator="@interpolator/topinfo_animation_interpolator_1" />
     44         <objectAnimator
     45             android:duration="1000"
     46             android:propertyName="translateX"
     47             android:valueFrom="206.0"
     48             android:valueTo="-3.0"
     49             android:valueType="floatType"
     50             android:interpolator="@android:interpolator/fast_out_slow_in" />
     51         <objectAnimator
     52             android:duration="433"
     53             android:propertyName="translateX"
     54             android:valueFrom="-3.0"
     55             android:valueTo="-3.0"
     56             android:valueType="floatType"
     57             android:interpolator="@interpolator/topinfo_animation_interpolator_2" />
     58         <objectAnimator
     59             android:duration="33"
     60             android:propertyName="translateX"
     61             android:valueFrom="-3.0"
     62             android:valueTo="415.0"
     63             android:valueType="floatType"
     64             android:interpolator="@android:interpolator/linear" />
     65         <objectAnimator
     66             android:duration="533"
     67             android:propertyName="translateX"
     68             android:valueFrom="415.0"
     69             android:valueTo="415.0"
     70             android:valueType="floatType"
     71             android:interpolator="@interpolator/topinfo_animation_interpolator_0" />
     72         <objectAnimator
     73             android:duration="1000"
     74             android:propertyName="translateX"
     75             android:valueFrom="415.0"
     76             android:valueTo="-3.0"
     77             android:valueType="floatType"
     78             android:interpolator="@android:interpolator/fast_out_slow_in" />
     79     </set>
     80 </set>
     81