/frameworks/base/core/res/assets/webkit/ |
youtube.html | 21 // Nominal original size. If the embed is smaller than this, the play and logo 42 playWidth = play.width; 43 playHeight = play.height; 48 // we scale the play button and logo according to the dimension that 61 ctx.drawImage(play, playLeft, playTop, playWidth, playHeight); 64 // To make it slightly easier to hit, the click target is twice the width/height of the unscaled play button 65 targetLeft = width / 2 - play.width; 66 targetRight = width / 2 + play.width; 67 targetTop = height / 2 - play.height; 68 targetBottom = height / 2 + play.height [all...] |
/frameworks/base/media/java/android/media/ |
package.html | 4 <p>The Media APIs are used to play and, in some cases, record media files. This includes 5 audio (e.g., play MP3s or other music files, ringtones, game sound effects, or DTMF tones) 6 and video (e.g., play a video streamed over the web or from local storage).
|
SoundPool.java | 57 * a value of 3 causes the sound to play a total of 4 times.</p> 60 * the sound to play at its original frequency (resampled, if necessary, 62 * sound to play at twice its original frequency, and a playback rate of 63 * 0.5 causes it to play at half its original frequency. The playback 67 * Priority is used when a call to play() would cause the number of active 73 * streams, the new sound will not play and the play() function will return 77 * play. For each level, there is a set of unique sounds that are used only 86 * <p>Once the sounds are loaded and play has started, the application can 87 * trigger sounds by calling SoundPool.play(). Playing streams can b 295 public native final int play(int soundID, float leftVolume, float rightVolume, method in class:SoundPool [all...] |
AsyncPlayer.java | 34 private static final int PLAY = 1; 95 case PLAY: 96 if (mDebug) Log.d(mTag, "PLAY"); 159 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)}) 165 public void play(Context context, Uri uri, boolean looping, int stream) { method in class:AsyncPlayer 168 cmd.code = PLAY; 175 mState = PLAY; 207 * We want to hold a wake lock while we do the prepare and play. The stop probably is 210 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The 215 * This must be called before the first time play is called [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/bsd/ |
SDL_bsdaudio.c | 256 "[play/record info]\n" 270 info.play.buffer_size, 271 info.play.sample_rate, 272 info.play.channels, 273 info.play.precision, 274 info.play.encoding, 275 info.play.seek, 276 info.play.samples, 277 info.play.eof, 278 info.play.pause ? "yes" : "no" [all...] |
/external/qemu/distrib/sdl-1.2.12/src/cdrom/ |
SDL_syscdrom.h | 40 /* Return the current status and play position, in frames, of the 45 /* Play from frame 'start' to 'start+len' */ 46 int (*Play)(SDL_CD *cdrom, int start, int len); 48 /* Pause play */ 51 /* Resume play */ 54 /* Stop play */
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/macos/ |
SDL_syscdrom_c.h | 38 #define kAudioStatus 107 /* Return audio play status */ 41 #define kSetTrackList 122 /* Set the track program for the audio CD to play */ 44 #define kSetPlayMode 125 /* Set the audio tracks play mode */ 45 #define kGetPlayMode 126 /* Get the audio tracks play mode */ 58 #define kMutedPlayMode 0 /* Play the audio track with no output */ 59 #define kStereoPlayMode 9 /* Play the audio track in normal stereo */ 68 #define kStatusPlaying 0 /* Audio Play operation in progress */ 71 #define kStatusDone 3 /* Audio Play completed */ 72 #define kStatusError 4 /* Error occurred during audio play operation */ 73 #define kStatusStopped 5 /* Audio play operation not requested * 117 unsigned char play; member in struct:CDCntrlParam::__anon4288::__anon4289 [all...] |
/development/samples/Snake/res/values/ |
strings.xml | 18 <string name="mode_ready">Snake\nPress Up To Play</string> 21 <string name="mode_lose_suffix">\nPress Up To Play</string>
|
/development/samples/LunarLander/res/values/ |
strings.xml | 28 <string name="mode_ready">Lunar Lander\nPress Up To Play</string> 30 <string name="mode_lose">Game Over\nPress Up To Play</string> 32 <string name="mode_win_suffix">in a row\nPress Up to Play</string>
|
/external/qemu/distrib/sdl-1.2.12/include/ |
SDL_cdrom.h | 118 play position of the CD will be stored in the SDL_CD structure. 122 /* Play the given CD starting at 'start_track' and 'start_frame' for 'ntracks' 123 tracks and 'nframes' frames. If both 'ntrack' and 'nframe' are 0, play 128 // Play entire CD: 131 // Play last track: 135 // Play first and second track and 10 seconds of third track: 144 /* Play the given CD starting at 'start' frame for 'length' frames. 149 /* Pause play -- returns 0, or -1 on error */ 152 /* Resume play -- returns 0, or -1 on error */ 155 /* Stop play -- returns 0, or -1 on error * [all...] |
/external/quake/quake/src/WinQuake/ |
snd_sun.cpp | 97 info.play.encoding = AUDIO_ENCODING_LINEAR; 98 info.play.sample_rate = 11025; 99 info.play.channels = 2; 100 info.play.precision = 16; 103 info.play.encoding = AUDIO_ENCODING_LINEAR; 104 info.play.sample_rate = 11025; 105 info.play.channels = 1; 106 info.play.precision = 16; 145 return ((info.play.samples*shm->channels) % shm->samples); 161 return info.play.samples [all...] |
/prebuilt/darwin-x86/sdl/include/SDL/ |
SDL_cdrom.h | 118 play position of the CD will be stored in the SDL_CD structure. 122 /* Play the given CD starting at 'start_track' and 'start_frame' for 'ntracks' 123 tracks and 'nframes' frames. If both 'ntrack' and 'nframe' are 0, play 128 // Play entire CD: 131 // Play last track: 135 // Play first and second track and 10 seconds of third track: 144 /* Play the given CD starting at 'start' frame for 'length' frames. 149 /* Pause play -- returns 0, or -1 on error */ 152 /* Resume play -- returns 0, or -1 on error */ 155 /* Stop play -- returns 0, or -1 on error * [all...] |
/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_cdrom.h | 118 play position of the CD will be stored in the SDL_CD structure. 122 /* Play the given CD starting at 'start_track' and 'start_frame' for 'ntracks' 123 tracks and 'nframes' frames. If both 'ntrack' and 'nframe' are 0, play 128 // Play entire CD: 131 // Play last track: 135 // Play first and second track and 10 seconds of third track: 144 /* Play the given CD starting at 'start' frame for 'length' frames. 149 /* Pause play -- returns 0, or -1 on error */ 152 /* Resume play -- returns 0, or -1 on error */ 155 /* Stop play -- returns 0, or -1 on error * [all...] |
/prebuilt/windows/sdl/host/include/SDL/ |
SDL_cdrom.h | 122 play position of the CD will be stored in the SDL_CD structure. 126 /* Play the given CD starting at 'start_track' and 'start_frame' for 'ntracks' 127 tracks and 'nframes' frames. If both 'ntrack' and 'nframe' are 0, play 132 // Play entire CD: 135 // Play last track: 139 // Play first and second track and 10 seconds of third track: 148 /* Play the given CD starting at 'start' frame for 'length' frames. 153 /* Pause play -- returns 0, or -1 on error */ 156 /* Resume play -- returns 0, or -1 on error */ 159 /* Stop play -- returns 0, or -1 on error * [all...] |
/prebuilt/windows/sdl/include/SDL/ |
SDL_cdrom.h | 118 play position of the CD will be stored in the SDL_CD structure. 122 /* Play the given CD starting at 'start_track' and 'start_frame' for 'ntracks' 123 tracks and 'nframes' frames. If both 'ntrack' and 'nframe' are 0, play 128 // Play entire CD: 131 // Play last track: 135 // Play first and second track and 10 seconds of third track: 144 /* Play the given CD starting at 'start' frame for 'length' frames. 149 /* Pause play -- returns 0, or -1 on error */ 152 /* Resume play -- returns 0, or -1 on error */ 155 /* Stop play -- returns 0, or -1 on error * [all...] |
/external/bluetooth/bluez/test/ |
hsplay | 22 $MPG123 -q -s "$FILE" | $SOX -t raw -r 44100 -c 2 -s -w - -t raw -r 8000 -c 1 -s -w - | $HSTEST play - $BDADDR $CHANNEL
|
/external/icu4c/common/unicode/ |
uobslete.h | 17 * THIS FILE IS MACHINE-GENERATED, DON'T PLAY WITH IT IF YOU DON'T KNOW WHAT
|
udeprctd.h | 17 * THIS FILE IS MACHINE-GENERATED, DON'T PLAY WITH IT IF YOU DON'T KNOW WHAT
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
SoundPoolTest.java | 135 int id = mSoundPool.play(mSounds[index], DEFAULT_VOLUME, DEFAULT_VOLUME, 157 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, 178 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, 201 // play a normal priority looping sound 202 int normalId = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, 211 // play a low priority sound 212 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, 223 // play a high priority sound 224 id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, 246 // play a normal priority looping soun [all...] |
/development/samples/JetBoy/src/com/example/android/jetboy/ |
JetBoy.java | 40 // the play start button 93 mButton.setText("PLAY!"); 100 // we have entered game play, now we about to start running 113 mButton.setText("PLAY!"); 118 mButton.setText("PLAY!");
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/dc/ |
SDL_syscdrom.c | 54 SDL_CDcaps.Play = SDL_SYS_CDPlay; 123 /* Start play */ 130 /* Pause play */ 137 /* Resume play */ 144 /* Stop play */
|
/external/opencore/nodes/common/include/ |
pvmf_data_source_playback_control.h | 108 * @param aTargetNPT Target normal-play-time timestamp in milliseconds of the location where the 110 * @param aActualNPT The actual normal-play-time timestamp after repositioning will be saved 147 * 2) End of current play element => A play session can be composed of multiple play elements (say a 148 * playlist session) and the provided playlist position is to take effect once the current play 150 * 3) End of current play session => This playback position is to take effect once the entire current 151 * play session is done. 154 * Say go to 30 seconds into play element 7. If this value is -1 it means current 155 * play element [all...] |
/external/opencore/engines/player/include/ |
pv_player_types.h | 94 * 2) End of current play element => A play session can be composed of multiple play elements (say a 95 * playlist session) and the provided playlist position is to take effect once the current play 97 * 3) End of current play session => This playback position is to take effect once the entire current 98 * play session is done. 123 * into play element 7.
|
/cts/tests/tests/media/src/android/media/cts/ |
SoundPoolTest.java | 172 method = "play", 222 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 236 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 262 method = "play", 284 // play sounds one at a time 285 int streamID1 = mSoundPool.play(sampleID1, LOUD, QUIET, PRIORITY, -1, 1); 289 int streamID2 = mSoundPool.play(sampleID2, QUIET, LOUD, PRIORITY, -1, 1); 294 // play both at once repeating the first, but not the second 295 streamID1 = mSoundPool.play(sampleID1, LOUD, QUIET, PRIORITY, 1, 1); 296 streamID2 = mSoundPool.play(sampleID2, QUIET, LOUD, PRIORITY, 0, 1) [all...] |
/development/samples/TicTacToeLib/ |
_index.html | 5 <p>The TicTacToeLib library project is designed to provide a game-play Activity, 17 handles most of the application lifecycle and manages general game play.</li> 20 renders the UI of the game and manages interaction events during game play.</li>
|