Home
last modified time | relevance | path

Searched refs:mPlayPauseButton (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DSimplePlayer.java52 ImageView mPlayPauseButton; field in SimplePlayer
83 mPlayPauseButton = (ImageButton) playPausebutton; in set()
86 mPlayPauseButton.setOnClickListener(this); in set()
87 mPlayPauseButton.requestFocus(); in set()
177 mPlayPauseButton.setImageResource(isPlaying() ? mPauseImageResource : mPlayImageResource); in updatePlayPauseButton()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/
DMediaControlView2.java280 private ImageButton mPlayPauseButton; field in MediaControlView2
413 if (mPlayPauseButton != null && canPause()) { in setButtonVisibility()
414 mPlayPauseButton.setVisibility(visibility); in setButtonVisibility()
471 if (mPlayPauseButton != null) { in requestPlayButtonFocus()
472 mPlayPauseButton.requestFocus(); in requestPlayButtonFocus()
565 if (mPlayPauseButton != null) { in setEnabled()
566 mPlayPauseButton.setEnabled(enabled); in setEnabled()
795 if (mPlayPauseButton != null && !canPause()) { in disableUnsupportedButtons()
796 mPlayPauseButton.setEnabled(false); in disableUnsupportedButtons()
906 mPlayPauseButton.setImageDrawable( in togglePausePlayState()
[all …]
/frameworks/av/packages/MediaComponents/src/com/android/widget/
DMediaControlView2Impl.java173 private ImageButton mPlayPauseButton; field in MediaControlView2Impl
272 if (mPlayPauseButton != null && canPause()) { in setButtonVisibility_impl()
273 mPlayPauseButton.setVisibility(visibility); in setButtonVisibility_impl()
328 if (mPlayPauseButton != null) { in requestPlayButtonFocus_impl()
329 mPlayPauseButton.requestFocus(); in requestPlayButtonFocus_impl()
418 if (mPlayPauseButton != null) { in setEnabled_impl()
419 mPlayPauseButton.setEnabled(enabled); in setEnabled_impl()
647 if (mPlayPauseButton != null && !canPause()) { in disableUnsupportedButtons()
648 mPlayPauseButton.setEnabled(false); in disableUnsupportedButtons()
765 mPlayPauseButton.setImageDrawable( in togglePausePlayState()
[all …]
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java269 ImageView mPlayPauseButton; field in ScoAudioTest.SimpleMediaController
281 mPlayPauseButton = findViewById(playPausebuttonId); in SimpleMediaController()
284 mPlayPauseButton.setOnClickListener(this); in SimpleMediaController()
285 mPlayPauseButton.requestFocus(); in SimpleMediaController()
297 mPlayPauseButton = findViewById(playPausebuttonId); in SimpleMediaController()
300 mPlayPauseButton.setOnClickListener(this); in SimpleMediaController()
301 mPlayPauseButton.requestFocus(); in SimpleMediaController()
327mPlayPauseButton.setImageResource(isPlaying() ? mPauseImageResource : mPlayImageResource); in updatePlayPauseButton()