summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-07-04Fix layout issuesneedlefish_13.93.0needlefish/13.93.013.93.0Scott Murray1-4/+6
Fixes: - Tweak the album art image anchoring and scaling so it is not covered by the control bar. - Tweak some item preferred heights to unify the control bar position with the radio app at a position closer to mid-screen. Bug-AGL: SPEC-4444 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I641113ff50df1242407a5dd95ce8364b5a49a35c (cherry picked from commit 5461945a951debb86430b4e8c94e5666e543ba22)
2022-07-04Update VIS vehicle signal supportScott Murray1-12/+12
Rework to change the VIS signals being used for next/previous/mode to new AGL custom steering wheel switch signals instead of trying to use the Vehicle.Cabin.Infotainment.Media.Action actuator signal. In practice mapping multiple CAN signals from the LIN polling to a single VIS signal does not work well with the behavior of the CAN feeder from KUKSA.val. With the separate steering wheel switch signals and duplicate filtering in libqtappfw, things look more like they did with signal-composer and should hopefully be robust. This should be revisited if a custom LIN signal feeder becomes an option, as overall it would be better to leverage the standard VSS schema signals if possible. Bug-AGL: SPEC-4409 Change-Id: I73512ba9c5746e820fc30a316a39db371d98f5e3 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 81ad8d4aca06b27d9c57730a7dead6e8e5ae1fd1)
2022-07-04Add VIS vehicle signal supportScott Murray3-1/+33
Use the new VehicleSignals API from libqtappfw to replace the previous signal-composer usage. Bug-AGL: SPEC-4409 Change-Id: Id5aaa6e9789f75a0aaecd4cfc560bbc4bae3f4c5 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 61e3d69532099d7215410c5b38e29ba3525dec46)
2022-03-08Add start call to QMLmarlin_12.93.0marlin/12.93.012.93.0Scott Murray1-0/+5
Tweak the app QML to call into the new start call in the libqtappfw Mediaplayer object that replaces the previous WebSocket onConnected hook. This is driven by the need to hold off triggering events from the underlying libqtappfw Bluetooth object until the QML engine is running, otherwise it misses events driven by bluez-glib initialization querying BlueZ state. Bug-AGL: SPEC-4231 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia4c98a19c73aaf778d4133ef77d93bfdacdf7974
2022-02-14Update for app framework removalScott Murray9-284/+142
Changes: - Remove the autobuild scripts and config.xml used by the app framework widget build. - Update the qmake files to just build a "settings" binary and install it into /usr/bin by default. - Remove the code in main.cpp that handled reading the WebSocket command-line arguments and passing them to binding related code. - Add initial .desktop file and icon copied from the launcher source tree, and updated .pro files to install them. Bug-AGL: SPEC-4182 Change-Id: I7e519aa963f6f22a37d083b2743ad5d42ead9684 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2021-01-07Remove libhomescreen dependencymarlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.92.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_10.93.0koi_10.92.0koi/10.93.0koi/10.92.012.92.012.91.012.90.112.90.011.92.011.91.010.93.010.92.0Scott Murray3-13/+1
libhomescreen was still a dependency in the qmake files, remove it. Bug-AGL: SPEC-3757 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4ed491e7c14956c601d17997c70497559e54c0cc
2020-07-03Revert "app/MediaPlayer.qml: Adjust the playlist size so it arranged correctly"koi_10.91.0koi/10.91.0jellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.29.99.49.99.39.99.210.91.0Marius Vlad1-1/+1
This reverts commit 8a7865f1e9152b5098e1f1183310e90a10a58de1. Putting the player in the middle would actually screw up displaying other parts. Bug-AGL: SPEC-3348 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: If9680b04a85d91eb7488b4d18db6b31bdf24f82a
2020-06-24app/MediaPlayer.qml: Adjust the playlist size so it arranged correctlyjellyfish_9.99.1jellyfish/9.99.19.99.1Marius Vlad1-1/+1
on the middle Bug-AGL: SPEC-3379 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ib3b1f5ccb98a39787c569ed3606cd6f5b2c4051f
2020-06-24app/MediaPlayer.qml: Use Window width and heightMarius Vlad1-4/+3
Bug-AGL: SPEC-3379 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie0b77df34c29591157069e0a92287acb5e53b958
2020-06-24app: Remove libhomescreen and windowmanger callbacksMarius Vlad4-45/+2
Bug-AGL: SPEC-3447 Removes also depedencies from config. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I1e455a81a06f5d7d712d09621de585459122edd7
2020-06-24app/MediaPlayer: Do not hard-code the window sizeMarius Vlad1-3/+7
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Id7cc10901a26e1344a9f2bed522821b220168c62
2020-06-10Update autobuild scriptsScott Murray4-112/+142
Update autobuild scripts with reworked version that fixes building outside of the source tree. As well, the project files have been tweaked to strip the release build binaries and add "-debug" in the name of the debug widget file. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If2071acc4bc5414d860740c6f5d7f96315504c8f
2020-06-10Merge "replace qtappfw with qtappfw-mediaplayer package"Scott Murray1-1/+1
2020-06-08replace qtappfw with qtappfw-mediaplayer packageRaquel Medina1-1/+1
Bug-AGL: SPEC-3390 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ia62a13868888b93afcbcbbfeb81890ff6716371b
2020-03-20update autobuild scriptsRaquel Medina2-29/+108
Modify autobuild scripts: - to fix warnings on yocto build - to fix linux/autobuild syntax errors - to add new standard targets Bug-AGL: SPEC-2049 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I69c423ba8d17a34cef9a933a99d86cfd55d1e257
2020-02-15mediaplayer: qml: quiet assignment failure on track.durationMatt Ranostay1-1/+3
Not all events have duration yet due to gstreamer rolling event maybe delayed. Bug-AGL: SPEC-3140 Change-Id: Ib9443f13acf0c7d93b3bfbb97afa1f60ecbac3e7 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-09mediaplayer: qml: update QML widget imports for Qt 5.11icefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.58.99.48.99.38.99.28.99.1Matt Ranostay1-3/+3
Update the imports of QML widgets to the latest version used by AGL which is 5.11 Bug-AGL: SPEC-2774 Change-Id: I22d34d6a15f4f729682eae1aee37a5021d4313fc Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-05mediaplayer: qml: quiet qml assignment warningsMatt Ranostay1-0/+2
Album art data is sent in its own event so check for it and don't try to set the other metadata options in the UI. Bug-AGL: SPEC-2774 Change-Id: I4795b2f0d35c651a7739734d5c930ad978adb498 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-05mediaplayer: qml: add missing dbus permission in config.xmlMatt Ranostay1-0/+1
To avoid cynara access messages like the following request dbus permissions. This oddly caused the QML thread to lock up rendering the Image component with the respective album art. cynara[334]: User::App::mediaplayer;1001;http://tizen.org/privilege/internal/dbus => DENY cynara[334]: User::App::mediaplayer;1001;http://tizen.org/privilege/internal/dbus => DENY Bug-AGL: SPEC-2774 Change-Id: If1e9ff139c91ca2912402a6c2a709df9fdf4aeff Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-07-02mediaplayer: qml: add hour digits to time2str functionhalibut_8.0.1halibut_8.0.0halibut_7.99.3halibut/8.0.1halibut/8.0.0halibut/7.99.38.0.18.0.07.99.3Matt Ranostay1-1/+1
Bug-AGL: SPEC-2595 Change-Id: I6c8b9b9af0a1b900f447551ebde90b57413721d0 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-04-26Add permission to use displayhalibut_7.99.2halibut_7.99.1halibut/7.99.2halibut/7.99.17.99.27.99.1José Bollo1-0/+1
Add the permission required to access the display through the wayland socket. Change-Id: I845c0438f039b18cfd11a872abceb9850bff01e6 Bug-AGL: SPEC-2357 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-04-03mediaplayer: qml: remove undefined reference warning for AlbumArtMatt Ranostay1-0/+1
Since AlbumArt isn't always available for first track or available on initial startup it should be blanked first Change-Id: I0b626fcf0fbe09f302f5b35d179d4214ac0a0f7d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-03-11Merge "mediaplayer: qml: switch to loop playlist by default"Jan-Simon Moeller1-1/+1
2019-03-11autobuild: introduce autobuild scriptsRaquel Medina2-0/+120
- Add agl autobuild script to silence build warnings on yocto. - Add linux autobuild script to build with the sdk These 2 scripts are based on the latest version of the autobuild script, but they've been customized to (i) work with the existing qmake files and (ii) the 'update' and 'package-test' targets have been removed. Bug-AGL: SPEC-2164 Change-Id: I19dfda3cfa19344af06fa010c59f365cd6b4e91b Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-02-26mediaplayer: qml: switch to loop playlist by defaultMatt Ranostay1-1/+1
Bug-AGL: SPEC-2181 Change-Id: Ic7f58837f76c4c366a2a05efe33f3eaedb4685ce Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-20mediaplayer: qml: change album art to libqtappfwhalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.37.90.06.99.46.99.3Matt Ranostay2-9/+1
libqtappfw will set the album art via metadata events Change-Id: I86f56a8e870657053065f806c5edb09ec3fc2c33 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-19Use Event_ShowWindow instead of Event_TapShortcutwang_zhiqiang1-3/+3
The interface of homescreen service will be changed then, use Event_ShowWindow instead of Event_TapShortcut. Related changes: agl-service-homescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17929/ libhomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17931/ libqthomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17933/ BUG-AGL: SPEC-1931 Change-Id: If2296c46a60920143050cb74cd3be1840e9ed494 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-12-17mediaplayer: fix UI handover between A2DP/AVRCP to local mediaMatt Ranostay1-7/+7
Bug-AGL: SPEC-1630 Change-Id: Ic9ad044a4bb0eba73d4db49ea3cf6752be1114f7 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-13mediaplayer: qml: fix libqtappfw method callsMatt Ranostay1-3/+2
* typo .connected() should be .connect() * fix incorrect logic check of checked field * enable state changes to ToggleButton Bug-AGL: SPEC-1630 Change-Id: I7495aa4aaa784383510b803cf88b177b7222b181 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-29mediaplayer: readd connect/disconnect from avrcp + a2dp profilesguppy_6.99.2guppy/6.99.26.99.2Matt Ranostay1-0/+6
Support connect/disconnect to a2dp + avrcp profiles with in Mediaplayer UI Bug-AGL: SPEC-1630 Change-Id: I1095c4abc29dd5241ed98241a745dd2de2fc293a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-22mediaplayer: update qml to match new agl-service-mediaplayer interfaceguppy_6.99.1guppy/6.99.16.99.1Matt Ranostay3-164/+41
Update to using the new agl-service-mediaplayer via libqtappfw which includes dropping direct bluetooth binding access. Bug-AGL: SPEC-1630 Change-Id: Id3629f5762db7ee1b441007b4a6a746e4ea49ddc Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-22mediaplayer: add project vimrcMatt Ranostay1-0/+1
To keep QML syntax spacing consistent be sure expandtab is set Change-Id: I36d591059ffb244abfcb4a2a32dcc922df6be696 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-15Modify graphics roleKazumasa Mitsunari1-8/+8
Window Manager set role name as lower_case, and HomeScreen has fixed application name problem, then change role as lower_case. Bug-AGL: SPEC-1754 Change-Id: I5e1da25a00182ff67c726d38f7cfe90585626973 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-10-30delete application_name check in tap_shortcut eventwang_zhiqiang1-10/+2
because of now homescreen-service emit event to one application, delete the applciation_name check. Bug-AGL: SPEC-1764 Change-Id: I0d1dba589a391ff30c56c58a09be0380f71ff59d Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-08-24Revert "Use appid between homescreen-service and apps"guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder/5.99.6flounder/5.99.5flounder/5.99.46.90.05.99.65.99.55.99.4Tadao Tanikawa1-2/+10
This reverts commit 47dfb73f5b84fe5baa7db557b57c274eed298081. Bug-AGL: SPEC-1685 Change-Id: Ia15f8650fd7a67726d5a7d519b1744694c796c2b Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-06Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3zheng_wenlong1-10/+2
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. BUG-AGL: SPEC-1645 Change-Id: I0485b9fe0d1fa2fee7c283f93057802d23165bb6 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-02Improve output of multiple screen resolutionTadao Tanikawa2-0/+13
To improve output on various monitor with various resolution, use scale_factor from WM to fit various screen resolution. Bug-AGL: SPEC-1568, SPEC-1569, SPEC-1611 Change-Id: Ifb0391e7acf9546778dd0993e8e0d3f9b66c5dc9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-06-29mediaplayer: qml: switch to libqtappfw Qt model generationflounder_5.99.2flounder/5.99.25.99.2Matt Ranostay2-21/+3
Remove playlist creation logic out of QML and use a Qt model generated from libqtappfw Bug-AGL: SPEC-1430 Change-Id: I716de188fce85d824c0bf519964e0b58b9ed8f3f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-06-14mediaplayer: fix race condition with local media and bluetooth a2dpflounder_5.99.1flounder/5.99.15.99.1Matt Ranostay1-13/+22
If media from storage is played and a bluetooth stream starts the play/pause button will enter an always playing state from the UI when the bluetooth connection ends. This patchset fixes this within the MediaPlayer.qml to show the expected UI results. Bug-AGL: SPEC-1496 Change-Id: I6ee0dfa2a46d7cf294b2dbf23d2aa54857fb8ffc Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-06-06mediaplayer: workaround race condition with agl-service-mediaplayer serviceMatt Ranostay1-0/+5
On some startups the agl-service-mediaplayer triggers an event during QML + UI load which causes it to be dropped. Delaying for 300 milliseconds seems to workaround this issue, but needs to be replaced with a proper method in the future. Bug-AGL: SPEC-1496 Change-Id: Iefd825f79b19c422a153b3d77b4d3a472c13c372 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-23mediaplayer: qml: pause agl-service-mediaplayer on A2DP streamMatt Ranostay1-0/+3
When A2DP/AVRCP profiles are connected pause agl-service-mediaplayer playback. Change-Id: Ic9a2832834e89b65559161d9f391cf98df7119b1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-17mediaplayer: qml: remove QtMultimediaMatt Ranostay1-1/+0
Change-Id: Iaf0d42f6468d13b18095f2e15afafd67e19ad595 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-07mediaplayer: qml: fix clear() being called on wrong objectMatt Ranostay1-1/+1
ListModel object should get the clear() call and not the passed playlist data in onPlaylistChanged event. Change-Id: I406d98701bdc725fe90846d238ec90c9f5aa5b20 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-21libqtappfw: bluetooth: switch from qml websockets to libqtappfwMatt Ranostay4-194/+91
Switch agl-service-bluetooth access from QML websockets to proper libqtappfw middleware. Bug-AGL: SPEC-1385 Change-Id: I3b1bdc06ed9b7c07d69135c44d8f5c3440d7c056 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-20libqtappfw: mediaplayer: switch from qml websockets to libqtappfwMatt Ranostay5-220/+75
Switch agl-service-mediaplayer access from QML websockets to proper libqtappfw middleware. Bug-AGL: SPEC-1375 Change-Id: I8ee638f11b2d63c42657545f501260da9dc94356 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-19mediaplayer: bluetooth: update discovery_result response to new formatMatt Ranostay1-3/+3
Response is switched to map with "list" member to be more consistent with other binding APIs, and to make libqtappfw access easier Bug-AGL: SPEC-1385 Change-Id: I10c315827ce6c1c47be5123e95a3f88e06ea4515 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-12-20Update to new color schemeTadao Tanikawa18-1479/+630
The color scheme has been changed to new one. Bug-AGL: SPEC-673 Change-Id: I473d7928ad548d144c003af36224222c8ce4338c Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-12-04mediaplayer: qml: fix issue with bluetooth iconMatt Ranostay2-1/+4
Bluetooth icon wasn't visible on connections that were started before Mediaplayer application UI was loaded. Bug-AGL: SPEC-1158 Change-Id: Iafd890968300cc5cf8ee779513a572314c189a2a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-14mediaplayer: remove unneeded dbus permissioneel_4.99.3eel/4.99.34.99.3Matt Ranostay2-6/+0
Remove dbus permission request, and dependency since this is now handled by agl-service-mediascanner binding Bug-AGL: SPEC-1094 Change-Id: I942b04a69b32ff398a270cbec4b6646e0277d25a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-14Porting to new HMI FrameworkScott Murray3-13/+47
Changes following guidelines given in "Kickstart: New HMI Framework" document at: https://wiki.automotivelinux.org/_media/kickstart_apps_migration_guide.pdf Change-Id: I749a892cf12dfd80968b309e76d35976a773c0b1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>