Lines Matching refs:effect

196     /* Sound effect file names  */
206 /* Sound effect file name mapping sound effect id (AudioManager.FX_xxx) to
207 * file index in SOUND_EFFECT_FILES[] (first column) and indicating if effect
1634 * sample can be reused for another effect using the same file.
1641 * Effects whose value in SOUND_EFFECT_FILES_MAP[effect][1] is -1 must be loaded.
1642 * If load succeeds, value in SOUND_EFFECT_FILES_MAP[effect][1] is > 0:
1643 * this indicates we have a valid sample loaded for this effect.
1647 for (int effect = 0; effect < AudioManager.NUM_SOUND_EFFECTS; effect++) {
1648 // Do not load sample if this effect uses the MediaPlayer
1649 if (SOUND_EFFECT_FILES_MAP[effect][1] == 0) {
1652 if (poolId[SOUND_EFFECT_FILES_MAP[effect][0]] == -1) {
1655 + SOUND_EFFECT_FILES[SOUND_EFFECT_FILES_MAP[effect][0]];
1660 SOUND_EFFECT_FILES_MAP[effect][1] = sampleId;
1661 poolId[SOUND_EFFECT_FILES_MAP[effect][0]] = sampleId;
1665 SOUND_EFFECT_FILES_MAP[effect][1] = poolId[SOUND_EFFECT_FILES_MAP[effect][0]];
1693 for (int effect = 0; effect < AudioManager.NUM_SOUND_EFFECTS; effect++) {
1694 if (SOUND_EFFECT_FILES_MAP[effect][1] > 0) {
1695 SOUND_EFFECT_FILES_MAP[effect][1] = -1;
1725 for (int effect = 0; effect < AudioManager.NUM_SOUND_EFFECTS; effect++) {
1726 if (SOUND_EFFECT_FILES_MAP[effect][1] <= 0) {
1729 if (poolId[SOUND_EFFECT_FILES_MAP[effect][0]] == 0) {
1730 mSoundPool.unload(SOUND_EFFECT_FILES_MAP[effect][1]);
1731 SOUND_EFFECT_FILES_MAP[effect][1] = -1;
1732 poolId[SOUND_EFFECT_FILES_MAP[effect][0]] = -1;
5397 * @param rcd the IRemoteControlDisplay to register. No effect if null.
5436 * Since only one IRemoteControlDisplay is supported, this has no effect if the one to
5438 * @param rcd the IRemoteControlDisplay to unregister. No effect if null.