Searched refs:player (Results 1 – 25 of 40) sorted by relevance
12
195 for (MediaPlayerWrapper player : mMediaPlayers.values()) { in cleanup()196 player.cleanup(); in cleanup()203 for (BrowsedPlayerWrapper player : mBrowsablePlayers.values()) { in cleanup()204 player.disconnect(); in cleanup()247 final MediaPlayerWrapper player = getActivePlayer(); in getCurrentMediaId() local248 if (player == null) return ""; in getCurrentMediaId()250 final PlaybackState state = player.getPlaybackState(); in getCurrentMediaId()251 final List<Metadata> queue = player.getCurrentQueue(); in getCurrentMediaId()268 final MediaPlayerWrapper player = getActivePlayer(); in getCurrentSongInfo() local269 if (player == null) return Util.empty_data(); in getCurrentSongInfo()[all …]
75 BrowsedPlayerWrapper player = BrowsedPlayerWrapper.wrap( in connectToPlayers() local79 newWrapper.mPendingPlayers.add(player); in connectToPlayers()80 player.connect((int status, BrowsedPlayerWrapper wrapper) -> { in connectToPlayers()
89 final MediaPlayer player = new MediaPlayer(); in run() local90 player.setAudioStreamType(mCmd.stream); in run()91 player.setDataSource(Factory.get().getApplicationContext(), mCmd.uri); in run()92 player.setLooping(mCmd.looping); in run()93 player.setVolume(mCmd.volume, mCmd.volume); in run()94 player.prepare(); in run()101 player.setOnCompletionListener(NotificationPlayer.this); in run()102 player.start(); in run()106 mPlayer = player; in run()
138 BrowseNode(AvrcpPlayer player) { in BrowseNode() argument143 String playerKey = PLAYER_PREFIX + player.getId(); in BrowseNode()144 mBluetoothId = player.getId(); in BrowseNode()147 mdb.setTitle(player.getName()); in BrowseNode()148 int mediaItemFlags = player.supportsFeature(AvrcpPlayer.FEATURE_BROWSING) in BrowseNode()
511 for (AvrcpPlayer player : playerList) { in processMessage()512 mAvailablePlayerList.put(player.getId(), player); in processMessage() local
540 AvrcpPlayer player = new AvrcpPlayer(id, name, transportFlags, playStatus, playerType); in createFromNativePlayerItem() local541 return player; in createFromNativePlayerItem()
107 PreviewPlayer player = (PreviewPlayer) getLastNonConfigurationInstance(); in onCreate() local108 if (player == null) { in onCreate()124 mPlayer = player; in onCreate()216 PreviewPlayer player = mPlayer; in onRetainNonConfigurationInstance() local218 return player; in onRetainNonConfigurationInstance()
31 public FocusSound(SoundPlayer player, int soundId) { in FocusSound() argument32 mPlayer = player; in FocusSound()
532 public void onDrawnToSurface(MpegTsPlayer player, Surface surface) { in onDrawnToSurface() argument1443 MpegTsPlayer player = in createPlayer() local1455 player.setCaptionServiceNumber(Cea708Data.EMPTY_SERVICE_NUMBER); in createPlayer()1456 player.setVideoEventListener(this); in createPlayer()1457 player.setCaptionServiceNumber( in createPlayer()1461 return player; in createPlayer()1733 MpegTsPlayer player = createPlayer(mAudioCapabilities); in preparePlayback() local1734 if (!player.prepare(mContext, mChannel, mHasSoftwareAudioDecoder, this)) { in preparePlayback()1736 player.release(); in preparePlayback()1748 mPlayer = player; in preparePlayback()
526 public void onDrawnToSurface(MpegTsPlayer player, Surface surface) { in onDrawnToSurface() argument1433 MpegTsPlayer player = in createPlayer() local1443 player.setCaptionServiceNumber(Cea708Data.EMPTY_SERVICE_NUMBER); in createPlayer()1444 player.setVideoEventListener(this); in createPlayer()1445 player.setCaptionServiceNumber( in createPlayer()1449 return player; in createPlayer()1719 MpegTsPlayer player = createPlayer(mAudioCapabilities); in preparePlayback() local1720 if (!player.prepare(mContext, mChannel, mHasSoftwareAudioDecoder, this)) { in preparePlayback()1722 player.release(); in preparePlayback()1734 mPlayer = player; in preparePlayback()
47 public DvrTvView(Context context, AppLayerTvView tvView, DvrPlayer player) { in DvrTvView() argument49 mDvrPlayer = player; in DvrTvView()
46 public NewVoicemailMediaPlayer(@NonNull MediaPlayer player) { in NewVoicemailMediaPlayer() argument47 mediaPlayer = Assert.isNotNull(player); in NewVoicemailMediaPlayer()
584 jobject player = sCallbackEnv->CallObjectMethod(player_list, method_get, i); in getMediaPlayerList() local587 temp.id = sCallbackEnv->GetIntField(player, field_playerId); in getMediaPlayerList()589 jstring jstr = (jstring)sCallbackEnv->GetObjectField(player, field_name); in getMediaPlayerList()598 sCallbackEnv->GetBooleanField(player, field_browsable) == JNI_TRUE in getMediaPlayerList()603 sCallbackEnv->DeleteLocalRef(player); in getMediaPlayerList()
554 jint id = (jint)item->player.player_id; in btavrcp_get_folder_items_callback()555 jint playerType = (jint)item->player.major_type; in btavrcp_get_folder_items_callback()556 jint playStatus = (jint)item->player.play_status; in btavrcp_get_folder_items_callback()568 (jbyte*)item->player.features); in btavrcp_get_folder_items_callback()571 sCallbackEnv->NewStringUTF((const char*)item->player.name)); in btavrcp_get_folder_items_callback()
475 MediaPlayer player, int res) throws java.io.IOException { in setDataSourceFromResource() argument478 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in setDataSourceFromResource()
156 public void onPrepared(MediaPlayer player) { in MoviePlayer()351 public boolean onError(MediaPlayer player, int arg1, int arg2) { in onError() argument
9 * A Nexus player with a USB Tuner attached will work.
1109 final NotificationPlayer player = new NotificationPlayer(LogUtil.BUGLE_TAG); in playObservableConversationNotificationSound() local1110 player.play(ringtoneUri, false, in playObservableConversationNotificationSound()1118 player.stop(); in playObservableConversationNotificationSound()
230 public boolean onError(MediaPlayer player, int arg1, int arg2) { in onError() argument
347 public void onDrawnToSurface(MpegTsPlayer player, Surface surface) { in onDrawnToSurface() argument
79 void onDrawnToSurface(MpegTsPlayer player, Surface surface); in onDrawnToSurface() argument
1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...