1 /*
2  * Copyright (C) 2022 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.quickstep.util;
18 
19 import static com.android.app.animation.Interpolators.EMPHASIZED;
20 
21 import android.view.animation.Interpolator;
22 
23 /**
24  * Timings for the Overview > OverviewSplitSelect animation on phones.
25  */
26 public class PhoneOverviewToSplitTimings
27         extends OverviewToSplitTimings implements SplitAnimationTimings {
getPlaceholderFadeInStart()28     public int getPlaceholderFadeInStart() { return 0; }
getPlaceholderFadeInEnd()29     public int getPlaceholderFadeInEnd() { return 133; }
getPlaceholderIconFadeInStart()30     public int getPlaceholderIconFadeInStart() { return 83; }
getPlaceholderIconFadeInEnd()31     public int getPlaceholderIconFadeInEnd() { return 167; }
getStagedRectSlideStart()32     public int getStagedRectSlideStart() { return 0; }
getStagedRectSlideEnd()33     public int getStagedRectSlideEnd() { return 333; }
getGridSlideStart()34     public int getGridSlideStart() { return 100; }
getGridSlideStagger()35     public int getGridSlideStagger() { return 0; }
getGridSlideDuration()36     public int getGridSlideDuration() { return 417; }
37 
getDuration()38     public int getDuration() { return PHONE_ENTER_DURATION; }
getStagedRectXInterpolator()39     public Interpolator getStagedRectXInterpolator() { return EMPHASIZED; }
getStagedRectYInterpolator()40     public Interpolator getStagedRectYInterpolator() { return EMPHASIZED; }
getStagedRectScaleXInterpolator()41     public Interpolator getStagedRectScaleXInterpolator() { return EMPHASIZED; }
getStagedRectScaleYInterpolator()42     public Interpolator getStagedRectScaleYInterpolator() { return EMPHASIZED; }
43 }
44