13018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek/* 25673353559453ecb57fc767b4e7500dd46e44079Jorim Jaggi * Copyright (C) 2015 The Android Open Source Project 33018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * 43018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * Licensed under the Apache License, Version 2.0 (the "License"); 53018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * you may not use this file except in compliance with the License. 63018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * You may obtain a copy of the License at 73018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * 83018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * http://www.apache.org/licenses/LICENSE-2.0 93018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * 103018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * Unless required by applicable law or agreed to in writing, software 113018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * distributed under the License is distributed on an "AS IS" BASIS, 123018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 133018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * See the License for the specific language governing permissions and 143018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * limitations under the License 153018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek */ 163018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek 175673353559453ecb57fc767b4e7500dd46e44079Jorim Jaggipackage com.android.settingslib.animation; 183018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek 193018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinekimport android.view.animation.Interpolator; 203018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek 213018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek/** 223018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek * An interface which can create animations when starting an appear animation with 235673353559453ecb57fc767b4e7500dd46e44079Jorim Jaggi * {@link AppearAnimationUtils} 243018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek */ 253018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinekpublic interface AppearAnimationCreator<T> { 263018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek void createAnimation(T animatedObject, long delay, long duration, 27f9c0e8f02f3483d6aa9e762c97a2c02ea50eeb02Selim Cinek float translationY, boolean appearing, Interpolator interpolator, 28f9c0e8f02f3483d6aa9e762c97a2c02ea50eeb02Selim Cinek Runnable finishListener); 293018197cf0dff5a9061f6065a8ecc108a0866dabSelim Cinek} 30