Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/main/java/androidx/leanback/media/
DPlaybackBaseControlGlue.java116 PlaybackControlsRow mControlsRow; field in PlaybackBaseControlGlue
278 if (mControlsRow == null) { in onCreateDefaultControlsRow()
324 mControlsRow = controlsRow; in setControlsRow()
325 mControlsRow.setCurrentPosition(-1); in setControlsRow()
326 mControlsRow.setDuration(-1); in setControlsRow()
327 mControlsRow.setBufferedPosition(-1); in setControlsRow()
328 if (mControlsRow.getPrimaryActionsAdapter() == null) { in setControlsRow()
332 mControlsRow.setPrimaryActionsAdapter(adapter); in setControlsRow()
335 if (mControlsRow.getSecondaryActionsAdapter() == null) { in setControlsRow()
355 return mControlsRow; in getControlsRow()
[all …]
DPlaybackControlGlue.java184 private PlaybackControlsRow mControlsRow; field in PlaybackControlGlue
347 mControlsRow = controlsRow; in setControlsRow()
348 mControlsRow.setPrimaryActionsAdapter( in setControlsRow()
383 return mControlsRow; in getControlsRow()
435 if (mControlsRow != null) { in updateProgress()
436 mControlsRow.setCurrentTime(position); in updateProgress()
472 mControlsRow.getPrimaryActionsAdapter(); in onKey()
473 Action action = mControlsRow.getActionForKeyCode(primaryActionsAdapter, keyCode); in onKey()
600 if (mControlsRow == null) { in updateRowMetadata()
607 mControlsRow.setImageDrawable(null); in updateRowMetadata()
[all …]
DPlaybackTransportControlGlue.java209 final ObjectAdapter primaryActionsAdapter = mControlsRow.getPrimaryActionsAdapter(); in onKey()
210 Action action = mControlsRow.getActionForKeyCode(primaryActionsAdapter, keyCode); in onKey()
212 action = mControlsRow.getActionForKeyCode(mControlsRow.getSecondaryActionsAdapter(), in onKey()
296 if (mControlsRow == null) { in updatePlaybackState()
361 if (mControlsRow != null) { in onSeekPositionChanged()
362 mControlsRow.setCurrentPosition(pos); in onSeekPositionChanged()
DPlaybackBannerControlGlue.java384 final ObjectAdapter primaryActionsAdapter = mControlsRow.getPrimaryActionsAdapter(); in onKey()
385 Action action = mControlsRow.getActionForKeyCode(primaryActionsAdapter, keyCode); in onKey()
387 action = mControlsRow.getActionForKeyCode(mControlsRow.getSecondaryActionsAdapter(), in onKey()
530 if (mControlsRow == null) { in updatePlaybackState()