[NUI] Support Device orientation and window orientation event.
authorWonsik Jung <sidein@samsung.com>
Thu, 10 Nov 2022 11:15:53 +0000 (20:15 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 15 Nov 2022 08:27:31 +0000 (17:27 +0900)
commitf11292e95eedf56c2d68f83ed2bbb38bbe1e4205
tree603ab1bed573b074c3487349aed705a609c31cbd
parente69afbb5f6bd73d1e508c58316cb077871b56620
[NUI] 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.
13 files changed:
src/Tizen.NUI/src/internal/Application/Application.cs
src/Tizen.NUI/src/internal/Application/NUICoreBackend.cs
src/Tizen.NUI/src/internal/Application/NUIWidgetCoreBackend.cs
src/Tizen.NUI/src/internal/Common/DeviceOrientationChangedSignalType.cs [new file with mode: 0644]
src/Tizen.NUI/src/internal/Interop/Interop.DeviceOrientationChangedSignal.cs [new file with mode: 0644]
src/Tizen.NUI/src/internal/Interop/Interop.WindowOrientationChangedSignal.cs [new file with mode: 0644]
src/Tizen.NUI/src/internal/Interop/NDalicPINVOKE.cs
src/Tizen.NUI/src/internal/Window/WindowOrientationChangedSignal.cs [new file with mode: 0644]
src/Tizen.NUI/src/public/Application/NUIApplication.cs
src/Tizen.NUI/src/public/Application/NUIWidgetApplication.cs
src/Tizen.NUI/src/public/Window/WindowEvent.cs
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/WindowEventsTest.cs
test/Tizen.NUI.UIThread/Tizen.NUI.UIThread.cs