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

1 2 3 4 5

  /frameworks/base/core/java/android/animation/
Keyframe.java 67 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
73 public static Keyframe ofInt(float fraction, int value) {
74 return new IntKeyframe(fraction, value);
86 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
89 public static Keyframe ofInt(float fraction) {
90 return new IntKeyframe(fraction);
99 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction
    [all...]
FloatEvaluator.java 26 * <code>fraction</code> representing the proportion between the start and end values. The
29 * and <code>t</code> is <code>fraction</code>.
31 * @param fraction The fraction from the starting to the ending values
36 * <code>fraction</code> parameter.
38 public Float evaluate(float fraction, Number startValue, Number endValue) {
40 return startFloat + fraction * (endValue.floatValue() - startFloat);
IntEvaluator.java 26 * <code>fraction</code> representing the proportion between the start and end values. The
29 * and <code>t</code> is <code>fraction</code>.
31 * @param fraction The fraction from the starting to the ending values
36 * <code>fraction</code> parameter.
38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) {
40 return (int)(startInt + fraction * (endValue - startInt));
ArgbEvaluator.java 31 * @param fraction The fraction from the starting to the ending values
41 public Object evaluate(float fraction, Object startValue, Object endValue) {
54 return (int)((startA + (int)(fraction * (endA - startA))) << 24) |
55 (int)((startR + (int)(fraction * (endR - startR))) << 16) |
56 (int)((startG + (int)(fraction * (endG - startG))) << 8) |
57 (int)((startB + (int)(fraction * (endB - startB))));
TypeEvaluator.java 31 * <code>fraction</code> representing the proportion between the start and end values. The
34 * and <code>t</code> is <code>fraction</code>.
36 * @param fraction The fraction from the starting to the ending values
40 * <code>fraction</code> parameter.
42 public T evaluate(float fraction, T startValue, T endValue);
FloatKeyframeSet.java 44 public Object getValue(float fraction) {
45 return getFloatValue(fraction);
60 public float getFloatValue(float fraction) {
69 fraction = mInterpolator.getInterpolation(fraction);
72 return firstValue + fraction * deltaValue;
74 return ((Number)mEvaluator.evaluate(fraction, firstValue, lastValue)).floatValue();
77 if (fraction <= 0f) {
86 fraction = interpolator.getInterpolation(fraction);
    [all...]
IntKeyframeSet.java 44 public Object getValue(float fraction) {
45 return getIntValue(fraction);
60 public int getIntValue(float fraction) {
69 fraction = mInterpolator.getInterpolation(fraction);
72 return firstValue + (int)(fraction * deltaValue);
74 return ((Number)mEvaluator.evaluate(fraction, firstValue, lastValue)).intValue();
77 if (fraction <= 0f) {
86 fraction = interpolator.getInterpolation(fraction);
    [all...]
KeyframeSet.java 152 * Gets the animated value, given the elapsed fraction of the animation (interpolated by the
154 * function maps the input fraction to the appropriate keyframe interval and a fraction
155 * between them and returns the interpolated value. Note that the input fraction may fall
157 * spring interpolation that might send the fraction past 1.0). We handle this situation by
160 * @param fraction The elapsed fraction of the animation
163 public Object getValue(float fraction) {
168 fraction = mInterpolator.getInterpolation(fraction);
    [all...]
  /frameworks/base/media/libstagefright/codecs/amrwbenc/inc/
log2.h 50 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1)*/
57 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
math_op.h 38 Word16 fraction /* (i) Q15 : Fractionnal part. (range: 0.0<=val<1.0) */
  /frameworks/base/media/libstagefright/codecs/amrnb/common/include/
pow2.h 104 Word16 fraction, /* (i) : Fractional part. (range: 0.0<=val<1.0) */
log2_norm.h 109 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
  /frameworks/base/media/libstagefright/codecs/amrwbenc/src/
log2.c 52 * 5- fraction = table[i]<<16 - (table[i] - table[i+1]) * a * 2
60 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
68 *fraction = 0;
75 a = (Word16)(L_x); /* Extract b10-b24 of fraction */
81 *fraction = extract_h (L_y);
101 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
107 Log2_norm ((L_x << exp), exp, exponent, fraction);
pitch_f4.c 60 Word32 frac /* (i) : fraction (-4..+3) */
70 Word16 * pit_frac, /* (o) : chosen fraction (0, 1, 2 or 3). */
77 Word32 fraction, i; local
120 fraction = -3;
124 fraction = -2;
128 fraction = 0;
130 max = Interpol_4(&corr[t0], fraction);
132 for (i = fraction + step; i <= 3; i += step)
138 fraction = i;
141 /* limit the fraction value in the interval [0,1,2,3] *
    [all...]
  /frameworks/base/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...]
  /external/webkit/Source/WebCore/rendering/mathml/
RenderMathMLRoot.h 37 RenderMathMLRoot(Node* fraction);
RenderMathMLSquareRoot.h 37 RenderMathMLSquareRoot(Node* fraction);
RenderMathMLFenced.h 37 RenderMathMLFenced(Node *fraction);
RenderMathMLFraction.h 38 RenderMathMLFraction(Element* fraction);
RenderMathMLSubSup.h 39 RenderMathMLSubSup(Element* fraction);
RenderMathMLFraction.cpp 49 RenderMathMLFraction::RenderMathMLFraction(Element* fraction)
50 : RenderMathMLBlock(fraction)
62 Element* fraction = static_cast<Element*>(node());
65 String nalign = fraction->getAttribute(MathMLNames::numalignAttr);
77 String dalign = fraction->getAttribute(MathMLNames::denomalignAttr);
86 String thickness = fraction->getAttribute(MathMLNames::linethicknessAttr);
126 // Adjust the fraction line thickness for the zoom
  /external/chromium/chrome/browser/ui/cocoa/
image_utils.h 13 // Works like |-drawInRect:fromRect:operation:fraction:|, except that
18 // |-drawInRect:fromRect:operation:fraction:respectFlipped:hints:|.
22 fraction:(CGFloat)requestedAlpha
  /external/tcpdump/
ntp.h 21 * | Fraction Part |
27 * | Integer Part | Fraction Part |
32 u_int32_t fraction; member in struct:l_fixedpt
37 u_int16_t fraction; member in struct:s_fixedpt
  /frameworks/base/media/libstagefright/codecs/amrwb/src/
pvamrwb_math_op.h 85 int16 fraction /* (i) Q15 : Fractionnal part. (range: 0.0<=val<1.0) */
98 int16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1)*/
105 int16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */

Completed in 113 milliseconds

1 2 3 4 5