Searched refs:soundPoolSoundId (Results 1 – 1 of 1) sorted by relevance
103 int soundPoolSoundId = getSoundPoolIdForEffect(effect); in playSoundEffect() local104 if (soundPoolSoundId >= 0) { in playSoundEffect()105 mHandler.sendMessage(mHandler.obtainMessage(MSG_PLAY_SOUND, soundPoolSoundId, 0, in playSoundEffect()157 Integer soundPoolSoundId = mEffectIdToSoundPoolId.getOrDefault(effect, -1); in getSoundPoolIdForEffect() local158 if (mLoadedSoundPoolIds.contains(soundPoolSoundId)) { in getSoundPoolIdForEffect()159 return soundPoolSoundId; in getSoundPoolIdForEffect()176 int soundPoolSoundId = soundPool.load(mContext, in handleMessage() local178 mEffectIdToSoundPoolId.put(effectId, soundPoolSoundId); in handleMessage()