diff options
| author | 2012-05-02 14:51:08 -0700 | |
|---|---|---|
| committer | 2012-05-02 14:51:08 -0700 | |
| commit | 3e1cf5b423c31301fd17605c752d68a883048f77 (patch) | |
| tree | 4856c3ec95bf072f87f96984e3d787079b5e0655 | |
| parent | 46bba66318358a9ddd247035ae65e888c307f567 (diff) | |
| parent | bd127f09669f209773276b995035ca312e927420 (diff) | |
Merge "Updating task and fragment transitions. (Bug 5285022)" into jb-dev
| -rw-r--r-- | core/res/res/anim-land/task_close_enter.xml (renamed from core/res/res/anim/task_close_enter.xml) | 32 | ||||
| -rw-r--r-- | core/res/res/anim-land/task_close_exit.xml (renamed from core/res/res/anim/task_open_exit.xml) | 21 | ||||
| -rw-r--r-- | core/res/res/anim-land/task_open_enter.xml (renamed from core/res/res/anim/task_open_enter.xml) | 25 | ||||
| -rw-r--r-- | core/res/res/anim-land/task_open_exit.xml | 43 | ||||
| -rw-r--r-- | core/res/res/anim-port/task_close_enter.xml | 43 | ||||
| -rw-r--r-- | core/res/res/anim-port/task_close_exit.xml (renamed from core/res/res/anim/task_close_exit.xml) | 27 | ||||
| -rw-r--r-- | core/res/res/anim-port/task_open_enter.xml | 43 | ||||
| -rw-r--r-- | core/res/res/anim-port/task_open_exit.xml | 43 | ||||
| -rw-r--r-- | core/res/res/anim-sw720dp/task_close_enter.xml | 43 | ||||
| -rw-r--r-- | core/res/res/anim-sw720dp/task_close_exit.xml | 43 | ||||
| -rw-r--r-- | core/res/res/anim-sw720dp/task_open_enter.xml | 43 | ||||
| -rw-r--r-- | core/res/res/anim-sw720dp/task_open_exit.xml | 43 | ||||
| -rw-r--r-- | core/res/res/anim/wallpaper_open_exit.xml | 6 |
13 files changed, 411 insertions, 44 deletions
diff --git a/core/res/res/anim/task_close_enter.xml b/core/res/res/anim-land/task_close_enter.xml index dad8c1f05172..805ff6ca9b98 100644 --- a/core/res/res/anim/task_close_enter.xml +++ b/core/res/res/anim-land/task_close_enter.xml @@ -18,22 +18,26 @@ --> <set xmlns:android="http://schemas.android.com/apk/res/android" - android:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="normal"> - <alpha android:fromAlpha="0" android:toAlpha="1" + android:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="top"> + + <alpha android:fromAlpha="0" android:toAlpha="1.0" android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" - android:interpolator="@interpolator/decelerate_cubic" - android:startOffset="600" - android:duration="200"/> - <scale android:fromXScale="0.6" android:toXScale="1.0" - android:fromYScale="0.6" android:toYScale="1.0" - android:pivotX="50%p" android:pivotY="50%p" + android:interpolator="@interpolator/decelerate_quad" + android:startOffset="150" + android:duration="350"/> + + <translate android:fromXDelta="-140%" android:toXDelta="0" android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" android:interpolator="@interpolator/decelerate_cubic" - android:startOffset="350" - android:duration="400" /> - <translate android:fromYDelta="-100%" android:toYDelta="0" - android:interpolator="@interpolator/decelerate_cubic" + android:startOffset="150" + android:duration="350"/> + + <scale android:fromXScale=".6" android:toXScale="1.0" + android:fromYScale=".6" android:toYScale="1.0" + android:pivotX="50%p" android:pivotY="50%p" android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" - android:startOffset="350" - android:duration="400"/> + android:interpolator="@interpolator/decelerate_quad" + android:startOffset="150" + android:duration="350" /> + </set>
\ No newline at end of file diff --git a/core/res/res/anim/task_open_exit.xml b/core/res/res/anim-land/task_close_exit.xml index af1a4a99b114..3e97149942bb 100644 --- a/core/res/res/anim/task_open_exit.xml +++ b/core/res/res/anim-land/task_close_exit.xml @@ -21,20 +21,23 @@ android:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="normal"> <alpha android:fromAlpha="1.0" android:toAlpha="0" android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" - android:interpolator="@interpolator/decelerate_cubic" - android:duration="300"/> + android:interpolator="@interpolator/accelerate_quad" + android:duration="350"/> + + <translate android:fromXDelta="0" android:toXDelta="140%" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:duration="350"/> + <scale android:fromXScale="1.0" android:toXScale="0.6" android:fromYScale="1.0" android:toYScale="0.6" - android:pivotX="50%p" android:pivotY="50%p" android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" - android:interpolator="@interpolator/accelerate_quad" - android:duration="500" /> - <translate android:fromYDelta="0" android:toYDelta="-100%" - android:interpolator="@interpolator/accelerate_quad" - android:duration="500"/> + android:pivotX="50%p" android:pivotY="50%p" + android:interpolator="@interpolator/decelerate_cubic" + android:duration="350" /> <!-- This is needed to keep the animation running while task_open_enter completes --> <alpha android:fromAlpha="1.0" android:toAlpha="1.0" android:interpolator="@interpolator/accelerate_quad" - android:duration="700" /> + android:duration="500" /> </set>
\ No newline at end of file diff --git a/core/res/res/anim/task_open_enter.xml b/core/res/res/anim-land/task_open_enter.xml index 8341806d1f76..fb1c5d64cdbb 100644 --- a/core/res/res/anim/task_open_enter.xml +++ b/core/res/res/anim-land/task_open_enter.xml @@ -19,16 +19,25 @@ <set xmlns:android="http://schemas.android.com/apk/res/android" android:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="top"> - <scale android:fromXScale=".8" android:toXScale="1.0" - android:fromYScale=".8" android:toYScale="1.0" - android:pivotX="50%p" android:pivotY="50%p" + + <alpha android:fromAlpha="0" android:toAlpha="1.0" android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" android:interpolator="@interpolator/decelerate_quad" - android:startOffset="400" - android:duration="300" /> - <alpha android:fromAlpha="0" android:toAlpha="1.0" + android:startOffset="150" + android:duration="350"/> + + <translate android:fromXDelta="140%" android:toXDelta="0" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_cubic" + android:startOffset="150" + android:duration="350"/> + + <scale android:fromXScale=".6" android:toXScale="1.0" + android:fromYScale=".6" android:toYScale="1.0" + android:pivotX="50%p" android:pivotY="50%p" android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" android:interpolator="@interpolator/decelerate_quad" - android:startOffset="400" - android:duration="300"/> + android:startOffset="150" + android:duration="350" /> + </set>
\ No newline at end of file diff --git a/core/res/res/anim-land/task_open_exit.xml b/core/res/res/anim-land/task_open_exit.xml new file mode 100644 index 000000000000..8d15324f1d7e --- /dev/null +++ b/core/res/res/anim-land/task_open_exit.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, 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" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/accelerate_quad" + android:duration="350"/> + + <translate android:fromXDelta="0" android:toXDelta="-140%" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:duration="350"/> + + <scale android:fromXScale="1.0" android:toXScale="0.6" + android:fromYScale="1.0" android:toYScale="0.6" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:pivotX="50%p" android:pivotY="50%p" + android:interpolator="@interpolator/decelerate_cubic" + android:duration="350" /> + + <!-- This is needed to keep the animation running while task_open_enter completes --> + <alpha android:fromAlpha="1.0" android:toAlpha="1.0" + android:interpolator="@interpolator/accelerate_quad" + android:duration="500" /> +</set>
\ No newline at end of file diff --git a/core/res/res/anim-port/task_close_enter.xml b/core/res/res/anim-port/task_close_enter.xml new file mode 100644 index 000000000000..1806eeda3fbd --- /dev/null +++ b/core/res/res/anim-port/task_close_enter.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, 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"> + + <alpha android:fromAlpha="0" android:toAlpha="1.0" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:startOffset="150" + android:duration="350"/> + + <translate android:fromYDelta="-140%" android:toYDelta="0" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_cubic" + android:startOffset="150" + android:duration="350"/> + + <scale android:fromXScale=".6" android:toXScale="1.0" + android:fromYScale=".6" android:toYScale="1.0" + android:pivotX="50%p" android:pivotY="50%p" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:startOffset="150" + android:duration="350" /> + +</set>
\ No newline at end of file diff --git a/core/res/res/anim/task_close_exit.xml b/core/res/res/anim-port/task_close_exit.xml index 485c91d6f95f..958a7a295c22 100644 --- a/core/res/res/anim/task_close_exit.xml +++ b/core/res/res/anim-port/task_close_exit.xml @@ -18,19 +18,26 @@ --> <set xmlns:android="http://schemas.android.com/apk/res/android" - android:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="top"> - <scale android:fromXScale="1.0" android:toXScale=".8" - android:fromYScale="1.0" android:toYScale=".8" - android:pivotX="50%p" android:pivotY="50%p" - android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" - android:interpolator="@interpolator/decelerate_cubic" - android:duration="300" /> + android:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="normal"> <alpha android:fromAlpha="1.0" android:toAlpha="0" android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/accelerate_quad" + android:duration="350"/> + + <translate android:fromYDelta="0" android:toYDelta="140%" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:duration="350"/> + + <scale android:fromXScale="1.0" android:toXScale="0.6" + android:fromYScale="1.0" android:toYScale="0.6" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:pivotX="50%p" android:pivotY="50%p" android:interpolator="@interpolator/decelerate_cubic" - android:duration="300"/> + android:duration="350" /> - <!-- This is needed to keep the animation running while task_close_enter completes --> + <!-- This is needed to keep the animation running while task_open_enter completes --> <alpha android:fromAlpha="1.0" android:toAlpha="1.0" - android:duration="600" /> + android:interpolator="@interpolator/accelerate_quad" + android:duration="500" /> </set>
\ No newline at end of file diff --git a/core/res/res/anim-port/task_open_enter.xml b/core/res/res/anim-port/task_open_enter.xml new file mode 100644 index 000000000000..54a2d9389493 --- /dev/null +++ b/core/res/res/anim-port/task_open_enter.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, 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"> + + <alpha android:fromAlpha="0" android:toAlpha="1.0" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:startOffset="150" + android:duration="350"/> + + <translate android:fromYDelta="140%" android:toYDelta="0" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_cubic" + android:startOffset="150" + android:duration="350"/> + + <scale android:fromXScale=".6" android:toXScale="1.0" + android:fromYScale=".6" android:toYScale="1.0" + android:pivotX="50%p" android:pivotY="50%p" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:startOffset="150" + android:duration="350" /> + +</set>
\ No newline at end of file diff --git a/core/res/res/anim-port/task_open_exit.xml b/core/res/res/anim-port/task_open_exit.xml new file mode 100644 index 000000000000..18e6550b4f96 --- /dev/null +++ b/core/res/res/anim-port/task_open_exit.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, 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" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/accelerate_quad" + android:duration="350"/> + + <translate android:fromYDelta="0" android:toYDelta="-140%" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:duration="350"/> + + <scale android:fromXScale="1.0" android:toXScale="0.6" + android:fromYScale="1.0" android:toYScale="0.6" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:pivotX="50%p" android:pivotY="50%p" + android:interpolator="@interpolator/decelerate_cubic" + android:duration="350" /> + + <!-- This is needed to keep the animation running while task_open_enter completes --> + <alpha android:fromAlpha="1.0" android:toAlpha="1.0" + android:interpolator="@interpolator/accelerate_quad" + android:duration="500" /> +</set>
\ No newline at end of file diff --git a/core/res/res/anim-sw720dp/task_close_enter.xml b/core/res/res/anim-sw720dp/task_close_enter.xml new file mode 100644 index 000000000000..1806eeda3fbd --- /dev/null +++ b/core/res/res/anim-sw720dp/task_close_enter.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, 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"> + + <alpha android:fromAlpha="0" android:toAlpha="1.0" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:startOffset="150" + android:duration="350"/> + + <translate android:fromYDelta="-140%" android:toYDelta="0" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_cubic" + android:startOffset="150" + android:duration="350"/> + + <scale android:fromXScale=".6" android:toXScale="1.0" + android:fromYScale=".6" android:toYScale="1.0" + android:pivotX="50%p" android:pivotY="50%p" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:startOffset="150" + android:duration="350" /> + +</set>
\ No newline at end of file diff --git a/core/res/res/anim-sw720dp/task_close_exit.xml b/core/res/res/anim-sw720dp/task_close_exit.xml new file mode 100644 index 000000000000..958a7a295c22 --- /dev/null +++ b/core/res/res/anim-sw720dp/task_close_exit.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, 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" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/accelerate_quad" + android:duration="350"/> + + <translate android:fromYDelta="0" android:toYDelta="140%" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:duration="350"/> + + <scale android:fromXScale="1.0" android:toXScale="0.6" + android:fromYScale="1.0" android:toYScale="0.6" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:pivotX="50%p" android:pivotY="50%p" + android:interpolator="@interpolator/decelerate_cubic" + android:duration="350" /> + + <!-- This is needed to keep the animation running while task_open_enter completes --> + <alpha android:fromAlpha="1.0" android:toAlpha="1.0" + android:interpolator="@interpolator/accelerate_quad" + android:duration="500" /> +</set>
\ No newline at end of file diff --git a/core/res/res/anim-sw720dp/task_open_enter.xml b/core/res/res/anim-sw720dp/task_open_enter.xml new file mode 100644 index 000000000000..54a2d9389493 --- /dev/null +++ b/core/res/res/anim-sw720dp/task_open_enter.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, 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"> + + <alpha android:fromAlpha="0" android:toAlpha="1.0" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:startOffset="150" + android:duration="350"/> + + <translate android:fromYDelta="140%" android:toYDelta="0" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_cubic" + android:startOffset="150" + android:duration="350"/> + + <scale android:fromXScale=".6" android:toXScale="1.0" + android:fromYScale=".6" android:toYScale="1.0" + android:pivotX="50%p" android:pivotY="50%p" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:startOffset="150" + android:duration="350" /> + +</set>
\ No newline at end of file diff --git a/core/res/res/anim-sw720dp/task_open_exit.xml b/core/res/res/anim-sw720dp/task_open_exit.xml new file mode 100644 index 000000000000..18e6550b4f96 --- /dev/null +++ b/core/res/res/anim-sw720dp/task_open_exit.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, 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" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/accelerate_quad" + android:duration="350"/> + + <translate android:fromYDelta="0" android:toYDelta="-140%" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:interpolator="@interpolator/decelerate_quad" + android:duration="350"/> + + <scale android:fromXScale="1.0" android:toXScale="0.6" + android:fromYScale="1.0" android:toYScale="0.6" + android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" + android:pivotX="50%p" android:pivotY="50%p" + android:interpolator="@interpolator/decelerate_cubic" + android:duration="350" /> + + <!-- This is needed to keep the animation running while task_open_enter completes --> + <alpha android:fromAlpha="1.0" android:toAlpha="1.0" + android:interpolator="@interpolator/accelerate_quad" + android:duration="500" /> +</set>
\ No newline at end of file diff --git a/core/res/res/anim/wallpaper_open_exit.xml b/core/res/res/anim/wallpaper_open_exit.xml index 8a2582e8eeed..905743e33c26 100644 --- a/core/res/res/anim/wallpaper_open_exit.xml +++ b/core/res/res/anim/wallpaper_open_exit.xml @@ -20,13 +20,13 @@ <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false" android:zAdjustment="top"> <alpha android:fromAlpha="1.0" android:toAlpha="0.0" - android:interpolator="@interpolator/decelerate_cubic" + android:interpolator="@interpolator/linear" android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" android:duration="200" /> <scale android:fromXScale="1.0" android:toXScale="0.4" android:fromYScale="1.0" android:toYScale="0.4" android:pivotX="50%p" android:pivotY="50%p" - android:interpolator="@interpolator/decelerate_cubic" + android:interpolator="@interpolator/decelerate_quad" android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true" - android:duration="300" /> + android:duration="250" /> </set>
\ No newline at end of file |