/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | 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) */
|
H A D | math_op.h | 38 Word16 fraction /* (i) Q15 : Fractionnal part. (range: 0.0<=val<1.0) */
|
/frameworks/base/core/java/android/animation/ |
H A D | 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) { argument 40 return startFloat + fraction * (endValue.floatValue() - startFloat);
|
H A D | 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) { argument 40 return (int)(startInt + fraction * (endValue - startInt));
|
H A D | Keyframes.java | 43 * Gets the animated value, given the elapsed fraction of the animation (interpolated by the 45 * function maps the input fraction to the appropriate keyframe interval and a fraction 46 * between them and returns the interpolated value. Note that the input fraction may fall 48 * spring interpolation that might send the fraction past 1.0). We handle this situation by 51 * @param fraction The elapsed fraction of the animation 54 Object getValue(float fraction); argument 77 * @param fraction The elapsed fraction o 80 getIntValue(float fraction) argument 93 getFloatValue(float fraction) argument [all...] |
H A D | PathKeyframes.java | 65 public Object getValue(float fraction) { argument 67 if (fraction < 0) { 68 return interpolateInRange(fraction, 0, 1); 69 } else if (fraction > 1) { 70 return interpolateInRange(fraction, numPoints - 2, numPoints - 1); 71 } else if (fraction == 0) { 73 } else if (fraction == 1) { 84 if (fraction < midFraction) { 86 } else if (fraction > midFraction) { 93 // now high is below the fraction an 98 interpolateInRange(float fraction, int startIndex, int endIndex) argument 149 interpolate(float fraction, float startValue, float endValue) argument 241 getValue(float fraction) argument 254 getValue(float fraction) argument [all...] |
H A D | Keyframe.java | 76 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction 82 public static Keyframe ofInt(float fraction, int value) { argument 83 return new IntKeyframe(fraction, value); 95 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction 98 public static Keyframe ofInt(float fraction) { argument 99 return new IntKeyframe(fraction); 108 * @param fraction The time, expressed as a value between 0 and 1, representing the fraction 114 ofFloat(float fraction, float value) argument 130 ofFloat(float fraction) argument 146 ofObject(float fraction, Object value) argument 162 ofObject(float fraction) argument 221 setFraction(float fraction) argument 269 ObjectKeyframe(float fraction, Object value) argument 304 IntKeyframe(float fraction, int value) argument 311 IntKeyframe(float fraction) argument 351 FloatKeyframe(float fraction, float value) argument 358 FloatKeyframe(float fraction) argument [all...] |
H A D | 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); argument
|
H A D | ArgbEvaluator.java | 44 * @param fraction The fraction from the starting to the ending values 54 public Object evaluate(float fraction, Object startValue, Object endValue) { argument 67 return (int)((startA + (int)(fraction * (endA - startA))) << 24) | 68 (int)((startR + (int)(fraction * (endR - startR))) << 16) | 69 (int)((startG + (int)(fraction * (endG - startG))) << 8) | 70 (int)((startB + (int)(fraction * (endB - startB))));
|
H A D | RectEvaluator.java | 56 * end Rect 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 Rect evaluate(float fraction, Rect startValue, Rect endValue) { argument 73 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); 74 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); 75 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); 76 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction);
|
H A D | FloatKeyframeSet.java | 45 public Object getValue(float fraction) { argument 46 return getFloatValue(fraction); 67 public float getFloatValue(float fraction) { argument 76 fraction = mInterpolator.getInterpolation(fraction); 79 return firstValue + fraction * deltaValue; 81 return ((Number)mEvaluator.evaluate(fraction, firstValue, lastValue)).floatValue(); 84 if (fraction <= 0f) { 93 fraction = interpolator.getInterpolation(fraction); [all...] |
H A D | IntKeyframeSet.java | 45 public Object getValue(float fraction) { argument 46 return getIntValue(fraction); 67 public int getIntValue(float fraction) { argument 76 fraction = mInterpolator.getInterpolation(fraction); 79 return firstValue + (int)(fraction * deltaValue); 81 return ((Number)mEvaluator.evaluate(fraction, firstValue, lastValue)).intValue(); 84 if (fraction <= 0f) { 93 fraction = interpolator.getInterpolation(fraction); [all...] |
H A D | 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) { argument 73 float x = startValue.x + (fraction * (endValue.x - startValue.x)); 74 float y = startValue.y + (fraction * (endValue.y - startValue.y));
|
H A D | 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) { argument 73 array[i] = start + (fraction * (end - start));
|
H A D | 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) { argument 71 array[i] = (int) (start + (fraction * (end - start)));
|
H A D | 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) { argument 209 fraction = mInterpolator.getInterpolation(fraction); [all...] |
H A D | ValueAnimator.java | 74 // determine elapsed time (and therefore the elapsed fraction) in subsequent calls 112 * elapsed fraction to be inverted to calculate the appropriate values. 132 * Tracks current elapsed/eased fraction, for querying in getAnimatedFraction(). 210 * The time interpolator to be used. The elapsed fraction of the animation will be passed 211 * through this interpolator to calculate the interpolated fraction, which is then used to 549 float fraction = mUnscaledDuration > 0 ? (float) playTime / mUnscaledDuration : 1; 550 setCurrentFraction(fraction); 554 * Sets the position of the animation to the specified fraction. This fraction should 555 * be between 0 and the total fraction o 570 setCurrentFraction(float fraction) argument 1364 animateValue(float fraction) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | pow2.h | 104 Word16 fraction, /* (i) : Fractional part. (range: 0.0<=val<1.0) */
|
H A D | log2_norm.h | 109 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | Parallaxable.java | 23 * implement this interface to receive the current parallax fraction to use when 28 * @param fraction the vertical center point for the viewport, in the range [0,1] 30 void setParallaxFraction(float fraction); argument
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | 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);
|
H A D | pitch_f4.c | 62 Word32 frac /* (i) : fraction (-4..+3) */ 72 Word16 * pit_frac, /* (o) : chosen fraction (0, 1, 2 or 3). */ 79 Word32 fraction, i; local 122 fraction = -3; 126 fraction = -2; 130 fraction = 0; 132 max = Interpol_4(&corr[t0], fraction); 134 for (i = fraction + step; i <= 3; i += step) 140 fraction = i; 143 /* limit the fraction valu [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | 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...] |
H A D | 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, /* ( 176 Pow2( Word16 exponent, Word16 fraction, Flag *pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | 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) */
|