From e7c5ed93ca293c8b6b8587329a1e48836d8ecb33 Mon Sep 17 00:00:00 2001 From: Ari Sachter-Zeltzer Date: Fri, 12 Sep 2014 20:50:31 -0700 Subject: [PATCH] fixed jank on activity close exit with better alpha interpolation remove zoom animation from fragment close and open transitions. they are now just cross fades remove zAdjustment property from animatorSet Change-Id: I8425f745da2d93948ba8b6fc12c80b3d82c6213c --- core/res/res/anim/activity_close_exit.xml | 6 +++--- .../res/res/animator/fragment_close_enter.xml | 11 +++++----- core/res/res/animator/fragment_close_exit.xml | 21 +++++-------------- core/res/res/animator/fragment_fade_enter.xml | 3 +-- core/res/res/animator/fragment_fade_exit.xml | 3 +-- core/res/res/animator/fragment_open_enter.xml | 17 +++------------ core/res/res/animator/fragment_open_exit.xml | 7 ++++--- 7 files changed, 23 insertions(+), 45 deletions(-) diff --git a/core/res/res/anim/activity_close_exit.xml b/core/res/res/anim/activity_close_exit.xml index 52c3adf10b4e3..d8c42ed808f11 100644 --- a/core/res/res/anim/activity_close_exit.xml +++ b/core/res/res/anim/activity_close_exit.xml @@ -20,13 +20,13 @@ - \ No newline at end of file diff --git a/core/res/res/animator/fragment_close_enter.xml b/core/res/res/animator/fragment_close_enter.xml index 0b2e2cfa57bf7..dccf372a33893 100644 --- a/core/res/res/animator/fragment_close_enter.xml +++ b/core/res/res/animator/fragment_close_enter.xml @@ -13,13 +13,14 @@ ** 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. +** limitations under the License. */ --> - - + diff --git a/core/res/res/animator/fragment_close_exit.xml b/core/res/res/animator/fragment_close_exit.xml index e0ab6077a53b4..ddede70799d68 100644 --- a/core/res/res/animator/fragment_close_exit.xml +++ b/core/res/res/animator/fragment_close_exit.xml @@ -13,25 +13,14 @@ ** 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. +** limitations under the License. */ --> - - + - diff --git a/core/res/res/animator/fragment_fade_enter.xml b/core/res/res/animator/fragment_fade_enter.xml index 13b15f318e465..ce8913efd86c1 100644 --- a/core/res/res/animator/fragment_fade_enter.xml +++ b/core/res/res/animator/fragment_fade_enter.xml @@ -16,8 +16,7 @@ ** limitations under the License. */ --> - + - + - - diff --git a/core/res/res/animator/fragment_open_exit.xml b/core/res/res/animator/fragment_open_exit.xml index 1b505fe2366ac..ddede70799d68 100644 --- a/core/res/res/animator/fragment_open_exit.xml +++ b/core/res/res/animator/fragment_open_exit.xml @@ -13,13 +13,14 @@ ** 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. +** limitations under the License. */ --> -