Nicolas Pomepuy
5cea3db182
Bump Android gradle plugin to 7.2.0
4 years ago
Andrew Churilo
f1a65a7f51
Use FrameLayout for root layout instead RelativeLayout
`FrameLayout` avoid double measuring that `RelativeLayout` do.
When UI appearing time is about ~40 ms, hard to see result of small optimizations. Based on logs It looks the same as was before. But the result of removing `RelativeLayout` can be visible inside profiler. Sections with measuring is much less without `RelativeLayout`. I'll add trace-file and screenshot to merge request.
UI appearing time (landscape orientation, video paused, animation disabled):
Samsung Note 4, Android 6.0.1 (release): ~58 ms.
4 years ago
Andrew Churilo
d6c88bc300
Use FrameLayout for player_ui_container
4 years ago
Nicolas Pomepuy
687986d1ce
Simplify hud layout by removing the cascading constraintlayouts
4 years ago
Nicolas Pomepuy
2e2aa2df2d
Bump to 3.5.0 Beta 7
4 years ago
Nicolas Pomepuy
db41ef720c
Bump libs to 3.5.0-eap8 / 0.12.0-eap8
4 years ago
Nicolas Pomepuy
207fc65d7c
Improve widgets threading to avoid race conditions
4 years ago
Robert Stone
dfc836a8ba
Fix Kotlin uppercase function
4 years ago
Robert Stone
6a85d4e3dd
Suppress warnings for unused parameters and rename shadowed variables
4 years ago
Robert Stone
da62f7ab49
Use Kotlin lowercase and uppercase functions
4 years ago
Robert Stone
533040a814
Fix non-exhaustive when statements
4 years ago
Robert Stone
a422a004ed
Fix warnings
4 years ago
Robert Stone
285bf9d6bc
Use Kotlin math functions. General clean-up.
4 years ago
Robert Stone
edee74cc37
Fix return value from listeners
4 years ago
Robert Stone
bff3cdd4bc
Fix variable constness
4 years ago
Robert Stone
6396c0f471
Rename function parameters
4 years ago
Robert Stone
fa864bfd5b
Update play/shuffle all icon when shuffle mode changes
4 years ago
Robert Stone
386edf4fff
Update file scheme removal function
4 years ago
Duncan McNamara
9d2d55e7d9
ContextSheet: fix set as ringtone
Fixes #2531
4 years ago
Nicolas Pomepuy
f4ccd4d17b
Prevent hud hiding if the delay is set to infinite
4 years ago
Nicolas Pomepuy
1b1e6f31b9
Fix widget artist color wrongfully using the widget opacity
4 years ago
Nicolas Pomepuy
7de921fa20
Fix a bug preventing adding widgets on API 17
4 years ago
Nicolas Pomepuy
764929bbb3
Widgets: fix acceleration artifact in the configuration activity preview
4 years ago
Nicolas Pomepuy
96ab574d9c
Avoid refreshing the widgets on TV as it's useless
4 years ago
Nicolas Pomepuy
73872324a1
Fix IllegalStateException when PlaylistFragment is not added
4 years ago
Nicolas Pomepuy
ddeecc0cdc
Bump to 3.5.0 Beta 6
4 years ago
Nicolas Pomepuy
72ccfb93db
Widgets: improve the migration dialog by adding the new preview
4 years ago
Nicolas Pomepuy
91215ec8e8
Widgets: decrease the min height to allow the small layouts on more devices
4 years ago
Nicolas Pomepuy
4ffdb642bb
Widgets: use the user's colors when there is no palette
4 years ago
Nicolas Pomepuy
fbb75dcfa2
Widgets: fix forward and rewind texts flickering
4 years ago
Nicolas Pomepuy
2fa2238a23
Widgets: fix color flickering when resizing a pelette widget
4 years ago
Nicolas Pomepuy
33d8fe875c
Widgets: fix crash when trying to use Material You colors on a device not supporting it
Adds a check to verify Material You is available and correctly falls back
to palette instead
4 years ago
Nicolas Pomepuy
3d15c6819a
Widgets: fix a cover missing/duplication issue
To fix that, a WidgetCache cover invalidation flag is added
and triggered when the widget size or widget theme is changed
4 years ago
Nicolas Pomepuy
b961d1b321
Widgets: make the pressed selector indicator change depending on the widgets background color
4 years ago
Nicolas Pomepuy
3127aa09c0
Widgets: make the configuration icon visible by default
4 years ago
Nicolas Pomepuy
95e1793d33
Widgets: code cleanup
4 years ago
Nicolas Pomepuy
439cda3986
Widgets: improve wording
4 years ago
Nicolas Pomepuy
70e27c5758
Remove useless headers and annotations
4 years ago
Nicolas Pomepuy
c5fe2531d7
Widgets: fix the cover ratio by center cropping the bitmap
4 years ago
Nicolas Pomepuy
c8fc17289d
Widgets: update the preview
4 years ago
Nicolas Pomepuy
ed956bec18
Widgets: prevent multi line track / artist texts and ellipsize them
4 years ago
Nicolas Pomepuy
02d494d750
Widgets: improve mini layout margins
4 years ago
Nicolas Pomepuy
a349cde995
Widgets: rework icons sizing and remove useless icon resources
4 years ago
Nicolas Pomepuy
4e3953afe1
Widgets: fix separator transparency
4 years ago
Nicolas Pomepuy
fc00147428
Widgets: fix pill layout cover offset
4 years ago
Nicolas Pomepuy
1c4879f623
Widgets: add a secondary background color for the micro layout
4 years ago
Nicolas Pomepuy
256a3b9d4d
Widgets: improve the configuration activity
Adds a check to the toolbar, adds a "display playing" switch,
fixes the "show configuration icon" checkbox state
4 years ago
Nicolas Pomepuy
c18c37c24d
Widgets: persist custom colors and display them in color pickers
4 years ago
Nicolas Pomepuy
43603d8e1f
Widgets: fix configuration activity not launched if another activity is
4 years ago
Nicolas Pomepuy
667de53bab
Widgets: implement the macro layout
4 years ago