/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...] |
/external/chromium_org/webkit/renderer/compositor_bindings/ |
web_float_animation_curve_impl.cc | 26 void WebFloatAnimationCurveImpl::add(const WebFloatKeyframe& keyframe) { 27 add(keyframe, TimingFunctionTypeEase); 30 void WebFloatAnimationCurveImpl::add(const WebFloatKeyframe& keyframe, 33 keyframe.time, keyframe.value, CreateTimingFunction(type))); 36 void WebFloatAnimationCurveImpl::add(const WebFloatKeyframe& keyframe, 42 keyframe.time, 43 keyframe.value,
|
web_transform_animation_curve_impl.cc | 27 void WebTransformAnimationCurveImpl::add(const WebTransformKeyframe& keyframe) { 28 add(keyframe, TimingFunctionTypeEase); 31 void WebTransformAnimationCurveImpl::add(const WebTransformKeyframe& keyframe, 34 static_cast<const webkit::WebTransformOperationsImpl&>(keyframe.value()) 37 keyframe.time(), transform_operations, CreateTimingFunction(type))); 40 void WebTransformAnimationCurveImpl::add(const WebTransformKeyframe& keyframe, 46 static_cast<const webkit::WebTransformOperationsImpl&>(keyframe.value()) 49 keyframe.time(),
|
web_filter_animation_curve_impl.cc | 27 void WebFilterAnimationCurveImpl::add(const WebFilterKeyframe& keyframe, 30 static_cast<const webkit::WebFilterOperationsImpl&>(keyframe.value()) 33 keyframe.time(), filter_operations, CreateTimingFunction(type))); 36 void WebFilterAnimationCurveImpl::add(const WebFilterKeyframe& keyframe, 42 static_cast<const webkit::WebFilterOperationsImpl&>(keyframe.value()) 45 keyframe.time(),
|
web_float_animation_curve_impl.h | 30 virtual void add(const blink::WebFloatKeyframe& keyframe); 31 virtual void add(const blink::WebFloatKeyframe& keyframe, 33 virtual void add(const blink::WebFloatKeyframe& keyframe,
|
web_transform_animation_curve_impl.h | 31 virtual void add(const blink::WebTransformKeyframe& keyframe); 32 virtual void add(const blink::WebTransformKeyframe& keyframe, 34 virtual void add(const blink::WebTransformKeyframe& keyframe,
|
web_filter_animation_curve_impl.h | 31 virtual void add(const blink::WebFilterKeyframe& keyframe, 33 virtual void add(const blink::WebFilterKeyframe& keyframe,
|
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/ |
TimeLine.java | 45 public class TimeLine extends HashMap<Integer, KeyFrame> implements Savable { 54 public KeyFrame getKeyFrameAtTime(float time) { 58 public KeyFrame getKeyFrameAtIndex(int keyFrameIndex) { 62 public void addKeyFrameAtTime(float time, KeyFrame keyFrame) { 63 addKeyFrameAtIndex(getKeyFrameIndexFromTime(time), keyFrame); 66 public void addKeyFrameAtIndex(int keyFrameIndex, KeyFrame keyFrame) { 67 put(keyFrameIndex, keyFrame); 68 keyFrame.setIndex(keyFrameIndex) [all...] |
Cinematic.java | 209 KeyFrame keyFrame = timeLine.get(i); 210 if (keyFrame != null) { 211 keyFrame.trigger(); 226 KeyFrame keyFrame = timeLine.get(i); 227 if (keyFrame != null) { 228 for (CinematicEvent ce : keyFrame.getCinematicEvents()) { 230 ce.setTime(time - timeLine.getKeyFrameTime(keyFrame)); 241 public KeyFrame addCinematicEvent(float timeStamp, CinematicEvent cinematicEvent) [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...] |
/external/chromium_org/cc/animation/ |
keyframed_animation_curve.h | 16 class CC_EXPORT Keyframe { 24 Keyframe(double time, scoped_ptr<TimingFunction> timing_function); 25 virtual ~Keyframe(); 31 DISALLOW_COPY_AND_ASSIGN(Keyframe); 34 class CC_EXPORT ColorKeyframe : public Keyframe { 54 class CC_EXPORT FloatKeyframe : public Keyframe { 74 class CC_EXPORT TransformKeyframe : public Keyframe { 95 class CC_EXPORT FilterKeyframe : public Keyframe { 123 void AddKeyframe(scoped_ptr<ColorKeyframe> keyframe); 149 void AddKeyframe(scoped_ptr<FloatKeyframe> keyframe); [all...] |
keyframed_animation_curve.cc | 13 template <class Keyframe> 14 void InsertKeyframe(scoped_ptr<Keyframe> keyframe, 15 ScopedPtrVector<Keyframe>& keyframes) { 18 if (!keyframes.empty() && keyframe->Time() < keyframes.back()->Time()) { 20 if (keyframe->Time() < keyframes[i]->Time()) { 21 keyframes.insert(keyframes.begin() + i, keyframe.Pass()); 27 keyframes.push_back(keyframe.Pass()); 51 Keyframe::Keyframe(double time, scoped_ptr<TimingFunction> timing_function [all...] |
/external/libvpx/libvpx/examples/ |
force_keyframe.txt | 2 Forcing A Keyframe 14 keyframe every 8 frames. 27 when the encoder generates a keyframe. Note that every 8 frames a 'K'
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
KeyframeList.cpp | 39 // describes the timing function between this keyframe and the next. 63 void KeyframeList::insert(const KeyframeValue& keyframe) 65 if (keyframe.key() < 0 || keyframe.key() > 1) 71 if (m_keyframes[i].key() == keyframe.key()) { 72 m_keyframes[i] = keyframe; 77 if (m_keyframes[i].key() > keyframe.key()) { 79 m_keyframes.insert(i, keyframe); 86 m_keyframes.append(keyframe); 97 for (HashSet<CSSPropertyID>::const_iterator it = keyframe.properties().begin(); it != keyframe.properties().end(); ++it [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
AnimationFactory.java | 50 * Note that the first keyFrame (index 0) is defaulted with the identy transforms. 51 * If you want to change that you have to replace this keyFrame with any transform you want. 84 * the index of the parent key frame is this keyFrame is a splitted rotation 184 * @param time the time at which the keyFrame must be inserted 185 * @param transform the transforms to use for this keyFrame 192 * Adds a key frame for the given Transform at the given keyFrame index 193 * @param keyFrameIndex the index at which the keyFrame must be inserted 194 * @param transform the transforms to use for this keyFrame 204 * @param time the time at which the keyFrame must be inserted 205 * @param translation the translation to use for this keyFrame [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
KeyframeAnimationEffect.cpp | 117 Keyframe::Keyframe() 122 Keyframe::Keyframe(const Keyframe& copyFrom) 130 void Keyframe::setPropertyValue(CSSPropertyID property, const AnimatableValue* value) 135 void Keyframe::clearPropertyValue(CSSPropertyID property) 140 const AnimatableValue* Keyframe::propertyValue(CSSPropertyID property) const 146 PropertySet Keyframe::properties() const 156 PassRefPtr<Keyframe> Keyframe::cloneWithOffset(double offset) cons 229 const Keyframe* keyframe = keyframeIter->get(); local [all...] |
KeyframeAnimationEffect.h | 48 class Keyframe : public RefCounted<Keyframe> { 50 static PassRefPtr<Keyframe> create() 52 return adoptRef(new Keyframe); 54 static bool compareOffsets(const RefPtr<Keyframe>& a, const RefPtr<Keyframe>& b) 66 PassRefPtr<Keyframe> clone() const { return adoptRef(new Keyframe(*this)); } 67 PassRefPtr<Keyframe> cloneWithOffset(double offset) const; 69 Keyframe(); [all...] |
KeyframeAnimationEffectTest.cpp | 56 keyframes[0] = Keyframe::create(); 59 keyframes[1] = Keyframe::create(); 152 keyframes[0] = Keyframe::create(); 163 keyframes[0] = Keyframe::create(); 174 keyframes[0] = Keyframe::create(); 177 keyframes[1] = Keyframe::create(); 180 keyframes[2] = Keyframe::create(); 192 keyframes[0] = Keyframe::create(); 194 keyframes[1] = Keyframe::create(); 197 keyframes[2] = Keyframe::create() [all...] |
ElementAnimation.cpp | 64 // FIXME: This test will not be neccessary once resolution of keyframe values occurs at 84 RefPtr<Keyframe> keyframe = Keyframe::create(); local 85 keyframes.append(keyframe); 89 keyframe->setOffset(offset); 101 keyframe->setComposite(AnimationEffect::CompositeAdd); 111 // in a Keyframe object, so for now I just skip over them. Eventually we
|
/external/libvpx/libvpx/test/ |
keyframe_test.cc | 88 // verify that every third frame is a keyframe. 91 ASSERT_EQ(0, *iter % 3) << "Unexpected keyframe at frame " << *iter; 101 // verify that keyframe interval matches kf_max_dist 104 ASSERT_EQ(0, *iter % 25) << "Unexpected keyframe at frame " << *iter; 113 // may not produce a keyframe like we expect. This is necessary when running 115 // experimentally as the fastest mode that still throws the keyframe. 120 // I check only the first 40 frames to make sure there's a keyframe at frame 136 EXPECT_EQ(0, (*iter - 1) % 30) << "Unexpected keyframe at frame " 139 EXPECT_EQ(0, *iter % 30) << "Unexpected keyframe at frame " << *iter;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
Utils.java | 19 import android.animation.Keyframe; 127 Keyframe k0 = Keyframe.ofFloat(0f, 1f); 128 Keyframe k1 = Keyframe.ofFloat(0.275f, decreaseRatio); 129 Keyframe k2 = Keyframe.ofFloat(0.69f, increaseRatio); 130 Keyframe k3 = Keyframe.ofFloat(1f, 1f);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSKeyframesRule.cpp | 54 void StyleRuleKeyframes::parserAppendKeyframe(PassRefPtr<StyleKeyframe> keyframe) 56 if (!keyframe) 58 m_keyframes.append(keyframe); 61 void StyleRuleKeyframes::wrapperAppendKeyframe(PassRefPtr<StyleKeyframe> keyframe) 63 m_keyframes.append(keyframe); 119 RefPtr<StyleKeyframe> keyframe = parser.parseKeyframeRule(styleSheet ? styleSheet->contents() : 0, ruleText); local 120 if (!keyframe) 125 m_keyframesRule->wrapperAppendKeyframe(keyframe);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
RadialTextsView.java | 19 import android.animation.Keyframe; 290 Keyframe kf0, kf1, kf2, kf3; 295 kf0 = Keyframe.ofFloat(0f, 1); 296 kf1 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier); 297 kf2 = Keyframe.ofFloat(1f, mTransitionEndRadiusMultiplier); 301 kf0 = Keyframe.ofFloat(0f, 1f); 302 kf1 = Keyframe.ofFloat(1f, 0f); 318 kf0 = Keyframe.ofFloat(0f, mTransitionEndRadiusMultiplier); 319 kf1 = Keyframe.ofFloat(delayPoint, mTransitionEndRadiusMultiplier); 320 kf2 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier) [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/ |
TestAnimationFactory.java | 53 //creating a translation keyFrame at time = 3 with a translation on the x axis of 5 WU
58 //Creating a scale keyFrame at time = 2 with the unit scale.
60 //Creating a scale keyFrame at time = 4 scaling to 1.5
66 //Creating a rotation keyFrame at time = 0.5 of quarter PI around the Z axis
70 //Creating a rotation keyFrame at time = 2. Note that i used the Euler angle version because the angle is higher than PI
|