[NUI] Interops for accessibility (#2277)
authorBartłomiej Grzelewski <grzelewski@users.noreply.github.com>
Thu, 4 Mar 2021 10:57:30 +0000 (11:57 +0100)
committerhuiyueun <35286162+huiyueun@users.noreply.github.com>
Mon, 8 Mar 2021 08:29:15 +0000 (17:29 +0900)
commit7645a13ba30a9d29746860bb35935e33aa02028a
tree23687502a29b8d0bef8a36ad929ef64f99a34e4c
parent1375261d213a1155f35db8ff24b2d81ec104eaa3
[NUI] Interops for accessibility (#2277)

* [NUI][AT-SPI] Add accessiblity support to View

This commits add support for 2 signals:
 * generic Signal<void(string)>
 * atspi custom Signal<void(std::pair<GestureInfo,bool>)>
Add accessibilty properties to View.
Add accessibilty events to View.

Change-Id: I795bbb794a0f0c96210ddf4ad387386c1e1f8777

* [NUI][AT-SPI] Add AccessibilityDelegate

* [NUI][AT-SPI] Add basic Accessibility methods

* Initial implementation of the method which sets the Accessibility
states of a View
* Initial implementation of the overriden method for Button class

* [NUI][AT-SPI] Add more AccessibilityDelegate methods

* [NUI][AT-SPI] Added 2-finger pan possibility to ScrollableBase

* [NUI][AT-SPI] Basic Accessibility for Slider

* [NUI][AT-SPI] Basic accessibility for Dialog

* [NUI][AT-SPI] Clean up code

Rename structures with event arguments.
Hide at-spi implementation.

Change-Id: Icf578f977dc096fc0813c02aa8db2d5434c4a0f0

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
Co-authored-by: Maria Bialota <m.bialota@samsung.com>
30 files changed:
src/Tizen.NUI.Components/Controls/AlertDialog.cs
src/Tizen.NUI.Components/Controls/Button.Internal.cs
src/Tizen.NUI.Components/Controls/Button.cs
src/Tizen.NUI.Components/Controls/CheckBox.cs
src/Tizen.NUI.Components/Controls/Control.cs
src/Tizen.NUI.Components/Controls/Dialog.cs
src/Tizen.NUI.Components/Controls/Popup.cs
src/Tizen.NUI.Components/Controls/RadioButton.cs
src/Tizen.NUI.Components/Controls/ScrollableBase.cs
src/Tizen.NUI.Components/Controls/SelectButton.cs
src/Tizen.NUI.Components/Controls/Slider.Internal.cs
src/Tizen.NUI.Components/Controls/Slider.cs
src/Tizen.NUI.Components/Controls/Switch.cs
src/Tizen.NUI/src/internal/Accessibility/AccessibilityDoGestureSignal.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/Common/StringToVoidSignal.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/Interop/Interop.ControlDevel.cs [new file with mode: 0644]
src/Tizen.NUI/src/internal/Interop/Interop.DoGestureSignal.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/Interop/Interop.StringToVoidSignal.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/Interop/Interop.View.cs
src/Tizen.NUI/src/internal/Interop/Interop.ViewProperty.cs
src/Tizen.NUI/src/public/BaseComponents/CustomView.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/BaseComponents/ViewAccessibility.cs [new file with mode: 0755]
src/Tizen.NUI/src/public/BaseComponents/ViewAccessibilityEnum.cs [new file with mode: 0755]
src/Tizen.NUI/src/public/BaseComponents/ViewAccessibilityEvent.cs [new file with mode: 0755]
src/Tizen.NUI/src/public/BaseComponents/ViewAccessibilityProperties.cs [new file with mode: 0755]
src/Tizen.NUI/src/public/BaseComponents/ViewBindableProperty.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEnum.cs
src/Tizen.NUI/src/public/BaseComponents/ViewPublicMethods.cs
src/Tizen.NUI/src/public/BaseComponents/VisualView.cs