mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Bug: 292080029 Test: atest InterpolatorResourcesTest Change-Id: I65dba4eb3f96844d4f9a4d0af608c0bd8e77ccc2
42 lines
1.4 KiB
XML
42 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2022 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:shareInterpolator="false"
|
|
android:showBackdrop="true">
|
|
|
|
<alpha
|
|
android:fromAlpha="0.0"
|
|
android:toAlpha="1.0"
|
|
android:fillEnabled="true"
|
|
android:fillBefore="true"
|
|
android:fillAfter="true"
|
|
android:interpolator="@interpolator/standard_decelerate_interpolator"
|
|
android:startOffset="100"
|
|
android:duration="350" />
|
|
|
|
<translate
|
|
android:fromXDelta="25%"
|
|
android:toXDelta="0"
|
|
android:fillEnabled="true"
|
|
android:fillBefore="true"
|
|
android:fillAfter="true"
|
|
android:interpolator="@interpolator/emphasized_interpolator"
|
|
android:startOffset="0"
|
|
android:duration="450" />
|
|
|
|
</set> |