[Tizen] Support Device orientation and window orientation event. 88/286388/2
authorWonsik Jung <sidein@samsung.com>
Mon, 31 Oct 2022 11:30:10 +0000 (20:30 +0900)
committerWonsik Jung <sidein@samsung.com>
Thu, 5 Jan 2023 05:48:08 +0000 (14:48 +0900)
commitcdc6784bbfba576c040da10ef05e579b0d6a0dfd
tree14e44894fe5d661e866276756f371d7f875b99bd
parent32381e247c6533d553e0a439324888624ea20584
[Tizen] 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