summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-02-13Add gitlab issue/merge request templatesHEADsalmon_18.90.0salmon/18.90.0ricefish_17.90.0ricefish/17.90.018.90.017.90.0masterJan-Simon Moeller2-0/+6
Add template files for gitlab Bug-AGL: SPEC-4474 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I0d590488aabd9a4b00d0e191c1aaa3455838082e
2020-09-23Remove homescreen api depependencyneedlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.93.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.91.0koi/10.93.0koi/10.92.0koi/10.91.013.93.012.93.012.92.012.91.012.90.112.90.011.92.011.91.010.93.010.92.010.91.0Li, Xiaoming1-1/+0
Homescreen api do not need to be declared explicitly in config.xml. Bug-AGL: SPEC-3458 Change-Id: Ife4ce6af7bdd943c4358ce8645e7431d4e4bed15 Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
2020-06-24app/main: Bring back secret and port to be able to access thejellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish_9.99.1jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.2jellyfish/9.99.19.99.49.99.39.99.29.99.1Marius Vlad1-3/+35
bindingAdress Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I5afeecdbfc9d0272d9231d7d4c19334c1ce6d9cc
2020-06-24Mixer.qml: Use window's width and height instead of screensMarius Vlad1-2/+2
Bug-AGL: SPEC-3379, SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I923d3d962d7ef2e8adf615c65a51c36747c3ecd1
2020-06-24Remove windowmanager depsMarius Vlad4-14/+17
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Iad417b60fc3b2c4639396d5ed5aaddbd7018e10e
2020-06-09Update autobuild scriptsScott Murray2-54/+178
Update autobuild scripts with reworked version that fixes building outside of the source tree. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I91af9a20574b57e651d6a13b76c59fd4333f07bb
2019-11-28fix autobuildicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.28.99.58.99.48.99.38.99.2Li Xiaoming1-14/+57
Bug-AGL: SPEC-2816 Change-Id: I9ac1bf8b3b3409b1e8e1fb108bf9e6795ff5d404 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-08-15Merge "volumeslider: rework of slider layout"icefish_8.99.1icefish/8.99.18.99.1Jan-Simon Moeller1-8/+2
2019-08-08Merge "cmake: fix compile issue with SDK"Jan-Simon Moeller1-0/+1
2019-08-05volumeslider: rework of slider layoutMatt Ranostay1-8/+2
To avoid text cutoff switch to ColumnLayout instead of rows. Bug-AGL: SPEC-2711 Change-Id: I490d0e92d6ed89613d8fc7d983f869ab848e8932 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-08-05cmake: fix compile issue with SDKMatt Ranostay1-0/+1
To avoid "SkippingbecauseOE_QMAKE_PATH_EXTERNAL_HOST_BINSisnotdefined" error messages when building with the SDK add the respective path to CMakeLists.txt Bug-AGL: SPEC-2711 Change-Id: Ie9599d17e48c8a6e31bbecedb8f1d620b470e663 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-08-05Fix implicit conversions warningLi Xiaoming1-2/+2
Bug-AGL: SPEC-2422 Change-Id: I75df069462720be45886554baeded4009ca2b39e Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-07-01Convert volume to the [0.0,1.0] range before sending it to audiomixerhalibut_8.0.0halibut_7.99.3halibut/8.0.0halibut/7.99.38.0.07.99.3George Kiagiadakis1-1/+1
Fixes setting the volume. Bug-AGL: SPEC-2473 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: I9a778b88d58faedb4480a70af749500ae083bc29
2019-06-12Fix compilation error - m_roles contains QObject* and needs a casthalibut_7.99.2halibut/7.99.27.99.2George Kiagiadakis1-1/+2
Bug-AGL: SPEC-2473 Change-Id: Ia07be3c3b9231b34a8607b430f6f9dfa8ad8b530 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-10Modify mixer to use the new pipewire audiomixer bindingGeorge Kiagiadakis5-67/+69
Bug-AGL: SPEC-2473 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: I45595d6bde1b710fb81216676c3f8a390f4e5737
2019-04-26Add permission to use displayhalibut_7.99.1halibut/7.99.17.99.1José Bollo1-0/+1
Add the permission required to access the display through the wayland socket. Change-Id: Idde927b165ac1e15591de499a27a5a8be0df771c Bug-AGL: SPEC-2357 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-03-28fix warnings by relocating autobuild scriptsRaquel Medina5-8/+2
- move autobuild scripts to top dir - remove submodules and update app/CMakeLists.txt to use libafb-helpers-qt instead. Bug-AGL: SPEC-2164 Change-Id: I9bf25a158d4eeba16ffb5555c8ca257cd81259f4 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-02-12Clean up of Mixer main.cppsupriyasirbi2-112/+11
This commit is for clean up of Mixer main.cpp to remove the dependencies of homescreen and qtwindowmanager. It adds AGLExtras to the list of dependencies and simplifies main.cpp. Bug-AGL: SPEC-2002 Change-Id: I18f974223e4bf45876e5dac045105597f55dd7c6 Signed-off-by: supriyasirbi <supriya.sirbi@gmail.com>
2019-01-03Add some space between the volume slidershalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy/6.99.47.90.06.99.4Scott Murray1-0/+1
The change to a ListView to hold the volume sliders seems to have resulted in losing any space between them compared to the default behavior of the previous ColumnLayout scheme. Setting the ListView "spacing" parameter restores a bit of space between the sliders to make them easier to use. Change-Id: Ie1a21918d529f7ba45cdce009405c63055b7e2e2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-20Use Event_ShowWindow instead of Event_TapShortcutguppy_6.99.3guppy/6.99.36.99.3wang_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: I939d25ea1ca3f78cc18d3c8b4d119c76a77a1ef6 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-12-19Reworked the way qml create slidersLoïc Collignon8-198/+251
Use the qml MVC to populate a ListView with components based on a template VolumeSlider. Should now handle potential disconnections, volume changes by third-party and also fix the issue where sliders are set to 0 at startup. Change-Id: I2961d5a1584a121c473ece253faa90a747c64445 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-13Fix indent using tab instead of spacesLoïc Collignon1-20/+20
The whole project is using tabs to indent, but mixer.h is using spaces instead. Fix by using tabs. Change-Id: Id8ee0a86f027b50c9181d9b9b0af4ed9ee34498e Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-13Handle the volume_changed eventLoïc Collignon3-77/+118
4A's High Level API now raises event when volume of a role is changed. This handles it by subscribing to the event and update the corresponding slider. Bug: SPEC-2054 Change-Id: I137eaa461f0baa9206ee714c91e3ac998b9b2bf2 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-11-23Fix json format changed since v3guppy_6.99.2guppy_6.99.1guppy/6.99.2guppy/6.99.16.99.26.99.1Loïc Collignon1-1/+1
Using APIv3 the json format for a response of an API call has changed a bit, removing one extra useless level. BUG: SPECT-1973 Change-Id: If5cfcda5740cf48637257a510f030dc84e853057 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-11-15Modify graphic roleKazumasa Mitsunari1-8/+8
Window Manager set role name as lower_case, then change role as lower_case. Bug-AGL: SPEC-1754 Change-Id: Iac8d9dce808e4683d2541d1ef1ec6e14202c363a Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-11-02Merge "delete application_name check in tap_shortcut event"Jan-Simon Moeller1-10/+2
2018-10-31Migrate app-templates to CMake moduleRomain Forlot2-3/+6
Bug-AGL SPEC-1682 Change-Id: I577e0d29b727fc590ff7a83057c60624e59d8d3c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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: I0c02ae85a718dadf228033e5861c6abf62788a82 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-08-24App's name is in lowercase on TapShortcut eventguppy_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.4Loïc Collignon1-1/+1
Even if the requested surface is 'Mixer', it is 'mixer' in the TapShortcut's event argument. So that it doesn't call the activateWindow to restore it-self if the comparison is not case insensitive. Bug: SPEC-1653 Change-Id: I086a7bbc92fa1b877aec02c445299015539d6b89 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-08-24Revert "Use appid between homescreen-service and apps"Tadao Tanikawa1-2/+10
This reverts commit 6495b735f39eb8b219deb5d711307869c279e3be. Bug-AGL: SPEC-1685 Change-Id: If24e4416f9a90dcd53102ee721f00ce193c4fbda 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: I79802e624cb420ae400ba8348ad631a11d4157e2 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-02Improve output of multiple screen resolutionsandbox/ruke47/flounder_RPi3Tadao Tanikawa2-12/+24
To improve output on various monitor with various resolution, use scale_factor from WM to fit various screen resolution. Change-Id: I5ef4d54712e405744a9c9d2a369fbb2d0d31716d Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-07-10Fix issue with QML variable declarationflounder_5.99.2flounder/5.99.25.99.2Loïc Collignon1-7/+4
It seems that you have to make a local variable to access member, you can't access a member of a member. Change-Id: I7ba4918372355d3c3d0f937a6363a1f640d10e41 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10Fix compilation and deploymentLoïc Collignon4-8/+9
Add CMake definitions so that it use the correct API's version. XML node in config.xml wasn't correct so that it fails to parse. The binary should be placed into a bin sub-directory. Add the missing API import. Fix the dependency name due to renaming. Hack the compilation script so that it can find the widget when yocto and when jenkins (waiting for a fix of the cmake alias in the SDK so that I can get rid of this script) Change-Id: Idaff67d8d63b7163deb16766832cf04349eb0237 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10Make volume sliders works correctlyLoïc Collignon3-15/+33
Volume sliders are now binded to the High Level 4a API. Change-Id: I46c4d80a19cf2a9047a502d9faa8bec6f7bd173e Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10WIP better handling for slider creationLoïc Collignon7-44/+85
The creation of sliders is now using a template instead of a string computation. Also fixed some indentation and trailing spaces issues. Change-Id: Ieb1d9f953d61fa1bac46bf1ab6904e67d09a3fa9 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10Better Qt5 handlingLoïc Collignon1-8/+9
Make use of the correct cmake options to handle Qt correctly. Change-Id: Ic7c65cb0a51085ec8cb1c0e2e98785a2d41ca0a8 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10Allow to build and run on native linux hostLoïc Collignon3-12/+38
Make libhomescreen and libmanager dependencies optional so that you can build, run and debug on a native linux host, to allow faster development. Change-Id: Ice0b7e196e9a88dc7f0f8e9894eb9091c6ba566e Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10Fix bad autocompletionLoïc Collignon1-1/+1
This fails silently most of the times, but under some conditions nothing is displayed because of this bad autocompletion mistake. Change-Id: I96dceb21e0dba21da3120deb8312155a7822f94f Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10Use latest version of conf.d/app-templates submodule.Loïc Collignon1-0/+0
Changes of conf.d/app-templates: (332f377 - Romain Forlot) Be able to overwrite BUILD_TYPE using CLI (1ec7531 - Romain Forlot) Use CACHE variable for other common CMAKE variable (0880356 - Romain Forlot) Fix:: wrong wgt using RELEASE BUILD TYPE (eec9f07 - Romain Forlot) Fix: SYSROOT location detection... Wrong test. (291aa4e - Romain Forlot) Change the default debug compilation options. (22a2cbf - Romain Forlot) Clearer coverage compilation options configuration (aa68dbd - Romain Forlot) Don't overwrite the autobuild script if it exists (a13e7b9 - Romain Forlot) Disable the in-tree build method. (51026d2 - Romain Forlot) Detect Yocto as OS distribution Change-Id: If5274a0be2a00a0166be8f5c3b6d7a517da821f5 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10Use latest version of afb-helpers submodule.Loïc Collignon1-0/+0
Changes of afb-helpers: (52f0478 - Jonathan Aillet) Remove unnecessary 'AFB_DEBUG' redefinition (fc1c62a - Jonathan Aillet) Use binding version to handle dynapi (5811a53 - Jonathan Aillet) At search, use the prefix parameter as a prefix (2c29f15 - Loïc Collignon) Remove deprecated use of cmake/Qt macro (5bec8c5 - Loïc Collignon) Rename method to avoid conflict with Qt's one Change-Id: Ief77446c27e4c6299c1ba3e82d42a35ecf798e7f Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-29Fix build failure on master due to afb-helpersflounder_5.99.1flounder/5.99.15.99.1Loïc Collignon1-0/+3
The afb-helpers submodule do not build anymore on master because of dynapi change. Added a definition so fix the issue. Change-Id: Iaf5a1bd58e6628e89af2ec7bab44c188b535e993 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-27Merge 'eel' into 'master'Loïc Collignon24-890/+627
Replace content from 'master' by content from 'eel' as it's the new version based on 4a on which new development will be done. Change-Id: I2966af7dcee59701ff3a344487c008d7e65e68ed Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-21mixer: add clearer pulseaudio control namingMatt Ranostay6-15/+40
Use the role name for the control name in the Mixer UI instead of overall vague control description Bug-AGL: SPEC-1196 Change-Id: I34b5c3378fa3bca7464067490907f9ae0adb6364 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-14Porting to new HMI Frameworkeel_4.99.3eel/4.99.34.99.3Scott Murray3-27/+87
Changes following guidelines given in "Kickstart: New HMI Framework" document at: https://wiki.automotivelinux.org/_media/kickstart_apps_migration_guide.pdf Change-Id: Iacfb8ad1a6851d0ca9bbcc1815ef5f0822b3836c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-05-24Fix package nameeel_4.99.2eel_4.99.1eel/4.99.2eel/4.99.1dab_3.99.1dab/3.99.14.99.24.99.13.99.1Tasuku Suzuki1-1/+1
Change-Id: I97ed87b4e34d971ff918d903c0d40b2d4d46e585 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2017-04-21Add support for handling external sink/source volume change eventsMatt Porter6-10/+146
Subscribes to PA volume change events, updating the local cached volume levels, and propagating the change to the UI. This allows changes to sink/source volumes levels from the command line (pactl) or a master volume control to be reflected in the mixer UI controls. Change-Id: I1d570dffeab9fcf4b6ba51e4792852b44a6149ca AGL-Bug: SPEC-549 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-04-20Fix source volume setting in PaClient::setVolumeMatt Porter1-1/+1
Fix error resulting in sources not being found due to searching the sink cache hash. AGL-Bug: SPEC-548 Change-Id: Icd5a75af7a5fc2e0e125d96910af034e4d0873a3 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-04-20Convert the sink/source volume caches from a list to hashesMatt Porter2-18/+18
Maintain the cached sink/source volume state in separate hashes for quick lookup. This will further simplify external volume event support that will need to update the cache. AGL-Bug: SPEC-548 Change-Id: I47b8e070318f3992a5343d1753c50baa8c1d9cb3 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-04-20Rewrite PulseAudio backend into a threaded classMatt Porter9-304/+359
Converts the Mixer PulseAudio backend from a C library to a PaClient class which runs in its own QThread. This faciliates isolation of PaControlModel updates to the QML thread where they belong. It also provides the foundation for runtime updates of the model and reuse of the PaClient class in other apps. AGL-Bug: SPEC-548 Change-Id: I13c4c220fde2fd4bc4aea2e04f39152a963b5fa0 Signed-off-by: Matt Porter <mporter@konsulko.com>