/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
LocalPlayer.java | 51 public abstract class LocalPlayer extends Player implements 78 // reset media player 104 // release media player 112 // Player 317 // just return if media player is already gone 369 public static final void setSurface(MediaPlayer player, Surface surface) { 370 player.setSurface(surface); 388 mLayout = (FrameLayout)((Activity)context).findViewById(R.id.player);
|
/external/chromium/chrome/browser/ui/webui/ |
mediaplayer_ui.cc | 221 MediaPlayer* player = MediaPlayer::GetInstance(); local 223 player->SetNewHandler(this, contents); 225 player->RegisterNewPlaylistHandler(this, contents);
|
/frameworks/base/services/java/com/android/server/ |
NotificationManagerService.java | 2020 final IRingtonePlayer player = mAudioService.getRingtonePlayer(); local [all...] |
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicService.java | 72 // The volume we set the media player to when we lose audio focus, but are allowed to reduce 76 // our media player 86 Stopped, // media player is stopped and not prepared to play 87 Preparing, // media player is preparing... 88 Playing, // playback active (media player ready!). (but the media player may actually be 91 Paused // playback paused (media player ready!) 156 * Makes sure the media player exists and has been reset. This will create the media player 157 * if needed, or reset the existing media player if one already exists [all...] |
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameView.java | 180 public void setCurrentPlayer(State player) {
181 mCurrentPlayer = player;
|
/frameworks/av/media/libmedia/ |
IMediaPlayerService.cpp | 219 sp<IMediaPlayer> player = create(client, audioSessionId); local 220 reply->writeStrongBinder(player->asBinder());
|
IMediaPlayer.cpp | 70 // disconnect from media player service 116 // pass the buffered IGraphicBufferProducer to the media player service 316 status_t setNextPlayer(const sp<IMediaPlayer>& player) { 319 sp<IBinder> b(player->asBinder());
|
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
VoicemailPlaybackPresenter.java | 148 * We cache this in a field since we don't want to keep requesting it from the player, as 149 * this can easily lead to throwing {@link IllegalStateException} (any time the player is 174 public VoicemailPlaybackPresenter(PlaybackView view, MediaPlayerProxy player, 179 mPlayer = player; 299 * content provider). This method will try to prepare the data source through the media player. 300 * If preparing the media player works, we will call through to 301 * {@link #postSuccessfulPrepareActions()}. If preparing the media player fails (perhaps the 336 * This will be called once we have successfully prepared the media player, and will optionally
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
MoviePlayer.java | 66 // Copied from MediaPlaybackService in the Music Player app. 75 // Otherwise, we pause the player. 156 public void onPrepared(MediaPlayer player) { 351 public boolean onError(MediaPlayer player, int arg1, int arg2) {
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
ImageBitmap.cpp | 57 IntRect videoRect = IntRect(IntPoint(), video->player()->naturalSize());
|
/frameworks/av/services/camera/libcameraservice/ |
CameraService.cpp | 904 sp<MediaPlayer> player = mSoundPlayer[kind]; local 905 if (player != 0) { 906 player->seekTo(0); 907 player->start(); [all...] |
/frameworks/base/media/jni/ |
android_media_MediaPlayer.cpp | 139 static sp<MediaPlayer> setMediaPlayer(JNIEnv* env, jobject thiz, const sp<MediaPlayer>& player) 143 if (player.get()) { 144 player->incStrong((void*)setMediaPlayer); 149 env->SetIntField(thiz, fields.context, (int)player.get()); 297 // This will fail if the media player has not been initialized yet. This 529 // Sends the request and reply parcels to the media player via the 726 sp<IBinder> binder = defaultServiceManager()->getService(String16("media.player")); 783 jniThrowException(env, "java/lang/IllegalStateException", "This player not initialized"); 788 jniThrowException(env, "java/lang/IllegalStateException", "That player not initialized"); 793 jniThrowException(env, "java/lang/IllegalArgumentException", "Next player can't be self") [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
MovieViewControl.java | 50 // Copied from MediaPlaybackService in the Music Player app. Should be 230 public boolean onError(MediaPlayer player, int arg1, int arg2) {
|
/external/chromium_org/chrome/browser/resources/file_manager/js/ |
background.js | 430 * @return {Object} Audio player window create options. 456 * Launch the audio player. 468 * Launch the video player.
|
/frameworks/base/core/java/android/widget/ |
MediaController.java | 205 public void setMediaPlayer(MediaPlayerControl player) { 206 mPlayer = player; 682 * Get the audio session id for the player used by this VideoView. This can be used to
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
VideoDumpView.java | 267 * A renderer to read each video frame from a media player, draw it over a surface 333 // The media player that loads and decodes the video. 336 // The frame number from media player. 360 public void setMediaPlayer(MediaPlayer player) { 361 mMediaPlayer = player; 585 Log.e(TAG, "media player prepare failed");
|
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
MediaPlayerProxyTestCase.java | 51 * {@link #createTestMediaPlayer()} method to construct the player you would like to test. Every 52 * test will construct the player in {@link #setUp()} and release it in {@link #tearDown()}. 440 // The real media player should play a stuttering audio, hopefully my player does too. 501 * If we have a variable speed media player proxy, set the variable speed rate. 503 * If we don't have a variable speed media player proxy, this method will be a no-op. 568 private void setDataSourceFromContentProvider(MediaPlayerProxy player, String assetFilename, 570 player.setDataSource(getInstrumentation().getTargetContext(),
|
/external/chromium_org/content/renderer/ |
render_view_impl.h | 748 virtual void DidPlay(WebKit::WebMediaPlayer* player) OVERRIDE; 749 virtual void DidPause(WebKit::WebMediaPlayer* player) OVERRIDE [all...] |
render_view_impl.cc | [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
MessagingNotification.java | 313 final NotificationPlayer player = new NotificationPlayer(LogTag.APP); local 314 player.play(context, ringtoneUri, false, AudioManager.STREAM_NOTIFICATION, 321 player.stop(); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLMediaElement.h | 79 MediaPlayer* player() const { return m_player.get(); } function in class:WebCore::HTMLMediaElement
|
/frameworks/av/media/libmediaplayerservice/ |
MediaPlayerService.h | 318 // Collect info of the codec usage from media player and media recorder 352 virtual status_t setNextPlayer(const sp<IMediaPlayer>& player);
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioEffectTest.java | [all...] |
/external/libvorbis/doc/ |
a1-encapsulation-ogg.tex | 47 audio player' is not required to implement Ogg support beyond the
|
/frameworks/av/libvideoeditor/lvpp/ |
PreviewPlayer.cpp | 48 defaultServiceManager()->getService(String16("media.player")); 57 PreviewPlayer *player, 59 : mPlayer(player), 288 // shutdown the video-related resources and the player appear to 291 // If we had an audio player, it would have effectively 300 //Single audio player instance used 399 // Audio player does not have any source set. 400 ALOGV("setAudioPlayer: Audio player does not have any source set"); 405 // Else audio player continues using old audio source and there are 819 ALOGV("LV PLAYER seeking to %lld us (%.2f secs)", mSeekTimeUs [all...] |