Bowon Ryu [Mon, 30 Aug 2021 06:07:55 +0000 (15:07 +0900)]
[NUI] Add SelectionHandleImage struct to Text Components
Add a SelectionHandleImage struct to pass data
of DALi SelectionHandleImageLeft, SelectionHandleImageRight PropertyMap.
The SelectionHandleImage struct can be used as an argument to
SetSelectionHandleImage, GetSelectionHandleImage, SetSelectionHandlePressedImage, GetSelectionHandlePressedImage,
SetSelectionHandleMarkerImage and GetSelectionHandleMarkerImage methods.
// example
var selectionHandleImage = new Tizen.NUI.Text.SelectionHandleImage();
selectionHandleImage.LeftImageUrl = "handle_downleft.png";
selectionHandleImage.RightImageUrl = "handle_downright.png";
field.SetSelectionHandleImage(selectionHandleImage);
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Thu, 26 Aug 2021 05:40:40 +0000 (14:40 +0900)]
[NUI] Use BindableProperty in struct get/set methods
In struct get/set methods, use BindableProperty instead of directly accessing internal properties.
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Wed, 25 Aug 2021 08:18:18 +0000 (17:18 +0900)]
[NUI] Add SetHiddenInput, GetHiddenInput to TextField
Add a HiddenInput struct to pass data of DALi HiddenInputSettings PropertyMap.
The HiddenInput struct can be used as an argument to
SetHiddenInput and GetHiddenInput methods.
// example
var hiddenInput = new Tizen.NUI.Text.HiddenInput();
hiddenInput.Mode = HiddenInputModeType.ShowLastCharacter;
hiddenInput.SubstituteCharacter = '★';
hiddenInput.SubstituteCount = 0;
hiddenInput.ShowLastCharacterDuration = 1000;
field.SetHiddenInput(hiddenInput);
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Thu, 12 Aug 2021 10:16:21 +0000 (19:16 +0900)]
[NUI] Add SetPlaceholder, GetPlaceholder to TextField, TextEditor
Add a Placeholder struct to pass data of DALi Placeholder PropertyMap.
The Placeholder struct can be used as an argument to
SetPlaceholder and GetPlaceholder methods.
// example
var placeholder = new Tizen.NUI.Text.Placeholder();
placeholder.Text = "placeholder text";
placeholder.TextFocused = "placeholder textFocused";
placeholder.Color = new Color("#45B39D");
placeholder.FontFamily = "BreezeSans";
placeholder.FontStyle = new Tizen.NUI.Text.FontStyle()
{
Width = FontWidthType.Expanded,
Weight = FontWeightType.ExtraLight,
Slant = FontSlantType.Italic,
};
placeholder.PointSize = 25.0f;
//placeholder.PixelSize = 50.0f;
placeholder.Ellipsis = true;
field.SetPlaceholder(placeholder);
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Fang Xiaohui [Fri, 3 Sep 2021 01:03:58 +0000 (09:03 +0800)]
[EXaml] Remove unused comment
Fang Xiaohui [Fri, 3 Sep 2021 01:02:26 +0000 (09:02 +0800)]
[EXaml] Remove unused comment
Fang Xiaohui [Fri, 3 Sep 2021 01:00:34 +0000 (09:00 +0800)]
[EXaml] 1. Add copyright; 2. Add new line at the end of file
Fang Xiaohui [Tue, 31 Aug 2021 08:11:51 +0000 (16:11 +0800)]
[EXaml] Support Trigger in EXaml
guowei.wang [Tue, 31 Aug 2021 12:51:09 +0000 (20:51 +0800)]
[NUI] Update TCs of NUI.Devel.
Haesu Gwon [Tue, 7 Sep 2021 06:19:21 +0000 (15:19 +0900)]
[WebRTC] Add CreateOffer/AnswerAsync method (#3506)
Haesu Gwon [Tue, 7 Sep 2021 06:14:44 +0000 (15:14 +0900)]
[ScreenMirroring] Fix exception bug (#3515)
Haesu Gwon [Tue, 7 Sep 2021 05:54:58 +0000 (14:54 +0900)]
[MediaPlayer] Support Video and UI sync mode (#3510)
Haesu Gwon [Tue, 7 Sep 2021 01:47:18 +0000 (10:47 +0900)]
[MediaContent] Use MediaContent internal free method (#3508)
jay [Tue, 31 Aug 2021 12:56:30 +0000 (21:56 +0900)]
Fix unhandled exception while calling CoRegister
Haesu Gwon [Mon, 6 Sep 2021 06:25:39 +0000 (15:25 +0900)]
[MediaContent] Support ebook format (#3374)
* [MediaContent] Support ebook format
Haesu Gwon [Mon, 6 Sep 2021 06:16:48 +0000 (15:16 +0900)]
[ScreenMirroring] Add ConnectAsync method to support port selection (#3412)
* [ScreenMirroring] Add ConnectAsync method to support port selection
Haesu Gwon [Mon, 6 Sep 2021 03:21:04 +0000 (12:21 +0900)]
[ImageUtil] Support HEIF decoder (#3447)
* [ImageUtil] Support HEIF decoder
Haesu Gwon [Mon, 6 Sep 2021 02:29:31 +0000 (11:29 +0900)]
[WebRTC] Remove wrong state check code (#3500)
Haesu Gwon [Thu, 2 Sep 2021 13:41:26 +0000 (22:41 +0900)]
[Camera] Add internal constructor (#3489)
* [Camera] Add internal constructor and code clean
Jihoon Kim [Tue, 17 Aug 2021 07:27:53 +0000 (16:27 +0900)]
Add SetSize API for NUI IME
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
huiyu [Wed, 1 Sep 2021 06:35:02 +0000 (15:35 +0900)]
[NUI] Fix Layout Performance Issue (#3484)
Layout Process should be registered only once.
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
huiyu.eun [Tue, 31 Aug 2021 09:41:02 +0000 (18:41 +0900)]
[NUI] Fix to follow c# coding rule
Follow C# Coding rule
- reposition the type of class
- delete unusued using state
- follow event naming rule
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Seoyeon2Kim [Tue, 31 Aug 2021 08:37:20 +0000 (17:37 +0900)]
[NUI][ATSPI] Add a function to check whether accessibility is enabled (#3463)
* [NUI][ATSPI] Add a function to check whether accessibility is enabled
- Added `IsEnabled` to check accessibility state
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* Change the type of Enabled to property
- Make `Enabled` both static and property.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
huayongxu [Tue, 31 Aug 2021 05:57:06 +0000 (13:57 +0800)]
[NUI] Replace XXXList with IList<XXX>. (#3468)
Fang Xiaohui [Wed, 25 Aug 2021 02:35:04 +0000 (10:35 +0800)]
[Xaml] Remove underline in member's name
Fang Xiaohui [Wed, 25 Aug 2021 02:24:56 +0000 (10:24 +0800)]
[Xaml] Remove underline in member's name
Fang Xiaohui [Wed, 25 Aug 2021 02:20:13 +0000 (10:20 +0800)]
[Xaml] Add MergeStyle to View
Fang Xiaohui [Wed, 25 Aug 2021 01:54:09 +0000 (09:54 +0800)]
[Xaml] Remove code of VisualState
Fang Xiaohui [Mon, 23 Aug 2021 06:39:12 +0000 (14:39 +0800)]
[Xaml] Modify by HQ's feedback
Fang Xiaohui [Fri, 20 Aug 2021 06:11:17 +0000 (14:11 +0800)]
[Xaml] Support Trigger in Xaml
Jiyun Yang [Mon, 30 Aug 2021 08:46:45 +0000 (17:46 +0900)]
[NUI] Remove duplicate class WebContextMenuItemList (#3464)
The class WebContextMenuItemList is cenceptually same as WebContextMenu.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
joogab.yun [Fri, 20 Aug 2021 05:33:13 +0000 (14:33 +0900)]
[NUI] Add FocusableChildren
seungho [Tue, 17 Aug 2021 06:15:00 +0000 (15:15 +0900)]
[NUI] Refactoring Transition and FadeTransition
- Change Fade to FadeTransition.
- Remove Default AppearingTransition/DisappearingTransition of Page
Signed-off-by: seungho <sbsh.baek@samsung.com>
Eunki Hong [Fri, 27 Aug 2021 08:59:49 +0000 (17:59 +0900)]
[NUI] Allow to set Size.Depth (#3442)
Previous version set dali-side size first, and set Width/Height Specification.
But int Width/Height Specification setter, they also call Size2D property set.
Unfortunatly, Size2DProperty doesn't care about the depths of view.
So the Depth value is gone.
This patch re-ordering the function call to set dali-side size later
so Size.Depth will works well.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
tscholb [Thu, 26 Aug 2021 11:55:49 +0000 (07:55 -0400)]
[NUI] Add description for ImageView
This PR added descritoon for ImageView Property
JunsuChoi [Tue, 24 Aug 2021 04:52:01 +0000 (13:52 +0900)]
Rebase master (#3453)
* [Tizen.System.SystemSettings] Remove lock about invoking event (#3433)
Signed-off-by: JinWang An <jinwang.an@samsung.com>
* [ScreenMirroring] Support NUI window (#3413)
Co-authored-by: JinWang An <35290168+jinwangan@users.noreply.github.com>
Co-authored-by: Haesu Gwon <haesu.gwon@samsung.com>
Haesu Gwon [Tue, 31 Aug 2021 07:29:15 +0000 (16:29 +0900)]
[WebRTC] Fix destroy bug and code clean (#3476)
* [WebRTC] Fix destroy bug and code clean
Seonah Moon [Tue, 31 Aug 2021 03:52:26 +0000 (12:52 +0900)]
[NSD] Add new GetTxtRecords api (#3353)
* [NSD] Add new GetTxtRecords api
Related PR: https://github.com/Samsung/TizenFX/pull/2418
* Update src/Tizen.Network.Nsd/Tizen.Network.Nsd/DnssdService.cs
Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
* Update src/Tizen.Network.Nsd/Tizen.Network.Nsd/DnssdService.cs
Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
* Fix build error
Error: Tizen.Network.Nsd/DnssdService.cs(273,20): error CS0128: A local variable or function named 'txtValue' is already defined in this scope
Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
Wootak Jung [Sun, 29 Aug 2021 23:10:37 +0000 (08:10 +0900)]
[Bluetooth][TCSACR-437] Add GATT related APIs (#3377)
BluetoothGattServer.GetAttMtu(string clientAddress)
BluetoothGattClient.ServiceChanged
ServiceChangedEventArgs
BluetoothGattServiceChangeType
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wonsik Jung [Fri, 27 Aug 2021 04:23:50 +0000 (13:23 +0900)]
Change API names
Wonsik Jung [Mon, 9 Aug 2021 08:06:42 +0000 (17:06 +0900)]
Add Window Test file
add new window test file and fix build error for UTC.
Wonsik Jung [Fri, 6 Aug 2021 11:18:11 +0000 (20:18 +0900)]
Change the name with meaningful.
Wonsik Jung [Fri, 6 Aug 2021 09:02:53 +0000 (18:02 +0900)]
Add input regions APIs
Add input regions APIs about adding input area and subtracting.
abdullehghujeh [Fri, 27 Aug 2021 02:00:59 +0000 (05:00 +0300)]
[NUI] Add SelectionCleared Event (#3446)
* Add SelectionCleared Event
* [NUI] rename parameters + rebase
* [NUI] remove unnecessary if statement
* [NUI] remove unnecessary use of EventArgs
Co-authored-by: abdullah <abdullahhasan10@gmail.com>
abdullehghujeh [Thu, 26 Aug 2021 06:33:37 +0000 (09:33 +0300)]
[NUI] Remove old event args from SelectionChanged and CursorPositionC… (#3467)
* [NUI] Remove old event args from SelectionChanged and CursorPositionChanged
* [NUI] remove unnecessary use of EventArgs
Co-authored-by: abdullah <abdullahhasan10@gmail.com>
Eunki Hong [Wed, 25 Aug 2021 06:33:21 +0000 (15:33 +0900)]
[NUI] Remove ReleaseFunction enum at PixelData with legacy
PixelData buffer's allocate / release function is only need for C++ side memory.
And C# cannot control that allocation method.
So ReleaseFunction enum is unneccesary arguments at NUI.
But now, Tize.TV.FLUX use this ReleaseFunction.
So we leave it and will be deprecated later.
Signed-off-by: Eunki Hong <h.pichulia@gmail.com>
SaraMohSamara [Tue, 24 Aug 2021 10:43:39 +0000 (13:43 +0300)]
[NUI] Copy, Paste & Cut Public APIs (#3450)
[NUI] Adding the Copy, Cut and paste public APIs to NUI.
Added:
string CopyText() //Copy and return the selected text.
- This function will copy the previously selected string into the clipboard and will return it.
string CutText() //Cut and return the selected text.
- This function will cut the previously selected string into the clipboard and will return it.
void PasteText() //Paste the most recently copied/cut text.
- This function will paste the most recent string in the clipboard stack into the text control.
JunsuChoi [Tue, 24 Aug 2021 05:15:19 +0000 (14:15 +0900)]
Revert "Rebase master (#3453)"
This reverts commit
7daa6113a4a685c9abba2af3ee997e73da56f536.
niraj-g [Thu, 26 Aug 2021 03:26:53 +0000 (08:56 +0530)]
Add missing lock condition. (#3422)
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
JunsuChoi [Wed, 25 Aug 2021 02:23:51 +0000 (11:23 +0900)]
Revert "Remove ReleaseFunction enum at PixelData (#3436)"
This reverts commit
c2951987b9232e1fe24c8d2d98334fbb3ed03327.
Sangjung Woo [Wed, 25 Aug 2021 01:10:08 +0000 (10:10 +0900)]
[MachineLearning.Inference] Add new enum value for NN Framework & HW Type (#3370)
Since NNStreamer starts to support new NN Framework and HW Type such as
VD AIFW and SR S.LSI NPU.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Haesu Gwon [Wed, 25 Aug 2021 00:54:54 +0000 (09:54 +0900)]
[WebRTC] Add initial code (#2977)
* [Tizen.Multimedia.Remoting] Support WebRTC feature
JunsuChoi [Tue, 24 Aug 2021 04:47:42 +0000 (13:47 +0900)]
[NUI] Version update (nui22040) (#3452)
Bowon Ryu [Tue, 24 Aug 2021 02:37:10 +0000 (11:37 +0900)]
[NUI] Change SelectionChangedEventArgs to TextSelectionChangedEventArgs (#3451)
There is an ambiguous reference problem,
because the newly added SelectionChangedEventArgs for Text
has the same name as the existing SelectionChangedEventArgs.
The SelectionChangedEventArgs for Text is not yet an opened API,
so temporarily renaming it to fix the issue.
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
JunsuChoi [Mon, 23 Aug 2021 04:40:19 +0000 (13:40 +0900)]
[NUI] CanvasViewSample: Fix filename typo
CanvasViewSamsple.cs -> CanvasViewSample.cs
dongsug.song [Sat, 21 Aug 2021 07:45:54 +0000 (16:45 +0900)]
[NUI] Make Unparent() in Dispose() be excuted early
- Unparent() needs to be excuted in explicit dispose() which is also same as disposing = true.
- Also it should be called prior to before the derived class of View deletes the native handle, otherwise when doing Unparent(), the child itself has empty body (native object has been deleted already).
Bowon Ryu [Mon, 23 Aug 2021 08:39:31 +0000 (17:39 +0900)]
[NUI] Add SelectionChanged Event (#3397) (#3449)
Add SelectionChanged event, which will be called every time the selection has changed.
editor.SelectionChanged += (s, e) =>
{
e.OldSelectionStart; // selection before the change
e.OldSelectionEnd; // selection before the change
};
This reverts commit
3cdf1f2609b3dd00a4ca2fee04927e7cd0cba070.
JunsuChoi [Fri, 20 Aug 2021 03:15:46 +0000 (12:15 +0900)]
[NUI] VectorGraphics.PathCommand: Use IEnumerable<> type
DO NOT use ArrayList or List in public APIs.
https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/guidelines-for-collections
JunsuChoi [Fri, 13 Aug 2021 08:26:38 +0000 (17:26 +0900)]
[NUI] VectorGraphics: Add Shape.AddPath API
Adds an API that adds a large path information.
The PathCommands has a PathCommandType array, a Point array
and the number of each array.
guowei.wang [Fri, 20 Aug 2021 13:04:37 +0000 (21:04 +0800)]
[NUI] Add TCs of NativeBinding(internal) & Accessibility(public).
abdullehghujeh [Fri, 20 Aug 2021 07:10:26 +0000 (10:10 +0300)]
[NUI] Add CursorPositionChanged Event (#3400)
* [NUI] Add CursorMoved Event
* [NUI] Rename CursorMoved to CursorPositionChanged
* [NUI] fix formatting
* Remove new cursor position from event args
* replace event handler with invoke
* rename event arg property to Old
Co-authored-by: abdullah <abdullahhasan10@gmail.com>
Bowon Ryu [Fri, 20 Aug 2021 07:00:48 +0000 (16:00 +0900)]
Revert "[NUI] Add SelectionChanged Event (#3397)" (#3440)
Accidentally merged before the related dali-csharp-binder patch was merged.
This reverts commit
d0e0dc427d0ff7a1d01cec085cb5dda7824a6111.
abdullehghujeh [Fri, 20 Aug 2021 06:49:31 +0000 (09:49 +0300)]
[NUI] Add SelectionChanged Event (#3397)
* Add SelectionChanged Event
* Update TextEditorEvent.cs
fix SelectionChangedEventArgs comments
* Update TextFieldEvent.cs
fix SelectionChangedEventArgs comments
* remove sender from selection event arg and make it common
* Remove new selection start/end event args
* replace event handler with invoke
* rename event arg property to Old
Co-authored-by: abdullah <abdullahhasan10@gmail.com>
abdullehghujeh [Fri, 20 Aug 2021 02:30:11 +0000 (05:30 +0300)]
[NUI] Add MinLineSpacing property & Implement LineSpacing (#3375)
Co-authored-by: abdullah <abdullahhasan10@gmail.com>
Eunki Hong [Thu, 19 Aug 2021 09:55:44 +0000 (18:55 +0900)]
Remove ReleaseFunction enum at PixelData (#3436)
PixelData buffer's allocate / release function is only need for C++ side memory.
And C# cannot control that allocation method.
So ReleaseFunction enum is unneccesary arguments at NUI.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
guowei.wang [Tue, 17 Aug 2021 12:08:47 +0000 (20:08 +0800)]
[NUI] Add TCs of WebView & Update some TCs of NUI.Devel.
dongsug.song [Wed, 18 Aug 2021 00:29:30 +0000 (09:29 +0900)]
[NUI] fix for a owner object to maintain the reference of owned objects
- Renderer maintains the references of Geometry and Shader
- The references are automatically released when Renderer object is disposed by DisposeQueue
- Tested by test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/DisposeTest.cs
JunsuChoi [Thu, 19 Aug 2021 08:49:17 +0000 (17:49 +0900)]
[NUI] VectorGraphics: remove obsolete
JunsuChoi [Thu, 19 Aug 2021 07:16:43 +0000 (16:16 +0900)]
[NUI] VectorGraphics: Move enums out of class
Move enums to VectorGraphicsConstants.cs to avoid nested types.
And add a warning message to FillRuleType, StrokeCapType,
and StrokeJoinType enums of the Shape class that have become ACR.
https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/nested-types
Seungkeun Lee [Thu, 19 Aug 2021 09:33:42 +0000 (18:33 +0900)]
Fix Dispose(true) issue
Wonsik Jung [Wed, 18 Aug 2021 02:36:36 +0000 (11:36 +0900)]
[NUI] Version update (nui22039)
Haesu Gwon [Fri, 20 Aug 2021 05:34:04 +0000 (14:34 +0900)]
[ScreenMirroring] Support NUI window (#3413)
JinWang An [Thu, 19 Aug 2021 03:25:16 +0000 (12:25 +0900)]
[Tizen.System.SystemSettings] Remove lock about invoking event (#3433)
Signed-off-by: JinWang An <jinwang.an@samsung.com>
Jiyun Yang [Tue, 17 Aug 2021 08:11:27 +0000 (17:11 +0900)]
[NUI] Add attached bindable property CheckBoxGroup.IsGroupHolder to the View. (#3426)
In NUI, the parent View that holds checkboxes does not related with CheckBoxGroup.
Which means user must create CheckBoxGroup manually and then add all checkbox to the group.
```
var check1 = new CheckBox();
var check2 = new CheckBox();
var check3 = new CheckBox();
parent.Add(check1);
parent.Add(check2);
parent.Add(check3);
var group = new CheckBoxGroup();
group.Add(check1);
group.Add(check2);
group.Add(check3);
```
In this structure, user can not make a group in XAML code.
This patch introduce attached property to the View for the CheckBoxGroup:
```
<View CheckBoxGroup.IsGroupHolder="True">
<CheckBox Text="Check1"/>
<CheckBox Text="Check2"/>
<CheckBox Text="Check3"/>
</View>
```
And then the user can access check box group from the View using GetCheckBoxGroup(view).
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
zhouleonlei [Mon, 16 Aug 2021 06:27:31 +0000 (14:27 +0800)]
[NUI] Fix svace defects
Bowon Ryu [Wed, 11 Aug 2021 09:45:52 +0000 (18:45 +0900)]
[NUI] Change some properties of Struct to nullable
Some properties in the PropertyMap have default values (set when null).
In this case, user can use the default value implemented in DALi
by changing the property to nullable.
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Wed, 11 Aug 2021 07:08:08 +0000 (16:08 +0900)]
[NUI] Change the Regex member variables of InputFitler to string
The properties of the NUI InputFilter require a regular expression.
But internally DALi uses std::regex.
When passing a regex from NUI to DALi, it is passed as a string.
So the platform can not guarantee all the features of C# Regex (RegexOptions etc).
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Wed, 11 Aug 2021 04:41:00 +0000 (13:41 +0900)]
[NUI] Fix CA1721 warnings
CA1721: Property names should not match get methods
A warning message occurs as a struct with the same name
and Set/Get Methods are added for easy use of PropertyMap.
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Wed, 11 Aug 2021 03:30:34 +0000 (12:30 +0900)]
[NUI] Clean code for TextUtils
The convert code between PropertyMap Key and Enum has been simplified.
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Tue, 10 Aug 2021 11:10:38 +0000 (20:10 +0900)]
[NUI] Add SetTextFit, GetTextFit to TextLabel
Add a TextFit struct to pass data of DALi TextFit PropertyMap.
The TextFit struct can be used as an argument to
SetTextFit and GetTextFit methods.
// example
var textFit = new Tizen.NUI.Text.TextFit();
textFit.Enable = true;
textFit.MinSize = 10.0f;
textFit.MaxSize = 100.0f;
textFit.StepSize = 5.0f;
textFit.FontSizeType = FontSizeType.PointSize;
label.SetTextFit(textFit);
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Tue, 10 Aug 2021 07:13:07 +0000 (16:13 +0900)]
[NUI] Add SetOutline, GetOutline to Text Components
Add a Outline struct to pass data of DALi Outline PropertyMap.
The Outline struct can be used as an argument to
SetOutline and GetOutline methods.
// example
var outline = new Tizen.NUI.Text.Outline();
outline.Width = 2.0f;
outline.Color = new Color("#45B39D");
label.SetOutline(outline);
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Tue, 10 Aug 2021 06:25:27 +0000 (15:25 +0900)]
[NUI] Add SetShadow, GetShadow to Text Components
Add a Shadow struct to pass data of DALi Shadow PropertyMap.
The Shadow struct can be used as an argument to
SetShadow and GetShadow methods.
// example
var shadow = new Tizen.NUI.Text.Shadow();
shadow.Offset = new Vector2(3, 3);
shadow.Color = new Color("#F1C40F");
shadow.BlurRadius = 4.0f;
label.SetShadow(shadow);
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Mon, 9 Aug 2021 12:26:37 +0000 (21:26 +0900)]
[NUI] Add SetUnderline, GetUnderline to Text Components
Add a Underline struct to pass data of DALi Underline PropertyMap.
The Underline struct can be used as an argument to
SetUnderline and GetUnderline methods.
// example
var underline = new Tizen.NUI.Text.Underline();
underline.Enable = true;
underline.Color = new Color("#3498DB");
underline.Height = 2.0f;
label.SetUnderline(underline);
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Mon, 9 Aug 2021 10:11:56 +0000 (19:11 +0900)]
[NUI] Remove duplicate code for TextField, TextEditor
Removed duplicate code for converting between struct and PropertyMap.
Added a function to replace this in TextUtils.
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Mon, 9 Aug 2021 09:34:42 +0000 (18:34 +0900)]
[NUI] Add SetFontStyle, GetFontStyle to Text Components
Add a FontStyle struct to pass data of DALi FontStyle PropertyMap.
The FontStyle struct can be used as an argument to
SetFontStyle, GetFontStyle, SetInputFontStyle and GetInputFontStyle methods.
If a placeholder struct is added later, it can be used as a property of the placeholder.
// example
var fontStyle = new Tizen.NUI.Text.FontStyle();
fontStyle.Width = FontWidthType.Expanded;
fontStyle.Weight = FontWeightType.Bold;
fontStyle.Slant = FontSlantType.Italic;
textLabel.SetFontStyle(fontStyle);
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
JunsuChoi [Wed, 11 Aug 2021 07:34:58 +0000 (16:34 +0900)]
[NUI] CanvasView: Add picture class for drawing images
Add Picture class that can load image and rasterize it on CanvasView's canvas.
This image is drawn with Vector Primitives.
And, since it inherits Drawable, user can use transformation method,
and can use masking and clipping methods together with other shapes.
JunsuChoi [Fri, 13 Aug 2021 02:31:35 +0000 (11:31 +0900)]
[NUI] CanvasView: Change viewBox method to property
Changes viewbox interface method to property.
JunsuChoi [Thu, 5 Aug 2021 08:58:47 +0000 (17:58 +0900)]
[NUI] VectorGraphics: Add Gradient feature
Add Gradient, LinearGradient, and RadialGradient classes that
implement Linear and Radial Gradient features.
Each Gradient can be applied to Fill and Stroke of Shape after
setting Bounds and ColorStop suitable for style.
Jaehyun Cho [Tue, 10 Aug 2021 12:29:05 +0000 (21:29 +0900)]
[NUI] Fix FlexLayout to measure its child correctly
FlexLayout calculated child view's size in OnLayout() without
considering child layout's measured size unlike other layouts'
OnLayout().
This caused that the grand child view's size was calculated incorrectly
if the child and grand child had MatchParent Width/HeightSpecification.
To resolve this issue, child layout's measured size is set with the
child view's size calculated by dali-toolkit's YOGA APIs.
Jaehyun Cho [Tue, 10 Aug 2021 12:21:57 +0000 (21:21 +0900)]
[NUI] Fix FlexLayout not to fill its parent with WrapContent
Previously, FlexLayout filled its parent even if it had WrapContent
Width/HeightSpecification.
Because FlexLayout's width and height always referred its parent's size.
(If Width/HeightSpecification is WrapContent, then Mode becomes AtMost.)
Now, FlexLayout does not fill its parent if it has WrapContent
Width/HeightSpecification.
JunsuChoi [Mon, 2 Aug 2021 05:53:02 +0000 (14:53 +0900)]
[NUI] CanvasView::DrawableGroup: Add RemoveDrawable method
Add a method to selectively remove the added drawable.
bshsqa [Wed, 11 Aug 2021 00:37:56 +0000 (09:37 +0900)]
[NUI] Add a comment about SENSITIVE. (#3402)
- If a View is insensitive, the children are also not hittable.
- This patch adds that at the sensitive property comment.
Signed-off-by: seungho <sbsh.baek@samsung.com>
Eunki Hong [Wed, 11 Aug 2021 00:25:26 +0000 (09:25 +0900)]
[NUI] Fix comments of CornerRadiusPolicy and Borderline (#3394)
When CornerRadiusPolicy is Relative, the maximum value is 0.5f.
If value is bigger than 0.5f, it will be clamped internally.
But we cannot notificate that informations only by documents.
Now fix it.
And more, We add some more informations about borderline color;
It will be affected by view opacity
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
Woochanlee [Tue, 10 Aug 2021 08:41:56 +0000 (17:41 +0900)]
[NUI] Version update (nui22038)
Haesu Gwon [Tue, 17 Aug 2021 01:53:55 +0000 (10:53 +0900)]
[MetadataEditor] Dispose resource in ctor (#3403)
Jihoon Kim [Wed, 11 Aug 2021 04:53:19 +0000 (13:53 +0900)]
[NLP] Fix crash issue
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Wootak Jung [Fri, 13 Aug 2021 02:19:15 +0000 (11:19 +0900)]
[Bluetooth][Non-ACR] Add internal APIs (#3376)
BluetoothAdapter.SelectRole(BluetoothAudioRole role)
BluetoothAdapter.GetUuidSpecificationName(string uuid)
BluetoothGattServer.AttMtuChanged
JinWang An [Fri, 13 Aug 2021 01:30:07 +0000 (10:30 +0900)]
Add and change lock about event handler (#3419)
Signed-off-by: JinWang An <jinwang.an@samsung.com>
Bowon Ryu [Mon, 2 Aug 2021 10:13:01 +0000 (19:13 +0900)]
fix parameter name to understandable
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Thu, 29 Jul 2021 11:06:11 +0000 (20:06 +0900)]
[NUI] Add SelectText to TextField, TextEditor
Select text from start to end index.
This API works in the same way as SelectWholeText().
When this is called, a SelectText event is added to the event queue.
So this can guarantee the behavior even if called before the text is rendered.
// example
textField.SelectText(2, 10);
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>