Home | History | Annotate | Download | only in drawable
      1 <!--
      2   ~ Copyright (C) 2019 The Android Open Source Project
      3   ~
      4   ~ Licensed under the Apache License, Version 2.0 (the "License");
      5   ~ you may not use this file except in compliance with the License.
      6   ~ You may obtain a copy of the License at
      7   ~
      8   ~      http://www.apache.org/licenses/LICENSE-2.0
      9   ~
     10   ~ Unless required by applicable law or agreed to in writing, software
     11   ~ distributed under the License is distributed on an "AS IS" BASIS,
     12   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13   ~ See the License for the specific language governing permissions and
     14   ~ limitations under the License
     15   -->
     16 
     17 <animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
     18     xmlns:aapt="http://schemas.android.com/aapt">
     19     <aapt:attr name="android:drawable">
     20         <vector
     21             android:width="60dp"
     22             android:height="60dp"
     23             android:viewportWidth="60"
     24             android:viewportHeight="60">
     25             <group android:name="_R_G">
     26                 <group
     27                     android:name="_R_G_L_0_G"
     28                     android:pivotX="30"
     29                     android:pivotY="30"
     30                     android:scaleX="1.03"
     31                     android:scaleY="1.03">
     32                     <path
     33                         android:name="_R_G_L_0_G_D_0_P_0"
     34                         android:pathData=" M30 6.2 C16.9,6.2 6.3,16.8 6.3,30 C6.3,43.2 16.9,53.8 30,53.8 C43.1,53.8 53.8,43.2 53.8,30 C53.8,16.8 43.1,6.2 30,6.2c "
     35                         android:strokeWidth="2.5"
     36                         android:strokeAlpha="1.0"
     37                         android:strokeColor="@color/biometric_dialog_gray"
     38                         android:trimPathStart="0"
     39                         android:trimPathEnd="1"
     40                         android:trimPathOffset="0" />
     41                     <path
     42                         android:name="_R_G_L_0_G_D_1_P_0"
     43                         android:pathData=" M33.75 42.75 C32.75,43.77 31.37,44.39 29.83,44.39 C26.8,44.39 24.34,41.93 24.34,38.9 "
     44                         android:strokeWidth="2"
     45                         android:strokeAlpha="1.0"
     46                         android:strokeColor="@color/biometric_dialog_gray"
     47                         android:trimPathStart="0"
     48                         android:trimPathEnd="1"
     49                         android:trimPathOffset="0" />
     50                     <path
     51                         android:name="_R_G_L_0_G_D_2_P_0"
     52                         android:fillAlpha="1.0"
     53                         android:fillColor="@color/biometric_dialog_gray"
     54                         android:fillType="nonZero"
     55                         android:pathData=" M39 23.8 C39,25 39.9,25.9 41.1,25.9 C42.2,25.9 43.2,25 43.2,23.8 C43.2,22.6 42.3,21.7 41.1,21.7 C39.9,21.7 39,22.6 39,23.8c " />
     56                     <path
     57                         android:name="_R_G_L_0_G_D_3_P_0"
     58                         android:fillAlpha="1.0"
     59                         android:fillColor="@color/biometric_dialog_gray"
     60                         android:fillType="nonZero"
     61                         android:pathData=" M16.5 23.8 C16.5,25 17.4,25.9 18.6,25.9 C19.8,25.9 20.7,25 20.7,23.8 C20.7,22.6 19.8,21.7 18.6,21.7 C17.4,21.7 16.5,22.6 16.5,23.8c " />
     62                     <path
     63                         android:name="_R_G_L_0_G_D_4_P_0"
     64                         android:fillAlpha="1.0"
     65                         android:fillColor="@color/biometric_dialog_gray"
     66                         android:fillType="nonZero"
     67                         android:pathData=" M33.33 34.95 C33.33,34.95 28.13,34.95 28.13,34.95 C28.13,34.95 28.13,32.95 28.13,32.95 C28.13,32.95 31.33,32.95 31.33,32.95 C31.33,32.95 31.33,28.45 31.33,28.45 C31.33,28.45 33.33,28.45 33.33,28.45 C33.33,28.45 33.33,34.95 33.33,34.95c " />
     68                 </group>
     69             </group>
     70             <group android:name="time_group" />
     71         </vector>
     72     </aapt:attr>
     73     <target android:name="_R_G_L_0_G_D_0_P_0">
     74         <aapt:attr name="android:animation">
     75             <set android:ordering="together">
     76                 <objectAnimator
     77                     android:duration="500"
     78                     android:propertyName="strokeAlpha"
     79                     android:startOffset="0"
     80                     android:valueFrom="1.0"
     81                     android:valueTo="1.0"
     82                     android:valueType="floatType">
     83                     <aapt:attr name="android:interpolator">
     84                         <pathInterpolator android:pathData="M 0.0,0.0 c0.118,1.266 0.419,1 1.0,1.0" />
     85                     </aapt:attr>
     86                 </objectAnimator>
     87                 <objectAnimator
     88                     android:duration="500"
     89                     android:propertyName="strokeAlpha"
     90                     android:startOffset="500"
     91                     android:valueFrom="1.0"
     92                     android:valueTo="1.0"
     93                     android:valueType="floatType">
     94                     <aapt:attr name="android:interpolator">
     95                         <pathInterpolator android:pathData="M 0.0,0.0 c0.4,0 0.2,1 1.0,1.0" />
     96                     </aapt:attr>
     97                 </objectAnimator>
     98             </set>
     99         </aapt:attr>
    100     </target>
    101     <target android:name="_R_G_L_0_G_D_1_P_0">
    102         <aapt:attr name="android:animation">
    103             <set android:ordering="together">
    104                 <objectAnimator
    105                     android:duration="500"
    106                     android:propertyName="strokeAlpha"
    107                     android:startOffset="0"
    108                     android:valueFrom="1.0"
    109                     android:valueTo="1.0"
    110                     android:valueType="floatType">
    111                     <aapt:attr name="android:interpolator">
    112                         <pathInterpolator android:pathData="M 0.0,0.0 c0.118,1.266 0.419,1 1.0,1.0" />
    113                     </aapt:attr>
    114                 </objectAnimator>
    115                 <objectAnimator
    116                     android:duration="500"
    117                     android:propertyName="strokeAlpha"
    118                     android:startOffset="500"
    119                     android:valueFrom="1.0"
    120                     android:valueTo="1.0"
    121                     android:valueType="floatType">
    122                     <aapt:attr name="android:interpolator">
    123                         <pathInterpolator android:pathData="M 0.0,0.0 c0.4,0 0.2,1 1.0,1.0" />
    124                     </aapt:attr>
    125                 </objectAnimator>
    126             </set>
    127         </aapt:attr>
    128     </target>
    129     <target android:name="_R_G_L_0_G_D_2_P_0">
    130         <aapt:attr name="android:animation">
    131             <set android:ordering="together">
    132                 <objectAnimator
    133                     android:duration="500"
    134                     android:propertyName="fillAlpha"
    135                     android:startOffset="0"
    136                     android:valueFrom="1.0"
    137                     android:valueTo="1.0"
    138                     android:valueType="floatType">
    139                     <aapt:attr name="android:interpolator">
    140                         <pathInterpolator android:pathData="M 0.0,0.0 c0.118,1.266 0.419,1 1.0,1.0" />
    141                     </aapt:attr>
    142                 </objectAnimator>
    143                 <objectAnimator
    144                     android:duration="500"
    145                     android:propertyName="fillAlpha"
    146                     android:startOffset="500"
    147                     android:valueFrom="1.0"
    148                     android:valueTo="1.0"
    149                     android:valueType="floatType">
    150                     <aapt:attr name="android:interpolator">
    151                         <pathInterpolator android:pathData="M 0.0,0.0 c0.4,0 0.2,1 1.0,1.0" />
    152                     </aapt:attr>
    153                 </objectAnimator>
    154             </set>
    155         </aapt:attr>
    156     </target>
    157     <target android:name="_R_G_L_0_G_D_3_P_0">
    158         <aapt:attr name="android:animation">
    159             <set android:ordering="together">
    160                 <objectAnimator
    161                     android:duration="500"
    162                     android:propertyName="fillAlpha"
    163                     android:startOffset="0"
    164                     android:valueFrom="1.0"
    165                     android:valueTo="1.0"
    166                     android:valueType="floatType">
    167                     <aapt:attr name="android:interpolator">
    168                         <pathInterpolator android:pathData="M 0.0,0.0 c0.118,1.266 0.419,1 1.0,1.0" />
    169                     </aapt:attr>
    170                 </objectAnimator>
    171                 <objectAnimator
    172                     android:duration="500"
    173                     android:propertyName="fillAlpha"
    174                     android:startOffset="500"
    175                     android:valueFrom="1.0"
    176                     android:valueTo="1.0"
    177                     android:valueType="floatType">
    178                     <aapt:attr name="android:interpolator">
    179                         <pathInterpolator android:pathData="M 0.0,0.0 c0.4,0 0.2,1 1.0,1.0" />
    180                     </aapt:attr>
    181                 </objectAnimator>
    182             </set>
    183         </aapt:attr>
    184     </target>
    185     <target android:name="_R_G_L_0_G_D_4_P_0">
    186         <aapt:attr name="android:animation">
    187             <set android:ordering="together">
    188                 <objectAnimator
    189                     android:duration="500"
    190                     android:propertyName="fillAlpha"
    191                     android:startOffset="0"
    192                     android:valueFrom="1.0"
    193                     android:valueTo="1.0"
    194                     android:valueType="floatType">
    195                     <aapt:attr name="android:interpolator">
    196                         <pathInterpolator android:pathData="M 0.0,0.0 c0.118,1.266 0.419,1 1.0,1.0" />
    197                     </aapt:attr>
    198                 </objectAnimator>
    199                 <objectAnimator
    200                     android:duration="500"
    201                     android:propertyName="fillAlpha"
    202                     android:startOffset="500"
    203                     android:valueFrom="1.0"
    204                     android:valueTo="1.0"
    205                     android:valueType="floatType">
    206                     <aapt:attr name="android:interpolator">
    207                         <pathInterpolator android:pathData="M 0.0,0.0 c0.4,0 0.2,1 1.0,1.0" />
    208                     </aapt:attr>
    209                 </objectAnimator>
    210             </set>
    211         </aapt:attr>
    212     </target>
    213     <target android:name="_R_G_L_0_G">
    214         <aapt:attr name="android:animation">
    215             <set android:ordering="together">
    216                 <objectAnimator
    217                     android:duration="500"
    218                     android:propertyName="scaleX"
    219                     android:startOffset="0"
    220                     android:valueFrom="1.03"
    221                     android:valueTo="1"
    222                     android:valueType="floatType">
    223                     <aapt:attr name="android:interpolator">
    224                         <pathInterpolator android:pathData="M 0.0,0.0 c0.333,0 0.667,1 1.0,1.0" />
    225                     </aapt:attr>
    226                 </objectAnimator>
    227                 <objectAnimator
    228                     android:duration="500"
    229                     android:propertyName="scaleY"
    230                     android:startOffset="0"
    231                     android:valueFrom="1.03"
    232                     android:valueTo="1"
    233                     android:valueType="floatType">
    234                     <aapt:attr name="android:interpolator">
    235                         <pathInterpolator android:pathData="M 0.0,0.0 c0.333,0 0.667,1 1.0,1.0" />
    236                     </aapt:attr>
    237                 </objectAnimator>
    238                 <objectAnimator
    239                     android:duration="500"
    240                     android:propertyName="scaleX"
    241                     android:startOffset="500"
    242                     android:valueFrom="1"
    243                     android:valueTo="1.03"
    244                     android:valueType="floatType">
    245                     <aapt:attr name="android:interpolator">
    246                         <pathInterpolator android:pathData="M 0.0,0.0 c0.204,0.46 0.568,1 1.0,1.0" />
    247                     </aapt:attr>
    248                 </objectAnimator>
    249                 <objectAnimator
    250                     android:duration="500"
    251                     android:propertyName="scaleY"
    252                     android:startOffset="500"
    253                     android:valueFrom="1"
    254                     android:valueTo="1.03"
    255                     android:valueType="floatType">
    256                     <aapt:attr name="android:interpolator">
    257                         <pathInterpolator android:pathData="M 0.0,0.0 c0.204,0.46 0.568,1 1.0,1.0" />
    258                     </aapt:attr>
    259                 </objectAnimator>
    260             </set>
    261         </aapt:attr>
    262     </target>
    263     <target android:name="time_group">
    264         <aapt:attr name="android:animation">
    265             <set android:ordering="together">
    266                 <objectAnimator
    267                     android:duration="1017"
    268                     android:propertyName="translateX"
    269                     android:startOffset="0"
    270                     android:valueFrom="0"
    271                     android:valueTo="1"
    272                     android:valueType="floatType" />
    273             </set>
    274         </aapt:attr>
    275     </target>
    276 </animated-vector>