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

Commit 74361f37 authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Text selection handle animations made faster.

Created a fast_fade_in/out for this.

Change-Id: I9f8d6d6a8dd34657dc75946e4ab6663e0fb48beb
parent 5837dfaf
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/common/res/anim/fade_in.xml
**
** Copyright 2007, 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.
*/
-->

<alpha xmlns:android="http://schemas.android.com/apk/res/android"
        android:interpolator="@interpolator/decelerate_quad"
        android:fromAlpha="0.0"
        android:toAlpha="1.0"
        android:duration="80" />
+26 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/common/res/anim/fade_out.xml
**
** Copyright 2007, 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.
*/
-->

<alpha xmlns:android="http://schemas.android.com/apk/res/android"
    android:interpolator="@interpolator/accelerate_quad"
    android:fromAlpha="1.0"
    android:toAlpha="0.0"
    android:duration="140"
/>
+2 −2
Original line number Diff line number Diff line
@@ -1073,8 +1073,8 @@ please see styles_device_defaults.xml.

    <!-- Style for animating text selection handles. -->
    <style name="Animation.TextSelectHandle">
        <item name="windowEnterAnimation">@android:anim/fade_in</item>
        <item name="windowExitAnimation">@android:anim/fade_out</item>
        <item name="windowEnterAnimation">@android:anim/fast_fade_in</item>
        <item name="windowExitAnimation">@android:anim/fast_fade_out</item>
    </style>

    <!-- Style for the popup window that contains text suggestions. -->