Searched refs:oldPlayer (Results 1 – 3 of 3) sorted by relevance
227 final MediaPlayerBase oldPlayer; in updatePlayer() local231 oldPlayer = mPlayer; in updatePlayer()245 if (player != oldPlayer) { in updatePlayer()247 if (oldPlayer != null) { in updatePlayer()249 oldPlayer.unregisterPlayerEventCallback(mPlayerEventCallback); in updatePlayer()260 if (oldPlayer != null) { in updatePlayer()262 notifyPlayerUpdatedNotLocked(oldPlayer); in updatePlayer()763 private void notifyPlayerUpdatedNotLocked(MediaPlayerBase oldPlayer) { in notifyPlayerUpdatedNotLocked() argument771 if (state != oldPlayer.getPlayerState()) { in notifyPlayerUpdatedNotLocked()777 if (position != oldPlayer.getCurrentPosition()) { in notifyPlayerUpdatedNotLocked()[all …]
152 final MediaPlayerInterface oldPlayer; in updatePlayer() local159 oldPlayer = mPlayer; in updatePlayer()177 if (player != oldPlayer) { in updatePlayer()179 if (oldPlayer != null) { in updatePlayer()181 oldPlayer.unregisterPlayerEventCallback(mPlayerEventCallback); in updatePlayer()192 if (oldPlayer != null) { in updatePlayer()201 notifyPlayerUpdatedNotLocked(oldPlayer); in updatePlayer()1022 private void notifyPlayerUpdatedNotLocked(MediaPlayerInterface oldPlayer) { in notifyPlayerUpdatedNotLocked() argument1043 if (speed != oldPlayer.getPlaybackSpeed()) { in notifyPlayerUpdatedNotLocked()
498 sp<MediaPlayer2Interface> oldPlayer; in setDataSource() local528 sp<MediaPlayer2Interface> oldPlayer = mPlayer; in setDataSource() local534 if (oldPlayer != NULL) { in setDataSource()535 oldPlayer->setListener(NULL); in setDataSource()536 oldPlayer->reset(); in setDataSource()