1e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar/* 2e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * Copyright (C) 2015 The Android Open Source Project 3e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * 4e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * Licensed under the Apache License, Version 2.0 (the "License"); 5e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * you may not use this file except in compliance with the License. 6e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * You may obtain a copy of the License at 7e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * 8e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * http://www.apache.org/licenses/LICENSE-2.0 9e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * 10e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * Unless required by applicable law or agreed to in writing, software 11e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * distributed under the License is distributed on an "AS IS" BASIS, 12e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * See the License for the specific language governing permissions and 14e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * limitations under the License. 15e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar */ 16e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar 17e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyarpackage android.support.v4.animation; 18e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar 19e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyarimport android.view.View; 20e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar 21e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar/** 2295ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes * Compatibility implementation for {@code android.animation.ValueAnimator}. 23e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * 24e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar * @hide 25e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar */ 26e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyarpublic interface ValueAnimatorCompat { 27e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar 28e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar public void setTarget(View view); 29e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar 30e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar public void addListener(AnimatorListenerCompat listener); 31e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar 32e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar public void setDuration(long duration); 33e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar 34e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar public void start(); 35e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar 36e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar public void cancel(); 37e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar 38e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar void addUpdateListener(AnimatorUpdateListenerCompat animatorUpdateListener); 39e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar 40e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar public float getAnimatedFraction(); 41e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950Yigit Boyar} 42