Home
last modified time | relevance | path

Searched refs:shouldShowPauseButton (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerControlView.java797 boolean shouldShowPauseButton = shouldShowPauseButton(); in updatePlayPauseButton()
799 requestPlayPauseFocus |= shouldShowPauseButton && playButton.isFocused(); in updatePlayPauseButton()
800 playButton.setVisibility(shouldShowPauseButton ? GONE : VISIBLE); in updatePlayPauseButton()
803 requestPlayPauseFocus |= !shouldShowPauseButton && pauseButton.isFocused(); in updatePlayPauseButton()
804 pauseButton.setVisibility(shouldShowPauseButton ? VISIBLE : GONE); in updatePlayPauseButton()
1024 boolean shouldShowPauseButton = shouldShowPauseButton(); in requestPlayPauseFocus()
1025 if (!shouldShowPauseButton && playButton != null) { in requestPlayPauseFocus()
1027 } else if (shouldShowPauseButton && pauseButton != null) { in requestPlayPauseFocus()
1157 private boolean shouldShowPauseButton() { in shouldShowPauseButton() method in PlayerControlView
DPlayerNotificationManager.java1150 if (shouldShowPauseButton(player)) { in getActions()
1194 boolean shouldShowPauseButton = shouldShowPauseButton(player); in getActionIndicesForCompactView()
1195 if (pauseActionIndex != -1 && shouldShowPauseButton) { in getActionIndicesForCompactView()
1197 } else if (playActionIndex != -1 && !shouldShowPauseButton) { in getActionIndicesForCompactView()
1213 private boolean shouldShowPauseButton(Player player) { in shouldShowPauseButton() method in PlayerNotificationManager