1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2017 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17
18<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:aapt="http://schemas.android.com/aapt"
20    android:drawable="@drawable/vd_hd_attempting">
21  <target android:name="progressBar">
22    <aapt:attr name="android:animation">
23      <set>
24        <objectAnimator
25            android:duration="1333"
26            android:interpolator="@anim/trim_start_interpolator"
27            android:propertyName="trimPathStart"
28            android:repeatCount="-1"
29            android:valueFrom="0"
30            android:valueTo="0.75"
31            android:valueType="floatType"/>
32        <objectAnimator
33            android:duration="1333"
34            android:interpolator="@anim/trim_end_interpolator"
35            android:propertyName="trimPathEnd"
36            android:repeatCount="-1"
37            android:valueFrom="0"
38            android:valueTo="0.75"
39            android:valueType="floatType"/>
40        <objectAnimator
41            android:duration="1333"
42            android:interpolator="@android:anim/linear_interpolator"
43            android:propertyName="trimPathOffset"
44            android:repeatCount="-1"
45            android:valueFrom="0"
46            android:valueTo="0.25"
47            android:valueType="floatType"/>
48      </set>
49    </aapt:attr>
50  </target>
51
52  <target android:name="progressRoot">
53    <aapt:attr name="android:animation">
54      <objectAnimator
55          android:duration="4444"
56          android:interpolator="@android:anim/linear_interpolator"
57          android:propertyName="rotation"
58          android:repeatCount="-1"
59          android:valueFrom="0"
60          android:valueTo="720"
61          android:valueType="floatType"/>
62    </aapt:attr>
63  </target>
64
65  <target android:name="hdRoot">
66    <aapt:attr name="android:animation">
67      <set>
68        <objectAnimator
69            android:duration="150"
70            android:interpolator="@android:interpolator/linear_out_slow_in"
71            android:propertyName="scaleX"
72            android:valueFrom="0"
73            android:valueTo="1"/>
74        <objectAnimator
75            android:duration="150"
76            android:interpolator="@android:interpolator/linear_out_slow_in"
77            android:propertyName="scaleY"
78            android:valueFrom="0"
79            android:valueTo="1"/>
80      </set>
81    </aapt:attr>
82  </target>
83
84  <target android:name="root">
85    <aapt:attr name="android:animation">
86      <objectAnimator
87          android:duration="150"
88          android:interpolator="@android:interpolator/linear"
89          android:propertyName="alpha"
90          android:valueFrom="0"
91          android:valueTo="0.5"/>
92    </aapt:attr>
93  </target>
94
95</animated-vector>