platform/core/csapi/tizenfx.git
3 years agoRevert "removed the unneeded comments"
dongsug-song [Mon, 13 Sep 2021 03:28:12 +0000 (12:28 +0900)]
Revert "removed the unneeded comments"

This reverts commit 0cd18874fdb3c3a1d6241dc9d1506a8e3215dde5.

3 years agoremoved the unneeded comments
Shrouq Sabah [Tue, 7 Sep 2021 14:59:54 +0000 (17:59 +0300)]
removed the unneeded comments

3 years agoRevert "Used View instead of Text Editor and Text Field to make one common API."
Shrouq Sabah [Tue, 7 Sep 2021 14:56:35 +0000 (17:56 +0300)]
Revert "Used View instead of  Text Editor and Text Field to make one common API."

This reverts commit eafddc9a6aeeb16189d046c4b247f2c6c203f0ee.

3 years agoUsed View instead of Text Editor and Text Field to make one common API.
Shrouq Sabah [Tue, 7 Sep 2021 10:58:33 +0000 (13:58 +0300)]
Used View instead of  Text Editor and Text Field to make one common API.

3 years ago[NUI] Make Copy, Cut and Paste APIs public
Shrouq Sabah [Sun, 5 Sep 2021 13:33:06 +0000 (16:33 +0300)]
[NUI] Make Copy, Cut and Paste APIs public

3 years ago[NUI] Change the parameter of SelectText from uint to int
Bowon Ryu [Tue, 7 Sep 2021 10:20:56 +0000 (19:20 +0900)]
[NUI] Change the parameter of SelectText from uint to int

SelectedTextStart and SelectedTextEnd properties are int.
Change the parameter of SelectText() to int for cosistency.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years ago[NUI] Remove Obsolete methods
Fang Xiaohui [Fri, 10 Sep 2021 05:57:52 +0000 (13:57 +0800)]
[NUI] Remove Obsolete methods

3 years ago[NUI] Removed failed testcases
Xianbing Teng [Fri, 10 Sep 2021 07:36:21 +0000 (15:36 +0800)]
[NUI] Removed failed testcases

3 years ago[NUI] Add xaml and xamlbing testcases
Xianbing Teng [Fri, 10 Sep 2021 07:17:34 +0000 (15:17 +0800)]
[NUI] Add xaml and xamlbing testcases

3 years ago[NUI] Change SelectedTextStart, SelectedTextEnd to read-only
Bowon Ryu [Fri, 10 Sep 2021 07:31:18 +0000 (16:31 +0900)]
[NUI] Change SelectedTextStart, SelectedTextEnd to read-only

The setter of this properties can be replaced with the
SelectText(int start, int end) method.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years ago[NUI] Fix typo from synchronos to synchronous
Seungho Baek [Fri, 10 Sep 2021 12:13:25 +0000 (21:13 +0900)]
[NUI] Fix typo from synchronos to synchronous

Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years ago[NUI] Update TCs of NUI.Devel.
guowei.wang [Fri, 10 Sep 2021 14:02:07 +0000 (22:02 +0800)]
[NUI] Update TCs of NUI.Devel.

3 years agoUpdate src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/CanvasView.cs
JunsuChoi [Fri, 3 Sep 2021 09:22:37 +0000 (18:22 +0900)]
Update src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/CanvasView.cs

Co-authored-by: pkosko <p.kosko@samsung.com>
3 years ago[NUI] VectorGraphics:Open added APIs(DrawableGroup, Picture, Gradient)
JunsuChoi [Tue, 24 Aug 2021 09:56:20 +0000 (18:56 +0900)]
[NUI] VectorGraphics:Open added APIs(DrawableGroup, Picture, Gradient)

[Add ACR]
src/public/BaseComponents/VectorGraphics/CanvasView.cs
  [Add] public void RemoveDrawable(Drawable drawable)
  [Add] public void RemoveAllDrawables()

src/public/BaseComponents/VectorGraphics/Drawable.cs
  [Add] public Vector4 BoundingBox { get; }
  [Add] public void ClipPath(Drawable clip)
  [Add] public void Mask(Drawable mask, MaskType type)

