* Fix: Two-finger scroll issue when TalkBack is active
* refactor: move accessibility related code to accessibility class
* cleanup imports
Co-authored-by: Henning Hall <henning.hall@hotmail.com>
* Implemented accessibility support for android date picker.
* Created new function to return accessible text.
Changed access modifier of few functions to public.
* removed duplicate contentDescription for accessibility to work correct.
* Added finnish and swedish localizations for accessible items in datepicker.
* Added localisation english texts.
* Implemented localisations for accessible selections made inside android datepicker.
* Added getLocaleStringResource function for getting localised string resource.
* Added required imports for getLocaleStringResource function.
* Content description set based on localised strings from resources initially.
* Implemented meaningful content description for dateTime picker.
Added new keys for time prefix.
Content description set when screen reader is focused on picker wheels.
* Updated correct finnish and swedish translations.
* refactor: move accessibility to its own class
Co-authored-by: Jencir CJ <jencir.jamal@digia.com>
Co-authored-by: Henning Hall <henning.hall@hotmail.com>
The getPatternIncluding method would return quoted pieces if
the check contents of the quoted part included the format letter.
For instance for Danish (da_DK), the pattern is "EEE 'den' d. MMM"
If we are calling `getPatternIncluding("d", "da_DK")`, the method
would return `"den'"´, but we would like to return `"d."`.
This commit ignores pieces with apostrophe ("'") in them.