OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:interpolations
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/animation/
SampledEffect.h
18
static PassOwnPtrWillBeRawPtr<SampledEffect> create(Animation* animation, PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > >
interpolations
)
20
return adoptPtrWillBeNoop(new SampledEffect(animation,
interpolations
));
26
const WillBeHeapVector<RefPtrWillBeMember<Interpolation> >&
interpolations
() const { return *m_interpolations; }
function in class:WebCore::SampledEffect
27
void setInterpolations(PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > >
interpolations
) { m_interpolations =
interpolations
; }
AnimationStackTest.cpp
126
WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<Interpolation> >
interpolations
;
local
130
interpolations
= AnimationStack::activeInterpolations(&element->activeAnimations()->defaultStack(), 0, 0, Animation::DefaultPriority, 0);
131
EXPECT_TRUE(interpolationValue(
interpolations
.get(CSSPropertyFontSize))->equals(AnimatableDouble::create(2).get()));
133
EXPECT_EQ(1u,
interpolations
.size());
140
interpolations
= AnimationStack::activeInterpolations(&element->activeAnimations()->defaultStack(), 0, 0, Animation::DefaultPriority, 0);
141
EXPECT_TRUE(interpolationValue(
interpolations
.get(CSSPropertyFontSize))->equals(AnimatableDouble::create(2).get()));
149
interpolations
= AnimationStack::activeInterpolations(&element->activeAnimations()->defaultStack(), 0, 0, Animation::DefaultPriority, 0);
150
EXPECT_TRUE(interpolationValue(
interpolations
.get(CSSPropertyFontSize))->equals(AnimatableDouble::create(2).get()));
157
interpolations
= AnimationStack::activeInterpolations(&element->activeAnimations()->defaultStack(), 0, 0, Animation::DefaultPriority, 0);
158
EXPECT_TRUE(interpolationValue(
interpolations
.get(CSSPropertyFontSize))->equals(AnimatableDouble::create(2).get()))
[
all
...]
SampledEffect.cpp
12
SampledEffect::SampledEffect(Animation* animation, PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > >
interpolations
)
17
, m_interpolations(
interpolations
)
AnimationStack.cpp
111
copyToActiveInterpolationMap(effect.
interpolations
(), result);
130
for (size_t i = 0; i < effect.
interpolations
().size(); ++i)
131
replacedProperties.set(toStyleInterpolation(effect.
interpolations
()[i].get())->id());
137
if (!m_effects[i]->
interpolations
().isEmpty()) {
Animation.cpp
155
OwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > >
interpolations
= m_effect->sample(static_cast<int>(iteration), timeFraction(), iterationDuration());
local
157
m_sampledEffect->setInterpolations(
interpolations
.release());
158
} else if (!
interpolations
->isEmpty()) {
159
OwnPtrWillBeRawPtr<SampledEffect> sampledEffect = SampledEffect::create(this,
interpolations
.release());
Completed in 535 milliseconds