/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/ |
AnimatableLengthPoint.cpp | 36 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));
|
AnimatableLengthSize.cpp | 36 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));
|
AnimatableLengthPoint3D.cpp | 36 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));
|
AnimatableShadow.cpp | 36 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableShadow::interpolateTo(const AnimatableValue* value, double fraction) const 39 return AnimatableShadow::create(ShadowList::blend(m_shadowList.get(), shadowList->m_shadowList.get(), fraction));
|
AnimatableTransform.cpp | 41 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableTransform::interpolateTo(const AnimatableValue* value, double fraction) const 44 return AnimatableTransform::create(transform->m_transform.blend(m_transform, fraction));
|
AnimatableDouble.cpp | 45 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));
|
AnimatableLengthBoxAndBool.cpp | 44 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableLengthBoxAndBool::interpolateTo(const AnimatableValue* value, double fraction) const 49 AnimatableValue::interpolate(box(), lengthBox->box(), fraction), 52 return defaultInterpolateTo(this, value, fraction);
|
AnimatableColor.cpp | 71 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));
|
AnimatableSVGPaint.cpp | 43 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)
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
log2_norm.cpp | 95 fraction = pointer to the fractional part of Log2 (of type Word16) 100 fraction points to the newly calculated fractional part of Log2 122 5. fraction = table[i]<<16 - (table[i] - table[i+1]) * a * 2 141 Word16 *fraction // (o) : Fractional part of Log2. (range: 0<=val<1) 150 *fraction = 0; 159 a = extract_l (L_x); // Extract b10-b24 of fraction 168 *fraction = extract_h (L_y); 200 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ 209 *fraction = 0; 221 a = L_x & 0x7fff; /* Extract b10-b24 of fraction */ [all...] |
pow2.cpp | 83 fraction = Fractional part whose valid range is 0 <= value < 1 103 This function computes L_x = pow(2.0, exponent.fraction) 107 1- i = bit10-b15 of fraction, 0 <= i <= 31 108 2- a = bit0-b9 of fraction 127 Word16 fraction // (i) : Fractional part. (range: 0.0<=val<1.0) 133 L_x = L_mult (fraction, 32); // L_x = fraction<<6 134 i = extract_h (L_x); // Extract b10-b16 of fraction 136 a = extract_l (L_x); // Extract b0-b9 of fraction 178 Word16 fraction, /* (i) : Fractional part. (range: 0.0<=val<1.0) * [all...] |
/frameworks/base/core/java/android/animation/ |
PointFEvaluator.java | 56 * end PointF values, with <code>fraction</code> representing the proportion 65 * @param fraction The fraction from the starting to the ending values 69 * <code>fraction</code> parameter. 72 public PointF evaluate(float fraction, PointF startValue, PointF endValue) { 73 float x = startValue.x + (fraction * (endValue.x - startValue.x)); 74 float y = startValue.y + (fraction * (endValue.y - startValue.y));
|
FloatArrayEvaluator.java | 52 * Interpolates the value at each index by the fraction. If 57 * @param fraction The fraction from the starting to the ending values 64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { 73 array[i] = start + (fraction * (end - start));
|
IntArrayEvaluator.java | 52 * Interpolates the value at each index by the fraction. If {@link #IntArrayEvaluator(int[])} 56 * @param fraction The fraction from the starting to the ending values 63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { 71 array[i] = (int) (start + (fraction * (end - start)));
|
KeyframeSet.java | 193 * Gets the animated value, given the elapsed fraction of the animation (interpolated by the 195 * function maps the input fraction to the appropriate keyframe interval and a fraction 196 * between them and returns the interpolated value. Note that the input fraction may fall 198 * spring interpolation that might send the fraction past 1.0). We handle this situation by 201 * @param fraction The elapsed fraction of the animation 204 public Object getValue(float fraction) { 209 fraction = mInterpolator.getInterpolation(fraction); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
InterpolationEffect.cpp | 10 PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > InterpolationEffect::getActiveInterpolations(double fraction, double iterationDuration) const 17 if (fraction >= record->m_applyFrom && fraction < record->m_applyTo) { 19 double localFraction = (fraction - record->m_start) / (record->m_end - record->m_start);
|
AnimationEffect.h | 55 virtual PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > sample(int iteration, double fraction, double iterationDuration) const = 0;
|
Interpolation.cpp | 47 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;
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
log2_norm.h | 109 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
|
/external/chromium_org/media/base/simd/ |
filter_yuv_sse2.cc | 20 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;
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
PSNRComparer.java | 73 float fraction = (MAX * MAX) / MSE; local 74 fraction = (float) Math.log(fraction); 75 fraction *= 10; 77 Log.d(TAG, "PSNR : " + fraction); 79 return (fraction > mThreshold);
|
/cts/tests/tests/animation/src/android/animation/cts/ |
KeyframeTest.java | 27 float fraction = keyFrame.getFraction(); local 28 assertTrue(fraction == 0.0f); 34 float fraction = keyFrame.getFraction(); local 35 assertTrue(fraction == 0.5f); 40 float fraction = keyFrame.getFraction(); local 41 assertEquals(fraction, 0.0f); 58 float fraction = keyFrame.getFraction(); local 59 assertEquals(fraction, 0.0f);
|
/external/chromium_org/cc/base/ |
rolling_time_delta_history.cc | 38 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;
|
/developers/build/prebuilts/gradle/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/ |
PartyLightView.java | 102 private int getColor(float fraction, int colorStart, int colorEnd) { 115 return (startA + (int)(fraction * (endA - startA))) << 24 | 116 (startR + (int)(fraction * (endR - startR))) << 16 | 117 (startG + (int)(fraction * (endG - startG))) << 8 | 118 ((startB + (int)(fraction * (endB - startB))));
|
/developers/samples/android/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/ |
PartyLightView.java | 102 private int getColor(float fraction, int colorStart, int colorEnd) { 115 return (startA + (int)(fraction * (endA - startA))) << 24 | 116 (startR + (int)(fraction * (endR - startR))) << 16 | 117 (startG + (int)(fraction * (endG - startG))) << 8 | 118 ((startB + (int)(fraction * (endB - startB))));
|