/frameworks/base/core/java/android/animation/ |
D | Keyframe.java | 73 public static Keyframe ofInt(float fraction, int value) { in ofInt() argument 74 return new IntKeyframe(fraction, value); in ofInt() 89 public static Keyframe ofInt(float fraction) { in ofInt() argument 90 return new IntKeyframe(fraction); in ofInt() 105 public static Keyframe ofFloat(float fraction, float value) { in ofFloat() argument 106 return new FloatKeyframe(fraction, value); in ofFloat() 121 public static Keyframe ofFloat(float fraction) { in ofFloat() argument 122 return new FloatKeyframe(fraction); in ofFloat() 137 public static Keyframe ofObject(float fraction, Object value) { in ofObject() argument 138 return new ObjectKeyframe(fraction, value); in ofObject() [all …]
|
D | FloatKeyframeSet.java | 44 public Object getValue(float fraction) { in getValue() argument 45 return getFloatValue(fraction); in getValue() 60 public float getFloatValue(float fraction) { in getFloatValue() argument 69 fraction = mInterpolator.getInterpolation(fraction); in getFloatValue() 72 return firstValue + fraction * deltaValue; in getFloatValue() 74 return ((Number)mEvaluator.evaluate(fraction, firstValue, lastValue)).floatValue(); in getFloatValue() 77 if (fraction <= 0f) { in getFloatValue() 86 fraction = interpolator.getInterpolation(fraction); in getFloatValue() 88 float intervalFraction = (fraction - prevFraction) / (nextFraction - prevFraction); in getFloatValue() 93 } else if (fraction >= 1f) { in getFloatValue() [all …]
|
D | IntKeyframeSet.java | 44 public Object getValue(float fraction) { in getValue() argument 45 return getIntValue(fraction); in getValue() 60 public int getIntValue(float fraction) { in getIntValue() argument 69 fraction = mInterpolator.getInterpolation(fraction); in getIntValue() 72 return firstValue + (int)(fraction * deltaValue); in getIntValue() 74 return ((Number)mEvaluator.evaluate(fraction, firstValue, lastValue)).intValue(); in getIntValue() 77 if (fraction <= 0f) { in getIntValue() 86 fraction = interpolator.getInterpolation(fraction); in getIntValue() 88 float intervalFraction = (fraction - prevFraction) / (nextFraction - prevFraction); in getIntValue() 93 } else if (fraction >= 1f) { in getIntValue() [all …]
|
D | KeyframeSet.java | 176 public Object getValue(float fraction) { in getValue() argument 181 fraction = mInterpolator.getInterpolation(fraction); in getValue() 183 return mEvaluator.evaluate(fraction, mFirstKeyframe.getValue(), in getValue() 186 if (fraction <= 0f) { in getValue() 190 fraction = interpolator.getInterpolation(fraction); in getValue() 193 float intervalFraction = (fraction - prevFraction) / in getValue() 197 } else if (fraction >= 1f) { in getValue() 201 fraction = interpolator.getInterpolation(fraction); in getValue() 204 float intervalFraction = (fraction - prevFraction) / in getValue() 212 if (fraction < nextKeyframe.getFraction()) { in getValue() [all …]
|
D | RectEvaluator.java | 39 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { in evaluate() argument 40 return new Rect(startValue.left + (int)((endValue.left - startValue.left) * fraction), in evaluate() 41 startValue.top + (int)((endValue.top - startValue.top) * fraction), in evaluate() 42 startValue.right + (int)((endValue.right - startValue.right) * fraction), in evaluate() 43 startValue.bottom + (int)((endValue.bottom - startValue.bottom) * fraction)); in evaluate()
|
D | ArgbEvaluator.java | 41 public Object evaluate(float fraction, Object startValue, Object endValue) { in evaluate() argument 54 return (int)((startA + (int)(fraction * (endA - startA))) << 24) | in evaluate() 55 (int)((startR + (int)(fraction * (endR - startR))) << 16) | in evaluate() 56 (int)((startG + (int)(fraction * (endG - startG))) << 8) | in evaluate() 57 (int)((startB + (int)(fraction * (endB - startB)))); in evaluate()
|
D | ValueAnimator.java | 1151 float fraction = mDuration > 0 ? (float)(currentTime - mStartTime) / mDuration : 1f; in animationFrame() local 1152 if (fraction >= 1f) { in animationFrame() 1164 mCurrentIteration += (int)fraction; in animationFrame() 1165 fraction = fraction % 1f; in animationFrame() 1169 fraction = Math.min(fraction, 1.0f); in animationFrame() 1173 fraction = 1f - fraction; in animationFrame() 1175 animateValue(fraction); in animationFrame() 1241 void animateValue(float fraction) { in animateValue() argument 1242 fraction = mInterpolator.getInterpolation(fraction); in animateValue() 1243 mCurrentFraction = fraction; in animateValue() [all …]
|
D | IntEvaluator.java | 38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate() argument 40 return (int)(startInt + fraction * (endValue - startInt)); in evaluate()
|
D | FloatEvaluator.java | 38 public Float evaluate(float fraction, Number startValue, Number endValue) { in evaluate() argument 40 return startFloat + fraction * (endValue.floatValue() - startFloat); in evaluate()
|
D | TypeEvaluator.java | 42 public T evaluate(float fraction, T startValue, T endValue); in evaluate() argument
|
D | PropertyValuesHolder.java | 659 void calculateValue(float fraction) { in calculateValue() argument 660 mAnimatedValue = mKeyframeSet.getValue(fraction); in calculateValue() 791 void calculateValue(float fraction) { in calculateValue() argument 792 mIntAnimatedValue = mIntKeyframeSet.getIntValue(fraction); in calculateValue() 928 void calculateValue(float fraction) { in calculateValue() argument 929 mFloatAnimatedValue = mFloatKeyframeSet.getFloatValue(fraction); in calculateValue()
|
D | TimeAnimator.java | 43 void animateValue(float fraction) { in animateValue() argument
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | log2.c | 60 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ in Log2_norm() argument 68 *fraction = 0; in Log2_norm() 81 *fraction = extract_h (L_y); in Log2_norm() 101 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ in Log2() argument 107 Log2_norm ((L_x << exp), exp, exponent, fraction); in Log2()
|
D | pitch_f4.c | 77 Word32 fraction, i; in Pitch_fr4() local 120 fraction = -3; in Pitch_fr4() 124 fraction = -2; in Pitch_fr4() 128 fraction = 0; in Pitch_fr4() 130 max = Interpol_4(&corr[t0], fraction); in Pitch_fr4() 132 for (i = fraction + step; i <= 3; i += step) in Pitch_fr4() 138 fraction = i; in Pitch_fr4() 142 if (fraction < 0) in Pitch_fr4() 144 fraction += UP_SAMP; in Pitch_fr4() 147 *pit_frac = fraction; in Pitch_fr4()
|
D | math_op.c | 160 Word16 fraction /* (i) Q15 : Fractionnal part. (range: 0.0<=val<1.0) */ in Pow2() argument 166 L_x = vo_L_mult(fraction, 32); /* L_x = fraction<<6 */ in Pow2()
|
/frameworks/base/core/java/android/net/ |
D | SntpClient.java | 186 long fraction = read32(buffer, offset + 4); in readTimeStamp() local 187 … return ((seconds - OFFSET_1900_TO_1970) * 1000) + ((fraction * 1000L) / 0x100000000L); in readTimeStamp() 205 long fraction = milliseconds * 0x100000000L / 1000L; in writeTimeStamp() local 207 buffer[offset++] = (byte)(fraction >> 24); in writeTimeStamp() 208 buffer[offset++] = (byte)(fraction >> 16); in writeTimeStamp() 209 buffer[offset++] = (byte)(fraction >> 8); in writeTimeStamp()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | bitstream_io.cpp | 257 PV_STATUS BitstreamSavePartial(BitstreamEncVideo *stream, Int *fraction) in BitstreamSavePartial() argument 283 *fraction = 1; in BitstreamSavePartial() 287 *fraction = 0; in BitstreamSavePartial() 301 if (*fraction) in BitstreamSavePartial() 329 Int fraction; in BitstreamShortHeaderByteAlignStuffing() local 341 BitstreamSavePartial(stream, &fraction); in BitstreamShortHeaderByteAlignStuffing() 359 Int fraction; in BitstreamMpeg4ByteAlignStuffing() local 377 BitstreamSavePartial(stream, &fraction); in BitstreamMpeg4ByteAlignStuffing() 422 Int bitused, bitleft, offset, fraction; in BitstreamAppendEnc() local 424 status = BitstreamSavePartial(bitstream1, &fraction); in BitstreamAppendEnc() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | pvamrwb_math_op.cpp | 386 int16 fraction /* (i) Q15 : Fractionnal part. (range: 0.0<=val<1.0) */ in power_of_2() argument 392 L_x = fraction << 5; /* L_x = fraction<<6 */ in power_of_2() 393 i = (fraction >> 10); /* Extract b10-b16 of fraction */ in power_of_2() 493 int16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ in Lg2_normalized() argument 502 *fraction = 0;; in Lg2_normalized() 520 *fraction = extract_h(L_y); in Lg2_normalized() 541 int16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ in amrwb_log_2() argument 547 Lg2_normalized(shl_int32(L_x, exp), exp, exponent, fraction); in amrwb_log_2()
|
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) */
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | log2_norm.cpp | 200 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ in Log2_norm() argument 209 *fraction = 0; in Log2_norm() 234 *fraction = (Word16)(L_y >> 16); in Log2_norm()
|
D | pow2.cpp | 178 Word16 fraction, /* (i) : Fractional part. (range: 0.0<=val<1.0) */ in Pow2() argument 185 L_x = L_mult(fraction, 32, pOverflow); /* L_x = fraction<<6 */ in Pow2()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
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) */
|
D | math_op.h | 38 Word16 fraction /* (i) Q15 : Fractionnal part. (range: 0.0<=val<1.0) */
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
D | pow2.h | 104 Word16 fraction, /* (i) : Fractional part. (range: 0.0<=val<1.0) */
|
D | log2_norm.h | 109 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
|