Age | Commit message (Collapse) | Author | Files | Lines |
|
This enables the GridView to allow scrolling and implicitly be able to
display more than a dozen of applications. The interactive mode controls
whether this is enabled or not, if the items is higher than what the grid
can contain (which is 4x3 in our current item cell dimension). If
interactive is enabled we use vertical scrolling, with some commented
out examples on how to enable horizontal scrolling. In tests,
horizontal scrolling caused some animation artefacts while vertical
seemed to behave much more reliable.
With it, we simplify the QML considerably by removing IconItem. Most of
the functionality has been retained, being copy-pasted from IconItem
like displaying icons, or using the first letter of the application name
in case there's no icon.
Note that this change removes The icon movement entirely, which seemed
to cause quite a bit of issues while draging/dropping scrolling in the
the grid itself. This seems to remove one feature for another, but by
just enabling interactive resulted in a jerky inconsistent animation.
Bug-AGL: SPEC-3028
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I64810dbd7ef014ed0473fd92df67807d10cc36ba
|
|
In the new App FW setup, `launcher` should only instruct `applaunchd` to
execute an application. In order to do so, it must first build a list of
available applications by looking for and parsing `.desktop` files in
relevant folders.
Then, when an application must be started, it has to call the
corresponding `applaunchd` method through D-Bus, which will then handle
the application startup using either command line execution or D-Bus
activation.
Bug-AGL: SPEC-4159 SPEC-4160
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: Ie2f55a5acb64ed90aa6aafb687c927d87f6cc0aa
|
|
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: I96de9ecace7ea519946c0df739db9753d44d2dfd
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
|
|
Detach launcher application from Homescreen,
Use qlibhomescreen instead of homescreenhandle.
[Patch sets 3]
This application needs qlibhomescreen, add into sdk in 14597.
[Patch sets 4]
Right now add qlibhomescreen class into src for instead.
Delete it after qlibhomescreen is add into sdk.
[Patch sets 5]
From Jan-Simon advise, waitting for qlibhomescreen sdk.
So return to Patch sets 3.
Relative commit:
https://gerrit.automotivelinux.org/gerrit/#/c/14597/
Task-AGL: SPEC-1518
Change-Id: Ia16aecddd2bf4623038a84254a0c56967ace9b92
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
|