platform/core/csapi/tizenfx.git
9 months ago[System.Feedback] Add privilege description to internal API for multi-theme
Yunhee Seo [Mon, 21 Aug 2023 11:10:16 +0000 (20:10 +0900)]
[System.Feedback] Add privilege description to internal API for multi-theme

To call below feedback internal API, App should have accurate privilege.
Description and privilege type is added to below API.
- public void SetThemeIndexInternal(FeedbackType type, uint indexOfTheme)

Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
9 months ago[MediaVision] Add/deprecate InferenceBackendType (#5477)
Haesu Gwon [Wed, 23 Aug 2023 06:23:00 +0000 (15:23 +0900)]
[MediaVision] Add/deprecate InferenceBackendType (#5477)

9 months ago[NUI] DALI version 2.2.40
Woochan Lee [Tue, 22 Aug 2023 06:15:50 +0000 (15:15 +0900)]
[NUI] DALI version 2.2.40

9 months ago[NUI] Add InsetsChanged event to Window
Jaehyun Cho [Thu, 14 Jul 2022 10:13:28 +0000 (19:13 +0900)]
[NUI] Add InsetsChanged event to Window

Window insets are the inner size between window content and window edge.

Window insets are required when status bar, virtual keyboard, or
clipboard appears on window to avoid window content obscured by them.

To notify the window insets changes, InsetsChanged event is added to
Window.

9 months ago[NUI] Supports key event of repeat and delay of each way.
Wonsik Jung [Mon, 21 Aug 2023 20:40:54 +0000 (05:40 +0900)]
[NUI] Supports key event of repeat and delay of each way.

9 months ago[NUI] Make BindableObject.IsBound public.
huayong.xu [Thu, 6 Jul 2023 10:43:13 +0000 (18:43 +0800)]
[NUI] Make BindableObject.IsBound public.

9 months ago[NUI] Fix some SVACE issues.
huayong.xu [Mon, 21 Aug 2023 08:05:09 +0000 (16:05 +0800)]
[NUI] Fix some SVACE issues.

9 months ago[NUI] Applicatoin.FlushUpdateMessage
Eunki, Hong [Mon, 21 Aug 2023 01:44:28 +0000 (10:44 +0900)]
[NUI] Applicatoin.FlushUpdateMessage

Add new API to relayout & flush update/render thread messages.

It is for advanced app developer.
This API will flush all queued messages and rendering well.
But if we call it frequency, it will occure main thread overhead.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months ago[NUI] Fix SVACE issue.
huayong.xu [Fri, 18 Aug 2023 05:53:27 +0000 (13:53 +0800)]
[NUI] Fix SVACE issue.

9 months agoFix issue for checking return value of Interop (#5491)
kilig [Tue, 22 Aug 2023 02:28:54 +0000 (11:28 +0900)]
Fix issue for checking return value of Interop (#5491)

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
9 months ago[NUI.WindowSystem] Introduce the new KVM service feature
Junseok Kim [Thu, 27 Jul 2023 07:18:53 +0000 (16:18 +0900)]
[NUI.WindowSystem] Introduce the new KVM service feature

Introduce the new KVM service feature and Add tests for the feature

Signed-off-by: Junseok Kim <juns.kim@samsung.com>
9 months ago[MediaContent] Deprecate unused APIs (#5473)
Haesu Gwon [Fri, 18 Aug 2023 02:08:45 +0000 (11:08 +0900)]
[MediaContent] Deprecate unused APIs (#5473)

9 months ago[MachineLearning.Inference] Change internal rank limit and default value
Yelin Jeong [Fri, 28 Jul 2023 01:55:21 +0000 (10:55 +0900)]
[MachineLearning.Inference] Change internal rank limit and default value

This patch changes internal rank limit in MachineLeanring.Inference.
To use higher rank limit, ml_tensors_info_create_extended is needed.
Also, default dimension value is changed to 0 from 1.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
9 months ago[NUI] DALi version 2.2.39
dongsug.song [Wed, 16 Aug 2023 11:00:10 +0000 (20:00 +0900)]
[NUI] DALi version 2.2.39

9 months ago[NUI] Add api about RelativeMove
joogab.yun [Tue, 8 Aug 2023 06:54:00 +0000 (15:54 +0900)]
[NUI] Add api about RelativeMove
1. PointerConstraintsLock
2. PointerConstraintsUnlock
3. LockedPointerRegionSet
4. LockedPointerCursorPositionHintSet
5. RelativeMoveEvent

refer :
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/296968/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/296969/

9 months ago[NUI] Change all CallingConvention to `Cdecl`
Seoyeon Kim [Fri, 11 Aug 2023 02:57:19 +0000 (11:57 +0900)]
[NUI] Change all CallingConvention to `Cdecl`

- Change all the CallingConvention from `Stdcall` to `Cdecl`.
- In terms of security, the `cdecl` convention is "safer"
 because it is the caller that needs to deallocate the stack.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
9 months ago[NUI] Remove NUI dotnet 6.0 build warnings
Eunki Hong [Tue, 8 Aug 2023 15:09:05 +0000 (00:09 +0900)]
[NUI] Remove NUI dotnet 6.0 build warnings

Remove liteweights build warnings when build latest NUI

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
9 months ago[NUI] Remove strong references of text components regarding events
Jiyun Yang [Tue, 8 Aug 2023 10:27:07 +0000 (19:27 +0900)]
[NUI] Remove strong references of text components regarding events

* Improve WeakEvent
  * Lazy list initialization
  * Provide count changed callback methods
  * Separate file into WeakEvent and WeakEventProxy
* Fix TextLabel, TextField, TextEditor
  * Do not register event handler to the system event directly.
  * Instead they use WeakEventProxy to get GCed without Dispose call.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
9 months ago[System.Feedback] Add internal APIs to support multi-theme sound conf usage
Yunhee Seo [Wed, 9 Aug 2023 07:02:05 +0000 (16:02 +0900)]
[System.Feedback] Add internal APIs to support multi-theme sound conf usage

Allows selecting one of several theme files according to feedback type.
Now, this supports only feedback type Sound.

These are newly added to System.Feedback.
- public uint GetCountOfThemeInternal(FeedbackType type)
    -> It returns count of theme which is defined conf file according to feedback type.
       This indicates how many conf files are available.
- public uint GetThemeIndexInternal(FeedbackType type)
    -> It returns index of theme which is selected as default according to feedback type.
- public void SetThemeIndexInternal(FeedbackType type, uint indexOfTheme)
    -> It sets indexOfTheme to default conf index according to feedback type.
       By calling this, feedback will use the conf file with "indexOfTheme" index.

Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
9 months agoUpdate README.md (#5311)
Jay Cho [Sat, 12 Aug 2023 12:24:40 +0000 (21:24 +0900)]
Update README.md (#5311)

* Update README.md

Update the next version of Tizen Platform to 8.0

* Update README

9 months agoRemove API10 from depends (#5479)
Jay Cho [Fri, 11 Aug 2023 06:32:59 +0000 (15:32 +0900)]
Remove API10 from depends (#5479)

9 months ago[MediaController] Add new capability APIs (#5472)
Haesu Gwon [Fri, 11 Aug 2023 05:22:40 +0000 (14:22 +0900)]
[MediaController] Add new capability APIs (#5472)

9 months agoRevert "Revert "[TFM] Update TizenFX TFM to net6.0 (#5360)" (#5436)" (#5466)
Jay Cho [Thu, 10 Aug 2023 01:10:11 +0000 (10:10 +0900)]
Revert "Revert "[TFM] Update TizenFX TFM to net6.0 (#5360)" (#5436)" (#5466)

This reverts commit d517215ef74fbd68d24fbfb58d11eb96be159741.

9 months ago[NUI] Version Update (22238)
Hosang Kim [Wed, 9 Aug 2023 07:25:11 +0000 (16:25 +0900)]
[NUI] Version Update (22238)

9 months ago[NUI] Fix issue when LottieAnimationView use DesiredSize
Eunki, Hong [Tue, 8 Aug 2023 11:20:07 +0000 (20:20 +0900)]
[NUI] Fix issue when LottieAnimationView use DesiredSize

Since #5350 patch will reset previous whole informations
when we use ResourceUrl.

So, If user set ResourceUrl set DesiredSize, the desired size
informatins disapeared.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months ago[NUI] Add ImageView.ImageColor property for Image visual's MixColor
Eunki, Hong [Wed, 26 Jul 2023 04:00:00 +0000 (13:00 +0900)]
[NUI] Add ImageView.ImageColor property for Image visual's MixColor

Add some property to control the mix color of ImageView's image visual

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months ago[NUI] Set DragWindow Orientation Available
Taehyub Kim [Thu, 29 Jun 2023 11:29:45 +0000 (20:29 +0900)]
[NUI] Set DragWindow Orientation Available

9 months ago[NUI] Make LottieAnimationView do not support bitmap images.
seungho baek [Thu, 22 Jun 2023 04:49:43 +0000 (13:49 +0900)]
[NUI] Make LottieAnimationView do not support bitmap images.

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
9 months ago[NUI] Fix SVACE issue.
huayong.xu [Fri, 4 Aug 2023 01:57:10 +0000 (09:57 +0800)]
[NUI] Fix SVACE issue.

9 months ago[NUI] Add clipboard sample (#5451)
Bowon Ryu [Fri, 4 Aug 2023 05:00:47 +0000 (14:00 +0900)]
[NUI] Add clipboard sample (#5451)

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
9 months ago[NUI] Registry is not required at GetTouchFromPtr()
joogab.yun [Thu, 3 Aug 2023 04:12:42 +0000 (13:12 +0900)]
[NUI] Registry is not required at GetTouchFromPtr()

In the case of an object created from DALi, it is created with new BaseHandle(intPtr, false).

9 months ago[NUI] Block lazy Background
Eunki, Hong [Wed, 2 Aug 2023 07:27:40 +0000 (16:27 +0900)]
[NUI] Block lazy Background

Since #5437 PR make visual lazy, we got some error when we try to
make animation with "CornerRadius" property.

Until resolve VisualAnimation issue. let we just update visual synchronously.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months ago[NUI] Lazy Update CornerRadius/Borderline
Eunki Hong [Tue, 1 Aug 2023 12:38:28 +0000 (21:38 +0900)]
[NUI] Lazy Update CornerRadius/Borderline

Prototype codes for Borderline / CornerRadius feature update lazy.

Since we don't need to apply background extra data multiple times,
Let we collect all changeness informations + Apply it once.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
9 months ago[NUI] Fix some SVACE issues.
huayong.xu [Wed, 2 Aug 2023 02:27:38 +0000 (10:27 +0800)]
[NUI] Fix some SVACE issues.

9 months ago[MediaVision] Add Timestamp API for MediaVisionSource (#5444)
Haesu Gwon [Wed, 9 Aug 2023 06:19:06 +0000 (15:19 +0900)]
[MediaVision] Add Timestamp API for MediaVisionSource (#5444)

9 months ago[Camera] Add new APIs for manual focus level, product id and vendor id (#5443)
Haesu Gwon [Wed, 9 Aug 2023 02:03:01 +0000 (11:03 +0900)]
[Camera] Add new APIs for manual focus level, product id and vendor id (#5443)

* [Camera] Add new APIs for manual focus level, product id and vendor id

9 months ago[WebRTC] Add display feature for video APIs (#5442)
Haesu Gwon [Wed, 9 Aug 2023 01:55:24 +0000 (10:55 +0900)]
[WebRTC] Add display feature for video APIs (#5442)

9 months ago[NUI.Gadget] Add a new method to load assembly (#5455)
hjhun [Tue, 8 Aug 2023 04:47:40 +0000 (13:47 +0900)]
[NUI.Gadget] Add a new method to load assembly (#5455)

The Load() method is added to load the assembly of the NUIGadget.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 months agoAdd lock for _recordChanged variable (#5453)
ilho159kim [Mon, 7 Aug 2023 07:02:03 +0000 (16:02 +0900)]
Add lock for _recordChanged variable (#5453)

Signed-off-by: ilho kim <ilho159.kim@samsung.com>
9 months ago[Multimedia] Fix VD SVACE issues (#5445)
Haesu Gwon [Fri, 4 Aug 2023 08:35:25 +0000 (17:35 +0900)]
[Multimedia] Fix VD SVACE issues (#5445)

9 months ago[WebRTC] Add Mute API for audio track (#5440)
Haesu Gwon [Fri, 4 Aug 2023 07:53:33 +0000 (16:53 +0900)]
[WebRTC] Add Mute API for audio track (#5440)

9 months ago[VoiceControlManager] Raise exception for NotSupportedFeature error
Suyeon Hwang [Thu, 3 Aug 2023 06:38:03 +0000 (15:38 +0900)]
[VoiceControlManager] Raise exception for NotSupportedFeature error

Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
9 months ago[Tizen.Log] Fix null reference exception
Youngjae Cho [Thu, 27 Jul 2023 07:19:16 +0000 (16:19 +0900)]
[Tizen.Log] Fix null reference exception

When a null string comes, replace it with empty string so that not to
throw null reference exception.

Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
9 months ago[Tizen.System] Add default case for switch statement
Youngjae Cho [Fri, 28 Jul 2023 03:42:06 +0000 (12:42 +0900)]
[Tizen.System] Add default case for switch statement

Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
9 months agoRevert "[TFM] Update TizenFX TFM to net6.0 (#5360)" (#5436)
Jay Cho [Tue, 1 Aug 2023 08:48:34 +0000 (17:48 +0900)]
Revert "[TFM] Update TizenFX TFM to net6.0 (#5360)" (#5436)

This reverts commit 8f5b2320909d8afe8c33861d5ae0f627b668fc7e.

9 months ago[NUI] Version Update (22237)
sunghyun kim [Tue, 1 Aug 2023 06:14:31 +0000 (15:14 +0900)]
[NUI] Version Update (22237)

9 months ago[NUI] Add non-generic WeakEventProxy
Jiyun Yang [Tue, 1 Aug 2023 05:05:55 +0000 (14:05 +0900)]
[NUI] Add non-generic WeakEventProxy

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
9 months ago[NUI] Add Clipboard
Bowon Ryu [Mon, 17 Jul 2023 08:23:28 +0000 (17:23 +0900)]
[NUI] Add Clipboard

Implement the Clipboard singleton class
that allows set and retrieval of data from the clipboard.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
9 months ago[NUI] Add WeakEventProxy class and improve invoke of WeakEvent
Jiyun Yang [Fri, 28 Jul 2023 05:55:30 +0000 (14:55 +0900)]
[NUI] Add WeakEventProxy class and improve invoke of WeakEvent

* WeakEventProxy : The weak event connecting to a normal event.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
9 months ago[NUI] Make Action id as internal static readonly
Eunki Hong [Tue, 25 Jul 2023 16:49:52 +0000 (01:49 +0900)]
[NUI] Make Action id as internal static readonly

Since we share the same action id for each Play / Pause / etc,
we don't need to consider overwrite the action id now.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
9 months ago[NUI][Samples] Fix exception during shutdown + Remove useless codes
Eunki Hong [Tue, 25 Jul 2023 16:34:12 +0000 (01:34 +0900)]
[NUI][Samples] Fix exception during shutdown + Remove useless codes

Previously, we can emit OnAnimationFinished callback during app shutting down.
In this case, a lots of bugs can be occured.
Now let we make clean up all BaseHandle Disposed.

And also, remove ImageView's background color which is useless.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
9 months agoUpdate README.md
Kangho Hur [Tue, 1 Aug 2023 06:48:45 +0000 (15:48 +0900)]
Update README.md

9 months agoUpdate deploy-packages.yml
Kangho Hur [Tue, 1 Aug 2023 05:55:38 +0000 (14:55 +0900)]
Update deploy-packages.yml

9 months agoUpdate nightly-release.yml
Kangho Hur [Tue, 1 Aug 2023 05:39:16 +0000 (14:39 +0900)]
Update nightly-release.yml

9 months agoUpdate deploy-packages.yml
Kangho Hur [Tue, 1 Aug 2023 05:38:19 +0000 (14:38 +0900)]
Update deploy-packages.yml

9 months ago[TFM] Update TizenFX TFM to net6.0 (#5360)
Jay Cho [Fri, 28 Jul 2023 05:44:32 +0000 (14:44 +0900)]
[TFM] Update TizenFX TFM to net6.0 (#5360)

* [Build] Add RID for 8.0.0

* [NetCoreApp] Update NetCoreApp to 6.0.0

* [Build] Update nuspec and tool

* [TFM] Update internal projects to net6.0

* [TFM] Update project TargetFrame to net6.0

* [Script] Add guard build script

* [Build] Update packaging tfm

* Bump Microsoft.NETCore.Platforms to 6.0.9

* Add Tizen.NET.API10 to depends

* Add Tizen.NET API10,11 to depends

* Remove Tizen.NET API11 to depends

* Change the location and value for generating vconf of runtime_version

---------

Co-authored-by: sung-su.kim <sung-su.kim@samsung.com>
Co-authored-by: j-h.choi <j-h.choi@samsung.com>
9 months ago[NUI] Version Update (22236)
jmm [Tue, 25 Jul 2023 07:38:01 +0000 (16:38 +0900)]
[NUI] Version Update (22236)

9 months ago[NUI] Fast track uploading image
Eunki, Hong [Mon, 17 Jul 2023 03:04:59 +0000 (12:04 +0900)]
[NUI] Fast track uploading image

Add new feature about flag that ImageView's image uploading faster.

Previously, NUI has some operations to support some kind of visual transition,
or calculate natural size for relayout, or etc.

This patch make a way to user that we need to upload image as soon as possible,
don't care about other platform supported features.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months ago[NUI] Restore FeedHover due to api compatibility issue.
joogab.yun [Tue, 25 Jul 2023 02:55:44 +0000 (11:55 +0900)]
[NUI] Restore FeedHover due to api compatibility issue.
And the null check is done in FeedHover.

revert : https://github.com/Samsung/TizenFX/pull/5411

9 months ago[NUI] Add logic to check if GetLastTouchEvent() is null.
joogab.yun [Tue, 25 Jul 2023 02:01:16 +0000 (11:01 +0900)]
[NUI] Add logic to check if GetLastTouchEvent() is null.

9 months ago[NUI] Get Lottie ActionId of SetDynamicProperty
Eunki, Hong [Mon, 24 Jul 2023 01:05:20 +0000 (10:05 +0900)]
[NUI] Get Lottie ActionId of SetDynamicProperty

Since we change the value of SetDynamicProperty value in dali side,
we need to get correct value from dali.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
9 months ago[NUI] Remove RenderTask itself from the RenderTaskList when disposed
Jiyun Yang [Thu, 20 Jul 2023 07:25:53 +0000 (16:25 +0900)]
[NUI] Remove RenderTask itself from the RenderTaskList when disposed

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
9 months ago[NUI] Event-related APIs are moved to ViewEvent.cs.
joogab.yun [Wed, 19 Jul 2023 07:36:12 +0000 (16:36 +0900)]
[NUI] Event-related APIs are moved to ViewEvent.cs.

Add DispatchTouchMotion and DispatchHoverMotion.

9 months agoDeprecating Tizen.Maps APIs (#5108)
priyakohl [Tue, 25 Jul 2023 07:18:29 +0000 (12:48 +0530)]
Deprecating Tizen.Maps APIs (#5108)

* Deprecating Tizen.Maps API

Signed-off-by: priya kohli <priya.kohli@samsung.com>
* Updating Code

---------

Signed-off-by: priya kohli <priya.kohli@samsung.com>
10 months ago[NUI] Version Update (22235)
seungho baek [Tue, 18 Jul 2023 09:19:38 +0000 (18:19 +0900)]
[NUI] Version Update (22235)

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
10 months ago[NUI] Add VisibilityChanged event to Layer
Jaehyun Cho [Tue, 18 Jul 2023 07:16:58 +0000 (16:16 +0900)]
[NUI] Add VisibilityChanged event to Layer

To notice the visibility changes of Layer, VisibilityChanged event is
added to Layer.

10 months ago[NUI] Fix SVACE issue.
huayong.xu [Thu, 13 Jul 2023 08:56:57 +0000 (16:56 +0800)]
[NUI] Fix SVACE issue.

10 months ago[NUI] Update Font size scale again based on the updated guide
Seoyeon Kim [Thu, 13 Jul 2023 12:56:34 +0000 (21:56 +0900)]
[NUI] Update Font size scale again based on the updated guide

- The font size scales are changed according to the latest GUI guide.
- Five stages of Font size scale :
 : 87% -> 100% -> 113% -> 126% -> 140 %

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
10 months ago[NUI] Switch camera includes current camera's Unparent()
jmm [Wed, 12 Jul 2023 09:26:51 +0000 (18:26 +0900)]
[NUI] Switch camera includes current camera's Unparent()

10 months ago[NUI][AT-SPI] Set focus in OnAccessibilityActivated()
Artur Świgoń [Tue, 11 Jul 2023 13:51:00 +0000 (15:51 +0200)]
[NUI][AT-SPI] Set focus in OnAccessibilityActivated()

This aligns the behaviour of Components (derived from CustomView), and other controls, with that
of BaseComponents (and other controls with ViewAccessibilityMode.Default, backed by the C++
accessibility implementation), which set the keyboard focus on activation. Please note that in the
latter case, the implementation of View.OnAccessibilityActivated is unused, and the unrelated method
(albeit bearing the same name) Toolkit::Control::OnAccessibilityActivated is called:

bool Control::OnAccessibilityActivated()
{
  if(Toolkit::KeyboardFocusManager::Get().SetCurrentFocusActor(Self()))
  {
    return OnKeyboardEnter();
  }
  return false;
}

So, in other words, this patch makes C# controls behave in a similar manner, i.e. set the keyboard
focus on accessibility activation.

10 months ago[NUI.Scene3D] Make MotionData use Native API, instead of C#
Eunki, Hong [Wed, 5 Jul 2023 07:26:59 +0000 (16:26 +0900)]
[NUI.Scene3D] Make MotionData use Native API, instead of C#

Since we allow to use MotionData feature in dali-side, let we use it.

Now we can load motion data and blendshape animation from file asyncronously.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
10 months ago[Tizen.Applications] Fix static analysis issues (#5389)
kilig [Fri, 14 Jul 2023 04:46:09 +0000 (13:46 +0900)]
[Tizen.Applications] Fix static analysis issues (#5389)

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
10 months ago[MediaPlayer] Add new API to set video codec type (#5359)
Haesu Gwon [Tue, 11 Jul 2023 06:28:52 +0000 (15:28 +0900)]
[MediaPlayer] Add new API to set video codec type (#5359)

* [MediaPlayer] Add new API to set video codec type

10 months agoVersion update - 22234
huiyu [Tue, 11 Jul 2023 05:19:46 +0000 (14:19 +0900)]
Version update - 22234

Signed-off-by: huiyu <huiyu.eun@samsung.com>
10 months ago[NUI] Fix not to propagate gesture from scrim
Jaehyun Cho [Mon, 10 Jul 2023 07:53:15 +0000 (16:53 +0900)]
[NUI] Fix not to propagate gesture from scrim

Scrim should block all touch and gesture events.
Therefore, gesture is also not propagated from scrim.

10 months ago[NUI] Register OrientationChanged for BorderWindow.
joogab.yun [Mon, 10 Jul 2023 10:50:03 +0000 (19:50 +0900)]
[NUI] Register OrientationChanged for BorderWindow.

Because if the window is rotated, we need to resize the window by recalculating the border area.

10 months ago[NUI] Binding IsFloatingModeEnabled()
joogab.yun [Mon, 10 Jul 2023 05:45:56 +0000 (14:45 +0900)]
[NUI] Binding IsFloatingModeEnabled()

refer :
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/295493/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/295494/

10 months ago[NUI] Delete the used window in widget
sunghyun kim [Mon, 19 Jun 2023 01:39:40 +0000 (10:39 +0900)]
[NUI] Delete the used window in widget

Delete the used window so that the window can be deleted normally when deleting the widget.
this is for memory leak issue.

10 months ago[NUI] Update FontSizeScale values
Seoyeon Kim [Tue, 4 Jul 2023 09:06:39 +0000 (18:06 +0900)]
[NUI] Update FontSizeScale values

- Except for TV and wearable profiles, FontSizeScale values are updated.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
10 months ago[NUI] version up(22231)
Bowon Ryu [Wed, 5 Jul 2023 06:22:26 +0000 (15:22 +0900)]
[NUI] version up(22231)

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
10 months ago[NUI] Add InterceptWheelEvent
joogab.yun [Tue, 4 Jul 2023 07:06:47 +0000 (16:06 +0900)]
[NUI] Add InterceptWheelEvent

The Wheel event calls the WheelEvent callback by going back from the last child actor to the parent via hitTest.
InterceptWheelEvent checks the wheel event in the parent first.
Returning false from interceptWheelEvent allows child actors to receive WheelEvents.
If it returns true, the actor will receive a WheelEvent.

for example

   View parent = new View();
   View child = new View();
   parent.Add(child);
   child.WheelEvent += childFunctor;
   parent.WheelEvent += parentFunctor;

The callbacks are called in the order childFunctor -> parentFunctor.

If you connect InterceptWheelEvent to parentActor.

   parent.InterceptWheelEvent += interceptFunctor;

When interceptFunctor returns false, it is called in the same order childFunctor -> parentFunctor.
If intereptFunctor returns true, it means that the WheelEvent was intercepted.
So the child actor will not be able to receive wheel events.
Only the parentFunctor is called.

refer :
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/295232/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/295233/

10 months ago[NUI] Partial update feature enable/disable for window
Eunki, Hong [Tue, 4 Jul 2023 04:13:37 +0000 (13:13 +0900)]
[NUI] Partial update feature enable/disable for window

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
10 months ago[NUI] Add ModelRoot Property in Model class
seungho baek [Thu, 29 Jun 2023 05:11:25 +0000 (14:11 +0900)]
[NUI] Add ModelRoot Property in Model class

 - Add ModelRoot Property to retrieve root ModelNode of the Model object.
 - Change parameter name of AddModelNode and RemoveModelNode to modelNode

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
10 months ago[NUI] Write comments for Matrix and Matrix3
Eunki, Hong [Fri, 23 Jun 2023 03:56:27 +0000 (12:56 +0900)]
[NUI] Write comments for Matrix and Matrix3

Write some comments for Matrix / Matrix3 class

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
10 months ago[NUI] Disable ThemeManager preload
Jiyun Yang [Fri, 30 Jun 2023 05:42:44 +0000 (14:42 +0900)]
[NUI] Disable ThemeManager preload

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
10 months ago[NUI] Add LazyFeedHover api for HoverEvent
joogab.yun [Fri, 23 Jun 2023 08:10:28 +0000 (17:10 +0900)]
[NUI] Add LazyFeedHover api for HoverEvent

This api feeds a hover event into the window.

refer :
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/294676/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/294689/

10 months ago[NUI] Add Directional Light
seungho baek [Mon, 12 Jun 2023 04:43:51 +0000 (13:43 +0900)]
[NUI] Add Directional Light

Signed-off-by: seungho baek <sbsh.baek@samsung.com>
10 months ago[NUI] Exception if someone change disposed ImageView's property
Eunki, Hong [Mon, 26 Jun 2023 05:14:10 +0000 (14:14 +0900)]
[NUI] Exception if someone change disposed ImageView's property

Since we don't check validation of ImageView itself during change
ImageView properties, it will not throw any exceptions.
and it will be crashend when we ProcessOnceEvent invoked.

Normal View property directly access to DALi side. But ImageView
property access to DALi side lazy.

Now this throw make app developer easy to find error codes.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
10 months ago[NUI] Remove useless log + Add todo mark about it
Eunki, Hong [Fri, 23 Jun 2023 02:11:31 +0000 (11:11 +0900)]
[NUI] Remove useless log + Add todo mark about it

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
10 months ago[NUI] Fix Application argv issue
Wonsik Jung [Thu, 22 Jun 2023 08:16:35 +0000 (17:16 +0900)]
[NUI] Fix Application argv issue

Fix Application Argv issue in UI Thread.
The input param is missed in this case.
This PR is to fix it.

10 months ago[NUI] Add some API for KeyFrames
Eunki, Hong [Wed, 21 Jun 2023 03:36:02 +0000 (12:36 +0900)]
[NUI] Add some API for KeyFrames

1. `GetKeyFrameCount()` to know how many keyframes are added.
2. `GetKeyFrame()` to know the information of specific index.
3. `SetKeyFrameValue()` to change the value for specific index.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
10 months ago[NUI] Clear old resources cached data
Eunki, Hong [Thu, 22 Jun 2023 05:40:56 +0000 (14:40 +0900)]
[NUI] Clear old resources cached data

After overhead reducetion patch #5280 merged, Some side effect occured.

Previously we always ask some properties to dali side visual.
But now we return cached value in NUI.

Since URL property clear-up all properties, to fit previous logic,
let we also clean-up cached properties. (Actually, mark only for this case)

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months ago[NUI] Add a new WindowLayout Sample
Daekwang Ryu [Fri, 24 Mar 2023 06:02:52 +0000 (15:02 +0900)]
[NUI] Add a new WindowLayout Sample

11 months ago[NUI] Fix some svace issues.
huayong.xu [Tue, 20 Jun 2023 01:14:48 +0000 (09:14 +0800)]
[NUI] Fix some svace issues.

11 months ago[NUI] Make internal API for calculate screen position and extents.
Eunki Hong [Mon, 15 May 2023 14:23:28 +0000 (23:23 +0900)]
[NUI] Make internal API for calculate screen position and extents.

Current screen extents API calculated by 'Current' properties.
That mean, the result of calculation late 1 render-frame.
So, we cannot use it during Relayout events.

Now, make internal API so we can get screen position/extents
calculated by event-side properties.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
11 months ago[NUI] Make subclass of ImageView can use ResourceUrl normally.
Eunki Hong [Mon, 19 Jun 2023 15:51:02 +0000 (00:51 +0900)]
[NUI] Make subclass of ImageView can use ResourceUrl normally.

If we skip to set ImageVisualType, or set ImageVisualType as Image,
we will try to find best visual by it's file format codes.
But previously, we fix the type of visual.
So, instead of some special case like URLs, just make we use Image type.

And also, make _resourceUrl latest value if we success to get url from visual.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
11 months ago[NUI] Skip when the View.BackgroundImage is set with the same value as privious one
dongsug.song [Fri, 16 Jun 2023 13:15:48 +0000 (22:15 +0900)]
[NUI] Skip when the View.BackgroundImage is set with the same value as privious one

11 months ago[NUI] Add manual test for webview.
huayong.xu [Thu, 15 Jun 2023 11:09:11 +0000 (19:09 +0800)]
[NUI] Add manual test for webview.

11 months ago[NUI] Add Window validation check
dongsug.song [Fri, 16 Jun 2023 13:00:06 +0000 (22:00 +0900)]
[NUI] Add Window validation check

11 months ago[NUI.Scene3D] Deprecate direct accessor to motion value list
Eunki, Hong [Fri, 16 Jun 2023 00:38:30 +0000 (09:38 +0900)]
[NUI.Scene3D] Deprecate direct accessor to motion value list

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>