Searched refs:fraction (Results 1 - 25 of 126) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
H A DAnimatableVisibility.cpp43 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableVisibility::interpolateTo(const AnimatableValue* value, double fraction) const
48 return defaultInterpolateTo(this, value, fraction);
49 if (fraction <= 0)
51 if (fraction >= 1)
H A DAnimatableSVGLength.cpp38 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableSVGLength::interpolateTo(const AnimatableValue* value, double fraction) const
40 return create(toAnimatableSVGLength(value)->toSVGLength()->blend(m_length.get(), narrowPrecisionToFloat(fraction)));
H A DAnimatableImage.cpp50 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableImage::interpolateTo(const AnimatableValue* value, double fraction) const
52 if (fraction <= 0 || fraction >= 1 || usesDefaultInterpolationWith(value))
53 return defaultInterpolateTo(this, value, fraction);
59 crossfadeValue->setPercentage(CSSPrimitiveValue::create(fraction, CSSPrimitiveValue::CSS_NUMBER));
H A DAnimatableLengthBox.cpp36 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableLengthBox::interpolateTo(const AnimatableValue* value, double fraction) const
40 AnimatableValue::interpolate(this->left(), lengthBox->left(), fraction),
41 AnimatableValue::interpolate(this->right(), lengthBox->right(), fraction),
42 AnimatableValue::interpolate(this->top(), lengthBox->top(), fraction),
43 AnimatableValue::interpolate(this->bottom(), lengthBox->bottom(), fraction));
H A DAnimatableValue.cpp52 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableValue::interpolate(const AnimatableValue* left, const AnimatableValue* right, double fraction) argument
59 if (fraction && fraction != 1 && left->isSameType(right))
60 return left->interpolateTo(right, fraction);
62 return defaultInterpolateTo(left, right, fraction);
H A DAnimatableLengthPoint.cpp36 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableLengthPoint::interpolateTo(const AnimatableValue* value, double fraction) const
40 AnimatableValue::interpolate(this->x(), lengthPoint->x(), fraction),
41 AnimatableValue::interpolate(this->y(), lengthPoint->y(), fraction));
H A DAnimatableLengthSize.cpp36 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableLengthSize::interpolateTo(const AnimatableValue* value, double fraction) const
40 AnimatableValue::interpolate(this->width(), lengthSize->width(), fraction),
41 AnimatableValue::interpolate(this->height(), lengthSize->height(), fraction));
H A DAnimatableLengthPoint3D.cpp36 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableLengthPoint3D::interpolateTo(const AnimatableValue* value, double fraction) const
40 AnimatableValue::interpolate(this->x(), lengthPoint->x(), fraction),
41 AnimatableValue::interpolate(this->y(), lengthPoint->y(), fraction),
42 AnimatableValue::interpolate(this->z(), lengthPoint->z(), fraction));
H A DAnimatableShadow.cpp36 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableShadow::interpolateTo(const AnimatableValue* value, double fraction) const
39 return AnimatableShadow::create(ShadowList::blend(m_shadowList.get(), shadowList->m_shadowList.get(), fraction));
H A DAnimatableTransform.cpp41 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableTransform::interpolateTo(const AnimatableValue* value, double fraction) const
44 return AnimatableTransform::create(transform->m_transform.blend(m_transform, fraction));
H A DAnimatableDouble.cpp45 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableDouble::interpolateTo(const AnimatableValue* value, double fraction) const
50 return defaultInterpolateTo(this, value, fraction);
51 return AnimatableDouble::create(blend(m_number, other->m_number, fraction));
H A DAnimatableLengthBoxAndBool.cpp44 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableLengthBoxAndBool::interpolateTo(const AnimatableValue* value, double fraction) const
49 AnimatableValue::interpolate(box(), lengthBox->box(), fraction),
52 return defaultInterpolateTo(this, value, fraction);
H A DAnimatableColor.cpp71 AnimatableColorImpl AnimatableColorImpl::interpolateTo(const AnimatableColorImpl& to, double fraction) const
73 return AnimatableColorImpl(blend(m_red, to.m_red, fraction),
74 blend(m_green, to.m_green, fraction),
75 blend(m_blue, to.m_blue, fraction),
76 blend(m_alpha, to.m_alpha, fraction));
100 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableColor::interpolateTo(const AnimatableValue* value, double fraction) const
103 return create(m_color.interpolateTo(color->m_color, fraction),
104 m_visitedLinkColor.interpolateTo(color->m_visitedLinkColor, fraction));
H A DAnimatableSVGPaint.cpp43 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableSVGPaint::interpolateTo(const AnimatableValue* value, double fraction) const
46 return defaultInterpolateTo(this, value, fraction);
49 RefPtrWillBeRawPtr<AnimatableColor> color = toAnimatableColor(AnimatableValue::interpolate(m_color.get(), svgPaint->m_color.get(), fraction).get());
50 if (fraction < 0.5)
H A DAnimatableClipPathOperation.cpp49 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableClipPathOperation::interpolateTo(const AnimatableValue* value, double fraction) const
52 return defaultInterpolateTo(this, value, fraction);
58 return AnimatableClipPathOperation::create(ShapeClipPathOperation::create(toShape->blend(fromShape, fraction)).get());
H A DAnimatableFilterOperations.cpp44 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableFilterOperations::interpolateTo(const AnimatableValue* value, double fraction) const
47 return defaultInterpolateTo(this, value, fraction);
57 RefPtr<FilterOperation> blendedOp = FilterOperation::blend(from, to, fraction);
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DInterpolationEffect.cpp10 PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > InterpolationEffect::getActiveInterpolations(double fraction, double iterationDuration) const argument
17 if (fraction >= record->m_applyFrom && fraction < record->m_applyTo) {
19 double localFraction = (fraction - record->m_start) / (record->m_end - record->m_start);
H A DInterpolation.cpp47 void Interpolation::interpolate(int iteration, double fraction) const
49 if (m_cachedFraction != fraction || m_cachedIteration != iteration) {
50 m_cachedValue = m_start->interpolate(*m_end, fraction);
52 m_cachedFraction = fraction;
H A DAnimationEffect.h55 virtual PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > sample(int iteration, double fraction, double iterationDuration) const = 0;
/external/chromium_org/media/base/simd/
H A Dfilter_yuv_sse2.cc20 int fraction) {
27 dest[pixel] = (src0[pixel] * (256 - fraction) +
28 src1[pixel] * fraction) >> 8;
33 __m128i src1_fraction = _mm_set1_epi16(fraction);
34 __m128i src0_fraction = _mm_set1_epi16(256 - fraction);
66 dest[pixel] = (src0[pixel] * (256 - fraction) +
67 src1[pixel] * fraction) >> 8;
16 FilterYUVRows_SSE2(uint8* dest, const uint8* src0, const uint8* src1, int width, int fraction) argument
/external/chromium_org/cc/base/
H A Drolling_time_delta_history.cc38 double fraction = percent / 100.0; local
40 if (fraction <= 0.0)
43 if (fraction >= 1.0)
47 static_cast<size_t>(std::ceil(fraction * sample_set_.size())) - 1;
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Dnormal.cc129 int fraction = increment;
136 (fraction * (*output)[channel_ix][i] +
137 (32 - fraction) * expanded[channel_ix][i] + 8) >> 5;
138 fraction += increment;
165 int16_t fraction = increment;
170 (fraction * signal[i] + (32 - fraction) * cng_output[i] + 8) >> 5;
171 fraction += increment;
/external/chromium_org/ui/ozone/demo/
H A Dozone_demo.cc144 float fraction = (sinf(iteration_ * 2 * M_PI / kAnimationSteps) + 1) / 2; local
149 return fraction;
153 float fraction = NextFraction(); local
157 glClearColor(1 - fraction, fraction, 0.0, 1.0);
165 float fraction = NextFraction(); local
171 SkColorSetARGB(0xff, 0, 0xff * fraction, 0xff * (1 - fraction));
/external/tcpdump/
H A Dntp.h32 u_int32_t fraction; member in struct:l_fixedpt
37 u_int16_t fraction; member in struct:s_fixedpt
/external/chromium_org/chrome/browser/chromeos/ui/
H A Daccessibility_focus_ring.h80 double fraction);

Completed in 532 milliseconds

123456