aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/qml
AgeCommit message (Collapse)AuthorFilesLines
2019-12-29Display Alexa specific chrome when it is usedScott Murray3-2/+4
Add logic to key off the voiceagent name and display Alexa specific chrome (the required Alexa icon) when it is used. Bug-AGL: SPEC-3075 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4bacad2e3906ee1e8221ed3e6bfe92b340d65aab
2019-11-12Add second ptt button to homescreenicefish_8.99.1icefish/8.99.18.99.1Jan-Simon Möller1-6/+52
This will allow in the future to differ between driver and passenger. Bug-AGL: SPEC-2948 . Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Icd2d61f2a3984ee3e6b591998c5b05aa91949cee
2019-11-12Add push to talk support to homescreenNaveen Bobbili8-7/+466
Reworked version of Alexa specific changes from ICS to add push to talk button for voice services to homescreen media area. v2: change config.xml to audiomixer v3: reworked to not be Alexa specific: - Now use the default voiceagent if available, instead of hard-coding Alexa usage - The Alexa logo for the button has been replaced with a generic microphone icon derived from the radio application's launcher icon. This is a placeholder until a new icon is provided by LF graphics team. Meeting any Amazon requirements around Alexa chrome is now envisioned as being provided for with a TBD voiceagent API enhancement. - The QML for the PTT button has been moved to MediaAreaBlank.qml, which seems a more logical location for it ATM. It is likely that the MediaArea QML should be simplified in a future change, as it currently contains a signficant amount of unused code. - The PTT button has been moved to the left hand side of the media area, as this seems more sensible if demonstrating driver usage. - The delay on fade-out of the master volume slider has been lowered to 3 seconds from 5, with the PTT button present it started seeming excessive during testing. - Some extra debug messages have been added to make tracking the voiceagent state more straightforward. Bug-AGL: SPEC-2764, Signed-off-by: Naveen Bobbili <nbobbili@amazon.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I398bf7aebc5c9b459b1fce94511eee3698c08347
2019-11-08Revert "Add push to talk support to homescreen"Jan-Simon Moeller8-466/+7
It turned out the homescreen won't show. So we need to revisit this patch. https://gerrit.automotivelinux.org/gerrit/#/c/apps/homescreen/+/21182/ This reverts commit f3de2f5cad06a772ee55f58694d559a7cb012c02. Change-Id: Ic8829e5009e9fb74b49ad1dd79125b45a872a838
2019-10-16Add push to talk support to homescreenNaveen Bobbili8-7/+466
Reworked version of Alexa specific changes from ICS to add push to talk button for voice services to homescreen media area. v2: change config.xml to audiomixer v3: reworked to not be Alexa specific: - Now use the default voiceagent if available, instead of hard-coding Alexa usage - The Alexa logo for the button has been replaced with a generic microphone icon derived from the radio application's launcher icon. This is a placeholder until a new icon is provided by LF graphics team. Meeting any Amazon requirements around Alexa chrome is now envisioned as being provided for with a TBD voiceagent API enhancement. - The QML for the PTT button has been moved to MediaAreaBlank.qml, which seems a more logical location for it ATM. It is likely that the MediaArea QML should be simplified in a future change, as it currently contains a signficant amount of unused code. - The PTT button has been moved to the left hand side of the media area, as this seems more sensible if demonstrating driver usage. - The delay on fade-out of the master volume slider has been lowered to 3 seconds from 5, with the PTT button present it started seeming excessive during testing. - Some extra debug messages have been added to make tracking the voiceagent state more straightforward. Bug-AGL: SPEC-2764, Change-Id: I2052e345baaf4306e8e3f27a01bc6940f4d27d88 Signed-off-by: Naveen Bobbili <nbobbili@amazon.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-09-27fix: Remove qml M126 warningLi Xiaoming2-5/+5
Message: == and != may perform type coercion, use === or !== to avoid it. Description: The non-strict equality comparison is allowed to convert its arguments to a common type. That can lead to unexpected results such as ' \t\r\n' == 0 being true. Use the strict equality operators === and !== and be explicit about conversions you require. Bug-AGL: SPEC-2814 Change-Id: I374749e71705b24eb793e0ba8a5efacc81ea40de Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-08-30Fix master volume sliderScott Murray1-1/+1
The switch to using agl-service-audiomixer missed a scaling to 0.0 - 1.0 for the value requested when changing the master volume slider, add that to fix it. Also, change the displayed name back to "Master Volume" to match what it now represents with PipeWire. Bug-AGL: SPEC-2788 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2fb94d161499b759540105958bcb3d6f5da1884f
2019-03-15Start app and get runnables list by homescreenwang_zhiqiang1-9/+1
1.only call showWindow when start application. 2.change area from "normal" to "normal.full". Bug-AGL: SPEC-2188 Change-Id: I0f3a72d996e73e3ef85eb19fdf130f46757683d6 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-12-19Bind the slider volume to the 4a active roleLoïc Collignon1-3/+6
4a now expose an active role, which is the opened role with the higher priority. This binds the slider to the active role. Bug: 1313 Change-Id: I73766163fc0b8ef1e6b70e9c13e28d3642be858a Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-11-27add new features in homescreen-service and homescreenwang_zhiqiang1-0/+92
homescreen-service: add five verbs. 1.showWindow: instead of tap_shortcut and show onscreen. 2.hideWindow: used when want to hide onscreen. 3.replyShowWindow: used when post onscreen reply information to application. 4.showNotification: used by application who want to display notification on homescreen top area. 5.showInformation: used by application who want to display information on homescreen botton area. homescreen: display notification and information. Bug-AGL: SPEC-1931 Change-Id: Ia17a9793c5d284458009ea71eb9594a40286fa8c Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-11-20homescreen: bluetooth: switch bluetooth power statusMatt Ranostay1-24/+2
Don't turn on/off bluetooth icon on homescreen when a device is connected, but when the adapter is powered on/off. This is the common functionality for most UIs Change-Id: If26d84da31433c461d06c157832f7b6bd744ef39 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-06use appid instead of appname in "tap_shortcut"wang_zhiqiang1-1/+5
Now In homescreen-service used application_id to identify different application, so use appid instead of appname in "tap_shortcut" parameter. Bug-AGL: SPEC-1764 Change-Id: I2fdda76167c7af9af65b1135b838da1742515b8b 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-5/+1
This reverts commit 389a02a99961f1bcc6d317ffc9223ea7f2d05023. Bug-AGL: SPEC-1685 Change-Id: I2f659dbb53b0b781ed588d19c2f3228e3abcbb4a Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-19Replace top and bottom area's background imageTadao Tanikawa7-4/+112
To improve scaling, replace top and bottom area's PNG image to SVG image. Bug-AGL: SPEC-1611 Change-Id: I547a96671c597cf3ac1ba1d3423fdb782bd93464 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-08Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3zheng_wenlong1-1/+5
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: Idd052d3f76f83e1f5bfe46627d7698655ffad85d Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-08Merge lastest commit from homescreen-2017zheng_wenlong2-2/+2
Merge two lastest commit from homescreen-2017. 1) StatusBarModel: fix QQmlContext reference Fix missing include Bug-AGL: SPEC-1628 2) Improve output of multiple screen resolution 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: I71a6c87187c2b0b81bb0ed10cc8779032aa19300 Signed-off-by: Matt Porter <mporter@konsulko.com>Y Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-01Change bluetooth status using agl-service-bluetoothzheng_wenlong1-0/+40
Use libqtappfw's bluetooth to connection with agl-service-bluetooth. Instead of using dbus. Change-Id: Ib0de7cf81ee9e582995a1e4102f8c3b297694328 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-07-10Copy source code from homescreen-2017flounder_5.99.2flounder/5.99.25.99.2zheng_wenlong55-182/+1929
We decide to use homescreen instead of homescreen-2017. Copy the source code from homescreen-2017 and delete word "-2017". Revision: b4db06287bc997ded71deab50ff0ff5889b09e1f Bug-AGL: SPEC-1549 Change-Id: Id77226b7ce35bbc29c868281c37b76ea3f930ad5 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-06-29Additional parameter to WindowManager at application startupflounder_5.99.1flounder/5.99.1eel_4.99.3eel_4.99.2eel_4.99.1eel/4.99.3eel/4.99.2eel/4.99.15.99.14.99.34.99.24.99.1Tadao Tanikawa2-2/+2
HomeScreen used to pass numeric id to WindowManager at application startup. This change add 1 more parameter (string id). This is necessary for WindowManager to allow some applications to run background, related to https://gerrit.automotivelinux.org/gerrit/#/c/9827/ Bug-AGL: SPEC-395 Change-Id: I90dec40fe0afd7634389b3430349259cc3616005 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-05-24Merge "Add icon re-ordering support by hold and move"dab_3.99.1dab/3.99.13.99.1Jan-Simon Moeller3-19/+72
2017-05-23Add icon re-ordering support by hold and moveTasuku Suzuki3-19/+72
Change-Id: Ieb6bf721932e36e4ea69cd56d59019ed8fed13ba Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2017-05-22Add master volume control sliderMatt Porter1-0/+106
Adds support for a master volume control to the HomeScreen app. The master volume slider appears when touching in the MediaArea at the bottom of the screen. If there is no interaction with the slider, it fades out after 5 seconds so that the AGL logo area is not obscured. The volume slider is accessible across all applications due to the MediaArea portion of HomeScreen always being exposed to the screen. The slider volume control is tied to the default PA sink and applies proportional volume control across all channels of the default sink when changed. It also reacts to external volume change events from other PA clients (e.g. Mixer app or pactl CLI changes) and updates the master volume slider accordingly. AGL-Bug: SPEC-550 Change-Id: I9bf55bc624f4bb95c162a79bd2eb314d8f945033 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-01-18Initial source commitBocklage, Jens114-0/+758
Taken from https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>