Searched refs:mSoundIDs (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Camera/src/com/android/camera/ |
D | SoundClips.java | 117 private final int[] mSoundIDs; field in SoundClips.SoundPoolPlayer 131 mSoundIDs = new int[SOUND_RES.length]; in SoundPoolPlayer() 134 mSoundIDs[i] = mSoundPool.load(mContext, SOUND_RES[i], 1); in SoundPoolPlayer() 155 if (mSoundIDs[index] == ID_NOT_LOADED) { in play() 157 mSoundIDs[index] = mSoundPool.load(mContext, SOUND_RES[index], 1); in play() 158 mSoundIDToPlay = mSoundIDs[index]; in play() 161 mSoundIDToPlay = mSoundIDs[index]; in play() 163 mSoundPool.play(mSoundIDs[index], 1f, 1f, 0, 0, 1f); in play() 171 for (int i = 0; i < mSoundIDs.length; i++ ) { in onLoadComplete() 172 if (mSoundIDs[i] == soundID) { in onLoadComplete() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ |
D | SoundClips.java | 130 private final int[] mSoundIDs; field in SoundClips.SoundPoolPlayer 142 mSoundIDs = new int[SOUND_RES.length]; in SoundPoolPlayer() 145 mSoundIDs[i] = mSoundPool.load(mContext, SOUND_RES[i], 1); in SoundPoolPlayer() 166 if (mSoundIDs[index] == ID_NOT_LOADED) { in play() 168 mSoundIDs[index] = mSoundPool.load(mContext, SOUND_RES[index], 1); in play() 169 mSoundIDToPlay = mSoundIDs[index]; in play() 172 mSoundIDToPlay = mSoundIDs[index]; in play() 174 mSoundPool.play(mSoundIDs[index], 1f, 1f, 0, 0, 1f); in play() 182 for (int i = 0; i < mSoundIDs.length; i++ ) { in onLoadComplete() 183 if (mSoundIDs[i] == soundID) { in onLoadComplete() [all …]
|