diff options
author | Takashi Matsuzawa <tmatsuzawa@xevo.com> | 2017-07-31 22:06:38 +0900 |
---|---|---|
committer | Takashi Matsuzawa <tmatsuzawa@xevo.com> | 2017-08-31 07:25:53 +0000 |
commit | 6f4e56d960719a28cfbebddbc5eb052b5c9df08f (patch) | |
tree | 5e2061ef84a065778d9625be4f3d937500ae74ed /config.tests/ivi_layermanagement_api | |
parent | b28064e1f04eac99995e1462771fb43b7bba8545 (diff) |
Add scaling mode to demo screendab_4.0.3dab_4.0.2dab_4.0.1dab/4.0.3dab/4.0.2dab/4.0.14.0.34.0.24.0.1dab
Bug-AGL: SPEC-791
Avoid demo screen being stretched and distorted on non full-HD display.
Instead, we should fit it on target display but also keeping demo screen aspect ratio.
This change has no impact on fiull-HD displays since the behavior is the same.
In addition to "fit" option (now default), "stretch" (previous default) and "no" modes are provided for convenience.
Update:
Add content modes that seems to be common.
Instead of integer value but string ids are used to specify desired mode.
Update2:
Do not rely on copmiler for redundant calls to strcmp
Use signed type to avoid redundant type casting
Update3:
Fixing typo, adding comments, error case handling
Update4: (Tadao Tanikawa)
Calculating the geometry of layer (named root layer) once when
WindowManager initialized and each app's layer inherits it.
Update5: (Tadao Tanikawa)
Clean up compiler warnings
Update6: (Tadao Tanikawa)
Clean up compiler warnings
Change-Id: Ibb797ebea65062fdda7eccc5b7fc246a6b602e98
Signed-off-by: Takashi Matsuzawa <tmatsuzawa@xevo.com>
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
(cherry picked from commit eeedc5e9e67917bd3346dbe5332e667757a3b28d)
Diffstat (limited to 'config.tests/ivi_layermanagement_api')
0 files changed, 0 insertions, 0 deletions