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

Commit 3aa9c221 authored by Winson Chung's avatar Winson Chung
Browse files

Adding task switching animation xmls for further tweaking. (Bug 16656169)

Change-Id: I472116cb3d86a3f90a935b2a3ac058ffc2ac1b5d
parent 7937fdb3
Loading
Loading
Loading
Loading
+59 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 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:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="normal">

    <alpha android:fromAlpha="1.0" android:toAlpha="0.6"
        android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
        android:interpolator="@android:interpolator/accelerate_cubic"
        android:duration="133"/>

    <translate android:fromYDelta="0" android:toYDelta="10%"
        android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
        android:interpolator="@android:interpolator/accelerate_cubic"
        android:duration="350"/>

    <scale android:fromXScale="1.0" android:toXScale="0.9"
        android:fromYScale="1.0" android:toYScale="0.9"
        android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
        android:pivotX="50%p" android:pivotY="50%p"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:duration="350" />

    <alpha android:fromAlpha="1.0" android:toAlpha="1.6666666666"
        android:fillEnabled="true" android:fillBefore="false" android:fillAfter="true"
        android:interpolator="@android:interpolator/decelerate_cubic"
        android:startOffset="350"
        android:duration="133"/>

    <translate android:fromYDelta="0%" android:toYDelta="-8.8888888888%"
        android:fillEnabled="true" android:fillBefore="false" android:fillAfter="true"
        android:interpolator="@android:interpolator/decelerate_cubic"
        android:startOffset="350"
        android:duration="350"/>

    <scale android:fromXScale="1.0" android:toXScale="1.1111111111"
        android:fromYScale="1.0" android:toYScale="1.1111111111"
        android:fillEnabled="true" android:fillBefore="false" android:fillAfter="true"
        android:pivotX="50%p" android:pivotY="50%p"
        android:interpolator="@android:interpolator/decelerate_cubic"
        android:startOffset="350"
        android:duration="350" />
</set>
 No newline at end of file
+34 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 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:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="normal">

    <alpha android:fromAlpha="1.0" android:toAlpha="0.6"
        android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
        android:interpolator="@android:interpolator/accelerate_cubic"
        android:duration="150"/>

    <scale android:fromXScale="1.0" android:toXScale="0.9"
        android:fromYScale="1.0" android:toYScale="0.9"
        android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
        android:pivotX="50%p" android:pivotY="50%p"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:duration="300" />
</set>
 No newline at end of file
+28 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 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:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="top">

    <translate android:fromYDelta="110%" android:toYDelta="0%"
               android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
               android:interpolator="@android:interpolator/decelerate_quint"
               android:startOffset="50"
               android:duration="250" />
</set>
 No newline at end of file
+33 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 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:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="top">

    <translate android:fromYDelta="0%" android:toYDelta="10%"
               android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
               android:interpolator="@android:interpolator/decelerate_quint"
               android:duration="300" />

    <translate android:fromYDelta="10%" android:toYDelta="0%"
               android:fillEnabled="true" android:fillBefore="false" android:fillAfter="true"
               android:interpolator="@android:interpolator/accelerate_quint"
               android:startOffset="300"
               android:duration="300" />
</set>
 No newline at end of file
+27 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 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:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="top">

    <translate android:fromYDelta="0%" android:toYDelta="110%"
               android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
               android:interpolator="@android:interpolator/accelerate_quint"
               android:duration="300" />
</set>
 No newline at end of file
Loading