src/public/BaseComponents/VectorGraphics/Shape.cs
  [Add] public Gradient FillGradient { get; set; }
  [Add] public Gradient StrokeGradient { get; set; }
  [Add] public void AddPath(PathCommands pathCommands)

src/public/BaseComponents/VectorGraphics/DrawableGroup.cs
  [Add] public DrawableGroup()
  [Add] public void AddDrawable(Drawable drawable)
  [Add] public void RemoveDrawable(Drawable drawable)
  [Add] public bool RemoveAllDrawables()

src/public/BaseComponents/VectorGraphics/Picture.cs
  [Add] public Picture()
  [Add] public void Load(string url)
  [Add] public void SetSize(Size2D size)
  [Add] public Size2D GetSize()

src/public/BaseComponents/VectorGraphics/Gradient.cs
  [Add] public SpreadType Spread { get; set; }
  [Add] public ReadOnlyCollection ColorStops { get; set; }

src/public/BaseComponents/VectorGraphics/LinearGradient.cs
  [Add] public LinearGradient()
  [Add] public void SetBounds(Position2D firstPoint, Position2D secondPoint)
  [Add] public void GetBounds(ref Position2D firstPoint, ref Position2D secondPoint)

src/public/BaseComponents/VectorGraphics/RadialGradient.cs
  [Add] public RadialGradient()
  [Add] public void SetBounds(Position2D centerPoint, float radius)
  [Add] public void GetBounds(ref Position2D centerPoint, ref float radius)

src/public/BaseComponents/VectorGraphics/ColorStop.cs
  [Add] public ColorStop(float offset, Color color)
  [Add] public float Offset { get; set; }
  [Add] public Color Color { get; set; }

src/public/BaseComponents/VectorGraphics/PathCommands.cs
  [Add] PathCommands(IEnumerable commands, IEnumerable points)
  [Add] public IEnumerable Commands { get; set; }
  [Add] public IEnumerable Points { get; set; }

src/public/BaseComponents/VectorGraphics/VectorGraphicsConstants.cs
  [Add] public enum MaskType { Alpha, AlphaInverse }
  [Add] public enum SpreadType { Pad, Reflect, Repeat }
  [Add] public enum PathCommandType { Close, MoveTo, LineTo, CubicTo }

[Changed ACR]
[Change]
src/public/BaseComponents/VectorGraphics/Shape.cs
public enum VectorGraphics.Shape.FillRuleType { Winding, EvenOdd }
->
src/public/BaseComponents/VectorGraphics/VectorGraphicsConstants.cs
public enum VectorGraphics.FillRuleType { Winding, EvenOdd }

[Change]
src/public/BaseComponents/VectorGraphics/Shape.cs
public enum VectorGraphics.Shape.StrokeCapType { Square, Round, Butt }
->
src/public/BaseComponents/VectorGraphics/VectorGraphicsConstants.cs
public enum VectorGraphics.StrokeCapType { Square, Round, Butt }

[Change]
src/public/BaseComponents/VectorGraphics/Shape.cs
public enum VectorGraphics.Shape.StrokeJoinType { Bevel, Round, Miter }
->
src/public/BaseComponents/VectorGraphics/VectorGraphicsConstants.cs
public enum VectorGraphics.StrokeJoinType { Bevel, Round, Miter }

3 years ago[NUI] Add NUIApplication construct.
Wonsik Jung [Tue, 7 Sep 2021 08:17:46 +0000 (17:17 +0900)]
[NUI] Add NUIApplication construct.

Add NUIApplication construct with related windowType.
It is for IME Window type.

3 years agoAdd implemantation.
Wonsik Jung [Thu, 12 Aug 2021 11:17:24 +0000 (20:17 +0900)]
Add implemantation.

3 years agoAdd public APIs and the relasted test case.
Wonsik Jung [Thu, 12 Aug 2021 07:24:35 +0000 (16:24 +0900)]
Add public APIs and the relasted test case.

