/frameworks/support/leanback/src/main/java/androidx/leanback/media/ |
D | MediaPlayerGlue.java | 33 import androidx.leanback.widget.PlaybackControlsRow; 70 protected final PlaybackControlsRow.ThumbsDownAction mThumbsDownAction; 71 protected final PlaybackControlsRow.ThumbsUpAction mThumbsUpAction; 73 private final PlaybackControlsRow.RepeatAction mRepeatAction; 130 mRepeatAction = new PlaybackControlsRow.RepeatAction(getContext()); in MediaPlayerGlue() 131 mThumbsDownAction = new PlaybackControlsRow.ThumbsDownAction(getContext()); in MediaPlayerGlue() 132 mThumbsUpAction = new PlaybackControlsRow.ThumbsUpAction(getContext()); in MediaPlayerGlue() 133 mThumbsDownAction.setIndex(PlaybackControlsRow.ThumbsAction.INDEX_OUTLINE); in MediaPlayerGlue() 134 mThumbsUpAction.setIndex(PlaybackControlsRow.ThumbsAction.INDEX_OUTLINE); in MediaPlayerGlue() 223 if (action instanceof PlaybackControlsRow.RepeatAction) { in onActionClicked() [all …]
|
D | PlaybackControlGlue.java | 33 import androidx.leanback.widget.PlaybackControlsRow; 184 private PlaybackControlsRow mControlsRow; 186 private PlaybackControlsRow.PlayPauseAction mPlayPauseAction; 187 private PlaybackControlsRow.SkipNextAction mSkipNextAction; 188 private PlaybackControlsRow.SkipPreviousAction mSkipPreviousAction; 189 private PlaybackControlsRow.FastForwardAction mFastForwardAction; 190 private PlaybackControlsRow.RewindAction mRewindAction; 275 PlaybackControlsRow controlsRow = new PlaybackControlsRow(this); in onCreateControlsRowAndPresenter() 346 public void setControlsRow(PlaybackControlsRow controlsRow) { in setControlsRow() 382 public PlaybackControlsRow getControlsRow() { in getControlsRow() [all …]
|
D | PlaybackBannerControlGlue.java | 33 import androidx.leanback.widget.PlaybackControlsRow; 209 private PlaybackControlsRow.SkipNextAction mSkipNextAction; 210 private PlaybackControlsRow.SkipPreviousAction mSkipPreviousAction; 211 private PlaybackControlsRow.FastForwardAction mFastForwardAction; 212 private PlaybackControlsRow.RewindAction mRewindAction; 273 public void setControlsRow(PlaybackControlsRow controlsRow) { in setControlsRow() 283 new PlaybackControlsRow.SkipPreviousAction(getContext())); in onCreatePrimaryActions() 291 new PlaybackControlsRow.RewindAction(getContext(), mRewindSpeeds.length)); in onCreatePrimaryActions() 297 mPlayPauseAction = new PlaybackControlsRow.PlayPauseAction(getContext()); in onCreatePrimaryActions() 299 new PlaybackControlsRow.PlayPauseAction(getContext())); in onCreatePrimaryActions() [all …]
|
D | PlaybackTransportControlGlue.java | 30 import androidx.leanback.widget.PlaybackControlsRow; 126 public void setControlsRow(PlaybackControlsRow controlsRow) { in setControlsRow() 135 new PlaybackControlsRow.PlayPauseAction(getContext())); in onCreatePrimaryActions() 239 if (action instanceof PlaybackControlsRow.PlayPauseAction) { in dispatchAction() 259 } else if (action instanceof PlaybackControlsRow.SkipNextAction) { in dispatchAction() 262 } else if (action instanceof PlaybackControlsRow.SkipPreviousAction) { in dispatchAction() 313 ? PlaybackControlsRow.PlayPauseAction.INDEX_PLAY in updatePlaybackState() 314 : PlaybackControlsRow.PlayPauseAction.INDEX_PAUSE; in updatePlaybackState()
|
D | MediaControllerAdapter.java | 37 import androidx.leanback.widget.PlaybackControlsRow; 322 case PlaybackControlsRow.RepeatAction.INDEX_NONE: in mapRepeatActionToRepeatMode() 324 case PlaybackControlsRow.RepeatAction.INDEX_ALL: in mapRepeatActionToRepeatMode() 326 case PlaybackControlsRow.RepeatAction.INDEX_ONE: in mapRepeatActionToRepeatMode() 341 case PlaybackControlsRow.ShuffleAction.INDEX_OFF: in mapShuffleActionToShuffleMode() 343 case PlaybackControlsRow.ShuffleAction.INDEX_ON: in mapShuffleActionToShuffleMode()
|
D | PlaybackBaseControlGlue.java | 31 import androidx.leanback.widget.PlaybackControlsRow; 116 PlaybackControlsRow mControlsRow; 118 PlaybackControlsRow.PlayPauseAction mPlayPauseAction; 279 PlaybackControlsRow controlsRow = new PlaybackControlsRow(this); in onCreateDefaultControlsRow() 323 public void setControlsRow(PlaybackControlsRow controlsRow) { in setControlsRow() 354 public PlaybackControlsRow getControlsRow() { in getControlsRow()
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
D | PlaybackControlGlue.java | 28 import androidx.leanback.widget.PlaybackControlsRow; 49 private PlaybackControlsRow.RepeatAction mRepeatAction; 50 private PlaybackControlsRow.ThumbsUpAction mThumbsUpAction; 51 private PlaybackControlsRow.ThumbsDownAction mThumbsDownAction; 52 private PlaybackControlsRow.PictureInPictureAction mPipAction; 65 mThumbsUpAction = new PlaybackControlsRow.ThumbsUpAction(context); in PlaybackControlGlue() 66 mThumbsUpAction.setIndex(PlaybackControlsRow.ThumbsUpAction.INDEX_OUTLINE); in PlaybackControlGlue() 67 mThumbsDownAction = new PlaybackControlsRow.ThumbsDownAction(context); in PlaybackControlGlue() 68 mThumbsDownAction.setIndex(PlaybackControlsRow.ThumbsDownAction.INDEX_OUTLINE); in PlaybackControlGlue() 69 mRepeatAction = new PlaybackControlsRow.RepeatAction(context); in PlaybackControlGlue() [all …]
|
D | PlaybackTransportControlGlueSample.java | 35 import androidx.leanback.widget.PlaybackControlsRow; 48 private PlaybackControlsRow.RepeatAction mRepeatAction; 49 private PlaybackControlsRow.ThumbsUpAction mThumbsUpAction; 50 private PlaybackControlsRow.ThumbsDownAction mThumbsDownAction; 51 private PlaybackControlsRow.PictureInPictureAction mPipAction; 52 private PlaybackControlsRow.ClosedCaptioningAction mClosedCaptioningAction; 57 mClosedCaptioningAction = new PlaybackControlsRow.ClosedCaptioningAction(context); in PlaybackTransportControlGlueSample() 58 mThumbsUpAction = new PlaybackControlsRow.ThumbsUpAction(context); in PlaybackTransportControlGlueSample() 59 mThumbsUpAction.setIndex(PlaybackControlsRow.ThumbsUpAction.INDEX_OUTLINE); in PlaybackTransportControlGlueSample() 60 mThumbsDownAction = new PlaybackControlsRow.ThumbsDownAction(context); in PlaybackTransportControlGlueSample() [all …]
|
D | MusicPlayerFragment.java | 35 import androidx.leanback.widget.PlaybackControlsRow; 73 private PlaybackControlsRow.RepeatAction mRepeatAction; 74 private PlaybackControlsRow.ShuffleAction mShuffleAction; 92 mRepeatAction = new PlaybackControlsRow.RepeatAction(getContext())); in onCreateSecondaryActions() 101 mShuffleAction = new PlaybackControlsRow.ShuffleAction(getContext())); in onCreateSecondaryActions() 144 if (action instanceof PlaybackControlsRow.RepeatAction) { in onActionClicked() 145 PlaybackControlsRow.RepeatAction repeatAction = in onActionClicked() 146 ((PlaybackControlsRow.RepeatAction) action); in onActionClicked() 158 if (action instanceof PlaybackControlsRow.ShuffleAction) { in onActionClicked() 159 PlaybackControlsRow.ShuffleAction shuffleAction = in onActionClicked() [all …]
|
D | SampleVideoSupportFragment.java | 27 import androidx.leanback.widget.PlaybackControlsRow; 115 mMediaPlayerGlue.setMode(PlaybackControlsRow.RepeatAction.INDEX_NONE); in onCreate() 165 mMediaPlayerGlue.setMode(PlaybackControlsRow.RepeatAction.INDEX_ONE); in switchAnotherGlue()
|
D | SampleVideoFragment.java | 24 import androidx.leanback.widget.PlaybackControlsRow; 112 mMediaPlayerGlue.setMode(PlaybackControlsRow.RepeatAction.INDEX_NONE); in onCreate() 162 mMediaPlayerGlue.setMode(PlaybackControlsRow.RepeatAction.INDEX_ONE); in switchAnotherGlue()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | PlaybackTestFragment.java | 39 import androidx.leanback.widget.PlaybackControlsRow; 162 private PlaybackControlsRow.RepeatAction mRepeatAction; 163 private PlaybackControlsRow.ThumbsUpAction mThumbsUpAction; 164 private PlaybackControlsRow.ThumbsDownAction mThumbsDownAction; 165 private PlaybackControlsRow.PictureInPictureAction mPipAction; 178 mThumbsUpAction = new PlaybackControlsRow.ThumbsUpAction(context); in PlaybackControlHelper() 179 mThumbsUpAction.setIndex(PlaybackControlsRow.ThumbsUpAction.INDEX_OUTLINE); in PlaybackControlHelper() 180 mThumbsDownAction = new PlaybackControlsRow.ThumbsDownAction(context); in PlaybackControlHelper() 181 mThumbsDownAction.setIndex(PlaybackControlsRow.ThumbsDownAction.INDEX_OUTLINE); in PlaybackControlHelper() 182 mRepeatAction = new PlaybackControlsRow.RepeatAction(context); in PlaybackControlHelper() [all …]
|
D | PlaybackTestSupportFragment.java | 36 import androidx.leanback.widget.PlaybackControlsRow; 159 private PlaybackControlsRow.RepeatAction mRepeatAction; 160 private PlaybackControlsRow.ThumbsUpAction mThumbsUpAction; 161 private PlaybackControlsRow.ThumbsDownAction mThumbsDownAction; 162 private PlaybackControlsRow.PictureInPictureAction mPipAction; 175 mThumbsUpAction = new PlaybackControlsRow.ThumbsUpAction(context); in PlaybackControlHelper() 176 mThumbsUpAction.setIndex(PlaybackControlsRow.ThumbsUpAction.INDEX_OUTLINE); in PlaybackControlHelper() 177 mThumbsDownAction = new PlaybackControlsRow.ThumbsDownAction(context); in PlaybackControlHelper() 178 mThumbsDownAction.setIndex(PlaybackControlsRow.ThumbsDownAction.INDEX_OUTLINE); in PlaybackControlHelper() 179 mRepeatAction = new PlaybackControlsRow.RepeatAction(context); in PlaybackControlHelper() [all …]
|
D | PlaybackFragmentTest.java | 45 import androidx.leanback.widget.PlaybackControlsRow; 98 PlaybackControlsRow controlsRow = fragment.getGlue().getControlsRow(); in testSelectedListener() 102 PlaybackControlsRow.MultiAction playPause = (PlaybackControlsRow.MultiAction) in testSelectedListener() 105 PlaybackControlsRow.MultiAction rewind = (PlaybackControlsRow.MultiAction) in testSelectedListener() 108 PlaybackControlsRow.MultiAction thumbsUp = (PlaybackControlsRow.MultiAction) in testSelectedListener() 165 PlaybackControlsRow controlsRow = fragment.getGlue().getControlsRow(); in testClickedListener() 169 PlaybackControlsRow.MultiAction playPause = (PlaybackControlsRow.MultiAction) in testClickedListener() 172 PlaybackControlsRow.MultiAction rewind = (PlaybackControlsRow.MultiAction) in testClickedListener() 175 PlaybackControlsRow.MultiAction thumbsUp = (PlaybackControlsRow.MultiAction) in testClickedListener() 274 PlaybackControlsRow row = new PlaybackControlsRow(); in onCreate() [all …]
|
D | PlaybackSupportFragmentTest.java | 42 import androidx.leanback.widget.PlaybackControlsRow; 95 PlaybackControlsRow controlsRow = fragment.getGlue().getControlsRow(); in testSelectedListener() 99 PlaybackControlsRow.MultiAction playPause = (PlaybackControlsRow.MultiAction) in testSelectedListener() 102 PlaybackControlsRow.MultiAction rewind = (PlaybackControlsRow.MultiAction) in testSelectedListener() 105 PlaybackControlsRow.MultiAction thumbsUp = (PlaybackControlsRow.MultiAction) in testSelectedListener() 162 PlaybackControlsRow controlsRow = fragment.getGlue().getControlsRow(); in testClickedListener() 166 PlaybackControlsRow.MultiAction playPause = (PlaybackControlsRow.MultiAction) in testClickedListener() 169 PlaybackControlsRow.MultiAction rewind = (PlaybackControlsRow.MultiAction) in testClickedListener() 172 PlaybackControlsRow.MultiAction thumbsUp = (PlaybackControlsRow.MultiAction) in testClickedListener() 271 PlaybackControlsRow row = new PlaybackControlsRow(); in onCreate() [all …]
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/ |
D | PlaybackControlGlueTest.java | 30 import androidx.leanback.widget.PlaybackControlsRow; 112 assertTrue(host.mRow instanceof PlaybackControlsRow); in usingDefaultRowAndPresenter() 138 assertTrue(host.mRow instanceof PlaybackControlsRow); in customRowPresenter() 151 PlaybackControlsRow row = new PlaybackControlsRow(mContext); in customControlsRow() 173 PlaybackControlsRow row = new PlaybackControlsRow(mContext); in customRowAndPresenter()
|
D | PlaybackBannerControlGlueTest.java | 35 import androidx.leanback.widget.PlaybackControlsRow; 86 assertTrue(host.mRow instanceof PlaybackControlsRow); in usingDefaultRowAndPresenter() 111 assertTrue(host.mRow instanceof PlaybackControlsRow); in customRowPresenter() 124 PlaybackControlsRow row = new PlaybackControlsRow(mContext); in customControlsRow() 145 PlaybackControlsRow row = new PlaybackControlsRow(mContext); in customRowAndPresenter()
|
D | PlaybackTransportControlGlueTest.java | 37 import androidx.leanback.widget.PlaybackControlsRow; 123 assertTrue(host.mRow instanceof PlaybackControlsRow); in usingDefaultRowAndPresenter() 148 assertTrue(host.mRow instanceof PlaybackControlsRow); in customRowPresenter() 161 PlaybackControlsRow row = new PlaybackControlsRow(mContext); in customControlsRow() 182 PlaybackControlsRow row = new PlaybackControlsRow(mContext); in customRowAndPresenter()
|
D | MediaControllerAdapterTest.java | 41 import androidx.leanback.widget.PlaybackControlsRow; 313 mMediaControllerAdapter.setRepeatAction(PlaybackControlsRow.RepeatAction.INDEX_NONE); in testRepeatModeRepeatModeNone() 332 mMediaControllerAdapter.setRepeatAction(PlaybackControlsRow.RepeatAction.INDEX_ONE); in testRepeatModeRepeatModeOne() 351 mMediaControllerAdapter.setRepeatAction(PlaybackControlsRow.RepeatAction.INDEX_ALL); in testRepeatModeRepeatModeAll() 370 mMediaControllerAdapter.setShuffleAction(PlaybackControlsRow.ShuffleAction.INDEX_OFF); in testShuffleModeShuffleModeNone() 389 mMediaControllerAdapter.setShuffleAction(PlaybackControlsRow.ShuffleAction.INDEX_ON); in testShuffleModeShuffleModeAll()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | PlaybackControlsRowPresenter.java | 73 final PlaybackControlsRow.OnPlaybackProgressCallback mListener = 74 new PlaybackControlsRow.OnPlaybackProgressCallback() { 76 public void onCurrentPositionChanged(PlaybackControlsRow row, long ms) { 81 public void onDurationChanged(PlaybackControlsRow row, long ms) { 86 public void onBufferedPositionChanged(PlaybackControlsRow row, long ms) { 128 ? ((PlaybackControlsRow) getRow()).getPrimaryActionsAdapter() in getPresenter() 129 : ((PlaybackControlsRow) getRow()).getSecondaryActionsAdapter(); in getPresenter() 378 PlaybackControlsRow row = (PlaybackControlsRow) vh.getRow(); in onBindRowViewHolder() 452 PlaybackControlsRow row = (PlaybackControlsRow) vh.getRow(); in onUnbindRowViewHolder()
|
D | PlaybackTransportRowPresenter.java | 77 PlaybackControlsRow.PlayPauseAction mPlayPauseAction; 86 final PlaybackControlsRow.OnPlaybackProgressCallback mListener = 87 new PlaybackControlsRow.OnPlaybackProgressCallback() { 89 public void onCurrentPositionChanged(PlaybackControlsRow row, long ms) { 94 public void onDurationChanged(PlaybackControlsRow row, long ms) { 99 public void onBufferedPositionChanged(PlaybackControlsRow row, long ms) { 430 ? ((PlaybackControlsRow) getRow()).getPrimaryActionsAdapter() in getPresenter() 431 : ((PlaybackControlsRow) getRow()).getSecondaryActionsAdapter(); in getPresenter() 689 PlaybackControlsRow row = (PlaybackControlsRow) vh.getRow(); in onBindRowViewHolder() 727 PlaybackControlsRow row = (PlaybackControlsRow) vh.getRow(); in onUnbindRowViewHolder() [all …]
|
D | PlaybackControlsRow.java | 46 public class PlaybackControlsRow extends Row { class 57 public void onCurrentPositionChanged(PlaybackControlsRow row, long currentTimeMs) { in onCurrentPositionChanged() 65 public void onDurationChanged(PlaybackControlsRow row, long totalTime) { in onDurationChanged() 73 public void onBufferedPositionChanged(PlaybackControlsRow row, long bufferedProgressMs) { in onBufferedPositionChanged() 784 public PlaybackControlsRow(Object item) { 791 public PlaybackControlsRow() {
|
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/ |
D | missingSinces.txt | 41 NO DOC BLOCK: android.support.v17.leanback.widget.PlaybackControlsRow Method getBufferedProgressLon… 42 NO DOC BLOCK: android.support.v17.leanback.widget.PlaybackControlsRow Method getCurrentTimeLong() 56 NO DOC BLOCK: android.support.v17.leanback.widget.PlaybackControlsRow Method getTotalTimeLong() 77 NO DOC BLOCK: android.support.v17.leanback.widget.PlaybackControlsRow Method setBufferedProgressLon… 78 NO DOC BLOCK: android.support.v17.leanback.widget.PlaybackControlsRow Method setCurrentTimeLong(lon… 95 NO DOC BLOCK: android.support.v17.leanback.widget.PlaybackControlsRow Method setTotalTimeLong(long)
|
/frameworks/support/leanback/api/ |
D | current.txt | 1073 method public androidx.leanback.widget.PlaybackControlsRow getControlsRow(); 1098 method public void setControlsRow(androidx.leanback.widget.PlaybackControlsRow); 1117 method public androidx.leanback.widget.PlaybackControlsRow getControlsRow(); 1142 method public void setControlsRow(androidx.leanback.widget.PlaybackControlsRow); 2406 public class PlaybackControlsRow extends androidx.leanback.widget.Row { 2407 ctor public PlaybackControlsRow(java.lang.Object); 2408 ctor public PlaybackControlsRow(); 2433 …void setOnPlaybackProgressChangedListener(androidx.leanback.widget.PlaybackControlsRow.OnPlaybackP… 2440 …public static class PlaybackControlsRow.ClosedCaptioningAction extends androidx.leanback.widget.Pl… 2441 ctor public PlaybackControlsRow.ClosedCaptioningAction(android.content.Context); [all …]
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | PresenterTest.java | 160 PlaybackControlsRow controlsRow = new PlaybackControlsRow(item); in testPlaybackControlsRowPresenter()
|