/cts/tests/tests/animation/src/android/animation/cts/ |
KeyframeTest.java | 19 import android.animation.Keyframe; 26 Keyframe keyFrame = Keyframe.ofInt(0.0f); 27 float fraction = keyFrame.getFraction(); 32 Keyframe keyFrame = Keyframe.ofInt(0.0f); 33 keyFrame.setFraction(0.5f); 34 float fraction = keyFrame.getFraction() [all...] |
/frameworks/base/core/java/android/animation/ |
KeyframeSet.java | 21 import android.animation.Keyframe.IntKeyframe; 22 import android.animation.Keyframe.FloatKeyframe; 23 import android.animation.Keyframe.ObjectKeyframe; 27 * This class holds a collection of Keyframe objects and is called by ValueAnimator to calculate 35 Keyframe mFirstKeyframe; 36 Keyframe mLastKeyframe; 37 TimeInterpolator mInterpolator; // only used in the 2-keyframe case 38 ArrayList<Keyframe> mKeyframes; // only used when there are not 2 keyframes 42 public KeyframeSet(Keyframe... keyframes) { 44 mKeyframes = new ArrayList<Keyframe>(); [all...] |
Keyframe.java | 20 * This class holds a time/value pair for an animation. The Keyframe class is used 22 * of the animation. As the time proceeds from one keyframe to the other, the value of the 23 * target object will animate between the value at the previous keyframe and the value at the 24 * next keyframe. Each keyframe also holds an optional {@link TimeInterpolator} 25 * object, which defines the time interpolation over the intervalue preceding the keyframe. 27 * <p>The Keyframe class itself is abstract. The type-specific factory methods will return 28 * a subclass of Keyframe specific to the type of value being stored. This is done to improve 30 * <code>int</code> values). Other types will fall into a more general Keyframe class that 36 public abstract class Keyframe implements Cloneable [all...] |
PropertyValuesHolder.java | 248 public static PropertyValuesHolder ofKeyframe(String propertyName, Keyframe... values) { 258 pvh.mValueType = ((Keyframe)values[0]).getType(); 279 public static PropertyValuesHolder ofKeyframe(Property property, Keyframe... values) { 289 pvh.mValueType = ((Keyframe)values[0]).getType(); 335 public void setKeyframes(Keyframe... values) { 337 Keyframe keyframes[] = new Keyframe[Math.max(numKeyframes,2)]; 338 mValueType = ((Keyframe)values[0]).getType(); 340 keyframes[i] = (Keyframe)values[i]; 493 for (Keyframe kf : mKeyframeSet.mKeyframes) [all...] |
FloatKeyframeSet.java | 19 import android.animation.Keyframe.FloatKeyframe; 50 ArrayList<Keyframe> keyframes = mKeyframes;
|
IntKeyframeSet.java | 19 import android.animation.Keyframe.IntKeyframe; 50 ArrayList<Keyframe> keyframes = mKeyframes;
|
ObjectAnimator.java | 431 ArrayList<Keyframe> keyframes = pvh.mKeyframeSet.mKeyframes;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
Utils.java | 19 import android.animation.Keyframe; 120 Keyframe k0 = Keyframe.ofFloat(0f, 1f); 121 Keyframe k1 = Keyframe.ofFloat(0.275f, decreaseRatio); 122 Keyframe k2 = Keyframe.ofFloat(0.69f, increaseRatio); 123 Keyframe k3 = Keyframe.ofFloat(1f, 1f);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
RadialSelectorView.java | 19 import android.animation.Keyframe; 308 Keyframe kf0, kf1, kf2; 312 kf0 = Keyframe.ofFloat(0f, 1); 313 kf1 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier); 314 kf2 = Keyframe.ofFloat(1f, mTransitionEndRadiusMultiplier); 318 kf0 = Keyframe.ofFloat(0f, 1f); 319 kf1 = Keyframe.ofFloat(1f, 0f); 335 Keyframe kf0, kf1, kf2, kf3; 349 kf0 = Keyframe.ofFloat(0f, mTransitionEndRadiusMultiplier); 350 kf1 = Keyframe.ofFloat(delayPoint, mTransitionEndRadiusMultiplier) [all...] |
RadialTextsView.java | 19 import android.animation.Keyframe; 279 Keyframe kf0, kf1, kf2, kf3; 284 kf0 = Keyframe.ofFloat(0f, 1); 285 kf1 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier); 286 kf2 = Keyframe.ofFloat(1f, mTransitionEndRadiusMultiplier); 290 kf0 = Keyframe.ofFloat(0f, 1f); 291 kf1 = Keyframe.ofFloat(1f, 0f); 307 kf0 = Keyframe.ofFloat(0f, mTransitionEndRadiusMultiplier); 308 kf1 = Keyframe.ofFloat(delayPoint, mTransitionEndRadiusMultiplier); 309 kf2 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
LayoutAnimationsHideShow.java | 27 import android.animation.Keyframe; 139 Keyframe kf0 = Keyframe.ofFloat(0f, 0f); 140 Keyframe kf1 = Keyframe.ofFloat(.9999f, 360f); 141 Keyframe kf2 = Keyframe.ofFloat(1f, 0f);
|
MultiPropertyAnimation.java | 122 Keyframe kf0 = Keyframe.ofFloat(0f, ballX); 123 Keyframe kf1 = Keyframe.ofFloat(.5f, ballX + 100f); 124 Keyframe kf2 = Keyframe.ofFloat(1f, ballX + 50f);
|
LayoutAnimations.java | 26 import android.animation.Keyframe; 174 Keyframe kf0 = Keyframe.ofFloat(0f, 0f); 175 Keyframe kf1 = Keyframe.ofFloat(.9999f, 360f); 176 Keyframe kf2 = Keyframe.ofFloat(1f, 0f);
|
/external/webkit/Source/WebCore/platform/graphics/ca/win/ |
PlatformCAAnimationWin.cpp | 163 m_type = Keyframe; 188 // Copy the specific Basic or Keyframe values 189 if (animationType() == Keyframe) { 423 // Keyframe-animation properties. 426 if (animationType() != Keyframe) 440 if (animationType() != Keyframe) 454 if (animationType() != Keyframe) 469 if (animationType() != Keyframe) 484 if (animationType() != Keyframe || value->animationType() != Keyframe) [all...] |
/external/webkit/Source/WebCore/platform/graphics/ca/mac/ |
PlatformCAAnimationMac.mm | 172 m_type = Keyframe; 199 // Copy the specific Basic or Keyframe values 200 if (animationType() == Keyframe) { 460 // Keyframe-animation properties. 463 if (animationType() != Keyframe) 474 if (animationType() != Keyframe) 487 if (animationType() != Keyframe) 505 if (animationType() != Keyframe) 524 if (animationType() != Keyframe || value->animationType() != Keyframe) [all...] |
/external/webkit/Source/WebCore/platform/graphics/ca/ |
PlatformCAAnimation.h | 60 enum AnimationType { Basic, Keyframe }; 124 // Keyframe-animation properties.
|
GraphicsLayerCA.cpp | [all...] |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |