platform/core/csapi/tizenfx.git
3 years ago[NUI] Fix build error when using VS solution (sln)
dongsug.song [Tue, 13 Apr 2021 09:17:04 +0000 (18:17 +0900)]
[NUI] Fix build error when using VS solution (sln)

3 years ago[NUI] VectorGraphics: Change api name Reset to ResetPath
JunsuChoi [Wed, 14 Apr 2021 05:49:01 +0000 (14:49 +0900)]
[NUI] VectorGraphics: Change api name Reset to ResetPath

3 years ago[NUI] Tizen.NUI.Samples.CanvasView: Enhance CanvasView sample
JunsuChoi [Wed, 14 Apr 2021 02:10:00 +0000 (11:10 +0900)]
[NUI] Tizen.NUI.Samples.CanvasView: Enhance CanvasView sample

Implement shape animations using reset api

3 years ago[NUI] VectorGraphics: Add Shape.Reset api
JunsuChoi [Wed, 14 Apr 2021 02:09:01 +0000 (11:09 +0900)]
[NUI] VectorGraphics: Add Shape.Reset api

There was no way to modify or remote previously added path information.
The user can update the shape by deleting the path information
and adding a new path information by using Reset() API.

3 years ago[NUI] Add dark theme temporarily (#2905)
Jiyun Yang [Wed, 14 Apr 2021 07:22:10 +0000 (16:22 +0900)]
[NUI] Add dark theme temporarily (#2905)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoraname documentbackgroundcolor to contentbackgroundcolor
huayong.xu [Mon, 12 Apr 2021 03:01:15 +0000 (11:01 +0800)]
raname documentbackgroundcolor to contentbackgroundcolor

3 years agoraname backgroundcolor to documentbackgroundcolor
huayong.xu [Mon, 12 Apr 2021 02:51:44 +0000 (10:51 +0800)]
raname backgroundcolor to documentbackgroundcolor

3 years agoset properties by BindableProperty.
huayong.xu [Fri, 9 Apr 2021 08:25:29 +0000 (16:25 +0800)]
set properties by BindableProperty.

3 years ago[NUI] Implement some new APIs of web view.
huayong.xu [Fri, 9 Apr 2021 06:49:33 +0000 (14:49 +0800)]
[NUI] Implement some new APIs of web view.

This patch is to add some new APIs such as PageZoomFactor,
GetScreenshotAsynchronously, etc

3 years agoRevert "[NUI] Add ContentPage class"
huiyu.eun [Tue, 20 Apr 2021 06:01:15 +0000 (15:01 +0900)]
Revert "[NUI] Add ContentPage class"

This reverts commit 7fb3c5f251674a7c7d14fde04ecbf4c78220207c.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoRevert "[NUI] Dialog and AlertDialog code refactoring with adding DialogPage"
huiyu.eun [Tue, 20 Apr 2021 05:58:58 +0000 (14:58 +0900)]
Revert "[NUI] Dialog and AlertDialog code refactoring with adding DialogPage"

This reverts commit c43d2e4ec6e6a99a2a893f6950e8df69b382c519.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoRevert "[NUI] Add AlertDialogStyle class with the latest AlertDialog UX"
Jaehyun Cho [Wed, 14 Apr 2021 05:18:11 +0000 (14:18 +0900)]
Revert "[NUI] Add AlertDialogStyle class with the latest AlertDialog UX"

This reverts commit 5b3358237963183eb17db57b7440cc424b994846.

3 years ago[NUI] Keep the previously set FittingMode value
Sunghyun Kim [Tue, 6 Apr 2021 07:41:56 +0000 (16:41 +0900)]
[NUI] Keep the previously set FittingMode value

FittingMode should be applied even if Url is set later.
so ImageView need to keep the previsouly set fittingMode value.

3 years ago[NUI] Optimizing item positioning on MeasureFirst (#2895)
SangHyeon Jade Lee [Tue, 13 Apr 2021 10:59:31 +0000 (19:59 +0900)]
[NUI] Optimizing item positioning on MeasureFirst (#2895)

* [NUI] Optimizing item positioning on MeasureFirst

using List<T> Data Structure is redundant in MeasureFirst case,
and it makes worse sometimes for searching indexed item's position.
In MeasureFirst, every item has same size,
thus we can calculate it's position in linear or grouped cases.

3 years ago[NUI] Apply Padding and Margin on CollectionView and Layouter with styles (#2883)
SangHyeon Jade Lee [Tue, 13 Apr 2021 10:23:53 +0000 (19:23 +0900)]
[NUI] Apply Padding and Margin on CollectionView and Layouter with styles (#2883)

now you can define the padding in layouter independently,
and each item's padding and margin will be respected.

3 years ago[NUI] Add Animation(Internal) TCs
guowei.wang [Tue, 13 Apr 2021 03:28:49 +0000 (11:28 +0800)]
[NUI] Add Animation(Internal) TCs

3 years ago[NUI] Add AlertDialogStyle class with the latest AlertDialog UX
Jaehyun Cho [Thu, 8 Apr 2021 16:21:07 +0000 (01:21 +0900)]
[NUI] Add AlertDialogStyle class with the latest AlertDialog UX

To apply the latest AlertDialog UX, AlertDialogStyle class is added.

3 years ago[NUI] Enable TextLabel's BindableProperties to be affected by Layout change
dongsug.song [Fri, 9 Apr 2021 11:51:51 +0000 (20:51 +0900)]
[NUI] Enable TextLabel's BindableProperties to be affected by Layout change

3 years ago[NUI] AppBar code refactoring (#2861)
Jaehyun Cho [Mon, 12 Apr 2021 02:45:35 +0000 (11:45 +0900)]
[NUI] AppBar code refactoring (#2861)

To enhance usability, some APIs are added and removed as follows.

Title and Actions are added to set these properties with constructor.

SetTitle(), AddActions() and RemoveActions() are removed because the
above Title and Actions cover theses methods.

Comment's indentation is also fixed.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
3 years ago[NUI] Picker fix scroll position moves to an incorrect place after animation
Woochanlee [Wed, 7 Apr 2021 07:56:39 +0000 (16:56 +0900)]
[NUI] Picker fix scroll position moves to an incorrect place after animation

3 years ago[NUI] Fix type comparison method in PropertyHelper
Jiyun Yang [Thu, 8 Apr 2021 10:56:23 +0000 (19:56 +0900)]
[NUI] Fix type comparison method in PropertyHelper

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI][AT-SPI] Event emission added for button
Bartlomiej Grzelewski [Tue, 23 Mar 2021 16:32:53 +0000 (17:32 +0100)]
[NUI][AT-SPI] Event emission added for button

State changed ATSPI event emision added for highlight
Button. This will allow to read "Toggle button, On" and
"Toggle button, Off" by screen-reader.

3 years ago[NUI] Add Devel(internal) TCs
Dongsug Song [Tue, 6 Apr 2021 09:32:37 +0000 (18:32 +0900)]
[NUI] Add Devel(internal) TCs

3 years ago[NUI] Update reviews for IndeterminateImageUrl
Seoyeon Kim [Fri, 9 Apr 2021 01:43:04 +0000 (10:43 +0900)]
[NUI] Update reviews for IndeterminateImageUrl

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Update Progress style
Seoyeon Kim [Wed, 7 Apr 2021 11:05:20 +0000 (20:05 +0900)]
[NUI] Update Progress style

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Fix default value of VisualMap.Origin
Jiyun Yang [Tue, 6 Apr 2021 09:41:41 +0000 (18:41 +0900)]
[NUI] Fix default value of VisualMap.Origin

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Implement APIs for form repost decision & frame rendered. (#2843)
huayongxu [Thu, 8 Apr 2021 12:59:00 +0000 (20:59 +0800)]
[NUI] Implement APIs for form repost decision & frame rendered. (#2843)

* [NUI] Implement APIs for form repost decision & frame rendered.

This patch is to implement APIs for form repost decision and frame
rendered off-screen.
And properties for enabling/disabling mouse or key events are
added.

* rename RepostDecision to RepostPolicyDecided

* rename WebFormRepostDecision to WebFormRepostPolicyDecisionMaker

* delate empty WebViewFrameRenderedEventArgs.

* remove some unused functions.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI]public the converter for Xaml (#2837)
AdunFang [Thu, 8 Apr 2021 12:50:53 +0000 (20:50 +0800)]
[NUI]public the converter for Xaml (#2837)

* [NUI]public the converter for Xaml

* [NUI]public Vector3 converter

* [NUI] remove unneccessary modification

* [NUI] Fix build warning of Xaml

* [NUI] Fix build warning of Xaml

* [NUI] Remove unused code

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoApply to use RenderTaskList (#2849)
Eunki Hong [Thu, 8 Apr 2021 11:56:34 +0000 (20:56 +0900)]
Apply to use RenderTaskList (#2849)

hidden API for RenderTaskList

Signed-off-by: pichulia <eunkiki.hong@samsung.com>
Co-authored-by: pichulia <eunkiki.hong@samsung.com>
3 years ago[NUI][AT-SPI] Improve StringToVoid implementation (#2839)
Bartłomiej Grzelewski [Thu, 8 Apr 2021 10:00:32 +0000 (12:00 +0200)]
[NUI][AT-SPI] Improve StringToVoid implementation (#2839)

* Add SetResult function.
* Rename function ConvertParam1 to GetResult.
* Remove Emit function. This should be used only by bridge.

3 years ago[NUI] Fix Process of LayoutController (#2841)
huiyueun [Thu, 8 Apr 2021 07:04:22 +0000 (16:04 +0900)]
[NUI] Fix Process of LayoutController (#2841)

Add to check if layout is needed before OnMeasure
It makes performance improve of layouting.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Palette Fix incorrectly caclulated color values
Woochanlee [Wed, 7 Apr 2021 10:54:19 +0000 (19:54 +0900)]
[NUI] Palette Fix incorrectly caclulated color values

3 years ago[NUI] Add null check in Process (#2859)
huiyueun [Thu, 8 Apr 2021 03:24:01 +0000 (12:24 +0900)]
[NUI] Add null check in Process (#2859)

add null check

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Support markup anchor to TextLabel, TextField, TextEditor (#2813)
Bowon Ryu [Wed, 7 Apr 2021 10:26:26 +0000 (19:26 +0900)]
[NUI] Support markup anchor to TextLabel, TextField, TextEditor (#2813)

* [NUI] Support markup anchor to TextLabel, TextField, TextEditor

User can set href on anchors using the anchor tag <a> in markup.
and also can register AnchorClicked callback in Text components.
the AnchorClicked signal is emitted when the anchor is clicked.

example:
label.Text = "<a href='https://www.tizen.org'>Tizen</a>";
label.EnableMarkup = true;
label.AnchorClicked += (sender, e) =>
{
  Tizen.Log.Info("NUI", e.Href + "\n");
};

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
[NUI] Remove unnecessary codes.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
* [NUI] Change the name of signal to AnchorClicked.

To prevent confusion with TouchSignal(),
the name of signal was changed to AnchorClicked.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoAdd Extension method to help use PropertyMap class
Seungkeun Lee [Wed, 7 Apr 2021 02:40:49 +0000 (11:40 +0900)]
Add Extension method to help use PropertyMap class

3 years ago[NUI] Fix Window.Instance null issue
huiyu.eun [Wed, 7 Apr 2021 01:38:18 +0000 (10:38 +0900)]
[NUI] Fix Window.Instance null issue

If call Window.Instance before initializing, Window.Instance is always null

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Fix not to block touch event by Scrollbar (#2845)
Jaehyun Cho [Tue, 6 Apr 2021 14:47:16 +0000 (23:47 +0900)]
[NUI] Fix not to block touch event by Scrollbar (#2845)

Now, Scrollbar blocks touch events to ScrollableBase's Contents.

Since Scrollbar does not support Handler mode now, Scrollbar's
EnableControlState is set to be false not to catch TouchEvent.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Co-authored-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
3 years ago[NUI] fix wrong condition on string null check
EverLEEst(SangHyeon Jade Lee) [Tue, 6 Apr 2021 09:12:37 +0000 (18:12 +0900)]
[NUI] fix wrong condition on string null check

3 years ago[NUI] update scollbar : fix build error.
EverLEEst(SangHyeon Jade Lee) [Mon, 29 Mar 2021 12:07:42 +0000 (21:07 +0900)]
[NUI] update scollbar : fix build error.

3 years ago[NUI] fix thumb resource string null check
EverLEEst(SangHyeon Jade Lee) [Mon, 29 Mar 2021 10:27:02 +0000 (19:27 +0900)]
[NUI] fix thumb resource string null check

3 years ago[NUI] fix scroll bar resources and add samples
EverLEEst(SangHyeon Jade Lee) [Mon, 29 Mar 2021 10:12:12 +0000 (19:12 +0900)]
[NUI] fix scroll bar resources and add samples

3 years ago[NUI] : Scrollbar thumb support image and update styles
SangHyeon Jade Lee [Tue, 23 Mar 2021 06:34:57 +0000 (15:34 +0900)]
[NUI] : Scrollbar thumb support image and update styles

Change thumb View to ImageView to support image and color properly.

Add new property for thumb images on Scrollbar and ScrollbarStyle.
- ThumbVerticalImageUrl
- ThumbHorizontalImageUrl

Add new image resource for thumb image.
- nui_component_default_scroll_vbar.#.png
- nui_component_default_scroll_hbar.#.png

Now color can be color of background for thumb when image is not
existed, or color of image if url is existed.

3 years ago[NUI] Fix button layout when resize policy is FillToParent and etc. (#2809)
huiyu.eun [Tue, 20 Apr 2021 05:46:42 +0000 (14:46 +0900)]
[NUI] Fix button layout when resize policy is FillToParent and etc. (#2809)

* Add ItemAlignment property to make it "center" for a Button and "begin" for others.
* Add ItemSpacing to set space between icon and text.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add TextLabel, TextField, TextEditor style and theme. (#2838)
Bowon Ryu [Tue, 6 Apr 2021 04:13:31 +0000 (13:13 +0900)]
[NUI] Add TextLabel, TextField, TextEditor style and theme. (#2838)

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years ago[NUI] Fix argument issue when launch application on ubuntu (#2827)
huiyueun [Mon, 5 Apr 2021 23:04:43 +0000 (08:04 +0900)]
[NUI] Fix argument issue when launch application on ubuntu (#2827)

args[0] value is this.
 ->Tizen.NUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=eba370b203a2e242

So can't set using argument value.
 ex) dotnet run --width 100 --height --100

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Introduce NUI DatePicker
huiyu.eun [Tue, 20 Apr 2021 05:38:17 +0000 (14:38 +0900)]
[NUI] Introduce NUI DatePicker

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Picker style update
Woochanlee [Thu, 1 Apr 2021 04:06:46 +0000 (13:06 +0900)]
[NUI] Picker style update

3 years ago[NUI] Introduce NUI TimePicker
Woochanlee [Wed, 31 Mar 2021 12:11:00 +0000 (21:11 +0900)]
[NUI] Introduce NUI TimePicker

3 years ago[NUI][AT-SPI] Add Accessibility.StopReading() (#2814)
Artur Świgoń [Fri, 2 Apr 2021 10:34:09 +0000 (12:34 +0200)]
[NUI][AT-SPI] Add Accessibility.StopReading() (#2814)

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
3 years ago[NUI] Add TextEditorStyle and theme example code (#2778)
Jiyun Yang [Fri, 2 Apr 2021 02:16:03 +0000 (11:16 +0900)]
[NUI] Add TextEditorStyle and theme example code (#2778)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI][AT-SPI] Highlight bindings (#2752)
Bartłomiej Grzelewski [Fri, 2 Apr 2021 01:42:00 +0000 (03:42 +0200)]
[NUI][AT-SPI] Highlight bindings (#2752)

Highlight bindings for accessibility.

Co-authored-by: Seoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
3 years ago[NUI] Fix gather assembly for xaml
Xianbing Teng [Mon, 12 Apr 2021 12:41:42 +0000 (20:41 +0800)]
[NUI] Fix gather assembly for xaml

3 years ago[Peripheral] Fix Dispose pattern in Tizen.Peripheral (#2737)
xerrni [Thu, 15 Apr 2021 22:52:41 +0000 (00:52 +0200)]
[Peripheral] Fix Dispose pattern in Tizen.Peripheral (#2737)

* [Peripheral] Fix Dispose pattern in Tizen.Peripheral

Signed-off-by: Ernest Borowski <e.borowski@samsung.com>
* [Peripheral] check if parameter is not null.

Signed-off-by: Ernest Borowski <e.borowski@samsung.com>
3 years ago[NUI] Make build correctly
Jaehyun Cho [Wed, 14 Apr 2021 07:57:41 +0000 (16:57 +0900)]
[NUI] Make build correctly

3 years agoRevert "Revert "[NUI] Add AlertDialogStyle class with the latest AlertDialog UX""
Jaehyun Cho [Wed, 14 Apr 2021 07:57:24 +0000 (16:57 +0900)]
Revert "Revert "[NUI] Add AlertDialogStyle class with the latest AlertDialog UX""

This reverts commit 18a2050cf2890d02668449571e5950ef3c3faf42.

3 years agoRevert "Revert "[NUI] Dialog and AlertDialog code refactoring with adding DialogPage""
Jaehyun Cho [Wed, 14 Apr 2021 07:57:19 +0000 (16:57 +0900)]
Revert "Revert "[NUI] Dialog and AlertDialog code refactoring with adding DialogPage""

This reverts commit 357f3d0b82bd7a184f02abf6286ebcd1eaddbf6f.

3 years agoRevert "Revert "[NUI] Add ContentPage class""
Jaehyun Cho [Wed, 14 Apr 2021 07:56:12 +0000 (16:56 +0900)]
Revert "Revert "[NUI] Add ContentPage class""

This reverts commit 3a0f69a36aa1812040731237d4a9aeefd4c4a2a8.

3 years ago[NUI] View Transition with page switching
Seungho Baek [Tue, 2 Mar 2021 15:33:22 +0000 (00:33 +0900)]
[NUI] View Transition with page switching

Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years ago[NUI] Change CornerRadius type to Vector4 from float (#2863)
Jiyun Yang [Thu, 8 Apr 2021 07:32:32 +0000 (16:32 +0900)]
[NUI] Change CornerRadius type to Vector4 from float (#2863)

Note that, only X value of Vector4 will be applied to the view until dali support it.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Make all property setters in Shadow class to internal (#2812)
Jiyun Yang [Tue, 6 Apr 2021 07:14:37 +0000 (16:14 +0900)]
[NUI] Make all property setters in Shadow class to internal (#2812)

Instead in xaml, shadow can be a simple string such as,
"10.0 | #FF0000FFF", which means 10 blurRadius and red color.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[Bluetooth][Non-ACR] Fix BluetoothDevice data converting issue (#2887)
Wootak Jung [Tue, 13 Apr 2021 04:25:54 +0000 (13:25 +0900)]
[Bluetooth][Non-ACR] Fix BluetoothDevice data converting issue (#2887)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years ago[WebView] Support request intercept (#2842)
younghajung [Mon, 12 Apr 2021 05:49:16 +0000 (14:49 +0900)]
[WebView] Support request intercept (#2842)

This patch is cherry-picked from API8.

This patch adds internal APIs to support request intercept.
Plus, adds APIs for remote inspect.

Signed-off-by: yh106.jung <yh106.jung@samsung.com>
3 years agoRevert "[NUI] Button text ellipsis enabled and etc. (#2772)" (#2858)
huiyueun [Thu, 8 Apr 2021 01:10:34 +0000 (10:10 +0900)]
Revert "[NUI] Button text ellipsis enabled and etc. (#2772)" (#2858)

This reverts commit 86409caf7bffd2b7b3e0aa7a827a51b449938b1e.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Picker fix a defect that could refer to null pointer
Woochanlee [Thu, 1 Apr 2021 03:01:07 +0000 (12:01 +0900)]
[NUI] Picker fix a defect that could refer to null pointer

WGID: 458476

3 years ago[NUI] VectorGraphics: Modify code format
JunsuChoi [Tue, 30 Mar 2021 05:10:31 +0000 (14:10 +0900)]
[NUI] VectorGraphics: Modify code format

3 years ago[NUI] VectorGraphics: Add exception handling for Drawable.Transform()
JunsuChoi [Wed, 24 Mar 2021 02:19:44 +0000 (11:19 +0900)]
[NUI] VectorGraphics: Add exception handling for Drawable.Transform()

3 years ago[NUI] VectorGraphcis: Change StrokeDash type from List to ReadOnlyCollection.
JunsuChoi [Wed, 24 Mar 2021 01:58:36 +0000 (10:58 +0900)]
[NUI] VectorGraphcis: Change StrokeDash type from List to ReadOnlyCollection.

3 years ago[NUI] VectorGraphics: Remove exception throw in getter (CA1065)
JunsuChoi [Tue, 23 Mar 2021 09:37:16 +0000 (18:37 +0900)]
[NUI] VectorGraphics: Remove exception throw in getter (CA1065)

3 years ago[NUI] CanvasView: Change Set and Get APIs to Property
JunsuChoi [Tue, 23 Mar 2021 08:09:01 +0000 (17:09 +0900)]
[NUI] CanvasView: Change Set and Get APIs to Property

3 years ago[NUI] CanvasView: Add Exception handling and license
JunsuChoi [Tue, 23 Mar 2021 06:29:57 +0000 (15:29 +0900)]
[NUI] CanvasView: Add Exception handling and license

3 years ago[NUI] Change Paint to Drawable and fix typo
JunsuChoi [Fri, 19 Mar 2021 07:52:08 +0000 (16:52 +0900)]
[NUI] Change Paint to Drawable and fix typo

3 years agoBaseComponent: Introduce CanvasView component for vector primitives.
JunsuChoi [Thu, 18 Mar 2021 08:40:22 +0000 (17:40 +0900)]
BaseComponent: Introduce CanvasView component for vector primitives.

CanvasView draws Vector Primitives using ThorVG library.
CanvasView can draw a shape in its internal buffer by adding a Shape object.
Shape is a command list based on Path. Fill and Stroke properties can be set using setters and getters.
Paint is a parent class of Shape and it has common class of classes to be added later (Scene, etc.).

Classes
  Tizen.NUI.BaseComponents.VectorGraphics.CanvasView
  Tizen.NUI.BaseComponents.VectorGraphics.Paint
  Tizen.NUI.BaseComponents.VectorGraphics.Shape

Dependancy
  Dali-Toolkit : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/250398/
  Dali-Adaptor : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/250466/
  ThorVG : https://github.com/Samsung/thorvg

Example
  test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/CanvasViewSamsple.cs

3 years ago[NUI] Fix not to check non-nullable value (#2819)
Jaehyun Cho [Wed, 31 Mar 2021 09:02:32 +0000 (18:02 +0900)]
[NUI] Fix not to check non-nullable value (#2819)

NavigatorPages always contains non-nullable values.
Therefore, to resolve svace issue (DEREF_AFTER_NULL), null pointer check
is not done for non-nullable values.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Suppress CA1054 and CA1056 (forced to use Uri) and clean code (#2811)
Jiyun Yang [Wed, 31 Mar 2021 08:50:30 +0000 (17:50 +0900)]
[NUI] Suppress CA1054 and CA1056 (forced to use Uri) and clean code (#2811)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add a method to create a toast in Notification and etc. (#2800)
Jiyun Yang [Wed, 31 Mar 2021 08:35:11 +0000 (17:35 +0900)]
[NUI] Add a method to create a toast in Notification and etc. (#2800)

* Add a method to create a toast in Notification class.
* Fix wrong argument exception usage.
* Add mroe description in Post method.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add to check xaml image resource (#2799)
huiyueun [Wed, 31 Mar 2021 08:13:41 +0000 (17:13 +0900)]
[NUI] Add to check xaml image resource (#2799)

- If we create button by xaml, we can't set child resource
- Add BackgroundImage checker for xaml

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Selector class implements ICollection and etc. (#2796)
Jiyun Yang [Wed, 31 Mar 2021 08:02:45 +0000 (17:02 +0900)]
[NUI] Selector class implements ICollection and etc. (#2796)

* Selector implements ICollection to get priority of items.
* property getters don't throw an exception.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add TabButtonStyle class with the latest TabButton UX (#2780)
Jaehyun Cho [Wed, 31 Mar 2021 07:38:59 +0000 (16:38 +0900)]
[NUI] Add TabButtonStyle class with the latest TabButton UX (#2780)

To apply the latest TabButton UX, TabButtonStyle class is added.

TabButtonStyle.TopLine and TabButtonStyle.BottomLine are displayed when
TabButton is pressed or selected.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
3 years ago[NUI] Introduce NUI Picker (#2769)
Woochan [Wed, 31 Mar 2021 07:16:46 +0000 (16:16 +0900)]
[NUI] Introduce NUI Picker (#2769)

Co-authored-by: Woochanlee <wc0917.lee@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Update recyclerView item and styles.add missing patches files.
EverLEEst(SangHyeon Jade Lee) [Mon, 29 Mar 2021 12:02:18 +0000 (21:02 +0900)]
[NUI] Update recyclerView item and styles.add missing patches files.

3 years ago[NUI] Update recyclerView items and styles.
EverLEEst(SangHyeon Jade Lee) [Mon, 29 Mar 2021 11:22:06 +0000 (20:22 +0900)]
[NUI] Update recyclerView items and styles.

3 years agoImplement CameraView (#2680)
JoogabYun [Tue, 30 Mar 2021 07:58:05 +0000 (16:58 +0900)]
Implement CameraView (#2680)

3 years ago[NUI] Fix NUI svace issue (#2817)
huiyueun [Wed, 31 Mar 2021 09:17:09 +0000 (18:17 +0900)]
[NUI] Fix NUI svace issue (#2817)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoRemove async keyword from SendAndReceiveAsync() method (#2801)
hjhun [Wed, 31 Mar 2021 07:52:37 +0000 (16:52 +0900)]
Remove async keyword from SendAndReceiveAsync() method (#2801)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years ago[MachineLearning.Inference] Fix the Svace issue (#2821)
Sangjung Woo [Wed, 31 Mar 2021 06:41:27 +0000 (15:41 +0900)]
[MachineLearning.Inference] Fix the Svace issue (#2821)

This patch fixes the svace issue.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
3 years ago[NUI] Fix NUI.Components test case fail (#2815)
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>
3 years ago[NUI] Add some comments for NUI Layout (#2804)
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>
3 years ago[NUI] Fix NUI Svace issue (#2806)
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>
3 years ago[NUI] Change button theme to show Focused+Pressed state well.
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>
3 years agoMove state calculation to Button class
Bartlomiej Grzelewski [Mon, 22 Mar 2021 16:34:24 +0000 (17:34 +0100)]
Move state calculation to Button class

3 years ago[NUI] Add Apis of Webview Settings.
guowei.wang [Wed, 24 Mar 2021 12:14:25 +0000 (20:14 +0800)]
[NUI] Add Apis of Webview Settings.

3 years ago[NUI] NUI_DevelNUI_layout_null_issue (#2792)
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>
3 years ago[NUI] Add GrabHandleColor property (#2776)
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>
3 years ago[NUI] Fix TabButton not to invoke duplicate SelectedChanged (#2775)
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>
3 years ago[NUI] TextLayout can consider specified maximum width. (#2774)
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>
3 years ago[NUI] Add Progress Indeterminate mode (#2733)
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>
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>