Jiyun Yang [Fri, 17 Mar 2023 04:53:15 +0000 (13:53 +0900)]
[NUI] Refactor ButtonExtension
* Rename some functions to better match the design intent.
* Extract Helper class to provide common methods used by multiple classes.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Taehyub Kim [Wed, 22 Mar 2023 04:08:18 +0000 (13:08 +0900)]
[NUI] DragAndDrop : allow to control shadow view opacity
chleun-moon [Tue, 28 Mar 2023 07:23:27 +0000 (16:23 +0900)]
[Connection] Fix race condition (#5113)
* [Connection] Fix race condition
* Add locks
* Use lock objects
jeremy-jang [Thu, 23 Mar 2023 06:48:16 +0000 (15:48 +0900)]
[Packagemanager] Add APIs for internal (#4991)
* [Packagemanager] Add APIs for internal
- Tizen.PackageManager.ActivatePackage()
- Tizen.PackageManager.DeactivatePackage()
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
* [Packagemanager] Fix return type of EnablePackage/DisablePackage
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
---------
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Wonsik Jung [Mon, 20 Mar 2023 10:26:06 +0000 (19:26 +0900)]
[NUI] Version up 22218
Wonsik Jung [Fri, 17 Mar 2023 01:18:08 +0000 (10:18 +0900)]
[NUI] Add RotationCompletedAcknowledgement APIs
Add RotationCompletedAcknowledgement APIs in Window.
The APIs are SetNeedsRotationCompletedAcknowledgement and SendRotationCompletedAcknowledgement
joogab.yun [Fri, 17 Mar 2023 07:51:50 +0000 (16:51 +0900)]
[NUI] Remove unnecessary gesture events from DefaultBorder.
EverLEEst(SangHyeon Lee) [Fri, 17 Mar 2023 05:57:37 +0000 (14:57 +0900)]
[NUI] fix svace issue. check Selected item existance.
huayong.xu [Thu, 16 Mar 2023 07:31:06 +0000 (15:31 +0800)]
[NUI] Fix some SVACE issues.
Jiyun Yang [Wed, 15 Mar 2023 08:27:44 +0000 (17:27 +0900)]
[NUI] Change log info to debug in ThemeManager
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Jiyun Yang [Wed, 15 Mar 2023 07:58:12 +0000 (16:58 +0900)]
[NUI] Refactor NUI.ThemeManager
* Remove dependency: ExternalThemeManager -> ThemeManager
The NUI theme modules (ThemeManager and ExternalThemeManager) had dependencies
to each other and that did not meet "Seperation of concerns" principle.
This patch makes dependency direction one way: ThemeManager -> ExtenalThemeManager
* Add a sample application to verify functional regressions.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Taehyub Kim [Wed, 15 Mar 2023 08:19:19 +0000 (17:19 +0900)]
[NUI] AIAgentLayer : fix animation usage issue
Eunki, Hong [Tue, 14 Mar 2023 05:06:40 +0000 (14:06 +0900)]
[NUI] Load facial blendshape animation
Load facial blendshape animation from json format.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
hjhun [Fri, 17 Mar 2023 04:29:24 +0000 (13:29 +0900)]
[NUI.Gadget] Support Internationalization (#5091)
* [NUI.Gadget] Add NUIGadgetResourceManager class
To support multilanguage, a new class is added.
Adds:
- NUIGadgetResourceManager
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* [NUI.Gadget] Modify property & metadata name
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
---------
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Jay Cho [Thu, 16 Mar 2023 06:32:02 +0000 (15:32 +0900)]
Update postback PR (#5086)
* Update postback pr
* update nightly release
sunghyun kim [Mon, 13 Mar 2023 08:01:50 +0000 (17:01 +0900)]
[NUI] Version up 22217
EverLEEst(SangHyeon Lee) [Fri, 10 Mar 2023 07:49:42 +0000 (16:49 +0900)]
[NUI] fix previous patch by coding rules
EverLEEst(SangHyeon Lee) [Fri, 10 Mar 2023 06:49:15 +0000 (15:49 +0900)]
[NUI] Fix collectionView Selection on Item.
Eunki Hong [Thu, 9 Mar 2023 02:50:58 +0000 (11:50 +0900)]
[NUI.Scene3D] Add model to test glb format (#5067)
* [NUI.Scene3D] Add model to test glb format
Check glb format file load well
+
Let this demo allow to load multiple camera
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
* Update test/Tizen.NUI.Scene3D.Sample/Scene3DSample.cs
Co-authored-by: Seoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
* Update Scene3DSample.cs
typo fix
---------
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki Hong <eunkiki.hong@samsung.com>
Co-authored-by: Seoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
Eunki, Hong [Mon, 6 Mar 2023 13:25:05 +0000 (22:25 +0900)]
[NUI] Do not connect default signals when View created
Since Window.ViewAdded signal required to all common view's creation time,
It will reduce each view's creation time.
And more, ViewAdded signal only works for default windows previously.
Now we make the signal ownership from window.
And additionaly, register custom HitTest signal only if subclass required.
TODO : The role of signal conflict with View.AddedToWindow.
Can we just remove this ViewAdded signal?
TODO : Can we just skip default view constructor's signal connection?
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Jiyun Yang [Wed, 8 Mar 2023 04:31:27 +0000 (13:31 +0900)]
[NUI] Remove unsed field in View
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Jihoon Kim [Tue, 7 Mar 2023 09:09:55 +0000 (18:09 +0900)]
[NLP] Deprecated NLP APIs
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jay Cho [Fri, 10 Mar 2023 04:52:06 +0000 (13:52 +0900)]
Update deprecated actions (#5070)
hjhun [Wed, 8 Mar 2023 04:11:40 +0000 (13:11 +0900)]
[NUI.Gadget] Add a new internal API (#4976)
* [NUI.Gadget] Add new internal APIs
If the UI gadget developer sets the class name, the application developer
can adds a new NUIGadget instance using the NUIGadgetInfo object.
The following APIs are added:
+ NUIGadgetManager.Add(NUIGadgetInfo gadgetInfo); [method]
+ NUIGadgetManager.GetGadgetInfos(); [method]
+ NUIGadgetInfo.ClassName; [property]
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Change the visibility of the ClasaName property
The visibility of the NUIGadgetInfo.ClassName property is changed to internal.
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Modify description of GetGadgets()
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove Add() method
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
---------
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Co-authored-by: Jay Cho <chojoong@gmail.com>
hjhun [Wed, 8 Mar 2023 04:02:36 +0000 (13:02 +0900)]
[NUI.Gadget] Modify NUIGadgetManager.Add() method (#5011)
When calling the CreateInstance() method, this patch modifies the set
the ignoreCase to true that the case of the className is no checked.
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Co-authored-by: Jay Cho <chojoong@gmail.com>
Jay Cho [Wed, 8 Mar 2023 01:44:14 +0000 (10:44 +0900)]
update action script methods (#5062)
Jay Cho [Tue, 7 Mar 2023 08:46:00 +0000 (17:46 +0900)]
Update github action (#5059)
Eunki, Hong [Tue, 7 Mar 2023 06:28:45 +0000 (15:28 +0900)]
[NUI] Fix layer MoveAbove/MoveBelow API change window's List
Previous MoveAbove / MoveBelow API change only native side layer order.
It didn't apply to the window who hold this layer.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 6 Mar 2023 14:20:49 +0000 (23:20 +0900)]
[NUI] Remove duplicate URL settup
When we create ImageView with url, It will create image visual twice.
To avoid this situation, make we replace internal url value for
creation time.
And also, setup some missing values when we inputed desired size.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
joogab.yun [Mon, 6 Mar 2023 09:40:34 +0000 (18:40 +0900)]
[NUI] Add getter property about WindowPositionSizeWithBorder and WindowSizeWithBorder
In the case of a border window, the size including the border area is required.
seungho baek [Mon, 6 Mar 2023 10:27:30 +0000 (19:27 +0900)]
[NUI] Version up 22216
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Mon, 6 Mar 2023 08:45:51 +0000 (17:45 +0900)]
[NUI] Remove duplicate size setter
When if we set View.Size, It will call WidthPolicy / HeightPolicy internal.
And then it will call SizeWidth and SizeHeight.
This patch ignore some duplicated size setting each other.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
joogab.yun [Mon, 6 Mar 2023 05:29:34 +0000 (14:29 +0900)]
[NUI] Add Dispose to LongPressGestureDetector and modify ReleaseSwigCPtr.
Wonsik Jung [Fri, 3 Mar 2023 05:41:13 +0000 (14:41 +0900)]
[NUI] Fix SetInputRegion binding
Fix SetInputRegion binding function with correct internal function.
Because previous binded with includedRegion.
Xianbing Teng [Tue, 22 Nov 2022 09:38:55 +0000 (17:38 +0800)]
[XamlBuild] Fix extents convert issue
Xianbing Teng [Thu, 2 Mar 2023 10:48:00 +0000 (18:48 +0800)]
[NUI] Fix dispose xaml elements
Eunki, Hong [Tue, 28 Feb 2023 05:53:06 +0000 (14:53 +0900)]
[NUI][Samples] Add .sln file to load projects
To make we build by Visual Studio in Windows OS,
Add some sln files that we can build it.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Fri, 17 Feb 2023 17:00:57 +0000 (02:00 +0900)]
[NUI][Scene3D] Use Model defined camera
Make API that we can use gltf model file defined camera.
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Jaehyun Cho [Thu, 23 Feb 2023 08:01:30 +0000 (17:01 +0900)]
[NUI] Fix Menu not to show Content if there is no menu item
Menu.Content is a container of menu items.
Previously, Menu.Content was displayed even if there is no menu item.
Now, Menu.Content is displayed only if menu item exists.
Taehyub Kim [Tue, 14 Feb 2023 12:28:14 +0000 (21:28 +0900)]
DragAndDrop : don't reuse drag window
Eunki, Hong [Tue, 21 Feb 2023 10:32:40 +0000 (19:32 +0900)]
[NUI] Version up 22214
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Taehyub Kim [Tue, 21 Feb 2023 07:41:28 +0000 (16:41 +0900)]
[NUI] DragAndDrop : Add multi-window sample
Jaehyun Cho [Tue, 21 Feb 2023 03:06:47 +0000 (12:06 +0900)]
[NUI] Resize slider normal thumb to calculate thumb position correctly
Previously, slider thumb size for normal and pressed were different.
This caused that the thumb position was calculated incorrectly.
Now, slider thumb for normal is resized to be the same with the thumb
for pressed.
By the above, the thumb position is calculated correctly.
Jiyun Yang [Tue, 21 Feb 2023 01:02:05 +0000 (10:02 +0900)]
[NUI] Fix Pagination bug
* Bug: When user changes indicator image url, all indicators turn into unselected look.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
EverLEEst(SangHyeon Lee) [Mon, 20 Feb 2023 11:28:45 +0000 (20:28 +0900)]
[NUI][NUITizenGallery] fix build error.
Jaehyun Cho [Mon, 20 Feb 2023 08:47:32 +0000 (17:47 +0900)]
[NUI] Fix to remove Button's min size
To support button size set by user, Button's min size is removed.
Jiyun Yang [Mon, 20 Feb 2023 05:47:18 +0000 (14:47 +0900)]
[NUI] Fix Progress and improve Loading
* Progress
Previously, the Progress did not update the distance of the indeterminate animation on resize.
* Loading
Add a property that can help to set lottie animation image url.
This is for using Theme.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Jiyun Yang [Fri, 17 Feb 2023 08:51:57 +0000 (17:51 +0900)]
[NUI] Fix button bugs and improve switch.
* Button's IconOrientation bug
In the previous code, when the IconOrientation property changed,
the LayoutItems() was called and it created a new layout.
But in case the button was inside another layout, the behaviour
described above caused unexpect look. Therefore I fixed it
by changing orientation related properties to the existing layout
instead of creating a new layout.
* Improve switch and extension relationship
The switch extension does not register any event handler to the switch components anymore.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Eunki, Hong [Fri, 17 Feb 2023 06:34:26 +0000 (15:34 +0900)]
[NUI.Scene3D] Change native default camera create API
Change default camera generate API as 3D engine style.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Seoyeon2Kim [Fri, 17 Feb 2023 03:57:02 +0000 (12:57 +0900)]
[NUI] Fix Slider ValueIndicatorImage and Thumb size (#5002)
- Update Slider ValueIndicatorImage / Text to change its size depending
on the content.
- Thumb size uses natural size of its image size.
- Update Slider style guide sample for ValueIndicator
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Jiyun Yang [Fri, 17 Feb 2023 03:31:53 +0000 (12:31 +0900)]
[NUI] Fix switch animation bug
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Jiyun Yang [Wed, 15 Feb 2023 04:35:27 +0000 (13:35 +0900)]
[NUI] Improve behaviors of ThemeManager and add an event
* ThemeManager.AppendTheme: While ApplyTheme() clears previous applied user theme, AppendTheme() appends it to the previous one.
* ThemeChanging event: An event called right after the theme changed and before applying it to the view.
* Open Theme.indexer public: This is for C_XAML.
* Theme implements IResourcesProvider: to support XAMLResources in xaml code
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Jaehyun Cho [Thu, 16 Feb 2023 10:17:18 +0000 (19:17 +0900)]
[NUI] Add constructors with string style to apply string style
To apply string style during constructing controls, constructors with
string style are added.
Jaehyun Cho [Wed, 15 Feb 2023 11:39:11 +0000 (20:39 +0900)]
[NUI] Fix TextLabel Theme to set FontSizeScale with UseSystemSetting
To follow system font size scale, TextLabel Theme sets FontSizeScale
with UseSystemSetting.
Jaehyun Cho [Wed, 15 Feb 2023 11:02:05 +0000 (20:02 +0900)]
[NUI] Fix Button Theme not to set fixed size
To increase Button width based on the Button's text, Button Theme sets
MinimumSize instead of fixed Size.
Jaehyun Cho [Wed, 8 Feb 2023 11:45:53 +0000 (20:45 +0900)]
[NUI] Add TabItem to support TabView in xaml
To support TabView in xaml, TabItem has been added.
TabView provides Add(TabItem) to add a tab from the given TabItem.
TabItem contains Title, IconURL of a new TabButton in TabView's TabBar
and Content of a new View in TabView's TabContent.
Jiyun Yang [Wed, 15 Feb 2023 02:36:52 +0000 (11:36 +0900)]
[NUI] Fix Switch thumb positioning
When the size of thumb or track changes, the it should update the position of the thumb properly.
And to prevent unnecessary switch state updating while applying style, upgrade styleApplying flag to int type.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Heeyong Song [Mon, 13 Feb 2023 07:32:01 +0000 (16:32 +0900)]
[NUI] Version Update 22213
Eunki, Hong [Thu, 9 Feb 2023 11:41:33 +0000 (20:41 +0900)]
[NUI.Scene3D] Remove warning messages
Tested by `dotnet build /p:BuildWithAnalyzer=True` and checked there is no warning.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 7 Feb 2023 13:47:10 +0000 (22:47 +0900)]
[NUI.Scene3D] Do not dispose camera internally
SceneView's camera is not an instance object anymore.
It can be holded by app side.
So, if we dispose it inside of CameraTransition Function, It become sudden dead.
Actually, Dali side camera object still alive, but the NUI.Camera handle is dereferenced.
So, If app try to access that camera, crash occured.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Jaehyun Cho [Thu, 9 Feb 2023 07:12:49 +0000 (16:12 +0900)]
[NUI] Fix Picker's HeightSpecification
Previously, HeightSpecifications of Picker, DatePicker, TimePicker are
MatchParent.
So the Pickers' SizeHeights are calculated based on their parent's
SizeHeight.
This causes the recursive size calculation problem if Picker's parent
has WrapContent HeightSpecification. (e.g. Dialog)
Now, the Pickers' SizeHeights are set in DefaultThemeCommon as follows.
Picker's SizeHeight is set in DefaultThemeCommon.
DatePicker's Pickers SizeHeights are set in DefaultThemeCommon.
TimePicker's Pickers SizeHeights are set in DefaultThemeCommon.
Therefore, Picker does not need to have MatchParent HeightSpecification.
Haesu Gwon [Fri, 10 Feb 2023 05:10:11 +0000 (14:10 +0900)]
[MediaContent] Remove deprecated APIs (#4977)
* [MediaContent] Remove deprecated APIs
hjhun [Thu, 9 Feb 2023 00:34:34 +0000 (09:34 +0900)]
[Applications.RPCPort] Add a new Parcel constructor (#4964)
* [Applications.Common] Modify Parcel constructor
The withoutHeader parameter is added to the Parcel constructor.
If it's true, the parcel object does not have the header.
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Xianbing Teng [Wed, 18 Jan 2023 07:53:31 +0000 (15:53 +0800)]
[NUI] Fix PropertyNotification & PanGestureDetector svace issues
Jiyun Yang [Fri, 3 Feb 2023 01:21:17 +0000 (10:21 +0900)]
[NUI] Disable compiler warnings complaining about theme off in TV profile
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Jiyun Yang [Wed, 1 Feb 2023 23:33:03 +0000 (08:33 +0900)]
[NUI] Revive View constructor with style working again in TV
And hide PROFILE_TV flags to make clear code
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
hjhun [Tue, 7 Feb 2023 02:51:59 +0000 (11:51 +0900)]
[NUI.Gadget] Fix static analysis issue (#4968)
Checker:
- DEREF_OF_NULL
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hjhun [Fri, 3 Feb 2023 08:24:49 +0000 (17:24 +0900)]
[Applications.Common] Fix getting default locale (#4965)
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hjhun [Thu, 2 Feb 2023 05:40:24 +0000 (14:40 +0900)]
[NUI.Gadget] Change API version to API10 (#4959)
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Jaehyun Cho [Wed, 1 Feb 2023 07:28:52 +0000 (16:28 +0900)]
[NUI] Fix to use SizeHeight instead of Size with width 0
Previously, although users sets size with width 0, the width is updated
by dali's size calculation (e.g. text calculation) instead of width 0
set by user.
The following patch fixed the above bug.
8033b0ed4a31ebcd9449c2e0c98074247502c9be
By applying the above patch, some size assignment in theme should be
fixed to set size height instead of size with width 0.
Jaehyun Cho [Wed, 1 Feb 2023 06:19:45 +0000 (15:19 +0900)]
[NUI] Version Update 22211
Jiyun Yang [Mon, 30 Jan 2023 09:58:35 +0000 (18:58 +0900)]
[NUI] Fix NUI button not working when style disabled
There was a flag that prevent state updating while applying style.
But the flag seemed to have a bug : when style is disabled, the state updating is never going to be done.
This patch fixes the bug and changes the flag's name to be more contextual: styleApplied -> styleApplying.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Eunki, Hong [Fri, 27 Jan 2023 07:24:13 +0000 (16:24 +0900)]
[NUI][Scene3D] FBO MultiSamplingLevel Property for SceneView
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
huayong.xu [Sun, 29 Jan 2023 02:44:23 +0000 (10:44 +0800)]
[NUI] Fix some SVACE issues.
guowei.wang [Wed, 18 Jan 2023 03:42:48 +0000 (11:42 +0800)]
[NUI] Fix svace issues.
Eunki, Hong [Fri, 27 Jan 2023 07:58:29 +0000 (16:58 +0900)]
[NUI][Scene3D] Load bvh file format
This PR is FrontPorting of #4827
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sun, 29 Jan 2023 08:03:44 +0000 (17:03 +0900)]
[NUI] Fix dispose timing error for ImageUrl
Since we update ImageView lazy, ImageUrl's lifecycle might not matched
what user think.
```
ImageUrl imageUrl = ~~~.GenerateUrl();
ImageView imageView = new ImageView(imageUrl.ToString());
imageUrl.Dispose(); ///< We should allow this situation.
```
To make scene, We allow to call UpdateImage(); synchoronously
if we use GeneratedUrl().
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sun, 29 Jan 2023 07:49:13 +0000 (16:49 +0900)]
[NUI] Add EncodedImageBuffer sample
Add sample to use EncodedImageBuffer.
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sat, 28 Jan 2023 14:09:09 +0000 (23:09 +0900)]
[NUI][Scene3D] Fix memory leak issue for Model's Animation
Since we create new handle at csharp binder, we should call DeleteHandle function.
Note : Extensions.GetInstanceSafely delete the getted cPtr's reference inside of
that function. So we cannot use it.
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sun, 29 Jan 2023 07:53:00 +0000 (16:53 +0900)]
[NUI][Test] Commit missing file
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Seoyeon2Kim [Fri, 27 Jan 2023 07:40:07 +0000 (16:40 +0900)]
[NUI] Remove build warning messages in NUI Samples (#4932)
* [NUI] Remove build warning messages in NUI Samples
- Replace `PreFocusChangeEventArgs` from `FocusChangingEventArgs`.
- Use `HorizontalAlignment` or `VerticalAlignment` properties
instead of `LinearAlignment`/
- Use new Vector2(...) constructor instead of using `X` or `Y` setter.
- Remove Unreachable code.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* [NUI] Remove build warning messages
- Remove not used variables : `axis` and `degree`.
- Clean code according to NUI Coding style
- Use `HorizontalAlignment` or `VerticalAlignment` properties
instead of `LinearAlignment`.
- Use `StyleName` property instead of `SetStyleName(string)`.
- Use `ChildCount` property instead of `GetChildCount()`.
- Use new Vector2(...) constructor instead of `Width` or `Height` setter.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* [NUI] Remove build warning messages part.3
- Remove not used variables : mClippedImagePropertyIndex,
mLogoTapDetector, FocusEffect.actor, oldPageCount, FrameUpdateCallback.text, etc.
- Use `HorizontalAlignment` or `VerticalAlignment` properties
instead of `LinearAlignment`.
- Use `ChildCount` property instead of `GetChildCount()`.
- Use new Vector2(...) constructor instead of `Width` or `Height` setter.
- Clean code according to NUI Coding style
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Jiyun Yang [Fri, 27 Jan 2023 05:26:59 +0000 (14:26 +0900)]
[NUI] Prevent NullReferenceException when creating TextLabel
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Eunki Hong [Wed, 25 Jan 2023 15:07:10 +0000 (00:07 +0900)]
[NUI] Apply missing comments for Scene3D demo
1. Collect all private values in upward of source code.
2. Formatting C#
3. MilliSeconds --> Milliseconds
4. Add some comments
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
hjhun [Wed, 1 Feb 2023 02:58:23 +0000 (11:58 +0900)]
Make it ineligible for garbage collection for delegate (#4948)
This patch is to prevent the delegate garbage collected.
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hjhun [Fri, 27 Jan 2023 07:07:44 +0000 (16:07 +0900)]
[NUI.Gadget] Add NUIGadget class for inhouse developers (#4935)
* Implement NUIGadget
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Adjust project file
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Update csproj
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Update implementation
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove dll unload
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove unnecessary file
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Update sln file
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Add missing dependencies
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Add a missing property
The type is added.
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Update implementation
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix typo
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Check return type of Assembly.CreateInstance()
This patch uses 'as' keyword to check the instance type.
If it's not NUIGadget, the return value will be null.
In that case, the Add() method throws an exception.
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Add abstract keyword to NUIGadget class
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Modify Create() method of NUIGadget
If the Create() method returns 'false', the Add() method of NUIGadgetManager
throws an exception.
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Use CoreApplication.Post() instead of TizenUISynchronzationContext.Post()
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hjhun [Thu, 26 Jan 2023 00:16:59 +0000 (09:16 +0900)]
Add a new internal API (#4923)
- AppControl.GetDefaultApplicationIds()
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Taehyub Kim [Wed, 25 Jan 2023 07:05:08 +0000 (16:05 +0900)]
[NUI] Version Update 22210
Eunki Hong [Wed, 25 Jan 2023 05:14:16 +0000 (14:14 +0900)]
[NUI] Add Tizen.NUI.Scene3D simple demo (#4917)
* [NUI] Add Tizen.NUI.Scene3D simple demo
Hello 3d world!
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
* Update Scene3DSample.cs
2022 -> 2023
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Mon, 23 Jan 2023 14:49:00 +0000 (23:49 +0900)]
[NUI] Fix perf-view-creation demo think with dali
Make recent action match with dali
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Thu, 19 Jan 2023 17:19:27 +0000 (02:19 +0900)]
[NUI] Remove useless DisposeQueue adding at TextField
Signed-off-by: Eunki Hong <h.pichulia@gmail.com>
joogab.yun [Wed, 18 Jan 2023 05:43:41 +0000 (14:43 +0900)]
[NUI] Window resizing is performed in one step if possible.
Jaehyun Cho [Tue, 17 Jan 2023 06:05:24 +0000 (15:05 +0900)]
[NUI] Add NUIApplicaion.GetScreenSize
To provide the screen size, NUIApplication.GetScreenSize is added.
dongsug.song [Thu, 19 Jan 2023 02:03:22 +0000 (11:03 +0900)]
[NUI] add code owner
hjhun [Wed, 25 Jan 2023 08:02:18 +0000 (17:02 +0900)]
Remove log prints in the thread (#4920)
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hjhun [Thu, 19 Jan 2023 05:12:13 +0000 (14:12 +0900)]
Modify ImportFromArgv method of Bundle (#4911)
- Adds descriptions
- Adds throwing an exception
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
dongsug.song [Thu, 19 Jan 2023 00:37:04 +0000 (09:37 +0900)]
[NUI] fix testhub crash issue
Eunki, Hong [Wed, 18 Jan 2023 14:28:40 +0000 (23:28 +0900)]
[NUI] Revert "Make PixelBuffer & PixelData as Disposable"
Revert patch of PR #4897
This reverts commit
0e6528a5f7c4ae6523b8dd0c19b2c211c31178f3.
Eunki, Hong [Wed, 18 Jan 2023 05:38:29 +0000 (14:38 +0900)]
[NUI] Reorder Disposable's ReleaseSwigCPtr + Allow to dispose seperate thread
Reorder the `ReleaseSwigCPtr` call time and `SwigCPtr` value setup.
It will be matched as `BaseHandle.cs` doing now.
Plus
Make we don't print any fatal log when we try to dispose `Disposable` class.
For example, `Vector2` or `Uint16Pair` don't need to be used only for main thread.
Only some UI releative things has some dependency issue of Main / UI thread.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Wed, 18 Jan 2023 06:37:40 +0000 (15:37 +0900)]
[NUI] fix tct block issue in text field and editor
GetInputMethodContext() in ReleaseSwigCPtr crashes due to current changes in BaseHandle.
Move DestroyContext() to Dispose to avoid this.
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
joogab.yun [Wed, 18 Jan 2023 02:09:58 +0000 (11:09 +0900)]
[NUI] Fix bug where window size didn't change when borderline was dynamically changed.