Home
last modified time | relevance | path

Searched refs:getControlsRow (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DPlaybackTransportControlGlueSample.java132 Action action = getControlsRow().getActionForKeyCode(keyEvent.getKeyCode()); in onKey()
193 if (getControlsRow() == null) { in getPrimaryActionsAdapter()
196 return (ArrayObjectAdapter) getControlsRow().getPrimaryActionsAdapter(); in getPrimaryActionsAdapter()
200 if (getControlsRow() == null) { in getSecondaryActionsAdapter()
203 return (ArrayObjectAdapter) getControlsRow().getSecondaryActionsAdapter(); in getSecondaryActionsAdapter()
DPlaybackControlGlue.java107 Action action = getControlsRow().getActionForKeyCode(keyEvent.getKeyCode()); in onKey()
141 return (SparseArrayObjectAdapter) getControlsRow().getPrimaryActionsAdapter(); in getPrimaryActionsAdapter()
145 return (ArrayObjectAdapter) getControlsRow().getSecondaryActionsAdapter(); in getSecondaryActionsAdapter()
DMusicPlayerFragment.java153 (ArrayObjectAdapter) getControlsRow().getSecondaryActionsAdapter(), in onActionClicked()
167 (ArrayObjectAdapter) getControlsRow().getSecondaryActionsAdapter(), action); in onActionClicked()
DPlaybackFragment.java79 long totalTime = getControlsRow().getDuration(); in createComponents()
DPlaybackSupportFragment.java82 long totalTime = getControlsRow().getDuration(); in createComponents()
/frameworks/support/leanback/src/main/java/androidx/leanback/media/
DPlaybackControlGlue.java246 if (getControlsRow() == null || getPlaybackRowPresenter() == null) { in onAttachedToHost()
250 host.setPlaybackRow(getControlsRow()); in onAttachedToHost()
274 if (getControlsRow() == null) { in onCreateControlsRowAndPresenter()
354 getControlsRow().setSecondaryActionsAdapter(secondaryActions); in setControlsRow()
382 public PlaybackControlsRow getControlsRow() { in getControlsRow() method in PlaybackControlGlue
630 getControlsRow().getPrimaryActionsAdapter(); in updateControlButtons()
677 getControlsRow().getPrimaryActionsAdapter(); in updatePlaybackState()
DPlaybackBaseControlGlue.java230 host.setPlaybackRow(getControlsRow()); in onAttachedToHost()
339 getControlsRow().setSecondaryActionsAdapter(secondaryActions); in setControlsRow()
354 public PlaybackControlsRow getControlsRow() { in getControlsRow() method in PlaybackBaseControlGlue
DMediaPlayerGlue.java461 if (getControlsRow() == null) { in prepareMediaForPlaying()
464 getControlsRow().setBufferedProgress((int) (mp.getDuration() * (percent / 100f))); in prepareMediaForPlaying()
DPlaybackTransportControlGlue.java317 notifyItemChanged((ArrayObjectAdapter) getControlsRow().getPrimaryActionsAdapter(), in updatePlaybackState()
DPlaybackBannerControlGlue.java547 (ArrayObjectAdapter) getControlsRow().getPrimaryActionsAdapter(); in updatePlaybackState()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DPlaybackTestFragment.java101 long totalTime = getControlsRow().getDuration(); in createComponents()
209 Action action = getControlsRow().getActionForKeyCode(keyEvent.getKeyCode()); in onKey()
244 return (SparseArrayObjectAdapter) getControlsRow().getPrimaryActionsAdapter(); in getPrimaryActionsAdapter()
248 return (ArrayObjectAdapter) getControlsRow().getSecondaryActionsAdapter(); in getSecondaryActionsAdapter()
DPlaybackTestSupportFragment.java98 long totalTime = getControlsRow().getDuration(); in createComponents()
206 Action action = getControlsRow().getActionForKeyCode(keyEvent.getKeyCode()); in onKey()
241 return (SparseArrayObjectAdapter) getControlsRow().getPrimaryActionsAdapter(); in getPrimaryActionsAdapter()
245 return (ArrayObjectAdapter) getControlsRow().getSecondaryActionsAdapter(); in getSecondaryActionsAdapter()
DPlaybackFragmentTest.java98 PlaybackControlsRow controlsRow = fragment.getGlue().getControlsRow(); in testSelectedListener()
165 PlaybackControlsRow controlsRow = fragment.getGlue().getControlsRow(); in testClickedListener()
DPlaybackSupportFragmentTest.java95 PlaybackControlsRow controlsRow = fragment.getGlue().getControlsRow(); in testSelectedListener()
162 PlaybackControlsRow controlsRow = fragment.getGlue().getControlsRow(); in testClickedListener()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/
DPlaybackBannerControlGlueTest.java187 presenter.onBindViewHolder(mViewHolder, mGlue.getControlsRow()); in playerAdapterTest()
207 assertEquals(124L, mGlue.getControlsRow().getCurrentPosition()); in playerAdapterTest()
211 assertEquals(333L, mGlue.getControlsRow().getBufferedPosition()); in playerAdapterTest()
215 assertEquals((long) (Integer.MAX_VALUE) * 2, mGlue.getControlsRow().getDuration()); in playerAdapterTest()
DPlaybackTransportControlGlueTest.java96 presenter.onBindViewHolder(mViewHolder, mGlue.getControlsRow()); in setupWithMockAdapterAndViewHolder()
219 assertEquals(124L, mGlue.getControlsRow().getCurrentPosition()); in playerAdapterTest()
223 assertEquals(333L, mGlue.getControlsRow().getBufferedPosition()); in playerAdapterTest()
227 assertEquals((long) (Integer.MAX_VALUE) * 2, mGlue.getControlsRow().getDuration()); in playerAdapterTest()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DPlaybackTransportRowPresenterTest.java131 assertEquals(position, mGlue.getControlsRow().getCurrentPosition()); in verifyAtHeroIndexWithDifferentPosition()
140 assertEquals(positions[heroIndex], mGlue.getControlsRow().getCurrentPosition()); in verifyAtHeroIndex()
190 assertEquals(124L, mGlue.getControlsRow().getCurrentPosition()); in progressUpdating()
194 assertEquals(333L, mGlue.getControlsRow().getBufferedPosition()); in progressUpdating()
198 assertEquals((long) (Integer.MAX_VALUE) * 2, mGlue.getControlsRow().getDuration()); in progressUpdating()
/frameworks/support/leanback/api/
Dcurrent.txt1073 method public androidx.leanback.widget.PlaybackControlsRow getControlsRow();
1117 method public androidx.leanback.widget.PlaybackControlsRow getControlsRow();
/frameworks/support/leanback/api_legacy/
Dcurrent.txt1073 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
1117 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
D27.0.0.txt1093 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
1139 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
D27.1.0.txt1073 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
1117 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
D28.0.0-alpha1.txt1073 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
1117 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
D26.1.0.txt1208 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
1240 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
D26.0.0.txt1208 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
1240 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
/frameworks/support/api/
D25.0.0.txt1785 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();
1840 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow();

12