Home
last modified time | relevance | path

Searched refs:setState (Results 1 – 11 of 11) sorted by relevance

/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DSessionManager.java250 item.setState(MediaItemStatus.PLAYBACK_STATE_PENDING); in suspend()
328 item.setState(mPaused ? MediaItemStatus.PLAYBACK_STATE_PAUSED in updatePlaybackState()
335 item.setState(MediaItemStatus.PLAYBACK_STATE_PAUSED); in updatePlaybackState()
338 item.setState(MediaItemStatus.PLAYBACK_STATE_PLAYING); in updatePlaybackState()
361 item.setState(state); in removeItem()
DPlaylistItem.java54 public void setState(int state) { in setState() method in PlaylistItem
DRemotePlayer.java181 item.setState(state); in getStatus()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChatService.java85 private synchronized void setState(int state) { in setState() method in BluetoothChatService
111 setState(STATE_LISTEN); in start()
143 setState(STATE_CONNECTING); in connect()
182 setState(STATE_CONNECTED); in connected()
210 setState(STATE_NONE); in stop()
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarLander.java93 mLunarThread.setState(LunarThread.STATE_LOSE, in onOptionsItemSelected()
138 mLunarThread.setState(LunarThread.STATE_READY); in onCreate()
DLunarView.java309 setState(STATE_RUNNING); in doStart()
318 if (mMode == STATE_RUNNING) setState(STATE_PAUSE); in pause()
331 setState(STATE_PAUSE); in restoreState()
452 public void setState(int mode) { in setState() method in LunarView.LunarThread
454 setState(mode, null); in setState()
465 public void setState(int mode, CharSequence message) { in setState() method in LunarView.LunarThread
537 setState(STATE_RUNNING); in unpause()
785 setState(result, message); in updatePhysics()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DTouchHighlightImageButton.java83 mForegroundDrawable.setState(getDrawableState()); in drawableStateChanged()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCard.java142 public Card setState(int state) { in setState() method in Card
480 mCard.setState(status); in setStatus()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DCandidateView.java76 mSelectionHighlight.setState(new int[] { in CandidateView()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicService.java161 mPlayback.setState(PlaybackState.STATE_NONE); in onCreate()
624 stateBuilder.setState(state, position, 1.0f, SystemClock.elapsedRealtime()); in updatePlaybackState()
DPlayback.java124 public void setState(int state) { in setState() method in Playback