Seoyeon2Kim [Wed, 31 Mar 2021 02:18:29 +0000 (11:18 +0900)]
[NUI] Fix NUI.Components test case fail (#2815)
- Should have added null check for indeterminateImage instance
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Seoyeon2Kim [Tue, 30 Mar 2021 04:03:16 +0000 (13:03 +0900)]
[NUI] Add some comments for NUI Layout (#2804)
- To avoid confusion of NUI Layout terms, add some summaries to `View` class.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
huiyueun [Tue, 30 Mar 2021 01:52:43 +0000 (10:52 +0900)]
[NUI] Fix NUI Svace issue (#2806)
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Jiyun Yang [Thu, 25 Mar 2021 02:56:40 +0000 (11:56 +0900)]
[NUI] Change button theme to show Focused+Pressed state well.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Bartlomiej Grzelewski [Mon, 22 Mar 2021 16:34:24 +0000 (17:34 +0100)]
Move state calculation to Button class
guowei.wang [Wed, 24 Mar 2021 12:14:25 +0000 (20:14 +0800)]
[NUI] Add Apis of Webview Settings.
huiyueun [Sun, 28 Mar 2021 23:39:40 +0000 (08:39 +0900)]
[NUI] NUI_DevelNUI_layout_null_issue (#2792)
need to check 'value'
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Bowon Ryu [Wed, 24 Mar 2021 04:24:56 +0000 (13:24 +0900)]
[NUI] Add GrabHandleColor property (#2776)
GrabHandleColor property can set the color of grab handle in TextField/TextEditor.
exmaple)
field.GrabHandleColor = new Color(0.0f, 1.0f, 0.0f, 1.0f);
this patch should be merged after below patches are applied.
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/255726/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/255739/
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
[NUI] Use Color type instead of Vector4 for GrabHandleColor
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
[NUI] Add missing code for GrabHandleColor
field.GrabHandleColor = new Color(0.0f, 1.0f, 0.0f, 1.0f);
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
[NUI] Replace Vector4 with Color in TextField/TextEditorBindableProperty
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Jaehyun Cho [Tue, 23 Mar 2021 12:48:05 +0000 (21:48 +0900)]
[NUI] Fix TabButton not to invoke duplicate SelectedChanged (#2775)
TabButton does not change its state to unselected if button or key is
unpressed while its state is selected.
Previously, TabButton invoked duplicate SelectedChanged if button or key
is unpressed while its state is selected.
Now, TabButton does not invoke duplicate SelectedChanged if button or
key is unpressed while its state is selected.
Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Jiyun Yang [Tue, 23 Mar 2021 07:05:10 +0000 (16:05 +0900)]
[NUI] TextLayout can consider specified maximum width. (#2774)
Previsouly, the Layout system did not reflect TextLabel's maximum size, so the following example did't work corrrectly,
```C#
var view = new View()
{
Layout = new LinearLayout() { LinearOrientation = LinearLayout.Orientation.Horizontal, },
};
view.Add(new TextLabel() { MaximumSize = new Size2D(50, 50), Text = "Helloooooooooooooooooo!" });
view.Add(new TextLabel() { MaximumSize = new Size2D(50, 50), Text = "Helloooooooooooooooooo!" });
NUIApplication.GetDefaultWindow().Add(view);
```
The x-position of the second child was calculated based on the first child's natutal width,
but the first child's actual width was limited by MaximumSize(50).
So this patch update the TextLabel's layout to make it consider the maxmimum size of the view.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Co-authored-by: huiyueun <35286162+huiyueun@users.noreply.github.com>
Seoyeon2Kim [Tue, 23 Mar 2021 05:28:08 +0000 (14:28 +0900)]
[NUI] Add Progress Indeterminate mode (#2733)
* [NUI] Add Progress Indeterminate mode
- Indeterminate type means an unspecified amount of wait time.
If `ProgressState` property sets `ProgressStatusType.Indeterminate` mode,
then progress is continually repeating until the process in complete.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* Fix build warning
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* Update Progress based on review
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
Dongsug Song [Thu, 18 Mar 2021 09:30:46 +0000 (18:30 +0900)]
Revert "[NUI] Clean up View's Events"
This reverts commit
c0df2f273c77d7655df2d9c15d005a72d71431d7.
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>
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>
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>
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>
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.
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>
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.
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.
Joogab Yun [Mon, 15 Mar 2021 03:55:54 +0000 (12:55 +0900)]
[NUI] change type from Size2D to Size at TouchArea api
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.
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>
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.
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>
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>
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>
Dongsug Song [Thu, 11 Mar 2021 01:52:46 +0000 (10:52 +0900)]
[NUI] Clean up View's Events
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>
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>
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>
Woochanlee [Wed, 10 Mar 2021 04:29:21 +0000 (13:29 +0900)]
[NUI] Introduce NUI Palette APIs
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
Wonsik Jung [Wed, 3 Mar 2021 04:32:46 +0000 (13:32 +0900)]
[NUI] Version update (nui22015)
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>
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>
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>
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>
zhouleonlei [Mon, 1 Mar 2021 06:16:34 +0000 (14:16 +0800)]
[NUI] Fix svace issues for wearable
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>
Dongsug Song [Fri, 26 Feb 2021 03:39:49 +0000 (12:39 +0900)]
[NUI] Fix Tizen.NUI.Samples build errors
huiyueun [Thu, 25 Feb 2021 23:37:46 +0000 (08:37 +0900)]
Delete Palette.cs
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>
WonYoung Choi [Wed, 3 Mar 2021 06:36:58 +0000 (15:36 +0900)]
[Cov] Fix coverage.sh (#2701)
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.
Dongsug Song [Thu, 25 Feb 2021 08:47:51 +0000 (17:47 +0900)]
[NUI] Add license, delete unnecessary code (#2679)
This reverts commit
cd2c16f80f6ced4f8076ce376b9bcf2df0c62919.
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.
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.
Dongsug Song [Mon, 28 Dec 2020 07:34:12 +0000 (16:34 +0900)]
[NUI] Remove APIs which have been deprecated in API7
Woochan [Thu, 25 Feb 2021 04:11:57 +0000 (13:11 +0900)]
Revert "[NUI] Introduce NUI Palette APIs"
This reverts commit
16cd06ebeae122dccbd7d193ca0eb63cae210ccb.
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>
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>
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
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>
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>
Woochanlee [Tue, 16 Feb 2021 11:04:00 +0000 (20:04 +0900)]
[NUI] Introduce NUI Palette APIs
zhouleonlei [Mon, 22 Feb 2021 06:39:38 +0000 (14:39 +0800)]
[NUI] Fix Svace defects for NUI and wearable
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>
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
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>
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>
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>
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>
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>
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>
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.
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>
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>
Dongsug Song [Mon, 28 Dec 2020 07:34:12 +0000 (16:34 +0900)]
[NUI] Remove APIs which have been deprecated in API7
Dongsug Song [Thu, 24 Dec 2020 07:43:59 +0000 (16:43 +0900)]
[NUI] Deprecate swigCMemOwn which is not used