From 8ab10aaafc6fb3dc7bbad755dce9b4bdaa41f287 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Sat, 7 Jul 2018 17:22:46 +0900 Subject: 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 according to "scaling" value in setting.json By default(even if "scaling" is not set), this scaling keeps 'fullscreen' aspect rate in area.db("aspect_fit") User can select 3 options. - "aspect_fit" : Scale aspect rate of 'fullscreen' in area.db.(default) - "display_fit": Force to scale to display size. - "none" or others : Set size just as area.db Bug-AGL: SPEC-1568 Bug-AGL: SPEC-1569 Change-Id: Ia08c0ebb2d71ae8f89a90088e181381c3ba3562d Signed-off-by: Kazumasa Mitsunari --- conf/setting.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 conf/setting.json (limited to 'conf') diff --git a/conf/setting.json b/conf/setting.json new file mode 100644 index 0000000..cfeb718 --- /dev/null +++ b/conf/setting.json @@ -0,0 +1,8 @@ +{ + "description": "Settings for window manager", + "settings" : + { + "scaling" : "aspect_fit", + "options@scaling" : "aspect_fit|display_fit|none" + } +} \ No newline at end of file -- cgit 1.2.3-korg