/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | TextInterpolatorTest.kt | 81 val interp = TextInterpolator(layout) in testStartState() constant 82 interp.basePaint.set(START_PAINT) in testStartState() 83 interp.onBasePaintModified() in testStartState() 85 interp.targetPaint.set(END_PAINT) in testStartState() 86 interp.onTargetPaintModified() in testStartState() 89 assertThat(interp.progress).isEqualTo(0f) in testStartState() 90 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testStartState() 100 val interp = TextInterpolator(layout) in testEndState() constant 101 interp.basePaint.set(START_PAINT) in testEndState() 102 interp.onBasePaintModified() in testEndState() [all …]
|
D | FontInterpolatorTest.kt | 61 val interp = FontInterpolator() in <lambda>() constant 62 assertSameAxes(startFont, interp.lerp(startFont, endFont, 0f)) in <lambda>() 63 assertSameAxes(endFont, interp.lerp(startFont, endFont, 1f)) in <lambda>() 64 assertSameAxes("'wght' 500, 'ital' 0.5, 'GRAD' 450", interp.lerp(startFont, endFont, 0.5f)) in <lambda>() 76 val interp = FontInterpolator() in <lambda>() constant 77 assertSameAxes("'wght' 250, 'ital' 0.5", interp.lerp(startFont, endFont, 0.5f)) in <lambda>() 89 val interp = FontInterpolator() in <lambda>() constant 90 val resultFont = interp.lerp(startFont, endFont, 0.5f) in <lambda>() 91 val cachedFont = interp.lerp(startFont, endFont, 0.5f) in <lambda>() 104 val interp = FontInterpolator() in <lambda>() constant [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | Interpolator.cpp | 11 SkiaInterpolator* interp = reinterpret_cast<SkiaInterpolator*>(interpHandle); in Interpolator_destructor() local 12 delete interp; in Interpolator_destructor() 17 SkiaInterpolator* interp = reinterpret_cast<SkiaInterpolator*>(interpHandle); in Interpolator_reset() local 18 interp->reset(valueCount, frameCount); in Interpolator_reset() 23 SkiaInterpolator* interp = reinterpret_cast<SkiaInterpolator*>(interpHandle); in Interpolator_setKeyFrame() local 34 interp->setKeyFrame(index, msec, scalars, blend); in Interpolator_setKeyFrame() 39 SkiaInterpolator* interp = reinterpret_cast<SkiaInterpolator*>(interpHandle); in Interpolator_setRepeatMirror() local 43 interp->setRepeatCount(repeatCount); in Interpolator_setRepeatMirror() 44 interp->setMirror(mirror != 0); in Interpolator_setRepeatMirror() 49 SkiaInterpolator* interp = reinterpret_cast<SkiaInterpolator*>(interpHandle); in Interpolator_timeToValues() local [all …]
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerFirProcessSSE.h | 54 __m128 interp; in ProcessSSEIntrinsic() local 56 interp = _mm_set1_ps(lerpP); in ProcessSSEIntrinsic() 85 posCoef = _mm_fmadd_ps(posCoef1, interp, posCoef); in ProcessSSEIntrinsic() 86 negCoef = _mm_fmadd_ps(negCoef, interp, negCoef1); in ProcessSSEIntrinsic() 88 posCoef1 = _mm_mul_ps(posCoef1, interp); in ProcessSSEIntrinsic() 89 negCoef = _mm_mul_ps(negCoef, interp); in ProcessSSEIntrinsic()
|
D | AudioResamplerFirProcessNeon.h | 92 int16x4_t interp; in ProcessNeonIntrinsic() local 94 interp = vdup_n_s16(lerpP); in ProcessNeonIntrinsic() 121 posCoef1 = vqrdmulhq_lane_s16(posCoef1, interp, 0); in ProcessNeonIntrinsic() 122 negCoef = vqrdmulhq_lane_s16(negCoef, interp, 0); in ProcessNeonIntrinsic() 200 int32x2_t interp; in ProcessNeonIntrinsic() local 202 interp = vdup_n_s32(lerpP); in ProcessNeonIntrinsic() 256 posCoef1.val[0] = vqrdmulhq_lane_s32(posCoef1.val[0], interp, 0); in ProcessNeonIntrinsic() 257 posCoef1.val[1] = vqrdmulhq_lane_s32(posCoef1.val[1], interp, 0); in ProcessNeonIntrinsic() 258 negCoef.val[0] = vqrdmulhq_lane_s32(negCoef.val[0], interp, 0); in ProcessNeonIntrinsic() 259 negCoef.val[1] = vqrdmulhq_lane_s32(negCoef.val[1], interp, 0); in ProcessNeonIntrinsic() [all …]
|
D | AudioResamplerCubic.cpp | 82 out[outputIndex++] += vl * interp(&left, x); in resampleStereo16() 83 out[outputIndex++] += vr * interp(&right, x); in resampleStereo16() 150 sample = interp(&left, x); in resampleMono16()
|
D | AudioResamplerCubic.h | 50 static inline int32_t interp(state* p, int32_t x) { in interp() function
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioCoefInterpolator.cpp | 72 out[d] = interp(out[d], tempCoef[d], fracCoord[dim]); in getCoefRecurse() 78 audio_coef_t AudioCoefInterpolator::interp(audio_coef_t lo, audio_coef_t hi, in interp() function in android::AudioCoefInterpolator
|
D | AudioCoefInterpolator.h | 93 static audio_coef_t interp(audio_coef_t lo, audio_coef_t hi, uint32_t frac);
|
/frameworks/rs/ |
D | rsAnimation.cpp | 123 RsAnimationInterpolation interp, in rsi_AnimationCreate() argument
|
/frameworks/base/core/java/android/widget/ |
D | EdgeEffect.java | 704 final float interp = mInterpolator.getInterpolation(t); in update() local 706 mGlowAlpha = mGlowAlphaStart + (mGlowAlphaFinish - mGlowAlphaStart) * interp; in update() 707 mGlowScaleY = mGlowScaleYStart + (mGlowScaleYFinish - mGlowScaleYStart) * interp; in update()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedStateListDrawable.java | 281 final FrameInterpolator interp = new FrameInterpolator(ad, reversed); in AnimationDrawableTransition() local 284 anim.setDuration(interp.getTotalDuration()); in AnimationDrawableTransition() 285 anim.setInterpolator(interp); in AnimationDrawableTransition()
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 1269 LDSection& interp = getOutputFormat()->getInterp(); in sizeInterp() local 1270 interp.setSize(std::strlen(dyld_name) + 1); in sizeInterp() 1276 const LDSection& interp = getOutputFormat()->getInterp(); in emitInterp() local 1277 MemoryRegion region = pOutput.request(interp.offset(), interp.size()); in emitInterp() 1284 std::memcpy(region.begin(), dyld_name, interp.size()); in emitInterp()
|