Home
last modified time | relevance | path

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

/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DPlaybackTransportControlGlueSample.java330 long actionsFromPlayerAdapter = getPlayerAdapter().getSupportedActions(); in getPlaybackStateActions() local
331 if ((actionsFromPlayerAdapter & PlaybackBaseControlGlue.ACTION_SKIP_TO_PREVIOUS) != 0) { in getPlaybackStateActions()
333 } else if ((actionsFromPlayerAdapter & PlaybackBaseControlGlue.ACTION_SKIP_TO_NEXT) != 0) { in getPlaybackStateActions()
335 } else if ((actionsFromPlayerAdapter & PlaybackBaseControlGlue.ACTION_REWIND) != 0) { in getPlaybackStateActions()
337 } else if ((actionsFromPlayerAdapter & PlaybackBaseControlGlue.ACTION_FAST_FORWARD) != 0) { in getPlaybackStateActions()
339 } else if ((actionsFromPlayerAdapter & PlaybackBaseControlGlue.ACTION_PLAY_PAUSE) != 0) { in getPlaybackStateActions()
341 } else if ((actionsFromPlayerAdapter & PlaybackBaseControlGlue.ACTION_REPEAT) != 0) { in getPlaybackStateActions()
343 } else if ((actionsFromPlayerAdapter & PlaybackBaseControlGlue.ACTION_SHUFFLE) != 0) { in getPlaybackStateActions()