Home
last modified time | relevance | path

Searched refs:player (Results 1 – 16 of 16) sorted by relevance

/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameActivity.java88 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 …]
DGameView.java180 public void setCurrentPlayer(State player) { in setCurrentPlayer() argument
181 mCurrentPlayer = player; in setCurrentPlayer()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DPlayer.java17 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()
DSessionManager.java17 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()
DLocalPlayer.java17 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()
DSampleMediaButtonReceiver.java17 package com.example.android.mediarouter.player;
DRemotePlayer.java17 package com.example.android.mediarouter.player;
32 import com.example.android.mediarouter.player.Player;
33 import com.example.android.mediarouter.player.PlaylistItem;
DPlaylistItem.java17 package com.example.android.mediarouter.player;
DOverlayDisplayWindow.java17 package com.example.android.mediarouter.player;
DMainActivity.java17 package com.example.android.mediarouter.player;
/development/samples/JetBoy/src/com/example/android/jetboy/
DJetBoyView.java105 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/MidiScope/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java68 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/
DSimpleAudioOutput.java68 AudioTrack player = new AudioTrack(AudioManager.STREAM_MUSIC, in createAudioTrack() local
73 return player; in createAudioTrack()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPlayback.java366 public void onCompletion(MediaPlayer player) { in onCompletion() argument
381 public void onPrepared(MediaPlayer player) { in onPrepared() argument
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java37 import com.example.android.mediarouter.player.Player;
38 import com.example.android.mediarouter.player.PlaylistItem;
40 import com.example.android.mediarouter.player.SessionManager;
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv9651 …t/setupwizard,fake_e3zS6X-tSCKklHasf4Eq-w@fakeemail.com,Add API to expose player's current position
18469 …e_yIcJh8rJRDKSRF2rlBijaQ@fakeemail.com,Send available players changed with addressed player changed
18533 …pps/Bluetooth,fake_t0k-F6bkTZ6mDtWQc404Nw@fakeemail.com,AVRCP: fix crash on callback with no player
18543 …/Bluetooth,fake_t0k-F6bkTZ6mDtWQc404Nw@fakeemail.com,Avrcp: refactor addressed player notifications
18606 …uetooth,fake_yIcJh8rJRDKSRF2rlBijaQ@fakeemail.com,AVRCP: Ignore addressed player changed to telecom
18793 …rlBijaQ@fakeemail.com,Don't reject notifications and wait until new addressed player is ready (1/2)
18825 …s/apps/Bluetooth,fake_t0k-F6bkTZ6mDtWQc404Nw@fakeemail.com,AVRCP: Launch player when selected and …
18836 …e_yIcJh8rJRDKSRF2rlBijaQ@fakeemail.com,AVRCP: Only send the active player for media player listings
18950 …s/Bluetooth,fake_t0k-F6bkTZ6mDtWQc404Nw@fakeemail.com,AVRCP: Rework available media player handling
19070 …s/Bluetooth,fake_mmwUdN0mTpu66Ey_HYJufA@fakeemail.com,Implement set addressed player functionality.
[all …]