3 years ago[NUI] Open newly added APIs in CameraView
Joogab Yun [Tue, 6 Jul 2021 08:26:31 +0000 (17:26 +0900)]
[NUI] Open newly added APIs in CameraView

3 years ago[NUI] Fix comments of BorderlineColor (#3531)
Eunki Hong [Fri, 10 Sep 2021 05:07:08 +0000 (14:07 +0900)]
[NUI] Fix comments of BorderlineColor (#3531)

Currently the borderline color affected by View Opacity
But by check internally, we check it is just kind of bugs.
So during ACR, we don't tell it this is one of feature.

Bugfix will done in DALi side internally.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years ago[NUI] Fix svace issue of dereferencing possible null handle in TextUtils
Jaehyun Cho [Thu, 9 Sep 2021 02:57:42 +0000 (11:57 +0900)]
[NUI] Fix svace issue of dereferencing possible null handle in TextUtils

Since PropertyMap.Find can return null, Find().Get() should be replaced with
Find()?.Get().

3 years ago[NUI] Fix svace issue of dereferencing null handle in SetProperty
Jaehyun Cho [Thu, 9 Sep 2021 02:18:48 +0000 (11:18 +0900)]
[NUI] Fix svace issue of dereferencing null handle in SetProperty

3 years ago[NUI] Add Scale transition
Seungho Baek [Fri, 20 Aug 2021 07:09:50 +0000 (16:09 +0900)]
[NUI] Add Scale transition

Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years ago[NUI] Fix svace issue
huiyu.eun [Wed, 8 Sep 2021 06:00:41 +0000 (15:00 +0900)]
[NUI] Fix svace issue
-Checker: API.CSHARP.CULTURE

WID:1125388 Method float.Parse(string) is culture specific.
Its usage can cause unexpected behaviour.
It is recommended to add IFormatProvider argument into invocation.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[WebRTC] Fix bugs (#3526)
Haesu Gwon [Mon, 13 Sep 2021 06:03:07 +0000 (15:03 +0900)]
[WebRTC] Fix bugs (#3526)

* [WebRTC] Fix bugs ans Change MediaFileSource to internal API

3 years ago[Camera] Change Default CameraDevice value (#3550)
Haesu Gwon [Mon, 13 Sep 2021 05:25:42 +0000 (14:25 +0900)]
[Camera] Change Default CameraDevice value (#3550)

3 years ago[Camera] Add APIs for extra preview bitrate (#3527)
Haesu Gwon [Mon, 13 Sep 2021 00:12:21 +0000 (09:12 +0900)]
[Camera] Add APIs for extra preview bitrate (#3527)

3 years ago[Cion] Add new APIs for Advanced Companion Framework (#3472)
jeremy-jang [Fri, 10 Sep 2021 05:15:28 +0000 (14:15 +0900)]
[Cion] Add new APIs for Advanced Companion Framework (#3472)

* [Cion] Add new APIs for Advanced Companion Framework

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Cion] Remove PayloadAsyncResult.Id

This is removed from the design.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Fix Cion

- Fix namespace of SecurityInfo, SecuritySafeHandle
- Fix some callback lifecycle (unmanged)
- Fix some simple getters to property
- Fix IPayload to Payload
- Fix some bad code

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Fix Cion

- Fix ClientBase.SendPayloadAsync to return Task
- Fix doxygen comments
- Fix some bad code

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Fix Cion

- Add missing doxygen comments
- Fix some bad code

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Fix ServerBase.SendPayloadAsync

Fix same as ClientBase.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Fix Cion csproj file

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Fix Cion

- Fix IDisposable code
- Fix bad exception throwing
- Fix SendPayloadAsync
- Fix setting connectied peer of ClientBase

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Add missing public keyword

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Add missing API and fix doxygen comments

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Fix Cion

- Fix some doxygen comments.
- Remove PayloadAsyncResultSafeHandle class.
- Fix Ctor of PayloadAsyncResult.
- Fix to remove unmanaged callback after setting result.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Fix PayloadAsyncResultCode.Dispose()

The property PeerInfo is a managed object.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Fix Cion

- Fix ClientBase.SendData to use Marshal.Copy
- Fix SendPayloadAsync to handle error case
- Fix some bad code

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
3 years ago[PackageManager][TCSACR-442] Add new APIs for resource control (#3415)
jeremy-jang [Fri, 10 Sep 2021 05:10:48 +0000 (14:10 +0900)]
[PackageManager][TCSACR-442] Add new APIs for resource control (#3415)

* [PackageManager] Add new APIs for resource control

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [PackageManager] Fix to use IEnumerable at public API

Use IEnumerable<string> instead of List<string>.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Fix some doxygen comments of Package, PackageFilter class

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
3 years ago[Applications][TCSACR-441] Add new APIs for resource control (#3414)
jeremy-jang [Fri, 10 Sep 2021 05:01:55 +0000 (14:01 +0900)]
[Applications][TCSACR-441] Add new APIs for resource control (#3414)

* [Applications] Add new APIs for resource control

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Applications] Fix namings

Use full name instead of abbreviations.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* Fix ResourceControl

- Fix class summary of doxygen comment.
- Set default value of min/maxResourceVersion as null.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
3 years ago[Build] Fix common.props to drop ref assemblies (#3530)
WonYoung Choi [Fri, 10 Sep 2021 04:56:23 +0000 (13:56 +0900)]
[Build] Fix common.props to drop ref assemblies (#3530)

3 years ago[InputMethod] Add UnauthorizedAccessException
Jihoon Kim [Mon, 6 Sep 2021 03:23:31 +0000 (12:23 +0900)]
[InputMethod] Add UnauthorizedAccessException

Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 years ago[Tizen.WebView] Fix SVACE issue (#3529)
Young [Fri, 10 Sep 2021 02:14:10 +0000 (11:14 +0900)]
[Tizen.WebView] Fix SVACE issue (#3529)

This patch fixes SVACE issue(DEREF_OF_NULL.RET.USER.PROC).

Signed-off-by: yh106.jung <yh106.jung@samsung.com>
3 years agoChange internal TimeStamp's type to IntPtr (#3528)
ChangGyu Choi [Fri, 10 Sep 2021 01:08:55 +0000 (10:08 +0900)]
Change internal TimeStamp's type to IntPtr (#3528)

nint is not supported by current version.
This patch Changes TimeStamp's member attribute type
to IntPtr.

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
3 years ago[Tts][TCSACR-449] Add new method for checking screen reader status (#3475)
Suyeon Hwang [Thu, 9 Sep 2021 08:22:38 +0000 (17:22 +0900)]
[Tts][TCSACR-449] Add new method for checking screen reader status (#3475)

This commit includes these changes.
* Add new method for screen reader status checking
* Remove white space to match the indentation
* Remove invalid symbol from interop
* Add feature tag on doxygen for 'IsScreenReaderOn' property
* Fix log to make easy for specifying error

Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
3 years ago[Tizen.Applications.RPCPort] Add RPCPort ParcelHeader APIs (#3512)
ChangGyu Choi [Thu, 9 Sep 2021 05:16:52 +0000 (14:16 +0900)]
[Tizen.Applications.RPCPort] Add RPCPort ParcelHeader APIs (#3512)

* [rpc-port] Add new APIs

Adds:
 class:
 - Tizen.Applications.RPCPort.Parcel.Header

 Operation:
 - Tizen.Applications.RPCPort.Disconnect()
 - Tizen.Applications.RPCPort.Parcel.GetHeader()
 - Tizen.Applications.RPCPort.Parcel.Header.SetTag()
 - Tizen.Applications.RPCPort.Parcel.Header.GetTag()
 - Tizen.Applications.RPCPort.Parcel.Header.SetSeqNum()
 - Tizen.Applications.RPCPort.Parcel.Header.GetSeqNum()
 - Tizen.Applications.RPCPort.Parcel.Header.GetTimeStamp()

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Fix some design

Changes:
 - Replace TimeStamp and Header scope to Parcel's outside
 - Change parameter name of SetSeqNum()
 - Change naming for visibility

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Fix GetHeader()

Fix implementation that unnecesaary creating Header.

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Fix to not matched description of parameter

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Remove unnecessary description

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Change types of Timestamp to nint

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
* Change Disconnect()'s exception code

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
3 years ago[MediaPlayer] Fix svace issue (#3523)
Haesu Gwon [Thu, 9 Sep 2021 01:55:24 +0000 (10:55 +0900)]
[MediaPlayer] Fix svace issue (#3523)

3 years ago[NUI] Version update (nui22042) (#3516)
Eunki Hong [Tue, 7 Sep 2021 08:19:55 +0000 (17:19 +0900)]
[NUI] Version update (nui22042) (#3516)

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years ago[NUI] Fix issue that objects are disposed outside callback. (#3514)
huayongxu [Tue, 7 Sep 2021 07:33:40 +0000 (15:33 +0800)]
[NUI] Fix issue that objects are disposed outside callback. (#3514)

3 years agoImplement more request interceptor APIs. (#3466)
huayongxu [Tue, 7 Sep 2021 04:49:15 +0000 (12:49 +0800)]
Implement more request interceptor APIs. (#3466)

3 years ago[NUI] Fix to measure GridLayout's children sizes correctly
Jaehyun Cho [Wed, 18 Aug 2021 12:54:00 +0000 (21:54 +0900)]
[NUI] Fix to measure GridLayout's children sizes correctly

Previously, if child's measured size is 0, then GridLayout does not
update the child's measured size when the child's size is set by using
GridLayout APIs.
e.g.
SetHorizontalStretch(child, GridLayout.StretchFlags.ExpandAndFill);

Moreover, if child has its own size and ExpandAndFill is set, then
child's size is set to be its own size (its measured size) plus its
expanded size.
e.g.
parent size is 100.
child1's measured size is 50 and ExpandAndFill.
child2's measured size is 0 and ExpandAndFill.
Then, child1's size is 50 + 25 = 75 and child2's size is 25.

To resolve the above, GridLayout updates child's measured size in
OnLayout() and child's size is set to be the bigger one between its
measured size and its expanded size.

3 years ago[NUI] update event descriptionfor textfield
abdullah [Mon, 6 Sep 2021 06:44:27 +0000 (09:44 +0300)]
[NUI] update event descriptionfor textfield

3 years ago[NUI] update event description
abdullah [Mon, 6 Sep 2021 06:41:32 +0000 (09:41 +0300)]
[NUI] update event description

3 years ago[NUI] remove unneeded comment
abdullah [Thu, 2 Sep 2021 08:45:58 +0000 (11:45 +0300)]
[NUI] remove unneeded comment

3 years ago[NUI] Make SelectionChanged event for TextField & TextEditor public
abdullah [Thu, 2 Sep 2021 08:02:55 +0000 (11:02 +0300)]
[NUI] Make SelectionChanged event for TextField & TextEditor public

3 years agoAdd SetDoubleTapTimeout binding
joogab.yun [Mon, 30 Aug 2021 06:38:17 +0000 (15:38 +0900)]
Add SetDoubleTapTimeout binding

3 years ago[NUI] Update TCs of NUI.Devel.
guowei.wang [Fri, 3 Sep 2021 12:16:18 +0000 (20:16 +0800)]
[NUI] Update TCs of NUI.Devel.

3 years agoFix setvalue and xamlstyle issues
Xianbing Teng [Mon, 6 Sep 2021 06:56:58 +0000 (14:56 +0800)]
Fix setvalue and xamlstyle issues

3 years ago[NUI] Fix Svace issues
Fang Xiaohui [Mon, 6 Sep 2021 08:47:21 +0000 (16:47 +0800)]
[NUI] Fix Svace issues

3 years ago[EXaml] Remove unused code
Fang Xiaohui [Fri, 3 Sep 2021 07:17:00 +0000 (15:17 +0800)]
[EXaml] Remove unused code

3 years ago[EXaml] Refactor EXaml
Fang Xiaohui [Fri, 3 Sep 2021 03:18:30 +0000 (11:18 +0800)]
[EXaml] Refactor EXaml

3 years ago[NUI] Add Slide transition
Seungho Baek [Mon, 9 Aug 2021 07:47:00 +0000 (16:47 +0900)]
[NUI] Add Slide transition

Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years ago[NUI] Fix testhub NUI.Components coredump issue
dongsug.song [Thu, 2 Sep 2021 12:20:36 +0000 (21:20 +0900)]
[NUI] Fix testhub NUI.Components coredump issue

- there was no fail but coredumps are remained after finishing NUI.Components test.
- native crash occured when empty native object handle is accessed and the TouchEvent signal is tried to be gotten.
- https://code.sec.samsung.net/jira/browse/TSDF-2266

3 years ago[NUI] CanvasView: Change parameter and return type of binder function
JunsuChoi [Thu, 2 Sep 2021 07:19:06 +0000 (16:19 +0900)]
[NUI] CanvasView: Change parameter and return type of binder function

int -> uint(unsigned int)
dali-csharp-binder patch : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/262968/

3 years ago[NUI] Add SelectionHandleImage struct to Text Components
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>
3 years ago[NUI] Use BindableProperty in struct get/set methods
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>
3 years ago[NUI] Add SetHiddenInput, GetHiddenInput to TextField
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>
3 years ago[NUI] Add SetPlaceholder, GetPlaceholder to TextField, TextEditor
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>
3 years ago[EXaml] Remove unused comment
Fang Xiaohui [Fri, 3 Sep 2021 01:03:58 +0000 (09:03 +0800)]
[EXaml] Remove unused comment

3 years ago[EXaml] Remove unused comment
Fang Xiaohui [Fri, 3 Sep 2021 01:02:26 +0000 (09:02 +0800)]
[EXaml] Remove unused comment

3 years ago[EXaml] 1. Add copyright; 2. Add new line at the end of file
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

3 years ago[EXaml] Support Trigger in EXaml
Fang Xiaohui [Tue, 31 Aug 2021 08:11:51 +0000 (16:11 +0800)]
[EXaml] Support Trigger in EXaml

3 years ago[NUI] Update TCs of NUI.Devel.
guowei.wang [Tue, 31 Aug 2021 12:51:09 +0000 (20:51 +0800)]
[NUI] Update TCs of NUI.Devel.

3 years ago[WebRTC] Add CreateOffer/AnswerAsync method (#3506)
Haesu Gwon [Tue, 7 Sep 2021 06:19:21 +0000 (15:19 +0900)]
[WebRTC] Add CreateOffer/AnswerAsync method (#3506)

3 years ago[ScreenMirroring] Fix exception bug (#3515)
Haesu Gwon [Tue, 7 Sep 2021 06:14:44 +0000 (15:14 +0900)]
[ScreenMirroring] Fix exception bug (#3515)

3 years ago[MediaPlayer] Support Video and UI sync mode (#3510)
Haesu Gwon [Tue, 7 Sep 2021 05:54:58 +0000 (14:54 +0900)]
[MediaPlayer] Support Video and UI sync mode (#3510)

3 years ago[MediaContent] Use MediaContent internal free method (#3508)
Haesu Gwon [Tue, 7 Sep 2021 01:47:18 +0000 (10:47 +0900)]
[MediaContent] Use MediaContent internal free method (#3508)

3 years agoFix unhandled exception while calling CoRegister
jay [Tue, 31 Aug 2021 12:56:30 +0000 (21:56 +0900)]
Fix unhandled exception while calling CoRegister

3 years ago[MediaContent] Support ebook format (#3374)
Haesu Gwon [Mon, 6 Sep 2021 06:25:39 +0000 (15:25 +0900)]
[MediaContent] Support ebook format (#3374)

* [MediaContent] Support ebook format

3 years ago[ScreenMirroring] Add ConnectAsync method to support port selection (#3412)
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

3 years ago[ImageUtil] Support HEIF decoder (#3447)
Haesu Gwon [Mon, 6 Sep 2021 03:21:04 +0000 (12:21 +0900)]
[ImageUtil] Support HEIF decoder (#3447)

* [ImageUtil] Support HEIF decoder

3 years ago[WebRTC] Remove wrong state check code (#3500)
Haesu Gwon [Mon, 6 Sep 2021 02:29:31 +0000 (11:29 +0900)]
[WebRTC] Remove wrong state check code (#3500)

3 years ago[Camera] Add internal constructor (#3489)
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

3 years agoAdd SetSize API for NUI IME
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>
3 years ago[NUI] Fix Layout Performance Issue (#3484)
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>
3 years ago[NUI] Fix to follow c# coding rule
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>
3 years ago[NUI][ATSPI] Add a function to check whether accessibility is enabled (#3463)
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>
3 years ago[NUI] Replace XXXList with IList<XXX>. (#3468)
huayongxu [Tue, 31 Aug 2021 05:57:06 +0000 (13:57 +0800)]
[NUI] Replace XXXList with IList<XXX>. (#3468)

3 years ago[Xaml] Remove underline in member's name
Fang Xiaohui [Wed, 25 Aug 2021 02:35:04 +0000 (10:35 +0800)]
[Xaml] Remove underline in member's name

3 years ago[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

3 years ago[Xaml] Add MergeStyle to View
Fang Xiaohui [Wed, 25 Aug 2021 02:20:13 +0000 (10:20 +0800)]
[Xaml] Add MergeStyle to View

3 years ago[Xaml] Remove code of VisualState
Fang Xiaohui [Wed, 25 Aug 2021 01:54:09 +0000 (09:54 +0800)]
[Xaml] Remove code of VisualState

3 years ago[Xaml] Modify by HQ's feedback
Fang Xiaohui [Mon, 23 Aug 2021 06:39:12 +0000 (14:39 +0800)]
[Xaml] Modify by HQ's feedback

3 years ago[Xaml] Support Trigger in Xaml
Fang Xiaohui [Fri, 20 Aug 2021 06:11:17 +0000 (14:11 +0800)]
[Xaml] Support Trigger in Xaml

3 years ago[NUI] Remove duplicate class WebContextMenuItemList (#3464)
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>
3 years ago[NUI] Add FocusableChildren
joogab.yun [Fri, 20 Aug 2021 05:33:13 +0000 (14:33 +0900)]
[NUI] Add FocusableChildren

3 years ago[NUI] Refactoring Transition and FadeTransition
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>
3 years ago[NUI] Allow to set Size.Depth (#3442)
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>
3 years ago[NUI] Add description for ImageView
tscholb [Thu, 26 Aug 2021 11:55:49 +0000 (07:55 -0400)]
[NUI] Add description for ImageView

This PR added descritoon for ImageView Property

3 years agoRebase master (#3453)
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>
3 years ago[WebRTC] Fix destroy bug and code clean (#3476)
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

3 years ago[NSD] Add new GetTxtRecords api (#3353)
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>
3 years ago[Bluetooth][TCSACR-437] Add GATT related APIs (#3377)
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>
3 years agoChange API names
Wonsik Jung [Fri, 27 Aug 2021 04:23:50 +0000 (13:23 +0900)]
Change API names

3 years agoAdd Window Test file
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.

3 years agoChange the name with meaningful.
Wonsik Jung [Fri, 6 Aug 2021 11:18:11 +0000 (20:18 +0900)]
Change the name with meaningful.

3 years agoAdd input regions APIs
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.

3 years ago[NUI] Add SelectionCleared Event (#3446)
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>
3 years ago[NUI] Remove old event args from SelectionChanged and CursorPositionC… (#3467)
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>
3 years ago[NUI] Remove ReleaseFunction enum at PixelData with legacy
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>
3 years ago[NUI] Copy, Paste & Cut Public APIs (#3450)
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.