/frameworks/base/core/java/android/animation/ |
KeyframeSet.java | 30 * values between those keyframes for a given animation. The class internal to the animation 31 * package because it is an implementation detail of how Keyframes are stored and used. 34 public class KeyframeSet implements Keyframes { 41 List<Keyframe> mKeyframes; // only used when there are not 2 keyframes 45 public KeyframeSet(Keyframe... keyframes) { 46 mNumKeyframes = keyframes.length; 48 mKeyframes = Arrays.asList(keyframes); 49 mFirstKeyframe = keyframes[0]; 50 mLastKeyframe = keyframes[mNumKeyframes - 1]; 55 * If subclass has variables that it calculates based on the Keyframes, it should reset the 68 IntKeyframe keyframes[] = new IntKeyframe[Math.max(numKeyframes,2)]; local 85 FloatKeyframe keyframes[] = new FloatKeyframe[Math.max(numKeyframes,2)]; local 142 ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)]; local 182 List<Keyframe> keyframes = mKeyframes; local [all...] |
Keyframes.java | 22 * ValueAnimator to calculate values between those keyframes for a given animation. 25 public interface Keyframes extends Cloneable { 29 * is required only for Keyframes that are not either IntKeyframes or FloatKeyframes, 38 * @return The value type contained by the contained Keyframes. 49 * just using the two keyframes at the appropriate end when the value is outside those bounds. 57 * If subclass has variables that it calculates based on the Keyframes, it should reset them 63 * @return A list of all Keyframes contained by this. This may return null if this is 64 * not made up of Keyframes. 68 Keyframes clone(); 71 * A specialization of Keyframes that has integer primitive value calculation [all...] |
PathKeyframes.java | 27 * to a Keyframe and a linear interpolation between Keyframes creates a good approximation 31 * many keyframes for a curve. 39 public class PathKeyframes implements Keyframes { 134 public Keyframes clone() { 135 Keyframes clone = null; 137 clone = (Keyframes) super.clone(); 211 private abstract static class SimpleKeyframes implements Keyframes { 226 public Keyframes clone() { 227 Keyframes clone = null; 229 clone = (Keyframes) super.clone() [all...] |
PropertyValuesHolder.java | 76 * The set of keyframes (time/value pairs) that define this animation. 78 Keyframes mKeyframes = null; 218 Keyframes keyframes = KeyframeSet.ofPath(path); local 220 return new MultiIntValuesHolder(propertyName, converter, null, keyframes); 257 * Can be null if the Keyframes have int[] values. 337 Keyframes keyframes = KeyframeSet.ofPath(path); local 339 return new MultiFloatValuesHolder(propertyName, converter, null, keyframes); 375 * Can be null if the Keyframes have float[] values 636 Keyframe keyframes[] = new Keyframe[Math.max(numKeyframes,2)]; local 815 List<Keyframe> keyframes = mKeyframes.getKeyframes(); local 840 List<Keyframe> keyframes = mKeyframes.getKeyframes(); local 918 List<Keyframe> keyframes = mKeyframes.getKeyframes(); local 933 List<Keyframe> keyframes = mKeyframes.getKeyframes(); local [all...] |
Keyframe.java | 39 * animation first starts, to populate placeholder keyframes with real values derived 73 * for the animation. The value for the animation between keyframes will be calculated as 74 * an interpolation between the values at those keyframes. 88 * from the target object when the animation first starts (note that this implies that keyframes 92 * for the animation. The value for the animation between keyframes will be calculated as 93 * an interpolation between the values at those keyframes. 105 * for the animation. The value for the animation between keyframes will be calculated as 106 * an interpolation between the values at those keyframes. 120 * from the target object when the animation first starts (note that this implies that keyframes 124 * for the animation. The value for the animation between keyframes will be calculated a [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
Animation.java | 40 final TextureRegion[] keyFrames;
51 * @param keyFrames the {@link TextureRegion}s representing the frames. */
52 public Animation (float frameDuration, Array<? extends TextureRegion> keyFrames) {
54 this.animationDuration = keyFrames.size * frameDuration;
55 this.keyFrames = new TextureRegion[keyFrames.size];
56 for (int i = 0, n = keyFrames.size; i < n; i++) {
57 this.keyFrames[i] = keyFrames.get(i);
66 * @param keyFrames the {@link TextureRegion}s representing the frames. [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/blink/ |
simple-keyframes.html | 4 <script src="resources/keyframes-test.js"></script> 14 'element.animate() with 2 keyframes', 18 'element.animate() should start an animation when two keyframes', 34 'element.animate() with 3 keyframes', 38 'element.animate() should start an animation when three keyframes', 40 'The keyframes must maintain their ordering and get distributed',
|
same-offset-keyframes.html | 4 <script src="resources/keyframes-test.js"></script> 19 'element.animate() with keyframes at the same offset with overlapping properties', 23 'element.animate() should start an animation when keyframes have equal offset values.', 24 'The overlapping properties in the equal offset keyframes should see a disjoint', 25 'interpolation pattern at the offset relative to the ordering of the keyframes.', 42 'element.animate() with keyframes at the same offset with disjoint properties', 46 'element.animate() should start an animation when keyframes have equal offset values.', 47 'If the properties of the equal offset keyframes are disjoint then the animation should',
|
insufficient-keyframes.html | 17 assert: 'Only keyframes with matched start and end properties are considered', 24 }, 'Mismatched start and end keyframes should cause an exception.'); 29 assert_unreached("multiple start and end keyframes should be considered"); 35 assert: 'Only keyframes with matched start and end properties are considered',
|
3-keyframes-with-offsets.html | 4 <script src="resources/keyframes-test.js"></script> 48 'element.animate() with 3 keyframes and 1 offset specified', 52 'element.animate() should start an animation when three keyframes', 54 'The keyframes must maintain their ordering and get distributed', 77 'element.animate() with 3 keyframes and 2 offsets specified', 81 'element.animate() should start an animation when three keyframes', 83 'The keyframes must maintain their ordering and get distributed', 136 'element.animate() with 3 keyframes and 3 offsets specified', 140 'element.animate() should start an animation when three keyframes', 142 'The keyframes must maintain their ordering and get distributed' [all...] |
2-keyframes-with-offsets.html | 4 <script src="resources/keyframes-test.js"></script> 20 'element.animate() with 2 keyframes and 1 offset specified', 24 'element.animate() should start an animation when two keyframes', 47 'element.animate() with 2 keyframes and 2 offsets specified', 51 'element.animate() should start an animation when two keyframes',
|
add-keyframes.html | 17 assert: 'Only keyframes without add compositing considered', 24 }, 'Animations with add keyframes should cause an exception.'); 29 assert: 'Only keyframes without add compositing are considered',
|
keyframes-with-null-offsets.html | 4 <script src="resources/keyframes-test.js"></script> 36 'element.animate() should start an animation when keyframes are specified with',
|
out-of-order-keyframes.html | 21 help: 'http://dev.w3.org/fxtf/web-animations/#normalizing-a-sequence-of-keyframes', 22 assert: 'Keyframes with out-of-order offsets should work, unless there are also auto offsets',
|
eased-keyframes.html | 4 <script src="resources/keyframes-test.js"></script> 43 'element.animate() should start an animation when keyframes are specified with timing functions', 67 'element.animate() should start an animation when keyframes are specified with timing functions', 90 'element.animate() should start an animation when keyframes are specified with timing functions', 91 'for their easing property. Easing on the last keyframes should have no effect on the animation.',
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/ |
NodeAnimation.java | 24 /** A NodeAnimation defines keyframes for a {@link Node} in a {@link Model}. The keyframes are given as a translation vector, a
25 * rotation quaternion and a scale vector. Keyframes are interpolated linearly for now. Keytimes are given in seconds.
30 /** the translation keyframes if any (might be null), sorted by time ascending **/
32 /** the rotation keyframes if any (might be null), sorted by time ascending **/
34 /** the scaling keyframes if any (might be null), sorted by time ascending **/
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/blink/resources/ |
keyframes-test.js | 19 function assertAnimationStyles(keyframes, expectations, description) { 22 element.animate(keyframes, heldTiming(progress));
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/testing/ |
animated_page.html | 5 @-webkit-keyframes rotating {
|
/external/chromium-trace/catapult/third_party/polymer/components/paper-dialog/ |
paper-dialog-transition.css | 27 animation: paper-dialog-transition-center-keyframes 0.2s cubic-bezier(0.4, 0, 0.2, 1); 28 -webkit-animation: paper-dialog-transition-center-keyframes 0.2s cubic-bezier(0.4, 0, 0.2, 1); 31 @keyframes paper-dialog-transition-center-keyframes { 46 @-webkit-keyframes paper-dialog-transition-center-keyframes {
|
/external/autotest/client/site_tests/power_VideoDetector/ |
fade.html | 12 @-webkit-keyframes throb {
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/data/ |
ModelNodeAnimation.java | 26 /** the keyframes, defining the translation of a node for a specific timestamp **/
28 /** the keyframes, defining the rotation of a node for a specific timestamp **/
30 /** the keyframes, defining the scaling of a node for a specific timestamp **/
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/ |
animation-constructor.js | 56 var keyframes = [{background: 'blue'}, {background: 'red'}]; 58 var animation = new Animation(target, keyframes, 200); 61 animation = new Animation(target, keyframes); 64 animation = new Animation(target, keyframes, {duration: 200});
|
effect.js | 9 test('Normalize keyframes with all offsets specified but not sorted by offset. Some offsets are out of [0, 1] range.', function() { 22 test('Normalize keyframes with some offsets not specified, and not sorted by offset.', function() { 34 test('Normalize keyframes with some offsets not specified, and not sorted by offset. Out of order keyframes are out of [0, 1] range.', function() { 46 test('Normalize keyframes with some offsets not specified, but sorted by offset where specified. Some offsets are out of [0, 1] range.', function() { 65 test('Normalize keyframes with some offsets not specified, but sorted by offset where specified. All specified offsets in [0, 1] range.', function() { 92 test('Normalize keyframes with no offsets specified.', function() { 116 test('Normalize keyframes where a keyframe has an offset that is not a number.', function() { 126 test('Normalize keyframes where a keyframe has an offset that is a numeric string.', function() { 141 test('Normalize keyframes where some keyframes have easings.', function() [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/ |
testharness-tests.js | 2 'blink/2-keyframes-with-offsets.html', 3 'blink/3-keyframes-with-offsets.html', 4 'blink/add-keyframes.html', 5 'blink/insufficient-keyframes.html', 6 'blink/simple-keyframes.html', 7 'blink/keyframes-with-null-offsets.html', 9 'blink/out-of-order-keyframes.html', 10 'blink/same-offset-keyframes.html', 11 'blink/eased-keyframes.html',
|
/external/chromium-trace/catapult/third_party/polymer/components/paper-spinner/ |
paper-spinner.css | 47 @-webkit-keyframes container-rotate { 51 @keyframes container-rotate { 83 * animation-delay and instead set custom keyframes for each color (as redundant as it 115 @-webkit-keyframes fill-unfill-rotate { 126 @keyframes fill-unfill-rotate { 146 @-webkit-keyframes blue-fade-in-out { 155 @keyframes blue-fade-in-out { 164 @-webkit-keyframes red-fade-in-out { 172 @keyframes red-fade-in-out { 180 @-webkit-keyframes yellow-fade-in-out [all...] |