/external/flatbuffers/samples/android/jni/ |
main.cpp | 25 auto sound = builder.CreateString("Bark"); local 26 auto animal_buffer = sample::CreateAnimal(builder, name, sound); 38 assert(animal->sound()->str() == "Bark");
|
/external/replicaisland/src/com/replica/replicaisland/ |
ButtonAnimationComponent.java | 19 import com.replica.replicaisland.SoundSystem.Sound; 30 private Sound mDepressSound; 55 SoundSystem sound = sSystemRegistry.soundSystem; local 56 if (sound != null) { 57 sound.play(mDepressSound, false, SoundSystem.PRIORITY_NORMAL); 82 public void setDepressSound(Sound sound) { 83 mDepressSound = sound;
|
PlaySingleSoundComponent.java | 20 private SoundSystem.Sound mSound; 35 public void setSound(SoundSystem.Sound sound) { 36 mSound = sound; 42 SoundSystem sound = sSystemRegistry.soundSystem; local 43 mSoundHandle = sound.play(mSound, false, SoundSystem.PRIORITY_NORMAL);
|
DoorAnimationComponent.java | 19 import com.replica.replicaisland.SoundSystem.Sound; 44 private Sound mCloseSound; 45 private Sound mOpenSound; 96 SoundSystem sound = sSystemRegistry.soundSystem; local 97 if (sound != null) { 98 sound.play(mOpenSound, false, SoundSystem.PRIORITY_NORMAL); 126 SoundSystem sound = sSystemRegistry.soundSystem; local 127 if (sound != null) { 128 sound.play(mCloseSound, false, SoundSystem.PRIORITY_NORMAL); 195 public void setSounds(Sound openSound, Sound closeSound) [all...] |
GameThread.java | 105 SoundSystem sound = BaseObject.sSystemRegistry.soundSystem; local 106 if (sound != null) { 107 sound.pauseAll();
|
LauncherComponent.java | 20 import com.replica.replicaisland.SoundSystem.Sound; 37 private Sound mLaunchSound; 114 SoundSystem sound = sSystemRegistry.soundSystem; local 115 if (sound != null) { 116 sound.play(mLaunchSound, false, SoundSystem.PRIORITY_NORMAL); 151 public void setLaunchSound(Sound sound) { 152 mLaunchSound = sound;
|
LifetimeComponent.java | 19 import com.replica.replicaisland.SoundSystem.Sound; 34 private Sound mDeathSound; 164 SoundSystem sound = sSystemRegistry.soundSystem; local 165 if (sound != null) { 166 sound.play(mDeathSound, false, SoundSystem.PRIORITY_NORMAL); 188 public final void setDeathSound(Sound deathSound) {
|
HitReactionComponent.java | 54 private SoundSystem.Sound mTakeHitSound; 55 private SoundSystem.Sound mDealHitSound; 120 SoundSystem sound = sSystemRegistry.soundSystem; local 121 if (sound != null) { 122 sound.play(mDealHitSound, false, SoundSystem.PRIORITY_NORMAL); 231 SoundSystem sound = sSystemRegistry.soundSystem; local 232 if (sound != null) { 233 sound.play(mTakeHitSound, false, SoundSystem.PRIORITY_NORMAL); 325 public final void setTakeHitSound(int hitType, SoundSystem.Sound sound) { [all...] |
LaunchProjectileComponent.java | 51 private SoundSystem.Sound mShootSound; 180 SoundSystem sound = sSystemRegistry.soundSystem; local 181 if (sound != null) { 182 sound.play(mShootSound, false, SoundSystem.PRIORITY_NORMAL); 259 public final void setShootSound(SoundSystem.Sound shoot) {
|
AnimationComponent.java | 22 import com.replica.replicaisland.SoundSystem.Sound; 63 private Sound mLandThump; 64 private Sound mRocketSound; 65 private Sound mExplosionSound; 71 private Sound mRubySound1; 72 private Sound mRubySound2; 73 private Sound mRubySound3; 140 SoundSystem sound = sSystemRegistry.soundSystem; local 142 // It's usually not necessary to test to see if sound is enabled or not (when it's disabled, 144 // sounds. So it's simpler to just avoid that code if sound is off [all...] |
GhostComponent.java | 19 import com.replica.replicaisland.SoundSystem.Sound; 32 private Sound mAmbientSound; 131 SoundSystem sound = BaseObject.sSystemRegistry.soundSystem; local 132 if (sound != null) { 133 mAmbientSoundStream = sound.play(mAmbientSound, true, SoundSystem.PRIORITY_NORMAL); 140 SoundSystem sound = BaseObject.sSystemRegistry.soundSystem; local 141 if (sound != null) { 142 sound.stop(mAmbientSoundStream); 191 SoundSystem sound = BaseObject.sSystemRegistry.soundSystem; local 192 if (sound != null) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/sound/ |
SoundActivity.java | 17 package com.android.tv.settings.device.sound; 25 * Activity that allows the enabling and disabling of sound effects.
|
SoundFragment.java | 17 package com.android.tv.settings.device.sound; 58 setPreferencesFromResource(R.xml.sound, null); 93 throw new IllegalArgumentException("Unknown surround sound pref value");
|
/prebuilts/misc/windows/sdl2/test/ |
loopwave.c | 13 /* Program to load a wave file and loop playing it using SDL sound */ 33 Uint8 *sound; /* Pointer to wave data */ member in struct:__anon61151 55 waveptr = wave.sound + wave.soundpos; 63 waveptr = wave.sound; 99 if (SDL_LoadWAV(filename, &wave.spec, &wave.sound, &wave.soundlen) == NULL) { 126 SDL_FreeWAV(wave.sound); 139 SDL_FreeWAV(wave.sound);
|
testmultiaudio.c | 15 static Uint8 *sound = NULL; /* Pointer to wave data */ variable 29 Uint8 *waveptr = sound + cbd->soundpos; 144 if (SDL_LoadWAV(argv[1], &spec, &sound, &soundlen) == NULL) { 149 SDL_FreeWAV(sound);
|
/external/libbackup/src/com/google/android/libraries/backup/ |
PreferenceBackupUtil.java | 24 Ringtone sound = RingtoneManager.getRingtone(context, Uri.parse(uri)); local 25 if (sound == null) { 28 return sound.getTitle(context);
|
/external/python/cpython2/PC/ |
winsound.c | 22 # Play sound from control panel settings 43 "PlaySound(sound, flags) - a wrapper around the Windows PlaySound API\n" 45 "The sound argument can be a filename, data, or None.\n" 51 "The frequency argument specifies frequency, in hertz, of the sound.\n" 59 "PlaySound(sound, flags) - play a sound\n" 60 "SND_FILENAME - sound is a wav file name\n" 61 "SND_ALIAS - sound is a registry sound association name\n" 62 "SND_LOOP - Play the sound repeatedly; must also specify SND_ASYNC\n 75 const char *sound; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
AudioAndHapticFeedbackManager.java | 86 // if mAudioManager is null, we can't play a sound anyway, so return 93 final int sound; local 96 sound = AudioManager.FX_KEYPRESS_DELETE; 99 sound = AudioManager.FX_KEYPRESS_RETURN; 102 sound = AudioManager.FX_KEYPRESS_SPACEBAR; 105 sound = AudioManager.FX_KEYPRESS_STANDARD; 108 mAudioManager.playSoundEffect(sound, mSettingsValues.mKeypressSoundVolume);
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
NotificationChannelManager.java | 73 Uri sound = silentRingtone; local 81 sound = silentRingtone; 89 sound = silentRingtone; 95 if (sound != null) { 97 sound,
|
/frameworks/base/media/java/android/media/ |
MediaActionSound.java | 31 * camera operation sound when implementing a custom still or video recording mechanism (through the 59 * The sound used by 67 * A sound to indicate that focusing has completed. Because deciding 68 * when this occurs is application-dependent, this sound is not used by 75 * The sound used by 83 * The sound used by 115 * needed for playing any platform media action sound; you do not need a 116 * separate instance for each sound type. 134 private int loadSound(SoundState sound) { 135 int id = mSoundPool.load(SOUND_FILES[sound.name], 1) 159 SoundState sound = mSounds[soundName]; local 209 SoundState sound = mSounds[soundName]; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
NotificationChannelController.java | 121 Uri sound = VoicemailNotificationSettingsUtil.getRingTonePreference(context); local 123 (sound == null) ? Settings.System.DEFAULT_NOTIFICATION_URI : sound,
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
VolumeLineItem.java | 17 package com.android.car.settings.sound; 112 // the flag is a request to play sound, depend on implementation, it may not play
|
SoundSettingsFragment.java | 16 package com.android.car.settings.sound; 44 * Activity hosts sound related settings.
|
/frameworks/base/tests/net/java/android/net/nsd/ |
NsdServiceInfoTest.java | 138 attributedInfo.setAttribute("sound", (new String("???")).getBytes("UTF-8")); 148 String sound = new String(attributedInfo.getAttributes().get("sound"), "UTF-8"); local 149 assertTrue(sound.equals("???"));
|
/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationStation.java | 362 } else if (n.sound != null) { 363 sb.append(n.sound.toString());
|