platform/core/csapi/tizenfx.git
20 months ago[NUI] disable acessibilityPanGesture when scroll disabled.
EverLEEst(SangHyeon Lee) [Thu, 22 Sep 2022 05:37:14 +0000 (14:37 +0900)]
[NUI] disable acessibilityPanGesture when scroll disabled.

20 months ago[NUI] Modify the return value of OnAccessibilityPan().
joogab.yun [Wed, 21 Sep 2022 06:28:17 +0000 (15:28 +0900)]
[NUI] Modify the return value of OnAccessibilityPan().

When return true, panGesture is consumed.
When return false, panGestureEvent is propagated to the parent.

20 months agoImplement navigation decision policy.
huayong.xu [Thu, 8 Sep 2022 12:05:07 +0000 (20:05 +0800)]
Implement navigation decision policy.

20 months ago[build] Push extracted API specs to git repo (#4521)
WonYoung Choi [Mon, 29 Aug 2022 05:28:20 +0000 (14:28 +0900)]
[build] Push extracted API specs to git repo (#4521)

Push the extracted API spec files to TizenAPI/tizenfx-api-specs repo instead of S3.

21 months ago[Build] Enable aarch64 build for API8 (#4502)
WonYoung Choi [Mon, 22 Aug 2022 23:50:58 +0000 (08:50 +0900)]
[Build] Enable aarch64 build for API8 (#4502)

* Update csapi-tizenfx.spec.in

* Update csapi-tizenfx.spec

21 months ago[NUI] Add ActionForward event for Accessibility (#4451)
Seoyeon2Kim [Thu, 18 Aug 2022 07:30:20 +0000 (16:30 +0900)]
[NUI] Add ActionForward event for Accessibility (#4451)

- In Accessibility, One finger double tap and hold gesture is to pass
the event to the application.
- For the application, it can get the signal using
ActionForward event.

- Dependencies :
  https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/278951/
  https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/278952/
  https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/278953/

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[NUI] Fix comments according to ACR review
dongsug.song [Wed, 6 Apr 2022 01:29:10 +0000 (10:29 +0900)]
[NUI] Fix comments according to ACR review

2 years ago[NUI] Prevent to call button up event when button is not pressed
Taehyub Kim [Tue, 8 Mar 2022 13:07:20 +0000 (22:07 +0900)]
[NUI] Prevent to call button up event when button is not pressed

2 years ago[NUI][API8] Add Constraint base + inhouse ResizePolicyType.KeepSizeFollowingParent...
Eunki Hong [Fri, 14 Jan 2022 02:05:19 +0000 (11:05 +0900)]
[NUI][API8] Add Constraint base + inhouse ResizePolicyType.KeepSizeFollowingParent (#3861)

This is backpropagation patch about #3302

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago1. [NUI] Add TouchArea property.
Joogab Yun [Fri, 12 Mar 2021 01:50:58 +0000 (10:50 +0900)]
1. [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.

2. [NUI] change type from Size2D to Size at TouchArea api

3. [NUI] Change  TouchArea to TouchAreaOffset (#2948)

    You can expand the touch area.

    for example)
      View view = new View();
      view.Size = new Size(10, 10);
      view.TouchEvent += OnTouch;
      view.TouchAreaOffset = new Offset(-100, 100, 100, -100); // left, right, bottom, top

    then touch area is 210x210.
    this is view.width  -touchAreaOffset.left + touchAreaOffset.right
    and view.height + touchAreaOffset.bottom  -touchAreaOffset.top

4. [NUI] Change ulong to uint at Interop.Touch.GetMouseButton (#3057)

5. [NUI] Change interruptView to InterceptTouchEvent

6. [NUI] Add NeedGesturePropagation (#3130)

This is used when the parent view wants to listen to gesture events.

7. [NUI] Add FocusableInTouch property

This is a property that allows you to have focus even when touched.

If Focusable is false, FocusableInTouchMode is disabled.
If you want to have focus on touch in touch mode, you need to set both settings to true.

focusable = true,
focusableInTouch = true,

8. [NUI] Add source type to TapGesture.

This is similar to MouseButton in TouchEvent.

Now, you can see from which input the tap was made.

9. [NUI] Supports moving focus of items in ScrollableBase

10. [NUI] Add EnableDefaultAlgorithm and IsDefaultAlgorithmEnabled

11. [NUI] Add FocusableChildren

12. [NUI] Check if pan gesture need to propagation

If it's a nested scroll, calculate whether the gesture should be sent to the parent.

2 years ago[NUI] Fix ScrollableBase Remove issue
huiyu.eun [Thu, 27 May 2021 05:44:35 +0000 (14:44 +0900)]
[NUI] Fix ScrollableBase Remove issue

 - [TDAF-1430] ScrollableaBase Child remove issue
 If the ScrollableBase has one child, it does not need to move the page

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
2 years ago[NUI] Fix ScrollableBase Remove issue
huiyu.eun [Thu, 27 May 2021 05:44:35 +0000 (14:44 +0900)]
[NUI] Fix ScrollableBase Remove issue

 - [TDAF-1430] ScrollableaBase Child remove issue
 If the ScrollableBase has one child, it does not need to move the page

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
2 years ago[NUI] Check whether Accessibility is enabled intentionally
Seoyeon Kim [Wed, 20 Oct 2021 07:12:22 +0000 (16:12 +0900)]
[NUI] Check whether Accessibility is enabled intentionally

- Added `IsForcedEnabled` API internally.
- This is to check Accessibility could be enabled/disabled from the
outside.
 (e.g. by some applications)

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years ago[Tizen.Applications.RPCPort] Add RPCPort ParcelHeader internal APIs (#3612)
ChangGyu Choi [Mon, 27 Sep 2021 07:29:02 +0000 (16:29 +0900)]
[Tizen.Applications.RPCPort] Add RPCPort ParcelHeader internal APIs (#3612)

* [Tizen.Applications.RPCPort] Add RPCPort ParcelHeader internal 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 tizen version description from 9 to 8

Signed-off-by: ChangGyu Choi <uppletaste@gmail.com>
2 years ago[NUI] Implement WebView.GetPlainTextAsynchronously method (#3344)
Jiyun Yang [Mon, 26 Jul 2021 01:23:09 +0000 (10:23 +0900)]
[NUI] Implement WebView.GetPlainTextAsynchronously method (#3344)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[NUI] Add GetBrightness()
Joogab Yun [Mon, 26 Jul 2021 01:49:07 +0000 (10:49 +0900)]
[NUI] Add GetBrightness()

2 years ago[NUI] Add WebView.SetTtsFocus API (#3295)
Jiyun Yang [Mon, 12 Jul 2021 04:42:48 +0000 (13:42 +0900)]
[NUI] Add WebView.SetTtsFocus API (#3295)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
2 years ago[NUI] Add GetCapturedBuffer api for Capture
seungho [Tue, 22 Jun 2021 06:24:22 +0000 (15:24 +0900)]
[NUI] Add GetCapturedBuffer api for Capture

This reverts commit 1eed99c679ddd617652fd5a0bf668e28aecc067b.

2 years ago[Bluetooth][Non-ACR] Fix unhandled exception in GetBondedDevice() (#2514) (#3216)
Wootak Jung [Tue, 22 Jun 2021 00:02:45 +0000 (09:02 +0900)]
[Bluetooth][Non-ACR] Fix unhandled exception in GetBondedDevice() (#2514) (#3216)

Device is not bonded : System.NullReferenceException: Object reference not set to an instance of an object.
    at System.SpanHelpers.IndexOf(Byte& searchSpace, Byte value, Int32 length)
    at System.String.Ctor(SByte* value)
    at System.Runtime.InteropServices.Marshal.PtrToStringAnsi(IntPtr ptr)
    at Tizen.Network.Bluetooth.BluetoothUtils.ConvertStructToDeviceClass(BluetoothDeviceStruct device)
    at Tizen.Network.Bluetooth.BluetoothAdapterImpl.GetBondedDevice(String address)
    at Tizen.Network.Bluetooth.BluetoothAdapter.GetBondedDevice(String address)

Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Co-authored-by: dh79pyun <31202060+dh79pyun@users.noreply.github.com>
2 years agoAdd Internal Notification Response Event handler (#3178)
Hyunho Kang [Thu, 10 Jun 2021 05:53:23 +0000 (14:53 +0900)]
Add Internal Notification Response Event handler (#3178)

* Add ViewerEventReceived event handler

Signed-off-by: Hyunho <hhstark.kang@samsung.com>
* Fix wrongly handled unmanaged codes

Signed-off-by: Hyunho <hhstark.kang@samsung.com>
* Fix api name and wrongly managed handle

Signed-off-by: Hyunho <hhstark.kang@samsung.com>
* Add missing files

Signed-off-by: Hyunho <hhstark.kang@samsung.com>
* Add newline for the end of file

Signed-off-by: Hyunho <hhstark.kang@samsung.com>
* Change throw -> Log for unmanaged callback

Signed-off-by: Hyunho <hhstark.kang@samsung.com>
* Update since tag 9 to 8

Signed-off-by: Hyunho <hhstark.kang@samsung.com>
2 years ago[NUI] Add SpaceEvenly to FlexJustification
Jaehyun Cho [Thu, 3 Jun 2021 05:39:52 +0000 (14:39 +0900)]
[NUI] Add SpaceEvenly to FlexJustification

SpaceAround distributes the equal space to before, and after each item.
Therefore, the space between adjacent items is twice bigger than the
space between the beginning edge and the first item.

To distribute the equal space to before, between, and after each item,
SpaceEvenly is added to FlexJustification.

Requires:
https://review.tizen.org/gerrit/259554/

2 years ago[NUI] Add hidden Disposed field for BaseHandle
Xianbing Teng [Fri, 4 Jun 2021 06:51:21 +0000 (14:51 +0800)]
[NUI] Add hidden Disposed field for BaseHandle

2 years ago[NUI] Disable desired size when image loading fail
Sunghyun Kim [Fri, 28 May 2021 04:06:42 +0000 (13:06 +0900)]
[NUI] Disable desired size when image loading fail

When ImageLoading is failed, GetOriginalImageSize() returns zero size.
In this case, Calculating for fittingMode is able to make error because it use invalid size.
To avoid this problem, i added this patch.

2 years ago[Bluetooth][Non-ACR] Add device name null check logic (#3086)
Wootak Jung [Wed, 26 May 2021 04:16:34 +0000 (13:16 +0900)]
[Bluetooth][Non-ACR] Add device name null check logic (#3086)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years ago[Bluetooth][Non-ACR] Add public constructor for BluetoothDevice (#3065)
Wootak Jung [Fri, 21 May 2021 06:35:33 +0000 (15:35 +0900)]
[Bluetooth][Non-ACR] Add public constructor for BluetoothDevice (#3065)

3 years agoUpdate src/Tizen.NUI/src/public/BaseComponents/ViewPublicMethods.cs
dongsug-song [Mon, 17 May 2021 01:09:09 +0000 (10:09 +0900)]
Update src/Tizen.NUI/src/public/BaseComponents/ViewPublicMethods.cs

yes. you are right. I use internal method.

Co-authored-by: Seungkeun Lee <sngn.lee@samsung.com>
3 years agoUpdate src/Tizen.NUI/src/public/Layer.cs
dongsug-song [Mon, 17 May 2021 01:00:20 +0000 (10:00 +0900)]
Update src/Tizen.NUI/src/public/Layer.cs

yes, you are right. it is applied.

Co-authored-by: Seungkeun Lee <sngn.lee@samsung.com>
3 years agoUpdate src/Tizen.NUI/src/public/BaseComponents/ViewPublicMethods.cs
dongsug-song [Mon, 17 May 2021 00:59:37 +0000 (09:59 +0900)]
Update src/Tizen.NUI/src/public/BaseComponents/ViewPublicMethods.cs

Thank you for review.
yes. I think so. it is better.

Co-authored-by: Seungkeun Lee <sngn.lee@samsung.com>
3 years ago[NUI] Add FindLayerByID(), FindChildByID()
dongsug.song [Fri, 14 May 2021 07:22:32 +0000 (16:22 +0900)]
[NUI] Add FindLayerByID(), FindChildByID()

- FindLayerByID() in Window and FindChildByID() in View are added.
- These are all Hidden-APIs.

3 years ago[NUI] Change OnAccessibilityActivated() access modifier
dongsug.song [Thu, 13 May 2021 22:41:58 +0000 (07:41 +0900)]
[NUI] Change OnAccessibilityActivated() access modifier

 - Change OnAccessibilityActivated() access modifier to use in FH.NUI which includes NUI package
 - Split NotifyPropertyChangedAndRequestLayout() into equivalent two methods, because when using PropertySet event, the changed PropertyName comes as NotifyPropertyChangedAndRequestLayout

3 years ago[NUI] Fix crash issue when favicon is null. (#3012)
huayongxu [Mon, 10 May 2021 09:19:06 +0000 (17:19 +0800)]
[NUI] Fix crash issue when favicon is null. (#3012)

3 years ago[NUI] Fix issue that a symbol is not found. (#2998)
huayongxu [Thu, 6 May 2021 08:49:20 +0000 (16:49 +0800)]
[NUI] Fix issue that a symbol is not found. (#2998)

3 years ago[Bluetooth][Non-ACR] Fix BluetoothDevice data converting issue (#2888)
Wootak Jung [Tue, 13 Apr 2021 04:25:45 +0000 (13:25 +0900)]
[Bluetooth][Non-ACR] Fix BluetoothDevice data converting issue (#2888)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years ago[NUI] Create TextLayout when parent has layout
huiyu.eun [Thu, 8 Apr 2021 07:42:03 +0000 (16:42 +0900)]
[NUI] Create TextLayout when parent has layout

This reverts commit 4ae0d05007a1e6a686c9516dcad8a8f70a08349a.

3 years agoRevert "[NUI] Create TextLayout when parent has layout"
Dongsug Song [Thu, 1 Apr 2021 08:04:55 +0000 (17:04 +0900)]
Revert "[NUI] Create TextLayout when parent has layout"

This reverts commit 51abdf1a77c014b553cd9976e8c339ebc9d35228.

3 years agoRevert "[NUI] Fix layout null crash issue"
Dongsug Song [Thu, 1 Apr 2021 08:04:34 +0000 (17:04 +0900)]
Revert "[NUI] Fix layout null crash issue"

This reverts commit 41eab62a5b5fb34613fbf97b6b187c015014f364.

3 years ago[Bluetooth][Non-ACR] Add MTU functionalities (#2790)
Wootak Jung [Thu, 25 Mar 2021 05:38:58 +0000 (14:38 +0900)]
[Bluetooth][Non-ACR] Add MTU functionalities (#2790)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years ago[NUI] Fix layout null crash issue
huiyu.eun [Thu, 25 Mar 2021 05:31:41 +0000 (14:31 +0900)]
[NUI] Fix layout null crash issue

need to check 'value'

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Make possible to capture on the old driver devices.
seungho [Wed, 24 Mar 2021 01:45:32 +0000 (10:45 +0900)]
[NUI] Make possible to capture on the old driver devices.

Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years ago[NUI] Create TextLayout when parent has layout
huiyu.eun [Tue, 16 Mar 2021 10:43:21 +0000 (19:43 +0900)]
[NUI] Create TextLayout when parent has layout

This reverts commit 173dcb872cb2fc43f8040deaa3e26231c7011c99.

3 years agoRevert "[NUI] Create TextLayout when parent has layout"
Bowon Ryu [Tue, 16 Mar 2021 02:30:34 +0000 (11:30 +0900)]
Revert "[NUI] Create TextLayout when parent has layout"

This patch causes issue that TextLabel margin to become zero.
Revert this patch to fix issue.

we need to fix layout performance issue later.

This reverts commit b78d9bf284c27e065b7d194ae9124e34258d18b9.

3 years ago[NUI] Scrollbar uses View instead Visual since blinking issue (#2735)
Jiyun Yang [Mon, 15 Mar 2021 04:51:35 +0000 (13:51 +0900)]
[NUI] Scrollbar uses View instead Visual since blinking issue (#2735)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix TV TCT fails (2nd)
Dongsug Song [Sat, 13 Mar 2021 02:10:39 +0000 (11:10 +0900)]
[NUI] Fix TV TCT fails (2nd)

- "#if PROFILE_MOBILE" is not working
- Change profile check as ThemeManager.CurrentProfile
- TV target has been tested and verified locally

3 years ago[NUI] Fix TV TCT fails
Dongsug Song [Fri, 12 Mar 2021 12:58:15 +0000 (21:58 +0900)]
[NUI] Fix TV TCT fails

- FeedKey and Accessibility are FHUB(mobile) feature
- TV doesn't use Feedkey nor NUI Accessibility
- Need to be seperated by profile when building

3 years agoSupport TranslatablePlaceholderTextFocused to TextField
Bowon Ryu [Thu, 4 Mar 2021 08:05:31 +0000 (17:05 +0900)]
Support TranslatablePlaceholderTextFocused to TextField

PlaceholderTextFoused can set the SID value by this patch

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoFix GetLocalOobData memory leak (#2725)
Wootak Jung [Wed, 10 Mar 2021 05:28:50 +0000 (14:28 +0900)]
Fix GetLocalOobData memory leak (#2725)

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

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

3 years ago[NUI] Fix svace issue for wearable
zhouleonlei [Mon, 1 Mar 2021 06:08:42 +0000 (14:08 +0800)]
[NUI] Fix svace issue for wearable

3 years ago[NUI] Create TextLayout when parent has layout
huiyu.eun [Mon, 22 Feb 2021 05:03:42 +0000 (14:03 +0900)]
[NUI] Create TextLayout when parent has layout

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Fix NUI and wearable svace issues
zhouleonlei [Fri, 19 Feb 2021 08:06:18 +0000 (16:06 +0800)]
[NUI] Fix NUI and wearable svace issues

3 years ago[WIP][WebView] Support request intecept (#2486)
younghajung [Wed, 17 Feb 2021 07:31:23 +0000 (16:31 +0900)]
[WIP][WebView] Support request intecept (#2486)

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 ago[NUI] Fix vertical scrollbar position bug (#2639)
Jiyun Yang [Mon, 15 Feb 2021 02:58:30 +0000 (11:58 +0900)]
[NUI] Fix vertical scrollbar position bug (#2639)

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

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Change LayoutController process
huiyu.eun [Tue, 9 Feb 2021 04:16:31 +0000 (13:16 +0900)]
[NUI] Change LayoutController process

Register a callback when Layout is first used.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] tiny typo fix (2)
pichulia [Fri, 5 Feb 2021 12:23:35 +0000 (21:23 +0900)]
[NUI] tiny typo fix (2)

Signed-off-by: pichulia <eunkiki.hong@samsung.com>
3 years ago[NUI] tiny typo fix
pichulia [Fri, 5 Feb 2021 11:55:36 +0000 (20:55 +0900)]
[NUI] tiny typo fix

Signed-off-by: pichulia <eunkiki.hong@samsung.com>
3 years ago[NUI] Fix wrong casting
pichulia [Fri, 5 Feb 2021 11:33:35 +0000 (20:33 +0900)]
[NUI] Fix wrong casting

Layer and View class don't have any depencency.
So if we try to convert Layer to View (without "as" operator), it may create some critical issues.

Signed-off-by: pichulia <eunkiki.hong@samsung.com>
3 years ago[NUI] Prevent svace issues in Scrollbar
Jiyun Yang [Thu, 4 Feb 2021 11:16:18 +0000 (20:16 +0900)]
[NUI] Prevent svace issues in Scrollbar

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] ScrollableBase supports Scrollbar properly
Jiyun Yang [Thu, 4 Feb 2021 10:48:39 +0000 (19:48 +0900)]
[NUI] ScrollableBase supports Scrollbar properly

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add a VideoHoleEnabled property into WebView. (#2607)
huayongxu [Wed, 3 Feb 2021 06:01:22 +0000 (14:01 +0800)]
[NUI] Add a VideoHoleEnabled property into WebView. (#2607)

Video hole is used for playing videos with high quality in WebView.
This patch is to add a VideoHoleEnabled property.

3 years ago[NUI] Modify svace issues for NUI and wearable (#2600)
zhouleonlei [Tue, 2 Feb 2021 09:08:00 +0000 (17:08 +0800)]
[NUI] Modify svace issues for NUI and wearable (#2600)

3 years agoMake exception safe codes (#2589)
hjhun [Mon, 1 Feb 2021 02:52:35 +0000 (11:52 +0900)]
Make exception safe codes (#2589)

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years ago[NUI] Add GetOriginalImageSize() considering rotation (#2587)
tscholb [Fri, 29 Jan 2021 08:37:53 +0000 (17:37 +0900)]
[NUI] Add GetOriginalImageSize() considering rotation (#2587)

3 years ago[NUI] Update WebView constructor with program arguments (#2573)
Jiyun Yang [Wed, 27 Jan 2021 11:43:46 +0000 (20:43 +0900)]
[NUI] Update WebView constructor with program arguments (#2573)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix svace issue for MergeStyle
zhouleonlei [Wed, 27 Jan 2021 01:52:51 +0000 (09:52 +0800)]
[NUI] Fix svace issue for MergeStyle

3 years agoAdd some APIS into WebView. (#2564)
huayongxu [Tue, 26 Jan 2021 11:35:05 +0000 (19:35 +0800)]
Add some APIS into WebView. (#2564)

Title, Favicon, ClearAllTilesResources are added.
Meanwhile WebView can be created by arguments argc & args
that will be delivered into web engine.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Add some new APIs like Context, Settings, etc. (#2419) (#2567)
Jiyun Yang [Tue, 26 Jan 2021 11:28:19 +0000 (20:28 +0900)]
[NUI] Add some new APIs like Context, Settings, etc. (#2419) (#2567)

Originally only WebView is used to add new APIs, it will become
bigger, and be hard to maintain.
This patch is to move some related APIs into a class like WebContext,
WebSettings, etc.
And it also adds some new APIs like WebBackForwardList, etc.

Co-authored-by: huayongxu <49056704+huayongxu@users.noreply.github.com>
3 years ago[NUI] Change Feedback default as false in Control
Dongsug Song [Tue, 26 Jan 2021 09:10:22 +0000 (18:10 +0900)]
[NUI] Change Feedback default as false in Control

- Change Feedback default as false in Control
- Change Feedback as true in each Components (ex: Switch, Button)

3 years ago[NUI] fix bug when setting desired size in ImageView (#2550)
tscholb [Tue, 26 Jan 2021 03:47:16 +0000 (12:47 +0900)]
[NUI] fix bug when setting desired size in ImageView (#2550)

before, ImageView calculate desired size using GetOriginalImageSize()
but this api does not consider rotate value
so i changed it

3 years ago[MessagePort] Add defensive code for null string (#2558)
kilig [Tue, 26 Jan 2021 01:07:24 +0000 (10:07 +0900)]
[MessagePort] Add defensive code for null string (#2558)

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years ago[MessagePort] Fix bug for getting remote value (#2555)
kilig [Tue, 26 Jan 2021 00:25:02 +0000 (09:25 +0900)]
[MessagePort] Fix bug for getting remote value (#2555)

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years ago[NUI] Support scroll in WebView. (#2549)
huayongxu [Fri, 22 Jan 2021 10:24:11 +0000 (18:24 +0800)]
[NUI] Support scroll in WebView. (#2549)

1) ScrollPosition, ScrollSize, ContentSize properties are added.
2) ScrollBy is added.
3) ScrollEdgeReached events are notified when scrolled to edge.

3 years ago[NUI] remove internal child properly when child view of FlexLayout is removed (#2523)
YeongJong Lee [Thu, 21 Jan 2021 06:34:18 +0000 (15:34 +0900)]
[NUI] remove internal child properly when child view of FlexLayout is removed (#2523)

In `FlexLayout`, when we add new view, the existing view shrink.
but when removed they are in shrinked state. they should change back.

To fix this issue, this patch remove internal child(child of yoga
layout) when child view of `FlexLayout` is removed.

For now, `OnChildRemove` API will work correctly.

Thank you Aman Jeph for the report.

3 years ago[NUI] Add DeleteAccessibilityAttribute
huiyu.eun [Wed, 20 Jan 2021 09:17:12 +0000 (18:17 +0900)]
[NUI] Add DeleteAccessibilityAttribute

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Fix memory leak, Add Dispose (#2543)
huiyueun [Thu, 21 Jan 2021 04:37:45 +0000 (13:37 +0900)]
[NUI] Fix memory leak, Add Dispose (#2543)

refer this patch
https://github.com/Samsung/TizenFX/pull/2536
https://github.com/Samsung/TizenFX/pull/2534

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Fix TV AmbientMode empty screen
dongsug.song [Wed, 20 Jan 2021 06:10:52 +0000 (15:10 +0900)]
[NUI] Fix TV AmbientMode empty screen

3 years ago[NUI] Change Feedback as working on TouchEvent
dongsug.song [Mon, 18 Jan 2021 11:46:49 +0000 (20:46 +0900)]
[NUI] Change Feedback as working on TouchEvent

3 years ago[NUI] Fix AccessibilityManager Event handler
Seoyeon Kim [Mon, 18 Jan 2021 09:35:49 +0000 (18:35 +0900)]
[NUI] Fix AccessibilityManager Event handler

- Changed the old-fashioned code of event handler

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[Bluetooth][Non-ACR] GetBondedDevice converting issue (#2518)
Wootak Jung [Wed, 13 Jan 2021 22:12:17 +0000 (07:12 +0900)]
[Bluetooth][Non-ACR] GetBondedDevice converting issue (#2518)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years agoFix BluetoothDevice.Name converting issue (#2499)
Wootak Jung [Fri, 8 Jan 2021 00:47:46 +0000 (09:47 +0900)]
Fix BluetoothDevice.Name converting issue (#2499)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years ago[NUI] fixed memory leak
Joogab Yun [Wed, 6 Jan 2021 16:10:25 +0000 (01:10 +0900)]
[NUI] fixed memory leak

3 years ago[Packagemanager] Fix registering internal event callback (#2482)
jeremy-jang [Tue, 5 Jan 2021 01:16:43 +0000 (10:16 +0900)]
[Packagemanager] Fix registering internal event callback (#2482)

Do not invoke Interop.PackageManager.PackageManagerSetEvent().
This will unset all internal callback information and this may make user cannot
listen the package event completely.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years ago[Bluetooth][Non-ACR] Fix unhandled exception in GetBondedDevices() (#2484)
dh79pyun [Mon, 4 Jan 2021 23:06:17 +0000 (08:06 +0900)]
[Bluetooth][Non-ACR] Fix unhandled exception in GetBondedDevices() (#2484)

I/DOTNET_LAUNCHER (P 2613, T 2617): Unhandled exception.
I/DOTNET_LAUNCHER (P 2613, T 2617): System.Runtime.InteropServices.COMException (0x8007007A):
The data area passed to a system call is too small.
I/DOTNET_LAUNCHER (P 2613, T 2617):  (0x8007007A)
I/DOTNET_LAUNCHER (P 2613, T 2617):    at System.StubHelpers.ValueClassMarshaler.ConvertToNative(IntPtr dst, IntPtr src,
IntPtr pMT, CleanupWorkListElement& pCleanupWorkList)
I/DOTNET_LAUNCHER (P 2613, T 2617):    at Tizen.Network.Bluetooth.BluetoothAdapterImpl.GetBondedDevices()
I/DOTNET_LAUNCHER (P 2613, T 2617):    at Tizen.Network.Bluetooth.BluetoothAdapter.GetBondedDevices()
I/DOTNET_LAUNCHER (P 2613, T 2617):    at Tizen.Network.Bluetooth.Tests.BluetoothAdapterTests.GetBondedDevices_RETURN_LIST_OF_DEVICES()
in /var/lib/jenkins/jobs/CsharpTCT/TCT_6.0/api/tct-suite-vs/Tizen.Bluetooth.Manual.Tests/testcase/TSBluetoothAdapter.cs:line 435
I/DOTNET_LAUNCHER (P 2613, T 2617): Fatal error.
I/DOTNET_LAUNCHER (P 2613, T 2617): Internal CLR error. (0x80131506)
I/DOTNET_LAUNCHER (P 2613, T 2617): DLOG_ERROR_NOMSG
I/DOTNET_LAUNCHER (P 2613, T 2617):    at Interop+Bluetooth.GetBondedDevices(BondedDeviceCallback, IntPtr)
I/DOTNET_LAUNCHER (P 2613, T 2617):    at Tizen.Network.Bluetooth.BluetoothAdapterImpl.GetBondedDevices()
I/DOTNET_LAUNCHER (P 2613, T 2617):    at Tizen.Network.Bluetooth.BluetoothAdapter.GetBondedDevices()

Change-Id: I04a0a89d75dc973a752950c9274b80d9988a11ed
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Co-authored-by: Anupam Roy <anupam.r@samsung.com>
3 years agoAdd internal APIs for power off and reboot (#2475)
Lee Chang Joo [Tue, 29 Dec 2020 09:00:50 +0000 (18:00 +0900)]
Add internal APIs for power off and reboot (#2475)

Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years ago[NUI] Fix Svace issues
zhouleonlei [Tue, 29 Dec 2020 02:47:05 +0000 (10:47 +0800)]
[NUI] Fix Svace issues

3 years ago[NUI] Initialize feedback instance only when the Feedback property is on.
Jiyun Yang [Thu, 17 Dec 2020 07:08:36 +0000 (16:08 +0900)]
[NUI] Initialize feedback instance only when the Feedback property is on.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoUpdate Log.cs (#2424)
hyotaekshim [Thu, 17 Dec 2020 06:54:56 +0000 (15:54 +0900)]
Update Log.cs (#2424)

3 years ago[NUI] fix svace issue for texture
zhouleonlei [Tue, 15 Dec 2020 03:37:49 +0000 (11:37 +0800)]
[NUI] fix svace issue for texture

3 years ago[NUI] Change "IsTapGestureFeedback" as "Feedback"
Dongsug Song [Tue, 15 Dec 2020 02:54:44 +0000 (11:54 +0900)]
[NUI] Change "IsTapGestureFeedback" as "Feedback"

3 years ago[NUI] Add sound feedback and fix scroll build errors
zhouleonlei [Mon, 14 Dec 2020 06:26:08 +0000 (14:26 +0800)]
[NUI] Add sound feedback and fix scroll build errors

3 years ago[NUI] Call show winodw on ApplicationInit
huiyu.eun [Fri, 11 Dec 2020 01:23:54 +0000 (10:23 +0900)]
[NUI] Call show winodw on ApplicationInit

- When preload application, the show is called before the appcore is created.
- Call the window show at OnInit and notify the app core

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Change clipping mode of ScrollableBase (#2358)
bshsqa [Wed, 9 Dec 2020 06:39:08 +0000 (15:39 +0900)]
[NUI] Change clipping mode of ScrollableBase (#2358)

- ClipChildren clipping mode uses stencil buffer.
 - But, scrollableBase is always pretended as rectangular shape so we can change it to ClipToBoundingBox that uses scissor.
 - Usually, Scissor is better than stencil buffer for the performance.

Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years ago[NUI] Add RedrawInScalingDown in LottieAnimationView
Dongsug Song [Wed, 9 Dec 2020 04:56:31 +0000 (13:56 +0900)]
[NUI] Add RedrawInScalingDown in LottieAnimationView

3 years ago[NUI] Fixed svace issue for API8
zhouleonlei [Wed, 9 Dec 2020 03:09:10 +0000 (11:09 +0800)]
[NUI] Fixed svace issue for API8

3 years ago[NUI] Modify NUI Seamless animation bug (#2334)
huiyueun [Mon, 7 Dec 2020 07:20:12 +0000 (16:20 +0900)]
[NUI] Modify NUI Seamless animation bug (#2334)

* [NUI] Modify NUI Seamless animation bug

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* [NUI] Modify build warning of seamless

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

* Update TransitionAnimations.cs

* Update DefaultFrameBroker.cs

* Update SeamlessBackward.cs

* Update SeamlessForward.cs

* Update TransitionOptions.cs

* Update NUIBrokerSample.cs

* Update DefaultFrameBroker.cs

3 years ago[NUI] Modify popup dismiss bug (#2335)
huiyueun [Mon, 7 Dec 2020 05:42:52 +0000 (14:42 +0900)]
[NUI] Modify popup dismiss bug (#2335)

when dismiss popup, the shadow does not disappear.
-An error occurs after changing the parent to GetParent ().
-layer of converting View is null.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Add Padding parameter for TextPageUtil (#2331)
JoogabYun [Mon, 7 Dec 2020 05:09:36 +0000 (14:09 +0900)]
[NUI] Add Padding parameter for TextPageUtil (#2331)

3 years ago[Uix/VoiceControlManager] Fix svace issue (#2326)
Sooyeon Kim [Thu, 3 Dec 2020 10:51:28 +0000 (19:51 +0900)]
[Uix/VoiceControlManager] Fix svace issue (#2326)

* [Uix/VoiceControlManager] Fix svace issue

Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
* Fix build issue

Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
* Fix indentation

Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
3 years ago[NUI] Let scroll again when displacement for OutOfBound effect become 0
seungho [Thu, 3 Dec 2020 06:59:45 +0000 (15:59 +0900)]
[NUI] Let scroll again when displacement for OutOfBound effect become 0

Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years ago[NUI] Fix not to get framework path via StyleManager
Jiyun Yang [Thu, 3 Dec 2020 07:31:21 +0000 (16:31 +0900)]
[NUI] Fix not to get framework path via StyleManager

StyleManager uses dali singleton service which is not initialized in PreLoad().
Previously in Preload(), ThemeManager got framework resource path via static constant in StyleManager,
which leaded to initialize StyleManager instance that is not valid in PreLoad().

So this patch moved framework resource path constant to the constant file.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix wrong AnimationState after VectorAnimatedImageView playing stoped
Dongsug Song [Wed, 2 Dec 2020 02:46:38 +0000 (11:46 +0900)]
[NUI] Fix wrong AnimationState after VectorAnimatedImageView playing stoped