[Android] AB repeat UX improvement

Nicolas Pomepuy git at videolan.org
Fri Dec 20 16:37:17 CET 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Dec 20 15:32:34 2019 +0100| [6442d4365a66ce6a481f884801c95507292dcb7a] | committer: Nicolas Pomepuy

AB repeat UX improvement

Fixes #1080

> https://code.videolan.org/videolan/vlc-android/commit/6442d4365a66ce6a481f884801c95507292dcb7a
---

 .../res/drawable-hdpi/ic_abrepeat_normal.png       | Bin 563 -> 0 bytes
 .../res/drawable-hdpi/ic_abrepeat_normal_w.png     | Bin 570 -> 0 bytes
 .../res/drawable-hdpi/ic_abrepeat_pressed.png      | Bin 563 -> 0 bytes
 .../ic_abrepeat_reset_circle_normal.png            | Bin 874 -> 0 bytes
 .../ic_abrepeat_reset_circle_pressed.png           | Bin 754 -> 0 bytes
 .../res/drawable-hdpi/ic_abrepeat_reset_normal.png | Bin 675 -> 0 bytes
 .../drawable-hdpi/ic_abrepeat_reset_normal_o.png   | Bin 675 -> 0 bytes
 .../drawable-hdpi/ic_abrepeat_reset_normal_w.png   | Bin 678 -> 0 bytes
 .../drawable-hdpi/ic_abrepeat_reset_pressed.png    | Bin 674 -> 0 bytes
 .../ic_abrepeat_seta_circle_normal.png             | Bin 1065 -> 0 bytes
 .../ic_abrepeat_seta_circle_pressed.png            | Bin 1047 -> 0 bytes
 .../res/drawable-hdpi/ic_abrepeat_seta_normal.png  | Bin 611 -> 0 bytes
 .../drawable-hdpi/ic_abrepeat_seta_normal_w.png    | Bin 632 -> 0 bytes
 .../res/drawable-hdpi/ic_abrepeat_seta_pressed.png | Bin 623 -> 0 bytes
 .../ic_abrepeat_setb_circle_normal.png             | Bin 1087 -> 0 bytes
 .../ic_abrepeat_setb_circle_pressed.png            | Bin 1035 -> 0 bytes
 .../res/drawable-hdpi/ic_abrepeat_setb_normal.png  | Bin 648 -> 0 bytes
 .../drawable-hdpi/ic_abrepeat_setb_normal_w.png    | Bin 660 -> 0 bytes
 .../res/drawable-hdpi/ic_abrepeat_setb_pressed.png | Bin 649 -> 0 bytes
 .../res/drawable-ldpi/ic_abrepeat_normal.png       | Bin 394 -> 0 bytes
 .../res/drawable-ldpi/ic_abrepeat_normal_w.png     | Bin 394 -> 0 bytes
 .../res/drawable-ldpi/ic_abrepeat_pressed.png      | Bin 394 -> 0 bytes
 .../ic_abrepeat_reset_circle_normal.png            | Bin 535 -> 0 bytes
 .../ic_abrepeat_reset_circle_pressed.png           | Bin 522 -> 0 bytes
 .../res/drawable-ldpi/ic_abrepeat_reset_normal.png | Bin 436 -> 0 bytes
 .../drawable-ldpi/ic_abrepeat_reset_normal_o.png   | Bin 443 -> 0 bytes
 .../drawable-ldpi/ic_abrepeat_reset_normal_w.png   | Bin 442 -> 0 bytes
 .../drawable-ldpi/ic_abrepeat_reset_pressed.png    | Bin 448 -> 0 bytes
 .../ic_abrepeat_seta_circle_normal.png             | Bin 661 -> 0 bytes
 .../ic_abrepeat_seta_circle_pressed.png            | Bin 646 -> 0 bytes
 .../res/drawable-ldpi/ic_abrepeat_seta_normal.png  | Bin 450 -> 0 bytes
 .../drawable-ldpi/ic_abrepeat_seta_normal_w.png    | Bin 459 -> 0 bytes
 .../res/drawable-ldpi/ic_abrepeat_seta_pressed.png | Bin 456 -> 0 bytes
 .../ic_abrepeat_setb_circle_normal.png             | Bin 671 -> 0 bytes
 .../ic_abrepeat_setb_circle_pressed.png            | Bin 640 -> 0 bytes
 .../res/drawable-ldpi/ic_abrepeat_setb_normal.png  | Bin 461 -> 0 bytes
 .../drawable-ldpi/ic_abrepeat_setb_normal_w.png    | Bin 456 -> 0 bytes
 .../res/drawable-ldpi/ic_abrepeat_setb_pressed.png | Bin 450 -> 0 bytes
 .../res/drawable-mdpi/ic_abrepeat_normal.png       | Bin 501 -> 0 bytes
 .../res/drawable-mdpi/ic_abrepeat_normal_w.png     | Bin 501 -> 0 bytes
 .../res/drawable-mdpi/ic_abrepeat_pressed.png      | Bin 504 -> 0 bytes
 .../ic_abrepeat_reset_circle_normal.png            | Bin 660 -> 0 bytes
 .../ic_abrepeat_reset_circle_pressed.png           | Bin 646 -> 0 bytes
 .../res/drawable-mdpi/ic_abrepeat_reset_normal.png | Bin 552 -> 0 bytes
 .../drawable-mdpi/ic_abrepeat_reset_normal_o.png   | Bin 564 -> 0 bytes
 .../drawable-mdpi/ic_abrepeat_reset_normal_w.png   | Bin 573 -> 0 bytes
 .../drawable-mdpi/ic_abrepeat_reset_pressed.png    | Bin 558 -> 0 bytes
 .../ic_abrepeat_seta_circle_normal.png             | Bin 887 -> 0 bytes
 .../ic_abrepeat_seta_circle_pressed.png            | Bin 863 -> 0 bytes
 .../res/drawable-mdpi/ic_abrepeat_seta_normal.png  | Bin 561 -> 0 bytes
 .../drawable-mdpi/ic_abrepeat_seta_normal_w.png    | Bin 568 -> 0 bytes
 .../res/drawable-mdpi/ic_abrepeat_seta_pressed.png | Bin 564 -> 0 bytes
 .../ic_abrepeat_setb_circle_normal.png             | Bin 893 -> 0 bytes
 .../ic_abrepeat_setb_circle_pressed.png            | Bin 815 -> 0 bytes
 .../res/drawable-mdpi/ic_abrepeat_setb_normal.png  | Bin 542 -> 0 bytes
 .../drawable-mdpi/ic_abrepeat_setb_normal_w.png    | Bin 567 -> 0 bytes
 .../res/drawable-mdpi/ic_abrepeat_setb_pressed.png | Bin 562 -> 0 bytes
 .../res/drawable-xhdpi/ic_abrepeat_normal.png      | Bin 646 -> 0 bytes
 .../res/drawable-xhdpi/ic_abrepeat_normal_w.png    | Bin 648 -> 0 bytes
 .../res/drawable-xhdpi/ic_abrepeat_pressed.png     | Bin 642 -> 0 bytes
 .../ic_abrepeat_reset_circle_normal.png            | Bin 1001 -> 0 bytes
 .../ic_abrepeat_reset_circle_pressed.png           | Bin 934 -> 0 bytes
 .../drawable-xhdpi/ic_abrepeat_reset_normal.png    | Bin 778 -> 0 bytes
 .../drawable-xhdpi/ic_abrepeat_reset_normal_o.png  | Bin 777 -> 0 bytes
 .../drawable-xhdpi/ic_abrepeat_reset_normal_w.png  | Bin 784 -> 0 bytes
 .../drawable-xhdpi/ic_abrepeat_reset_pressed.png   | Bin 778 -> 0 bytes
 .../ic_abrepeat_seta_circle_normal.png             | Bin 1265 -> 0 bytes
 .../ic_abrepeat_seta_circle_pressed.png            | Bin 1257 -> 0 bytes
 .../res/drawable-xhdpi/ic_abrepeat_seta_normal.png | Bin 691 -> 0 bytes
 .../drawable-xhdpi/ic_abrepeat_seta_normal_w.png   | Bin 679 -> 0 bytes
 .../drawable-xhdpi/ic_abrepeat_seta_pressed.png    | Bin 680 -> 0 bytes
 .../ic_abrepeat_setb_circle_normal.png             | Bin 1295 -> 0 bytes
 .../ic_abrepeat_setb_circle_pressed.png            | Bin 1162 -> 0 bytes
 .../res/drawable-xhdpi/ic_abrepeat_setb_normal.png | Bin 715 -> 0 bytes
 .../drawable-xhdpi/ic_abrepeat_setb_normal_w.png   | Bin 698 -> 0 bytes
 .../drawable-xhdpi/ic_abrepeat_setb_pressed.png    | Bin 728 -> 0 bytes
 vlc-android/res/drawable/ic_abrepeat.xml           |  19 +-
 vlc-android/res/drawable/ic_abrepeat_marker.xml    |  40 ++
 vlc-android/res/drawable/ic_abrepeat_reset.xml     |  19 +-
 .../res/drawable/ic_abrepeat_reset_circle.xml      |  52 +-
 .../res/drawable/ic_abrepeat_reset_marker.xml      |  40 ++
 .../drawable/ic_abrepeat_reset_marker_circle.xml   |  49 ++
 vlc-android/res/drawable/ic_abrepeat_reset_o.xml   |   7 -
 vlc-android/res/drawable/ic_abrepeat_reset_w.xml   |   7 -
 vlc-android/res/drawable/ic_abrepeat_seta.xml      |   7 -
 .../res/drawable/ic_abrepeat_seta_circle.xml       |   7 -
 vlc-android/res/drawable/ic_abrepeat_seta_w.xml    |   7 -
 vlc-android/res/drawable/ic_abrepeat_setb.xml      |   7 -
 .../res/drawable/ic_abrepeat_setb_circle.xml       |   7 -
 vlc-android/res/drawable/ic_abrepeat_setb_w.xml    |   7 -
 vlc-android/res/drawable/ic_abrepeat_w.xml         |   7 -
 vlc-android/res/drawable/rounded_corners_white.xml |  30 ++
 vlc-android/res/layout-land/audio_player.xml       | 126 ++++-
 vlc-android/res/layout/ab_repeat_controls.xml      |  61 +++
 vlc-android/res/layout/audio_player.xml            |  98 +++-
 vlc-android/res/layout/player_hud.xml              | 546 ++++++++++++---------
 vlc-android/res/layout/player_hud_right.xml        |  79 ++-
 vlc-android/res/values/attrs.xml                   |   1 +
 vlc-android/res/values/colors.xml                  |   1 +
 vlc-android/res/values/strings.xml                 |   2 +
 vlc-android/res/values/styles.xml                  |  17 +-
 .../src/org/videolan/vlc/gui/audio/AudioPlayer.kt  |  80 ++-
 .../vlc/gui/helpers/PlayerOptionsDelegate.kt       |  16 +-
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  |  88 ++++
 .../src/org/videolan/vlc/media/PlaylistManager.kt  |  27 +-
 105 files changed, 1067 insertions(+), 387 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/6442d4365a66ce6a481f884801c95507292dcb7a


More information about the Android mailing list