apps/alexa-viewer.git
4 years agoTweak things to center the window 61/26061/1 jellyfish 10.0.2 10.0.3 jellyfish/10.0.2 jellyfish/10.0.3 jellyfish_10.0.2 jellyfish_10.0.3
Scott Murray [Mon, 1 Feb 2021 23:13:28 +0000 (18:13 -0500)]
Tweak things to center the window

Add a onCompleted hook in Main.qml to set it's x and y coordinates to
center the window, and rework instantiation of the qml in main.cpp so
that the resulting x and y values can be queried and used in a call to
set_window_props to actually position the window.

Bug-AGL: SPEC-3784

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I46e2dfac7c62c9afd379fd6bf7b7fa3277422cbc
(cherry picked from commit b587bf9d453f29656c2a52bc486881c0e3cb67c6)

4 years agoAdd gitreview file for jellyfish branch 10.0.0 10.0.1 jellyfish/10.0.0 jellyfish/10.0.1 jellyfish_10.0.0 jellyfish_10.0.1
Jan-Simon Möller [Tue, 15 Sep 2020 20:55:42 +0000 (22:55 +0200)]
Add gitreview file for jellyfish branch

Update the .gitreview file.

Bug-AGL: SPEC-3581
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ia0c2b52e85db7357e441356f1ff7c6d3eed28314

4 years agoapp: Re-work the deactivation part in application_id_state event 01/24901/2 10.91.0 10.92.0 10.93.0 9.99.2 9.99.3 9.99.4 jellyfish/9.99.2 jellyfish/9.99.3 jellyfish/9.99.4 jellyfish_9.99.2 jellyfish_9.99.3 jellyfish_9.99.4 koi/10.91.0 koi/10.92.0 koi/10.93.0 koi_10.91.0 koi_10.92.0 koi_10.93.0
Marius Vlad [Sat, 27 Jun 2020 15:20:19 +0000 (18:20 +0300)]
app: Re-work the deactivation part in application_id_state event

In commit 11b9762f115778 we've added some logic in place that would
allow to start the application de-activated (that is hidden), as to
avoid 'stealing' the input focus (hoovering the pointer over a surface
will give that surface focus).

alexa-viewer application would be started by default by the system and
will be set 'invisible' (due to being a Qt app with the property set as
visible: false), and most likely this might cause a bit
of confusion for users. Also, by default, the compositor will display
the application as soon as started.

This patch re-works the de-activation part to handle a corner case, as
in commit 11b9762f115778 we would send the de-activate request as a
response in an event handler but it seems we can't guarantee that at that
time the surface was indeed activated.

So, instead of using application_id event, we use the application_id_state
event, which guarantees that we were actually sending the de-activate
request after we got the activate state event from the compositor.

Bug-AGL: SPEC-3412

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie50b8011700d258a899374176fb78dcd528f88c1

4 years agoAdd protocol remote role and bounding box 41/24841/1 9.99.1 jellyfish/9.99.1 jellyfish_9.99.1
Marius Vlad [Wed, 24 Jun 2020 13:37:50 +0000 (16:37 +0300)]
Add protocol remote role and bounding box

Bug-AGL: SPEC-3447

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Icdcd76a75177dd7dd20a3a4e69fa1b79edc5de8d

4 years agoDeactivate ourselves the first time we start 40/24840/1
Marius Vlad [Fri, 5 Jun 2020 22:52:43 +0000 (01:52 +0300)]
Deactivate ourselves the first time we start

Fixes #SPEC-3412

Bug-AGL: SPEC-3412, SPEC-3447

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3f2814fa88a0f27387889aacadd0849cd58b9b6a

4 years agoDo not show alexa-viewer. Was only for testing only purposes 39/24839/1
Marius Vlad [Thu, 4 Jun 2020 09:43:48 +0000 (12:43 +0300)]
Do not show alexa-viewer. Was only for testing only purposes

Bug-AGL: SPEC-3447

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib10c741d4f23e3919f302ea89cf835b25193555e

4 years agoagl-compositor: Adapt alexa-viewer to using the agl-shell-desktop proto 38/24838/1
Marius Vlad [Thu, 23 Apr 2020 20:52:57 +0000 (23:52 +0300)]
agl-compositor: Adapt alexa-viewer to using the agl-shell-desktop proto

Do not hide the app, for the time being.

Bug-AGL: SPEC-3447

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I15e5f40b2d3864dd8e251f75b0a4ba05487c7649

4 years agoUpdate autobuild scripts 31/24731/2
Scott Murray [Tue, 9 Jun 2020 22:44:28 +0000 (18:44 -0400)]
Update autobuild scripts

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: I3c56d98d1a8279f468f3389ede9356a9faff1cdc

4 years agoreplace qtappfw with qtappfw-voice-metadata package 15/24615/2
Raquel Medina [Tue, 2 Jun 2020 14:56:08 +0000 (16:56 +0200)]
replace qtappfw with qtappfw-voice-metadata package

Bug-AGL: SPEC-3390
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I17491facf5cae7e129ab8a4c364d16724db732d1

5 years agoInitial check-in 87/23587/3 halibut 8.0.5 8.0.6 8.99.5 halibut/8.0.5 halibut/8.0.6 halibut_8.0.5 halibut_8.0.6 icefish/8.99.5 icefish_8.99.5
Scott Murray [Thu, 16 Jan 2020 20:56:45 +0000 (15:56 -0500)]
Initial check-in

A simple application that pops up to display the guimetadata responses
from the voice capabilities API. It is currently considered to be Alexa
specific, as it relies on the response templates provided by the Alexa
voiceagent via the capabilities API, and there are no other voiceagents
available to vet whether those template contents will be treated as a
fixed part of the capabilities API.  At the moment, only the two types
of body template (BodyTemplate1 and 2) and the WeatherTemplate are
handled, and rendering of the latter is only of the current day's
weather.

The application uses the onscreen role so that it can pop up above
running applications.  To drive the pop up behavior, a simple client is
used to handle the guimetadata events from vshl-capabilities and show
the window with the homescreen API.  Filling in the template is handled
with separate support from libqtappfw to provide the template data to
Qt.

Additionally, note that there currently is a hook for the navigation
capability in the simple afb client to enable raising the navigation
application when the setDestination capability is triggered.  Once a
better place to handle this is architected, it should be moved out of
this application.

Bug-AGL: SPEC-3110

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ifce9554b93d1e781283fd68f8e911a7010dd8cf0

5 years agoInitial empty repository
Jan-Simon Moeller [Fri, 29 Nov 2019 10:23:03 +0000 (10:23 +0000)]
Initial empty repository