1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 ** Copyright 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 <!-- This should be kept in sync with task_open_enter.xml --> 20 <set xmlns:android="http://schemas.android.com/apk/res/android" 21 android:shareInterpolator="false" android:zAdjustment="top"> 22 23 <alpha 24 android:fromAlpha="1" 25 android:toAlpha="1.0" 26 android:fillEnabled="true" 27 android:fillBefore="true" 28 android:fillAfter="true" 29 android:interpolator="@interpolator/linear" 30 android:startOffset="67" 31 android:duration="217"/> 32 33 <translate 34 android:fromXDelta="-105%" 35 android:toXDelta="0" 36 android:fillEnabled="true" 37 android:fillBefore="true" 38 android:fillAfter="true" 39 android:interpolator="@interpolator/aggressive_ease" 40 android:startOffset="50" 41 android:duration="383"/> 42 43 <scale 44 android:fromXScale="1.0526" 45 android:toXScale="1" 46 android:fromYScale="1.0526" 47 android:toYScale="1" 48 android:pivotX="50%" 49 android:pivotY="50%" 50 android:fillEnabled="true" 51 android:fillBefore="true" 52 android:fillAfter="true" 53 android:interpolator="@interpolator/fast_out_slow_in" 54 android:duration="283"/> 55 56 <scale 57 android:fromXScale="0.95" 58 android:toXScale="1" 59 android:fromYScale="0.95" 60 android:toYScale="1" 61 android:pivotX="50%" 62 android:pivotY="50%" 63 android:fillEnabled="true" 64 android:fillBefore="true" 65 android:fillAfter="true" 66 android:interpolator="@interpolator/fast_out_slow_in" 67 android:startOffset="283" 68 android:duration="317"/> 69 70 <!-- To keep the thumbnail around longer and fade out the thumbnail --> 71 <alpha android:fromAlpha="1.0" android:toAlpha="0" 72 android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" 73 android:interpolator="@interpolator/decelerate_quint" 74 android:startOffset="717" 75 android:duration="200"/> 76 </set>