/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
D | GameActivity.java | 88 State player = mGameView.getCurrentPlayer(); in onResume() local 89 if (player == State.UNKNOWN) { in onResume() 90 player = State.fromInt(getIntent().getIntExtra(EXTRA_START_PLAYER, 1)); in onResume() 91 if (!checkGameFinished(player)) { in onResume() 92 selectTurn(player); in onResume() 95 if (player == State.PLAYER2) { in onResume() 98 if (player == State.WIN) { in onResume() 104 private State selectTurn(State player) { in selectTurn() argument 105 mGameView.setCurrentPlayer(player); in selectTurn() 108 if (player == State.PLAYER1) { in selectTurn() [all …]
|
D | GameView.java | 180 public void setCurrentPlayer(State player) { in setCurrentPlayer() argument 181 mCurrentPlayer = player; in setCurrentPlayer()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | Player.java | 17 package com.example.android.mediarouter.player; 62 Player player; in create() local 65 player = new RemotePlayer(context); in create() 67 player = new LocalPlayer.SurfaceViewPlayer(context); in create() 69 player = new LocalPlayer.OverlayPlayer(context); in create() 71 player.connect(route); in create() 72 return player; in create()
|
D | SampleMediaButtonReceiver.java | 17 package com.example.android.mediarouter.player;
|
D | SessionManager.java | 17 package com.example.android.mediarouter.player; 25 import com.example.android.mediarouter.player.Player.Callback; 391 public void setPlayer(Player player) { in setPlayer() argument 392 mPlayer = player; in setPlayer()
|
D | PlaylistItem.java | 17 package com.example.android.mediarouter.player;
|
D | LocalPlayer.java | 17 package com.example.android.mediarouter.player; 366 public static final void setSurface(MediaPlayer player, Surface surface) { in setSurface() argument 367 player.setSurface(surface); in setSurface() 385 mLayout = (FrameLayout)((Activity)context).findViewById(R.id.player); in SurfaceViewPlayer()
|
D | RemotePlayer.java | 17 package com.example.android.mediarouter.player; 32 import com.example.android.mediarouter.player.Player; 33 import com.example.android.mediarouter.player.PlaylistItem;
|
D | OverlayDisplayWindow.java | 17 package com.example.android.mediarouter.player;
|
D | MainActivity.java | 17 package com.example.android.mediarouter.player;
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
D | SimpleAudioOutput.java | 68 AudioTrack player = new AudioTrack(AudioManager.STREAM_MUSIC, in createAudioTrack() local 73 return player; in createAudioTrack()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
D | SimpleAudioOutput.java | 68 AudioTrack player = new AudioTrack(AudioManager.STREAM_MUSIC, in createAudioTrack() local 73 return player; in createAudioTrack()
|
/development/samples/JetBoy/src/com/example/android/jetboy/ |
D | JetBoyView.java | 105 public JetGameEvent(JetPlayer player, short segment, byte track, byte channel, in JetGameEvent() argument 107 this.player = player; in JetGameEvent() 115 public JetPlayer player; field in JetBoyView.JetGameEvent 733 processJetEvent(jetEvent.player, jetEvent.segment, jetEvent.track, in updateGameState() 901 protected void processJetEvent(JetPlayer player, short segment, byte track, byte channel, in processJetEvent() argument 1244 public void onJetNumQueuedSegmentUpdate(JetPlayer player, int nbSegments) { in onJetNumQueuedSegmentUpdate() argument 1265 public void onJetEvent(JetPlayer player, short segment, byte track, byte channel, in onJetEvent() argument 1272 mEventQueue.add(new JetGameEvent(player, segment, track, channel, controller, value)); in onJetEvent() 1277 public void onJetPauseUpdate(JetPlayer player, int paused) { in onJetPauseUpdate() argument 1283 public void onJetUserIdUpdate(JetPlayer player, int userId, int repeatCount) { in onJetUserIdUpdate() argument
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | Playback.java | 366 public void onCompletion(MediaPlayer player) { in onCompletion() argument 381 public void onPrepared(MediaPlayer player) { in onPrepared() argument
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
D | MusicService.java | 501 public void onCompletion(MediaPlayer player) { in onCompletion() argument 507 public void onPrepared(MediaPlayer player) { in onPrepared() argument
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/ |
D | SampleMediaRouteProvider.java | 37 import com.example.android.mediarouter.player.Player; 38 import com.example.android.mediarouter.player.PlaylistItem; 40 import com.example.android.mediarouter.player.SessionManager;
|