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.DECELERATE_2;
20 
21 import android.view.animation.Interpolator;
22 
23 /**
24  * Timings for the Overview > OverviewSplitSelect animation on tablets.
25  */
26 public class TabletOverviewToSplitTimings
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 167; }
getPlaceholderIconFadeInEnd()31     public int getPlaceholderIconFadeInEnd() { return 250; }
getStagedRectSlideStart()32     public int getStagedRectSlideStart() { return 0; }
getStagedRectSlideEnd()33     public int getStagedRectSlideEnd() { return 417; }
getGridSlideStart()34     public int getGridSlideStart() { return 67; }
getGridSlideStagger()35     public int getGridSlideStagger() { return 16; }
getGridSlideDuration()36     public int getGridSlideDuration() { return 500; }
37 
getDuration()38     public int getDuration() { return TABLET_ENTER_DURATION; }
getStagedRectXInterpolator()39     public Interpolator getStagedRectXInterpolator() { return DECELERATE_2; }
getStagedRectYInterpolator()40     public Interpolator getStagedRectYInterpolator() { return DECELERATE_2; }
getStagedRectScaleXInterpolator()41     public Interpolator getStagedRectScaleXInterpolator() { return DECELERATE_2; }
getStagedRectScaleYInterpolator()42     public Interpolator getStagedRectScaleYInterpolator() { return DECELERATE_2; }
43 }
44