Enable scaling to fit various screen resolutions 25/14025/1 eel 5.0.3 5.1.0 eel/5.0.3 eel/5.1.0 eel_5.0.3 eel_5.1.0
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Wed, 16 May 2018 09:48:31 +0000 (09:48 +0000)
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Fri, 18 May 2018 06:57:15 +0000 (15:57 +0900)
commit443b9523b2e82352be9261d65f55bff9b0a5e4de
tree0966db2fe6dd8bae5b8f74df24e362d3b92eb0cf
parent33ee7d8a99c540749dd9691362f109c5b884e588
Enable scaling to fit various screen resolutions

Since the AGL HomeScreen of CES2018 assumes that the screen
resolution is 1080x1920px, the graphics of it partially
corrupted with others.

To fix this issue, now the AGL window manager automatically
scales size of HomeScreen to fit the resolution of the display.

By default, this scaling keeps HomeScreen's original aspect
rate (9:16). To ignore it, set the environment variable,
'HMI_SCALING_IGNORE_ASPECT'.
(E.g. set it in any file under /etc/afm/unit.env.d/)

Bug-AGL: SPEC-1138

Change-Id: Id11a07560fe254712aaab42018bfb4d1d87ad1df
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
layers.json
src/app.cpp
src/config.cpp
src/layers.cpp
src/layers.hpp
src/util.cpp
src/util.hpp