Commit 04b66b08 authored by Alexandre Perraud's avatar Alexandre Perraud Committed by Jean-Baptiste Kempf

Seek gesture : show jump size

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 14b14166
......@@ -696,6 +696,7 @@ public class VideoPlayerActivity extends Activity {
int jump = (int) (600000 * Math.pow(
(x_changed / screen.widthPixels), 3));
mPlayerControlListener.onSeek(jump);
showInfo(String.format("%s%ss", jump >= 0 ? "+" : "", Util.millisToString(jump)),1000);
}
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment