/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:__anon53725 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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-jmf.jar | |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
NotificationChannelController.java | 108 Uri sound = VoicemailNotificationSettingsUtil.getRingTonePreference(context); local 110 (sound == null) ? Settings.System.DEFAULT_NOTIFICATION_URI : sound,
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
SoundSettingsActivity.java | 16 package com.android.car.settings.sound; 30 * Activity hosts sound related settings.
|
VolumeControllerPresenter.java | 17 package com.android.car.settings.sound;
|
/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/base/tests/CoreTests/android/core/ |
NsdServiceInfoTest.java | 111 attributedInfo.setAttribute("sound", (new String("???")).getBytes("UTF-8")); 121 String sound = new String(attributedInfo.getAttributes().get("sound"), "UTF-8"); local 122 assertTrue(sound.equals("???"));
|
/packages/apps/Dialer/java/com/android/dialer/notification/ |
NotificationChannelManager.java | 283 Uri sound; local 291 sound = silentRingtone; 299 sound = silentRingtone; 307 sound = silentRingtone; 318 sound = 328 sound = null; 336 sound = null; 344 if (sound != null) { 346 // but with a null value to indicate no sound. 348 sound.equals(silentRingtone) ? null : sound [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationStation.java | 362 } else if (n.sound != null) { 363 sb.append(n.sound.toString());
|