HomeSort by relevance Sort by last modified time
    Searched full:keyframe (Results 1 - 25 of 140) sorted by null

1 2 3 4 5 6

  /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_float_animation_curve_impl.h 30 virtual void add(const WebKit::WebFloatKeyframe& keyframe);
31 virtual void add(const WebKit::WebFloatKeyframe& keyframe,
33 virtual void add(const WebKit::WebFloatKeyframe& keyframe,
web_transform_animation_curve_impl.h 31 virtual void add(const WebKit::WebTransformKeyframe& keyframe);
32 virtual void add(const WebKit::WebTransformKeyframe& keyframe,
34 virtual void add(const WebKit::WebTransformKeyframe& 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...]
package.html 16 specify {@link android.animation.Keyframe keyframes}, or group animations to play sequentially
  /external/chromium_org/cc/animation/
keyframed_animation_curve.cc 11 template <class Keyframe>
12 void InsertKeyframe(scoped_ptr<Keyframe> keyframe,
13 ScopedPtrVector<Keyframe>& keyframes) {
16 if (!keyframes.empty() && keyframe->Time() < keyframes.back()->Time()) {
18 if (keyframe->Time() < keyframes[i]->Time()) {
19 keyframes.insert(keyframes.begin() + i, keyframe.Pass());
25 keyframes.push_back(keyframe.Pass());
38 Keyframe::Keyframe(double time, scoped_ptr<TimingFunction> timing_function
    [all...]
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 FloatKeyframe : public Keyframe {
54 class CC_EXPORT TransformKeyframe : public Keyframe {
75 class CC_EXPORT FilterKeyframe : public Keyframe {
103 void AddKeyframe(scoped_ptr<FloatKeyframe> keyframe);
130 void AddKeyframe(scoped_ptr<TransformKeyframe> keyframe);
157 void AddKeyframe(scoped_ptr<FilterKeyframe> keyframe);
    [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 38 // describes the timing function between this keyframe and the next.
74 void KeyframeList::insert(const KeyframeValue& keyframe)
76 if (keyframe.key() < 0 || keyframe.key() > 1)
82 if (m_keyframes[i].key() == keyframe.key()) {
83 m_keyframes[i] = keyframe;
88 if (m_keyframes[i].key() > keyframe.key()) {
90 m_keyframes.insert(i, keyframe);
97 m_keyframes.append(keyframe);
108 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.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 Keyframe();
75 typedef Vector<RefPtr<Keyframe> > KeyframeVector;
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...]
KeyframeAnimationEffect.cpp 117 Keyframe::Keyframe()
122 void Keyframe::setPropertyValue(CSSPropertyID property, const AnimatableValue* value)
127 const AnimatableValue* Keyframe::propertyValue(CSSPropertyID property) const
133 PropertySet Keyframe::properties() const
135 // This is only used when setting up the keyframe groups, so there's no
164 Keyframe* firstKeyframe = keyframes.first().get();
169 Keyframe* lastKeyframe = keyframes.last().get();
179 std::stable_sort(keyframes.begin(), keyframes.end(), Keyframe::compareOffsets);
191 const Keyframe* keyframe = keyframeIter->get() local
    [all...]
  /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 53 void StyleRuleKeyframes::parserAppendKeyframe(PassRefPtr<StyleKeyframe> keyframe)
55 if (!keyframe)
57 m_keyframes.append(keyframe);
60 void StyleRuleKeyframes::wrapperAppendKeyframe(PassRefPtr<StyleKeyframe> keyframe)
62 m_keyframes.append(keyframe);
117 RefPtr<StyleKeyframe> keyframe = parser.parseKeyframeRule(styleSheet ? styleSheet->contents() : 0, ruleText); local
118 if (!keyframe)
123 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
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
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);
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);

Completed in 1668 milliseconds

1 2 3 4 5 6