Searched refs:speedLevel (Results 1 – 2 of 2) sorted by relevance
254 private void onStateChanged(int state, long positionMs, int speedLevel) { in onStateChanged() argument257 if (state == mPlaybackState && mPlaybackSpeedLevel == speedLevel) { in onStateChanged()264 mPlaybackSpeedLevel = speedLevel; in onStateChanged()277 mPlaybackSpeedId = PLAYBACK_SPEED_FAST_L0 + speedLevel; in onStateChanged()282 mPlaybackSpeedId = -PLAYBACK_SPEED_FAST_L0 - speedLevel; in onStateChanged()
47 public static int getPlaybackSpeed(int speedLevel, long programDurationMillis) in getPlaybackSpeed() argument50 LONG_PROGRAM_SPEED_FACTORS[speedLevel] : SHORT_PROGRAM_SPEED_FACTORS[speedLevel]; in getPlaybackSpeed()