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

Commit a0d4d258 authored by Jaewan Kim's avatar Jaewan Kim
Browse files

PIP: Apply the animation spec for the PIP in Recents

Bug: 27540465
Change-Id: Ibdd4a4e3fd194978ccbc29235a1c620ebddff942
parent 6bb61e25
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -17,13 +17,13 @@
<set xmlns:android="http://schemas.android.com/apk/res/android">

    <objectAnimator
        android:propertyName="translationY"
        android:valueTo="10dp"
        android:interpolator="@android:interpolator/linear_out_slow_in"
        android:propertyName="scaleX"
        android:valueTo="1.0"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:duration="@integer/recents_tv_pip_focus_anim_duration" />
    <objectAnimator
        android:propertyName="alpha"
        android:propertyName="scaleY"
        android:valueTo="1.0"
        android:interpolator="@android:interpolator/linear_out_slow_in"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:duration="@integer/recents_tv_pip_focus_anim_duration" />
</set>
+6 −6
Original line number Diff line number Diff line
@@ -17,13 +17,13 @@
<set xmlns:android="http://schemas.android.com/apk/res/android">

    <objectAnimator
        android:propertyName="translationY"
        android:valueTo="0dp"
        android:interpolator="@android:interpolator/fast_out_linear_in"
        android:propertyName="scaleX"
        android:valueTo="0.7"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:duration="@integer/recents_tv_pip_focus_anim_duration" />
    <objectAnimator
        android:propertyName="alpha"
        android:valueTo="0.0"
        android:interpolator="@android:interpolator/fast_out_linear_in"
        android:propertyName="scaleY"
        android:valueTo="0.7"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:duration="@integer/recents_tv_pip_focus_anim_duration" />
</set>
+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 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.
-->

<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
    android:propertyName="translationY"
    android:valueTo="0dp"
    android:interpolator="@android:interpolator/fast_out_slow_in"
    android:duration="@integer/recents_tv_pip_focus_anim_duration" />
+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 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.
-->

<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
    android:propertyName="translationY"
    android:valueTo="-57dp"
    android:interpolator="@android:interpolator/fast_out_slow_in"
    android:duration="@integer/recents_tv_pip_focus_anim_duration" />
+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 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.
-->

<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
    android:propertyName="alpha"
    android:valueTo="1"
    android:interpolator="@android:interpolator/fast_out_slow_in"
    android:duration="@integer/recents_tv_pip_focus_anim_duration" />
Loading