Searched defs:vr (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.cpp56 int32_t vr = mVolume[1]; local
83 out[outputIndex++] += vr * interp(&right, x);
84 // out[outputIndex++] += vr * in[inputIndex*2];
124 int32_t vr = mVolume[1]; local
152 out[outputIndex++] += vr * sample;
H A DAudioMixer.cpp1253 int32_t vr = t->prevVolume[1]; local
1272 *out++ += (vr >> 16) * r;
1275 vr += vrInc;
1282 *out++ += (vr >> 16) * (*temp++ >> 12);
1284 vr += vrInc;
1288 t->prevVolume[1] = vr;
1296 const int16_t vr = t->volume[1]; local
1305 out[1] = mulAdd(r, vr, out[1]);
1315 out[1] = mulAdd(r, vr, out[1]);
1333 int32_t vr local
1378 int32_t vr = t->prevVolume[1]; local
1423 int32_t vr = t->prevVolume[1]; local
1451 const int16_t vr = t->volume[1]; local
1466 int32_t vr = t->prevVolume[1]; local
1489 const int16_t vr = t->volume[1]; local
1746 const int16_t vr = t.volume[1]; local
[all...]
H A DTracks.cpp1048 float vr = float_from_gain(gain_minifloat_unpack_right(vlr)); local
1053 if (vr > GAIN_FLOAT_UNITY) {
1054 vr = GAIN_FLOAT_UNITY;
1060 vr *= v;
1062 vlr = gain_minifloat_pack(gain_from_float(vl), gain_from_float(vr));
H A DThreads.cpp3452 uint32_t vl, vr; // in U8.24 integer format local
3455 vl = vr = 0;
3482 // then derive vl and vr as U8.24 versions for the effect chain
3485 vr = (uint32_t) (scaleto8_24 * vrf);
3486 // vl and vr are now in U8.24 format
3498 if (chain != 0 && chain->setVolume_l(&vl, &vr)) {
3503 vrf = (float)vr / (1 << 24);
3984 uint32_t vr = (uint32_t)(right * (1 << 24)); local
3990 mEffectChains[0]->setVolume_l(&vl, &vr);
3992 right = (float)vr / (
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DAlternateRecentsComponent.java692 TaskStackViewLayoutAlgorithm.VisibilityReport vr) {
700 mConfig.launchedNumVisibleTasks = vr.numVisibleTasks;
701 mConfig.launchedNumVisibleThumbnails = vr.numVisibleThumbnails;
690 startAlternateRecentsActivity(ActivityManager.RunningTaskInfo topTask, ActivityOptions opts, boolean fromHome, boolean fromSearchHome, boolean fromThumbnail, TaskStackViewLayoutAlgorithm.VisibilityReport vr) argument
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp497 LVM_INT32 vr = (LVM_INT32)pContext->prevRightVolume << 16; local
498 LVM_INT32 incr = (((LVM_INT32)pContext->rightVolume << 16) - vr) / frameCount;
504 clamp16((LVM_INT32)((vr >> 16) * OutFrames16[2*i+1]) >> 12);
507 vr += incr;

Completed in 751 milliseconds