platform/core/csapi/tizenfx.git
3 years ago[NUI] Update 6.5 UX for CheckBox, Switch and RadioButton (#2773)
Jiyun Yang [Tue, 23 Mar 2021 05:10:55 +0000 (14:10 +0900)]
[NUI] Update 6.5 UX for CheckBox, Switch and RadioButton (#2773)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Button text ellipsis enabled and etc. (#2772)
Jiyun Yang [Tue, 23 Mar 2021 04:56:43 +0000 (13:56 +0900)]
[NUI] Button text ellipsis enabled and etc. (#2772)

* Button text ellipsis when the text is longer than the button width.
* Switch thumb can get control state changed callback from parent.
* Button IconPadding is ignored when the icon is not exist.
* Button TextPadding is ignored when the text is not exist.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Update InputPanelLanguage enum description (#2770)
Seoyeon2Kim [Mon, 22 Mar 2021 06:41:03 +0000 (15:41 +0900)]
[NUI] Update InputPanelLanguage enum description (#2770)

- InputPanelLanguage.Alphabet enumeration can be changed
 according to OSD language.
- For instance, if OSD language is not Latin alphabet, such as Korean and Arabic,
 IME default language would change to English.
 If OSD language is Latin alphabet, such as French and Spanish,
 IME default language would be OSD language itself.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] CheckBox, RadioButton and Switch can place text without setting text size ...
Jiyun Yang [Mon, 22 Mar 2021 03:55:43 +0000 (12:55 +0900)]
[NUI] CheckBox, RadioButton and Switch can place text without setting text size (#2763)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Improve LayoutController.Process performance (#2755)
huiyueun [Mon, 22 Mar 2021 01:20:07 +0000 (10:20 +0900)]
[NUI] Improve LayoutController.Process performance (#2755)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoCheck result parcel (#2802)
hjhun [Tue, 30 Mar 2021 02:04:38 +0000 (11:04 +0900)]
Check result parcel (#2802)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years ago[VoiceControl] Support multi handle for event and add thread lock for these handles...
Suyeon Hwang [Fri, 26 Mar 2021 07:51:44 +0000 (16:51 +0900)]
[VoiceControl] Support multi handle for event and add thread lock for these handles (#2795)

* [VoiceControl] Support multi handle for event

Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
* [VoiceControl] Add lock for event handlers

Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years ago[Tts/Stt] Use thread lock only when add and remove event handler (#2782)
Suyeon Hwang [Thu, 25 Mar 2021 01:51:25 +0000 (10:51 +0900)]
[Tts/Stt] Use thread lock only when add and remove event handler (#2782)

* [Tts] Use thread lock only when add and remove event handler

Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
* [Stt] Use thread lock only when add and remove event handler

Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
* [Tts/Stt] Remove useless thread lock statements

null conditional operator already guarantees the thread safety.
So it does not need additional thread lock.

Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years ago[Applications.ComponentBased] Modify and Add classes for IPC feature (#2675)
hjhun [Wed, 24 Mar 2021 04:13:26 +0000 (13:13 +0900)]
[Applications.ComponentBased] Modify and Add classes for IPC feature (#2675)

* Change directory name

The directory name is changed to 'ComponentPort'.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove unncessary interop parcel methods

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix descriptions

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix typo

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix example code

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Rename directory to Port

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix ComponentPort implementation

Changes:
 - Removes abstract keyword from ComponentPort class
 - Changes OnRequestEvent() method to use virtual keyword instead of abstract keyword
 - Adds RequestEventArgs for OnRequestEvent()
 - Adds ComponentTask class for WaitForEvent() call
 - Changes the name of SendSync() to SendAndReceive().
 - Adds SendAndReceiveAsync() method
 - Adds WaitForPort() method

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Add EventHandler

- Uses EventHandler instead of virtual method

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix WaitForPort implementation

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix descriptions and implemenation

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix wrong implemenations and descriptions

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix descipriton of ComponentTask

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix WaitForPortCore()

- Uses Task.FromResult()

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix wrong description about permission denied error

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years ago[NUI] Fix TCT fails
Jiyun Yang [Fri, 19 Mar 2021 02:30:51 +0000 (11:30 +0900)]
[NUI] Fix TCT fails

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Modify NUI.Components private variable (#2764)
huiyueun [Fri, 19 Mar 2021 04:13:26 +0000 (13:13 +0900)]
[NUI] Modify NUI.Components private variable (#2764)

- Add opensource license
- Delete 'm' or '_' of private variable
- Delete unused using

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Remove Transition for xaml
seungho [Fri, 19 Mar 2021 01:45:08 +0000 (10:45 +0900)]
[NUI] Remove Transition for xaml

Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years ago[NUI] Scrollbar uses View instead Visual since blinking issue (#2745)
Jiyun Yang [Fri, 19 Mar 2021 02:12:59 +0000 (11:12 +0900)]
[NUI] Scrollbar uses View instead Visual since blinking issue (#2745)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI][Design]Update Tizen.NUI.Design and Add Tizen.NUI.Components.Design
Xianbing Teng [Wed, 10 Jun 2020 06:45:38 +0000 (14:45 +0800)]
[NUI][Design]Update Tizen.NUI.Design and Add Tizen.NUI.Components.Design

1. Add Tizen.NUI.Components.Design
2. Update Tizen.NUI.Design
3. Update design dlls

3 years agoRevert "[NUI] Clean up View's Events"
Dongsug Song [Thu, 18 Mar 2021 09:30:46 +0000 (18:30 +0900)]
Revert "[NUI] Clean up View's Events"

This reverts commit c0df2f273c77d7655df2d9c15d005a72d71431d7.

3 years ago[NUI] Check spelling
huiyu.eun [Thu, 18 Mar 2021 04:20:42 +0000 (13:20 +0900)]
[NUI] Check spelling

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Fix padding issue
huiyu.eun [Tue, 16 Mar 2021 10:18:54 +0000 (19:18 +0900)]
[NUI] Fix padding issue

If Layout is a LayoutItem then it could be a View that handles it's own padding.
Let the View keeps it's padding. Still store Padding in Layout to reduce code paths.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Remove Debug.WritelineIf
huiyu.eun [Wed, 17 Mar 2021 04:26:29 +0000 (13:26 +0900)]
[NUI] Remove Debug.WritelineIf

Rmove to improve performance

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[Inputmethod] Fix the crash issue due to double free (#2756)
Inhong [Thu, 18 Mar 2021 05:35:54 +0000 (14:35 +0900)]
[Inputmethod] Fix the crash issue due to double free (#2756)

Co-authored-by: InHong Han <inhong1.han@samsung.com>
3 years ago[NUI] Remove APIs which have been deprecated in API7
Dongsug Song [Thu, 25 Feb 2021 08:49:12 +0000 (17:49 +0900)]
[NUI] Remove APIs which have been deprecated in API7

This reverts commit ed2f6c68fa315f66578c231912ded2af9fa8e98d.

3 years ago[NUI] Version update (nui22017) (#2746)
Eunki Hong [Wed, 17 Mar 2021 02:26:22 +0000 (11:26 +0900)]
[NUI] Version update (nui22017) (#2746)

Signed-off-by: pichulia <eunkiki.hong@samsung.com>
Co-authored-by: pichulia <eunkiki.hong@samsung.com>
3 years ago[NUI] : Add ScrollPosition in ScrollEventArgs for user convenience.
SangHyeon Jade Lee [Tue, 16 Mar 2021 05:44:09 +0000 (14:44 +0900)]
[NUI] : Add ScrollPosition in ScrollEventArgs for user convenience.

Current Position property in ScrollEventArgs is position of
ContentContainer which is negative.
user controls scrollableBase via ScrollTo and other API with
positive position of pan not ContentContainer so user must convert
current Position Property to use.

By this patch, we provide positive ScrollPosition which represent
position of scroll pan, so no need to convert value for using it.

3 years ago[NUI] Remove StyleCop CA1715 warning messages
Jaehyun Cho [Wed, 11 Nov 2020 08:09:26 +0000 (17:09 +0900)]
[NUI] Remove StyleCop CA1715 warning messages

Since T, U, R are commonly used as generic type parameter names and not
to do ACR, StyleCop CA1715 warning messages in DaliEventHandler.cs are
removed.

3 years ago[NUI] change type from Size2D to Size at TouchArea api
Joogab Yun [Mon, 15 Mar 2021 03:55:54 +0000 (12:55 +0900)]
[NUI] change type from Size2D to Size at TouchArea api

3 years ago[NUI] Theme change do not overwrite user set properties. (#2731)
Jiyun Yang [Mon, 15 Mar 2021 02:24:41 +0000 (11:24 +0900)]
[NUI] Theme change do not overwrite user set properties.  (#2731)

* [NUI] Theme change do not overwrite user set properties.

* Note that this works only for the bindable properties.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Components share style instance in a theme

Hence a component should not modify connected style instance.

3 years ago[NUI] Clean up MeasureAndLayout of LayoutController
huiyu.eun [Fri, 12 Mar 2021 04:28:45 +0000 (13:28 +0900)]
[NUI] Clean up MeasureAndLayout of LayoutController

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add TouchArea property.
Joogab Yun [Fri, 12 Mar 2021 01:50:58 +0000 (10:50 +0900)]
[NUI] Add TouchArea property.

Default touchable area is view's size.
TouchArea can reset the view's touchable area.

This is usefull when the view is small, but it should have a larger touch area.

for example

      View view = new View();
      view.Size = new Size(10, 10);
      view.TouchEvent += OnTouchEvent;
      view.TouchArea = new Size2D(200, 200);

The view is small, If you want to set the touch area to a larger area,
you can use the TouchArea property.

This reverts commit 034889141391985f0ad1727ae6e32719d9c5a360.

3 years ago[NUI] Delete unuused code
huiyu.eun [Fri, 12 Mar 2021 03:31:34 +0000 (12:31 +0900)]
[NUI] Delete unuused code

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Set Navigator Layout (#2727)
Jaehyun Cho [Fri, 12 Mar 2021 02:41:25 +0000 (11:41 +0900)]
[NUI] Set Navigator Layout (#2727)

To calculate its children (i.e. Page) size correctly, Navigator sets
AbsoluteLayout to its Layout.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
3 years ago[NUI] Remove CA2000 false alarm in Navigator (#2729)
Jaehyun Cho [Fri, 12 Mar 2021 01:44:10 +0000 (10:44 +0900)]
[NUI] Remove CA2000 false alarm in Navigator (#2729)

Since the pushed views are added to NavigationPages and are disposed in
Navigator.Dispose(), the CA2000 in Navigator is false alarm.

To remove the CA2000 false alarm, SuppressMessage for CA2000 is added.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
3 years ago[NUI] Clean up View's Events
Dongsug Song [Thu, 11 Mar 2021 01:52:46 +0000 (10:52 +0900)]
[NUI] Clean up View's Events

3 years ago[NUI] Add Slider discrete value properties (#2721)
Seoyeon2Kim [Fri, 12 Mar 2021 01:16:26 +0000 (10:16 +0900)]
[NUI] Add Slider discrete value properties (#2721)

- If the app sets `IsDiscrete` as true,
 the thumb snap to the nearest discrete value when the user drags the thumb or taps.
- To set the value for discrete slider, use `DiscreteValue` property.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years agoSupport TranslatablePlaceholderTextFocused to TextField
Bowon Ryu [Thu, 4 Mar 2021 08:05:31 +0000 (17:05 +0900)]
Support TranslatablePlaceholderTextFocused to TextField

PlaceholderTextFoused can set the SID value by this patch

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years ago[NUI] Fix build warning for AccessibilityEvent naming (#2710)
Seoyeon2Kim [Thu, 11 Mar 2021 02:40:33 +0000 (11:40 +0900)]
[NUI] Fix build warning for AccessibilityEvent naming (#2710)

* [NUI] Fix build warning for AccessibilityEvent naming

- There's a build warning for View.Activate EventHandler : CS0108.
 'GaussianBlurView.Activate()' hides inherited member 'View.Activate'.
- Use the new keyword, 'Activated'.
- Update some code to follow formatting rules

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* [NUI] Add Accessibility prefix to events

- Add 'Accessibility' prefix to all Accessibility events.
- Fix build warning : CA2000
  Call Dispose on object created by signals before all references are out of scope.
  -> Make signal variable separately.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Introduce NUI Palette APIs
Woochanlee [Wed, 10 Mar 2021 04:29:21 +0000 (13:29 +0900)]
[NUI] Introduce NUI Palette APIs

3 years ago[NUI] Add AppBarStyle class with the latest AppBar UX (#2718)
Jaehyun Cho [Wed, 10 Mar 2021 05:16:01 +0000 (14:16 +0900)]
[NUI] Add AppBarStyle class with the latest AppBar UX (#2718)

To apply the latest AppBar UX, AppBarStyle class is added.

AppBarStyle.BackButton is applied to AppBar.DefaultNavigationContent.
AppBarStyle.TitleTextLabel is applied to AppBar.DefaultTitleContent.
AppBarStyle.ActionView and ActionButton are applied to the children of
AppBar.DefaultActionContent added by AppBar.AddActions().

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
3 years ago[Tizen.System.Information][Non-ACR] Add API for internal (#2740)
yunmiha [Tue, 16 Mar 2021 10:57:51 +0000 (19:57 +0900)]
[Tizen.System.Information][Non-ACR] Add API for internal (#2740)

* [Tizen.System.Information] Add API

- GetGemRss
- GetGpu
- GetSwap

Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
* [Tizen.System.Information] Add API

    - GetGemRss
    - GetGpu
    - GetSwap

Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
* Fix build warning

Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
* Update src/Tizen.System.Information/Interop/Interop.RuntimeInfo.cs

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
* Update src/Tizen.System.Information/Usage/ProcessMemoryUsage.cs

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
* Update src/Tizen.System.Information/Usage/ProcessMemoryUsage.cs

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
* Update src/Tizen.System.Information/Usage/ProcessMemoryUsage.cs

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
* Update src/Tizen.System.Information/Interop/Interop.RuntimeInfo.cs

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
* Update src/Tizen.System.Information/Usage/ProcessMemoryUsage.cs

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
* Update src/Tizen.System.Information/Usage/ProcessMemoryUsage.cs

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
* Update src/Tizen.System.Information/Usage/ProcessMemoryUsage.cs

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
* Update Interop.RuntimeInfo.cs

* Update ProcessMemoryUsage.cs

* Create ProcessMemoryUsage.cs

* Update ProcessMemoryUsage.cs

* Update ProcessMemoryUsage.cs

* Update ProcessMemoryUsage.cs

* [Tizen.System.Information][Non-ACR] Fix memory leak

Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
3 years agoFix typo in function
Jihoon Kim [Tue, 9 Mar 2021 10:57:36 +0000 (19:57 +0900)]
Fix typo in function

Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years agoFix GetLocalOobData memory leak (#2724)
Wootak Jung [Wed, 10 Mar 2021 05:42:02 +0000 (14:42 +0900)]
Fix GetLocalOobData memory leak (#2724)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years ago[NUI] Fix AccessibilityManager's unsafe conversion to View from IntPtr (#2717)
Jiyun Yang [Tue, 9 Mar 2021 03:35:39 +0000 (12:35 +0900)]
[NUI] Fix AccessibilityManager's unsafe conversion to View from IntPtr (#2717)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix a Warning in WidgetView (#2715)
tscholb [Tue, 9 Mar 2021 03:30:57 +0000 (12:30 +0900)]
[NUI] Fix a Warning in WidgetView (#2715)

CA1065: Do not raise exceptions in unexpected locations

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] AppBar code refactoring to introduce AppBarStyle (#2713)
Jaehyun Cho [Tue, 9 Mar 2021 03:25:31 +0000 (12:25 +0900)]
[NUI] AppBar code refactoring to introduce AppBarStyle (#2713)

Unused namespace System.Windows.Input is removed.

AppBar constructors with parameters are removed to reduce complexity by
adding constructors with style parameters.

private Initialize() is added to remove duplicate codes in constructors.

DefaultTitleContent and DefaultActionContent are added like
DefaultNavigationContent.

SetTitle() is added to set title text to DefaultTitleContent.
AddActions() and RemoveActions() are added to add and remove action
views to DefaultActionContent.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Improve performance in theme and styles (#2704)
Jiyun Yang [Tue, 9 Mar 2021 03:19:34 +0000 (12:19 +0900)]
[NUI] Improve performance in theme and styles (#2704)

* [NUI] Improve performance: Make selectors lazily generated.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Improve performance: Remove redundant clone

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Improve performance: Add dirty style property set

This may reduce time of ViewStyle.Clone() and View.ApplyStyle().
But may increase runtime memory.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[Bluetooth][Non-ACR] GetBondedDevice converting issue (#2517)
Wootak Jung [Wed, 10 Mar 2021 02:32:52 +0000 (11:32 +0900)]
[Bluetooth][Non-ACR] GetBondedDevice converting issue (#2517)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Co-authored-by: dh79pyun <31202060+dh79pyun@users.noreply.github.com>
3 years ago[NUI] Catch all exceptions from tizen theme manager
Jiyun Yang [Mon, 8 Mar 2021 07:13:16 +0000 (16:13 +0900)]
[NUI] Catch all exceptions from tizen theme manager

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Catch DllNotFound exception for capi-appfw-tizen-theme.so (#2711)
Jiyun Yang [Mon, 8 Mar 2021 05:15:38 +0000 (14:15 +0900)]
[NUI] Catch DllNotFound exception for capi-appfw-tizen-theme.so (#2711)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Format all files
huiyu.eun [Mon, 8 Mar 2021 00:42:04 +0000 (09:42 +0900)]
[NUI] Format all files

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Fix Accessibility warning messages (#2705)
Seoyeon2Kim [Mon, 8 Mar 2021 01:17:45 +0000 (10:17 +0900)]
[NUI] Fix Accessibility warning messages (#2705)

* [NUI] Fix Accessibility warning messages

 - CA1066 : Implemented `IEquatable` interface to GestureInfoType structure.
 - CA1034 : Added public types to replace nested types of events.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* [NUI] Update properties of EventArgs according to reviews

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Change Tizen.NUI.Components sequence
huiyu.eun [Fri, 5 Mar 2021 04:28:43 +0000 (13:28 +0900)]
[NUI] Change Tizen.NUI.Components sequence

Tizen.NUI.preload -> 30
Tizen.NUI.Components.preload ->31

The Tizen.NUI.Componentes is preloaded after the NUI is preloaded.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Enable Window.ViewAdded event
Dongsug Song [Fri, 5 Mar 2021 07:41:07 +0000 (16:41 +0900)]
[NUI] Enable Window.ViewAdded event

- Previously, Window.ViewAdded event was blocked by memory leak
- This is enabled again by the request from Appium
- This change has beend checked locally and there was no memory leak (normal)

3 years ago[NUI] Delegate Button.OnAccessibilityActivated() to OnKey() (#2699)
Artur Świgoń [Fri, 5 Mar 2021 01:32:21 +0000 (02:32 +0100)]
[NUI] Delegate Button.OnAccessibilityActivated() to OnKey() (#2699)

This commit fixes a bug where it was possible to select multiple radio
buttons from one RadioButtonGroup in accessibility (screen reader) mode.

OnAccessibilityActivated() contained code copied from OnKey(). However,
some classes derived from Button override OnKey(), e.g. SelectButton
makes sure that other buttons in the group are unselected if necessary.
Rather than overriding OnAccessibilityActivated() in derived classes, it
is better to invoke OnKey() instead, in order to reduce code
duplication.

Note: this change matches the corresponding logic in DALi Toolkit, where
OnAccessibilityActivated() is implemented in terms of OnKeyboardEnter().

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
3 years ago[NUI] Interops for accessibility (#2277)
Bartłomiej Grzelewski [Thu, 4 Mar 2021 10:57:30 +0000 (11:57 +0100)]
[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>
3 years ago[NUI] Version update (nui22015)
Wonsik Jung [Wed, 3 Mar 2021 04:32:46 +0000 (13:32 +0900)]
[NUI] Version update (nui22015)

3 years ago[NUI] Improve performance : Remove rarely used properties from the Style. (#2695)
Jiyun Yang [Wed, 3 Mar 2021 02:43:49 +0000 (11:43 +0900)]
[NUI] Improve performance : Remove rarely used properties from the Style. (#2695)

This can leads application launching time improvement.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
3 years ago[NUI] Remove theme resource update sample (#2698)
Jiyun Yang [Wed, 3 Mar 2021 01:16:03 +0000 (10:16 +0900)]
[NUI] Remove theme resource update sample (#2698)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Support vertical direction page snap (#2676)
Woochan [Tue, 2 Mar 2021 07:06:34 +0000 (16:06 +0900)]
[NUI] Support vertical direction page snap (#2676)

This patch fixes an issue that the page snap feature not working for vertical direction.

Co-authored-by: Woochanlee <wc0917.lee@samsung.com>
Co-authored-by: huiyueun <35286162+huiyueun@users.noreply.github.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add APIs for javascript popup. (#2678)
huayongxu [Tue, 2 Mar 2021 05:54:03 +0000 (13:54 +0800)]
[NUI] Add APIs for javascript popup. (#2678)

Support callbacks for 'url,changed', 'load.progress', and javascript
alert/confirm/prompt.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix svace issues for wearable
zhouleonlei [Mon, 1 Mar 2021 06:16:34 +0000 (14:16 +0800)]
[NUI] Fix svace issues for wearable

3 years ago[NUI] Re-design theme resource structure from the tizen-theme-manager (#2633)
Jiyun Yang [Fri, 26 Feb 2021 07:15:40 +0000 (16:15 +0900)]
[NUI] Re-design theme resource structure from the tizen-theme-manager (#2633)

* [NUI] Fix Selector bug and code by throwing proper exception.

* Fix multiple items bug
* Throw proper exception

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Add Theme.Version and improve GetStyle API

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Remove build warning and move IThemeCreator to the new file from the ThemeManager

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Re-design theme resource structure from the tizen-theme-manager

This patch fixes problem that
the data from the tizen-theme-manager was not able to express mutually exclusive style properties,
such as, BackgroundColor and BackgroundImage.

* IExternalTheme
  * The wrapper interface to express external theme such as Tizen.Applications.ThemeManager.Theme.
  * TizenExternalTheme : Wrapped Tizen.Applications.ThemeManager.Theme.
  * DictionaryExternalTheme : Wrapped Dicrionary<stirng, string>. (for testing)
* ExternalKeyList
  * This class defines a set of keys used in external theme syntax.
  * A set of ExternalKeyList is held by a ThemeCreator in each package.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Fix CornerRadius Policy not applied issue

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix Tizen.NUI.Samples build errors
Dongsug Song [Fri, 26 Feb 2021 03:39:49 +0000 (12:39 +0900)]
[NUI] Fix Tizen.NUI.Samples build errors

3 years agoDelete Palette.cs
huiyueun [Thu, 25 Feb 2021 23:37:46 +0000 (08:37 +0900)]
Delete Palette.cs

3 years ago[NUI] Add license, delete unnecessary code(public)
huiyu.eun [Thu, 25 Feb 2021 06:00:21 +0000 (15:00 +0900)]
[NUI] Add license, delete unnecessary code(public)

Modify NUI internal code
 - add license
 - delete unncessary empty line
 - change private variable name(delete '_')
 - delete unusued using

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[Cov] Fix coverage.sh (#2701)
WonYoung Choi [Wed, 3 Mar 2021 06:36:58 +0000 (15:36 +0900)]
[Cov] Fix coverage.sh (#2701)

3 years ago[NUI] Remove APIs which have been deprecated in API7
Dongsug Song [Thu, 25 Feb 2021 08:49:12 +0000 (17:49 +0900)]
[NUI] Remove APIs which have been deprecated in API7

This reverts commit ed2f6c68fa315f66578c231912ded2af9fa8e98d.

3 years ago[NUI] Add license, delete unnecessary code (#2679)
Dongsug Song [Thu, 25 Feb 2021 08:47:51 +0000 (17:47 +0900)]
[NUI] Add license, delete unnecessary code (#2679)

This reverts commit cd2c16f80f6ced4f8076ce376b9bcf2df0c62919.

3 years agoRevert "[NUI] Add license, delete unnecessary code (#2679)"
Dongsug Song [Thu, 25 Feb 2021 07:49:41 +0000 (16:49 +0900)]
Revert "[NUI] Add license, delete unnecessary code (#2679)"

This reverts commit 62e8848bc80566daada96d5b47a014ef33aa3886.

3 years agoRevert "[NUI] Remove APIs which have been deprecated in API7"
Dongsug Song [Thu, 25 Feb 2021 07:49:12 +0000 (16:49 +0900)]
Revert "[NUI] Remove APIs which have been deprecated in API7"

This reverts commit 2a98e467a23af86d104a956b74f02e944bd3b73f.

3 years ago[NUI] Remove APIs which have been deprecated in API7
Dongsug Song [Mon, 28 Dec 2020 07:34:12 +0000 (16:34 +0900)]
[NUI] Remove APIs which have been deprecated in API7

3 years agoRevert "[NUI] Introduce NUI Palette APIs"
Woochan [Thu, 25 Feb 2021 04:11:57 +0000 (13:11 +0900)]
Revert "[NUI] Introduce NUI Palette APIs"

This reverts commit 16cd06ebeae122dccbd7d193ca0eb63cae210ccb.

3 years ago[NUI] Add license, delete unnecessary code (#2679)
huiyueun [Thu, 25 Feb 2021 03:05:22 +0000 (12:05 +0900)]
[NUI] Add license, delete unnecessary code (#2679)

Modify NUI internal code
- add license
- delete unncessary empty line
- change private variable name(delete '_')
- delete unusued using

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add GetOriginalImageSize() considering rotation (#2667)
tscholb [Wed, 24 Feb 2021 08:13:54 +0000 (17:13 +0900)]
[NUI] Add GetOriginalImageSize() considering rotation (#2667)

Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
3 years ago[NUI] Delete Tizen.NUI.Components build warnings (#2674)
huiyueun [Wed, 24 Feb 2021 06:41:08 +0000 (15:41 +0900)]
[NUI] Delete Tizen.NUI.Components build warnings (#2674)

* [NUI] Delete Tizen.NUI.Components build warnings

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* Update ImageScrollBar.cs

* Update Popup.cs

3 years ago[NUI] Fix build error of Tizen.NUI.Samples
Seoyeon Kim [Wed, 24 Feb 2021 04:06:53 +0000 (13:06 +0900)]
[NUI] Fix build error of Tizen.NUI.Samples

- In CulledTest.cs, 'OnKeyEvent' is missed for Window KeyEvent

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Create TextLayout when parent has layout
huiyu.eun [Mon, 22 Feb 2021 05:03:42 +0000 (14:03 +0900)]
[NUI] Create TextLayout when parent has layout

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Introduce NUI Palette APIs
Woochanlee [Tue, 16 Feb 2021 11:04:00 +0000 (20:04 +0900)]
[NUI] Introduce NUI Palette APIs

3 years ago[NUI] Fix Svace defects for NUI and wearable
zhouleonlei [Mon, 22 Feb 2021 06:39:38 +0000 (14:39 +0800)]
[NUI] Fix Svace defects for NUI and wearable

3 years ago[NUI] Clean code releated to application
huiyu.eun [Tue, 16 Feb 2021 04:10:25 +0000 (13:10 +0900)]
[NUI] Clean code releated to application

- Delete Application.WindowMode
- Delete state of NewApplication without args in Run().
- Delete unused code & variable
- Change to follow NUI coding rule
- Resolve build warnings

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add Culled property as Hidden-API
Dongsug Song [Fri, 19 Feb 2021 06:20:35 +0000 (15:20 +0900)]
[NUI] Add Culled property as Hidden-API

- pair with https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/253893/
- should be merged after https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/253893/ is applied

3 years ago[NUI] Remove wrong force casting, Layer as View (#2664)
Eunki Hong [Fri, 19 Feb 2021 06:53:11 +0000 (15:53 +0900)]
[NUI] Remove wrong force casting, Layer as View (#2664)

Remove force casting at LayoutItem.cs
just change Owner.GetParent() as View;
+
tiny typo error fix

Signed-off-by: pichulia <eunkiki.hong@samsung.com>
Co-authored-by: pichulia <eunkiki.hong@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add Tizen.NUI.Components.preload (#2663)
huiyueun [Fri, 19 Feb 2021 06:42:08 +0000 (15:42 +0900)]
[NUI] Add Tizen.NUI.Components.preload (#2663)

- Add Tizen.NUI.Components.preload
- Change PreLoad to Preload

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI][VisualFittingModeType] update documentation (#2648)
Ali-Alzyoud [Fri, 19 Feb 2021 06:07:20 +0000 (08:07 +0200)]
[NUI][VisualFittingModeType] update documentation (#2648)

update description for Center,Fill modes

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Added Paused and Resumed to Tizen.NUI.Accessibility.Accessibility.SayFinishedSt...
m-bialota [Fri, 19 Feb 2021 05:57:25 +0000 (06:57 +0100)]
[NUI] Added Paused and Resumed to Tizen.NUI.Accessibility.Accessibility.SayFinishedState enum (#2647)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Parse Color from Strings (hexCode, RGB, RGBA) (#2646)
Ali-Alzyoud [Fri, 19 Feb 2021 05:12:50 +0000 (07:12 +0200)]
[NUI] Parse Color from Strings (hexCode, RGB, RGBA) (#2646)

- hexcode representation : #RGB #RGBA #RRGGBB #RRGGBBAA
- rgb representation : rgb(0-255,0-255,0-255) rgba(0-255,0-255,0-255,0.0-1.0)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add obsolete to Tizen.NUI.Components.StyleManager (#2640)
Jiyun Yang [Fri, 19 Feb 2021 05:08:14 +0000 (14:08 +0900)]
[NUI] Add obsolete to Tizen.NUI.Components.StyleManager (#2640)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoRevert "[NUI] Remove APIs which have been deprecated in API7"
Dongsug Song [Thu, 25 Feb 2021 08:06:26 +0000 (17:06 +0900)]
Revert "[NUI] Remove APIs which have been deprecated in API7"

This reverts commit 4c6d61473e4a0fadde471ab1e6291810df4ec23a.

3 years ago[NUI] Open FontSizeScale properties (#2615)
Youngbok Shin [Thu, 25 Feb 2021 03:41:09 +0000 (12:41 +0900)]
[NUI] Open FontSizeScale properties (#2615)

Co-authored-by: Youngbok Shin <youngb.shin@samsung.com>
Co-authored-by: huiyueun <35286162+huiyueun@users.noreply.github.com>
3 years agoAdd EditorBrowsableState.Never attribute at public members (#2673)
jeremy-jang [Tue, 23 Feb 2021 04:38:45 +0000 (13:38 +0900)]
Add EditorBrowsableState.Never attribute at public members (#2673)

* [ThemeManager] Add an attribute at public members

Add EditorBrowsableState.Never attribute at public members to hide
members from editor.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [ThemeManager] Remove unused using statements

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [ThemeManager] Move to src/ from internals/src

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
3 years ago[NUI] Remove APIs which have been deprecated in API7
Dongsug Song [Mon, 28 Dec 2020 07:34:12 +0000 (16:34 +0900)]
[NUI] Remove APIs which have been deprecated in API7

3 years ago[NUI] Deprecate swigCMemOwn which is not used
Dongsug Song [Thu, 24 Dec 2020 07:43:59 +0000 (16:43 +0900)]
[NUI] Deprecate swigCMemOwn which is not used

3 years ago[NUI] Deprecate Tizen.NUI.StyleManager (#2641)
Jiyun Yang [Mon, 22 Feb 2021 04:29:58 +0000 (13:29 +0900)]
[NUI] Deprecate Tizen.NUI.StyleManager (#2641)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix Xaml issue
huiyu.eun [Thu, 18 Feb 2021 07:46:12 +0000 (16:46 +0900)]
[NUI] Fix Xaml issue

Fix xaml issue,
Add property null check

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Delete exception of View.Remove accepted/tizen/unified/20210219.040944 submit/tizen/20210218.043250
huiyu.eun [Tue, 16 Feb 2021 07:41:35 +0000 (16:41 +0900)]
[NUI] Delete exception of View.Remove

VD Application error

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Version update (nui22013)
Woochanlee [Tue, 16 Feb 2021 05:13:19 +0000 (14:13 +0900)]
[NUI] Version update (nui22013)

3 years agoUpdate Control.cs
huiyueun [Mon, 15 Feb 2021 05:19:15 +0000 (14:19 +0900)]
Update Control.cs

3 years ago[NUI] Add PreLoad of Tizen.NUI.Components.Control
huiyu.eun [Thu, 4 Feb 2021 01:27:08 +0000 (10:27 +0900)]
[NUI] Add PreLoad of Tizen.NUI.Components.Control

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] remove empty space (#2642)
Ali-Alzyoud [Mon, 15 Feb 2021 07:10:04 +0000 (09:10 +0200)]
[NUI] remove empty space (#2642)

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix vertical scrollbar position bug (#2638)
Jiyun Yang [Mon, 15 Feb 2021 03:04:47 +0000 (12:04 +0900)]
[NUI] Fix vertical scrollbar position bug (#2638)

There was a copy & paste error in vertical scroll position calculator in a scrollbar.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Removed old dependency in Tizen.NUI.csproj (#2645)
m-bialota [Mon, 15 Feb 2021 01:25:50 +0000 (02:25 +0100)]
[NUI] Removed old dependency in Tizen.NUI.csproj (#2645)

* This enables building Tizen.NUI as a reference in Visual Studio
project.

3 years ago[NUI] Make hidden for un-ACR-ed Color APIs (#2635)
Jiyun Yang [Wed, 10 Feb 2021 02:14:58 +0000 (11:14 +0900)]
[NUI] Make hidden for un-ACR-ed Color APIs (#2635)

* And fix typo

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoAdd all Dali colors to NUI (#2626)
Ali-Alzyoud [Wed, 10 Feb 2021 01:15:16 +0000 (03:15 +0200)]
Add all Dali colors to NUI (#2626)

Replace NUI defines with Dali exported defines

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>