/developers/samples/android/media/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/widget/ |
MovieView.kt | 140 mMediaPlayer?.let { player -> 146 if (player.isPlaying) { 178 mMediaPlayer?.let { player -> 179 val videoWidth = player.videoWidth 180 val videoHeight = player.videoHeight 310 * Returns the current position of the video. If the the player has not been created, then 346 mMediaPlayer?.let { player -> 347 player.setSurface(surface) 356 mMediaPlayer?.let { player -> 357 player.reset( [all...] |
/external/autotest/client/site_tests/desktopui_AudioFeedback/ |
desktopui_AudioFeedback.py | 30 return tab.EvaluateJavaScript('typeof player != "undefined"') 34 exception=error.TestError('Failed to load the Youtube player')) 37 tab.ExecuteJavaScript('player.seekTo(60, true)') 38 tab.ExecuteJavaScript('player.playVideo()') 42 return tab.EvaluateJavaScript('player.getCurrentTime()')
|
/external/autotest/client/site_tests/desktopui_MediaAudioFeedback/ |
desktopui_MediaAudioFeedback.py | 79 """Wait for player ends playing.""" 81 condition=lambda: tab.EvaluateJavaScript('player.ended'), 82 exception=error.TestError('Player never end until timeout.')) 93 return tab.EvaluateJavaScript('player.currentTime') 99 exception=error.TestError('Player never start until timeout.'))
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ |
MpegTsPlayer.java | 52 /** MPEG-2 TS stream player implementation using ExoPlayer. */ 77 * Interface definition for a callback to be notified of changes in player state. 84 void onDrawnToSurface(MpegTsPlayer player, Surface surface); 152 * Creates MPEG2-TS stream player. 197 * Sets the surface for the player. 207 * Returns the current surface of the player. 222 * Creates renderers and {@link DataSource} and initializes player. 289 * Sets the player state to pause or play. 291 * @param playWhenReady sets the player state to being ready to play when {@code true}, 292 * sets the player state to being paused when {@code false [all...] |
/frameworks/wilhelm/src/itf/ |
IEffectSend.cpp | 33 * - object is an audio player (MIDI player is not supported yet) 41 // Make sure this effect send is on an audio player, not a MIDI player 47 // Get the output mix for this player 135 // note that if this was a MIDI player, getEnableLevel would have returned NULL 140 // so it must take into account the player volume level 215 // MIDI player is silently not supported 239 // MIDI player is silently not supported 274 // into account the player volume leve [all...] |
IAndroidConfiguration.cpp | 110 SL_LOGE("Error creating player routing object - Routing Proxy Already Acquired."); 114 CAudioPlayer* player = (CAudioPlayer*)configObj; // get the native player local 116 switch (player->mAndroidObjType) { 119 // if (player->mObject.mState != SL_OBJECT_STATE_REALIZED) { 120 // // Make sure the player has been realized. 122 // SL_LOGE("Error creating routing object - Player not realized."); 124 // android::AudioTrack* pAudioTrack = player->mAudioTrack.get(); 136 SL_LOGE("Error creating routing object - Player is not a buffer-queue player.") [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...] |
/frameworks/av/media/libmedia/ |
mediaplayer.cpp | 122 status_t MediaPlayer::attachNewPlayer(const sp<IMediaPlayer>& player) 137 mPlayer = player; 138 if (player != 0) { 140 player->getDefaultBufferingSettings(&mCurrentBufferingSettings); 144 ALOGE("Unable to create media player"); 164 sp<IMediaPlayer> player(service->create(this, mAudioSessionId)); 165 if ((NO_ERROR != doSetRetransmitEndpoint(player)) || 166 (NO_ERROR != player->setDataSource(httpService, url, headers))) { 167 player.clear(); 169 err = attachNewPlayer(player); [all...] |
IMediaDeathNotifier.cpp | 43 binder = sm->getService(String16("media.player")); 47 ALOGW("Media player service not published, waiting..."); 57 ALOGE_IF(sMediaPlayerService == 0, "no media player service!?");
|
/frameworks/wilhelm/tests/sandbox/ |
reverb.c | 17 // Demonstrate environmental reverb and preset reverb on an output mix and audio player 82 // Parameters for preset reverb on audio player (not supported) 86 // Parameters for environmental reverb on audio player (not supported) 253 } else if (!strncmp(arg, "--player-preset", 15)) { 262 } else if (!strncmp(arg, "--player-name", 13)) { 281 fprintf(stderr, "usage: %s --mix-preset=# --mix-name=I3DL2 --player-preset=# " 282 "--player-name=I3DL2 --loop filename\n", prog); 301 fprintf(stderr, "%s: player environmental reverb name %s not found, " 401 // create audio player 433 // realize audio player [all...] |
monkey.c | 17 // single-threaded, single-player monkey test 46 typedef State_t (*Action_pt)(Player_pt player); 116 // create audio player 129 // realize the player 248 Player_t player; local 249 player.mObject = NULL; 250 player.mPlay = NULL; 251 player.mSeek = NULL; 285 State_t nextState = (*transitionTable[i].mAction)(&player);
|
multiplay.c | 26 // Describes the state of one player 37 } Player; 95 Player *p = (Player *) context; 141 Player *players = (Player *) calloc(numPlayers, sizeof(Player)); 178 Player *p; 224 printf("player %d (%s): ", i, pathnames[i]);
|
/external/autotest/client/cros/chameleon/ |
chameleon_video_capturer.py | 40 def capture(self, player, max_frame_count, box=None): 45 @param player: object, VimeoPlayer or NativeHTML5Player 53 self.capture_only(player, max_frame_count, box) 59 def capture_only(self, player, max_frame_count, box=None): 65 @param player: VimeoPlayer or NativeHTML5Player. 78 player.play() 82 utils.poll_for_condition(lambda : player.currentTime() > 1,
|
/external/python/cpython2/Lib/plat-irix5/ |
readcd.doc | 1 Interface to CD-ROM player. 8 initialization of the class will try to open the CD player. This 9 means that initialization will fail if the CD player is already in 21 r = readcd.Readcd([cd-player [, mode]]) 25 possible value); when "cd-player" also isn't specified, it defaults 26 to "None" which indicates the default CD player. 31 eject() -- Eject the CD from the player.
|
/external/python/cpython2/Lib/plat-irix6/ |
readcd.doc | 1 Interface to CD-ROM player. 8 initialization of the class will try to open the CD player. This 9 means that initialization will fail if the CD player is already in 21 r = readcd.Readcd([cd-player [, mode]]) 25 possible value); when "cd-player" also isn't specified, it defaults 26 to "None" which indicates the default CD player. 31 eject() -- Eject the CD from the player.
|
/external/python/cpython2/Demo/turtle/ |
tdemo_nim.py | 5 Play nim against the computer. The player 61 self.player = 0 69 self.game.view.notify_move(row, col, maxspalte, self.player) 72 self.winner = self.player 74 elif self.player == 0: 75 self.player = 1 78 self.player = 0 158 def notify_move(self, row, col, maxspalte, player): 159 if player == 0:
|
/external/webrtc/webrtc/modules/audio_device/android/ |
opensles_player.h | 113 // Creates/destroys the audio player and the simple-buffer object. 150 // Queue of audio buffers to be used by the player object for rendering 179 // Output mix object to be used by the player object. 182 // The audio player media object plays out audio to the speakers. It also 186 // This interface is supported on the audio player and it controls the state 187 // of the audio player. 190 // The Android Simple Buffer Queue interface is supported on the audio player 192 // player for rendering. 196 // properties. This interface is supported on the Audio Player object.
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
BrowseTree.java | 54 public static final String PLAYER_PREFIX = "PLAYER"; 87 // Since Media APIs do not define the player separately we define that 106 BrowseNode(AvrcpPlayer player) { 109 // Transform the player into a item. 112 String playerKey = PLAYER_PREFIX + player.getId(); 116 mdb.setTitle(player.getName()); 146 // Get the BT Player ID associated with this node. 300 Log.e(TAG, "Setting an unknown browsed player, ignoring bn " + uid); 314 Log.e(TAG, "Setting an unknown addressed player, ignoring bn " + uid);
|
/cts/tests/tests/media/src/android/media/cts/ |
VideoSurfaceView.java | 90 public void setMediaPlayer(MediaPlayer player) { 91 mMediaPlayer = player; 125 Log.e(TAG, "media player prepare failed");
|
MediaTimeProvider.java | 19 * Interface used by CodecState to retrieve Media timing info from parent Player
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMediaPlayer.java | 19 @RealObject private MediaPlayer player; field in class:ShadowMediaPlayer 171 preparedListener.onPrepared( player ); 179 completionListener.onCompletion( player );
|
/frameworks/av/media/libmedia/include/media/ |
mediaplayer.h | 61 // Generic error codes for the media player framework. Errors are fatal, the 74 // 1xx: Android Player errors. Something went wrong inside the MediaPlayer. 91 // Info and warning codes for the media player framework. These are non fatal, 104 // 7xx: Android Player info/warning (e.g player lagging behind.) 110 // The player was started because it was used as the next player for another 111 // player, which just completed playback 113 // The player just pushed the very first video frame for rendering 267 status_t setNextMediaPlayer(const sp<MediaPlayer>& player); [all...] |
/packages/apps/Music/tests/src/com/android/music/ |
MusicPlayerStability.java | 28 * Junit / Instrumentation test case for the Music Player 81 // Launch music player and sleep for 30 seconds to capture 82 // the music player power usage base line.
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
RingbackPlayer.java | 38 * The currently active player. 62 Log.wtf(this, "Ringback player thinks there are two foreground-dialing calls."); 85 Log.w(this, "No player found to stop.");
|
/system/bt/stack/include/ |
avrc_defs.h | 98 #define AVRC_SUB_TAPE 0x04 /* Tape recorder/player */ 279 * handled by this media player - PlayItem, AddToNowPlaying */ 287 /* Search Not Supported - The Browsed Media Player does not support search - 292 /* Invalid Player Id - The specified Player Id does not refer to a valid player 295 /* Player Not Browsable - The Player Id supplied refers to a Media Player which 298 /* Player Not Addressed. The Player Id supplied refers to a player which is no 1089 tAVRC_ITEM_PLAYER player; \/* The properties of a media player item.*\/ member in union:__anon113709::__anon113710 [all...] |