Support Device orientation and window orientation event. 22/283622/9
authorWonsik Jung <sidein@samsung.com>
Mon, 31 Oct 2022 11:30:10 +0000 (20:30 +0900)
committerWonsik Jung <sidein@samsung.com>
Thu, 10 Nov 2022 07:59:33 +0000 (16:59 +0900)
commit0ad598012227b059f76767b814c78c7af44289af
tree4a96e3c434f1b7787eb5c26ffafb49062b15f96a
parenta15b3e79867eb099c643879dfa82192448d3143d
Support Device orientation and window orientation event.

Supporting  Device orientation and Window Orienation event when device orientation is changed or window orientation is changed.
Window orientation event is emitted by display server.
To emit the Window Orientation event, AddAvailableOrientation() or SetPreferredOrientation() should be called before the device is rotated.
Otherwise, Device Orientation event is emitted by Application framework and any condition is not needed.

Change-Id: I78e8854e74810f31e7aa7403b8e913f50b67f3d2
13 files changed:
automated-tests/src/dali-adaptor/utc-Dali-Application.cpp
automated-tests/src/dali-adaptor/utc-Dali-Window.cpp
dali/devel-api/adaptor-framework/window-devel.cpp
dali/devel-api/adaptor-framework/window-devel.h
dali/internal/adaptor/common/application-impl.cpp
dali/internal/adaptor/common/application-impl.h
dali/internal/adaptor/common/framework.h
dali/internal/adaptor/tizen-wayland/framework-tizen.cpp
dali/internal/window-system/common/window-impl.cpp
dali/internal/window-system/common/window-impl.h
dali/public-api/adaptor-framework/application.cpp
dali/public-api/adaptor-framework/application.h
dali/public-api/adaptor-framework/device-status.h