HomeSort by relevance Sort by last modified time
    Searched refs:Keyframe (Results 1 - 25 of 30) sorted by null

1 2

  /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 459 ArrayList<Keyframe> keyframes = pvh.mKeyframeSet.mKeyframes;
  /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/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/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 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...]
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...]
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
RadialSelectorView.java 19 import android.animation.Keyframe;
330 Keyframe kf0, kf1, kf2;
334 kf0 = Keyframe.ofFloat(0f, 1);
335 kf1 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier);
336 kf2 = Keyframe.ofFloat(1f, mTransitionEndRadiusMultiplier);
340 kf0 = Keyframe.ofFloat(0f, 1f);
341 kf1 = Keyframe.ofFloat(1f, 0f);
357 Keyframe kf0, kf1, kf2, kf3;
371 kf0 = Keyframe.ofFloat(0f, mTransitionEndRadiusMultiplier);
372 kf1 = Keyframe.ofFloat(delayPoint, mTransitionEndRadiusMultiplier)
    [all...]
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...]
  /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);
  /development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
CardView.java 22 import android.animation.Keyframe;
153 Keyframe shadowKeyFrameStart = Keyframe.ofFloat(0, 0);
154 Keyframe shadowKeyFrameMid = Keyframe.ofFloat(0.5f, 1);
155 Keyframe shadowKeyFrameEnd = Keyframe.ofFloat(1, 0);
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
AnimationTranslationUtil.cpp 136 template <class Value, class Keyframe, class Curve>
139 curve->add(Keyframe(keyTime, value->value()), timingFunctionType);
143 template <class Value, class Keyframe, class Curve>
146 curve->add(Keyframe(keyTime, value->value()), x1, y1, x2, y2);
199 template <class Value, class Keyframe, class Curve>
221 // If there hasn't been a timing function associated with this keyframe, use the
262 addedKeyframe = appendKeyframeWithCustomBezierTimingFunction<Value, Keyframe, Curve>(curve, keyTime, originalValue, lastOriginalValue, x1, y1, x2, y2, boxSize);
264 addedKeyframe = appendKeyframeWithStandardTimingFunction<Value, Keyframe, Curve>(curve, keyTime, originalValue, lastOriginalValue, timingFunctionType, boxSize);
  /external/chromium_org/third_party/WebKit/Source/core/css/
StyleRule.cpp 96 case Keyframe:
132 case Keyframe:
180 case Keyframe:
StyleRule.h 49 Keyframe, // Not used. These are internally non-rule StyleKeyframe objects.
StyleSheetContents.cpp 455 case StyleRuleBase::Keyframe:
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
StyleResolver.cpp 278 // This is a simplified style setting function for keyframe styles
679 PassRefPtr<RenderStyle> StyleResolver::styleForKeyframe(Element* e, const RenderStyle* elementStyle, const StyleKeyframe* keyframe)
689 if (keyframe->properties())
690 result.addMatchedProperties(keyframe->properties());
703 if (keyframe->properties()) {
717 if (keyframe->properties())
762 // Construct and populate the style for each keyframe
766 const StyleKeyframe* keyframe = keyframes[i].get(); local
769 keyframeValue.setStyle(styleForKeyframe(e, elementStyle, keyframe));
770 keyframeValue.addProperties(keyframe->properties())
825 RefPtr<Keyframe> keyframe = Keyframe::create(); local
    [all...]
  /prebuilts/sdk/11/
android.jar 

Completed in 2686 milliseconds

1 2