Woochanlee [Wed, 7 Apr 2021 10:54:19 +0000 (19:54 +0900)]
[NUI] Palette Fix incorrectly caclulated color values
huiyueun [Thu, 8 Apr 2021 03:24:01 +0000 (12:24 +0900)]
[NUI] Add null check in Process (#2859)
add null check
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Bowon Ryu [Wed, 7 Apr 2021 10:26:26 +0000 (19:26 +0900)]
[NUI] Support markup anchor to TextLabel, TextField, TextEditor (#2813)
* [NUI] Support markup anchor to TextLabel, TextField, TextEditor
User can set href on anchors using the anchor tag <a> in markup.
and also can register AnchorClicked callback in Text components.
the AnchorClicked signal is emitted when the anchor is clicked.
example:
label.Text = "<a href='https://www.tizen.org'>Tizen</a>";
label.EnableMarkup = true;
label.AnchorClicked += (sender, e) =>
{
Tizen.Log.Info("NUI", e.Href + "\n");
};
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
[NUI] Remove unnecessary codes.
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
* [NUI] Change the name of signal to AnchorClicked.
To prevent confusion with TouchSignal(),
the name of signal was changed to AnchorClicked.
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Seungkeun Lee [Wed, 7 Apr 2021 02:40:49 +0000 (11:40 +0900)]
Add Extension method to help use PropertyMap class
huiyu.eun [Wed, 7 Apr 2021 01:38:18 +0000 (10:38 +0900)]
[NUI] Fix Window.Instance null issue
If call Window.Instance before initializing, Window.Instance is always null
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Jaehyun Cho [Tue, 6 Apr 2021 14:47:16 +0000 (23:47 +0900)]
[NUI] Fix not to block touch event by Scrollbar (#2845)
Now, Scrollbar blocks touch events to ScrollableBase's Contents.
Since Scrollbar does not support Handler mode now, Scrollbar's
EnableControlState is set to be false not to catch TouchEvent.
Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Co-authored-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
EverLEEst(SangHyeon Jade Lee) [Tue, 6 Apr 2021 09:12:37 +0000 (18:12 +0900)]
[NUI] fix wrong condition on string null check
EverLEEst(SangHyeon Jade Lee) [Mon, 29 Mar 2021 12:07:42 +0000 (21:07 +0900)]
[NUI] update scollbar : fix build error.
EverLEEst(SangHyeon Jade Lee) [Mon, 29 Mar 2021 10:27:02 +0000 (19:27 +0900)]
[NUI] fix thumb resource string null check
EverLEEst(SangHyeon Jade Lee) [Mon, 29 Mar 2021 10:12:12 +0000 (19:12 +0900)]
[NUI] fix scroll bar resources and add samples
SangHyeon Jade Lee [Tue, 23 Mar 2021 06:34:57 +0000 (15:34 +0900)]
[NUI] : Scrollbar thumb support image and update styles
Change thumb View to ImageView to support image and color properly.
Add new property for thumb images on Scrollbar and ScrollbarStyle.
- ThumbVerticalImageUrl
- ThumbHorizontalImageUrl
Add new image resource for thumb image.
- nui_component_default_scroll_vbar.#.png
- nui_component_default_scroll_hbar.#.png
Now color can be color of background for thumb when image is not
existed, or color of image if url is existed.
huiyu.eun [Tue, 20 Apr 2021 05:46:42 +0000 (14:46 +0900)]
[NUI] Fix button layout when resize policy is FillToParent and etc. (#2809)
* Add ItemAlignment property to make it "center" for a Button and "begin" for others.
* Add ItemSpacing to set space between icon and text.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Bowon Ryu [Tue, 6 Apr 2021 04:13:31 +0000 (13:13 +0900)]
[NUI] Add TextLabel, TextField, TextEditor style and theme. (#2838)
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
huiyueun [Mon, 5 Apr 2021 23:04:43 +0000 (08:04 +0900)]
[NUI] Fix argument issue when launch application on ubuntu (#2827)
args[0] value is this.
->Tizen.NUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=
eba370b203a2e242
So can't set using argument value.
ex) dotnet run --width 100 --height --100
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
huiyu.eun [Tue, 20 Apr 2021 05:38:17 +0000 (14:38 +0900)]
[NUI] Introduce NUI DatePicker
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Woochanlee [Thu, 1 Apr 2021 04:06:46 +0000 (13:06 +0900)]
[NUI] Picker style update
Woochanlee [Wed, 31 Mar 2021 12:11:00 +0000 (21:11 +0900)]
[NUI] Introduce NUI TimePicker
Artur Świgoń [Fri, 2 Apr 2021 10:34:09 +0000 (12:34 +0200)]
[NUI][AT-SPI] Add Accessibility.StopReading() (#2814)
Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
Jiyun Yang [Fri, 2 Apr 2021 02:16:03 +0000 (11:16 +0900)]
[NUI] Add TextEditorStyle and theme example code (#2778)
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Bartłomiej Grzelewski [Fri, 2 Apr 2021 01:42:00 +0000 (03:42 +0200)]
[NUI][AT-SPI] Highlight bindings (#2752)
Highlight bindings for accessibility.
Co-authored-by: Seoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
Xianbing Teng [Mon, 12 Apr 2021 12:41:42 +0000 (20:41 +0800)]
[NUI] Fix gather assembly for xaml
xerrni [Thu, 15 Apr 2021 22:52:41 +0000 (00:52 +0200)]
[Peripheral] Fix Dispose pattern in Tizen.Peripheral (#2737)
* [Peripheral] Fix Dispose pattern in Tizen.Peripheral
Signed-off-by: Ernest Borowski <e.borowski@samsung.com>
* [Peripheral] check if parameter is not null.
Signed-off-by: Ernest Borowski <e.borowski@samsung.com>
Jaehyun Cho [Wed, 14 Apr 2021 07:57:41 +0000 (16:57 +0900)]
[NUI] Make build correctly
Jaehyun Cho [Wed, 14 Apr 2021 07:57:24 +0000 (16:57 +0900)]
Revert "Revert "[NUI] Add AlertDialogStyle class with the latest AlertDialog UX""
This reverts commit
18a2050cf2890d02668449571e5950ef3c3faf42.
Jaehyun Cho [Wed, 14 Apr 2021 07:57:19 +0000 (16:57 +0900)]
Revert "Revert "[NUI] Dialog and AlertDialog code refactoring with adding DialogPage""
This reverts commit
357f3d0b82bd7a184f02abf6286ebcd1eaddbf6f.
Jaehyun Cho [Wed, 14 Apr 2021 07:56:12 +0000 (16:56 +0900)]
Revert "Revert "[NUI] Add ContentPage class""
This reverts commit
3a0f69a36aa1812040731237d4a9aeefd4c4a2a8.
Seungho Baek [Tue, 2 Mar 2021 15:33:22 +0000 (00:33 +0900)]
[NUI] View Transition with page switching
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
Jiyun Yang [Thu, 8 Apr 2021 07:32:32 +0000 (16:32 +0900)]
[NUI] Change CornerRadius type to Vector4 from float (#2863)
Note that, only X value of Vector4 will be applied to the view until dali support it.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Jiyun Yang [Tue, 6 Apr 2021 07:14:37 +0000 (16:14 +0900)]
[NUI] Make all property setters in Shadow class to internal (#2812)
Instead in xaml, shadow can be a simple string such as,
"10.0 | #
FF0000FFF", which means 10 blurRadius and red color.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Wootak Jung [Tue, 13 Apr 2021 04:25:54 +0000 (13:25 +0900)]
[Bluetooth][Non-ACR] Fix BluetoothDevice data converting issue (#2887)
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
younghajung [Mon, 12 Apr 2021 05:49:16 +0000 (14:49 +0900)]
[WebView] Support request intercept (#2842)
This patch is cherry-picked from API8.
This patch adds internal APIs to support request intercept.
Plus, adds APIs for remote inspect.
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
huiyueun [Thu, 8 Apr 2021 01:10:34 +0000 (10:10 +0900)]
Revert "[NUI] Button text ellipsis enabled and etc. (#2772)" (#2858)
This reverts commit
86409caf7bffd2b7b3e0aa7a827a51b449938b1e.
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Woochanlee [Thu, 1 Apr 2021 03:01:07 +0000 (12:01 +0900)]
[NUI] Picker fix a defect that could refer to null pointer
WGID: 458476
JunsuChoi [Tue, 30 Mar 2021 05:10:31 +0000 (14:10 +0900)]
[NUI] VectorGraphics: Modify code format
JunsuChoi [Wed, 24 Mar 2021 02:19:44 +0000 (11:19 +0900)]
[NUI] VectorGraphics: Add exception handling for Drawable.Transform()
JunsuChoi [Wed, 24 Mar 2021 01:58:36 +0000 (10:58 +0900)]
[NUI] VectorGraphcis: Change StrokeDash type from List to ReadOnlyCollection.
JunsuChoi [Tue, 23 Mar 2021 09:37:16 +0000 (18:37 +0900)]
[NUI] VectorGraphics: Remove exception throw in getter (CA1065)
JunsuChoi [Tue, 23 Mar 2021 08:09:01 +0000 (17:09 +0900)]
[NUI] CanvasView: Change Set and Get APIs to Property
JunsuChoi [Tue, 23 Mar 2021 06:29:57 +0000 (15:29 +0900)]
[NUI] CanvasView: Add Exception handling and license
JunsuChoi [Fri, 19 Mar 2021 07:52:08 +0000 (16:52 +0900)]
[NUI] Change Paint to Drawable and fix typo
JunsuChoi [Thu, 18 Mar 2021 08:40:22 +0000 (17:40 +0900)]
BaseComponent: Introduce CanvasView component for vector primitives.
CanvasView draws Vector Primitives using ThorVG library.
CanvasView can draw a shape in its internal buffer by adding a Shape object.
Shape is a command list based on Path. Fill and Stroke properties can be set using setters and getters.
Paint is a parent class of Shape and it has common class of classes to be added later (Scene, etc.).
Classes
Tizen.NUI.BaseComponents.VectorGraphics.CanvasView
Tizen.NUI.BaseComponents.VectorGraphics.Paint
Tizen.NUI.BaseComponents.VectorGraphics.Shape
Dependancy
Dali-Toolkit : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/250398/
Dali-Adaptor : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/250466/
ThorVG : https://github.com/Samsung/thorvg
Example
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/CanvasViewSamsple.cs
Jaehyun Cho [Wed, 31 Mar 2021 09:02:32 +0000 (18:02 +0900)]
[NUI] Fix not to check non-nullable value (#2819)
NavigatorPages always contains non-nullable values.
Therefore, to resolve svace issue (DEREF_AFTER_NULL), null pointer check
is not done for non-nullable values.
Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
Jiyun Yang [Wed, 31 Mar 2021 08:50:30 +0000 (17:50 +0900)]
[NUI] Suppress CA1054 and CA1056 (forced to use Uri) and clean code (#2811)
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Jiyun Yang [Wed, 31 Mar 2021 08:35:11 +0000 (17:35 +0900)]
[NUI] Add a method to create a toast in Notification and etc. (#2800)
* Add a method to create a toast in Notification class.
* Fix wrong argument exception usage.
* Add mroe description in Post method.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
huiyueun [Wed, 31 Mar 2021 08:13:41 +0000 (17:13 +0900)]
[NUI] Add to check xaml image resource (#2799)
- If we create button by xaml, we can't set child resource
- Add BackgroundImage checker for xaml
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
Jiyun Yang [Wed, 31 Mar 2021 08:02:45 +0000 (17:02 +0900)]
[NUI] Selector class implements ICollection and etc. (#2796)
* Selector implements ICollection to get priority of items.
* property getters don't throw an exception.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Jaehyun Cho [Wed, 31 Mar 2021 07:38:59 +0000 (16:38 +0900)]
[NUI] Add TabButtonStyle class with the latest TabButton UX (#2780)
To apply the latest TabButton UX, TabButtonStyle class is added.
TabButtonStyle.TopLine and TabButtonStyle.BottomLine are displayed when
TabButton is pressed or selected.
Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Woochan [Wed, 31 Mar 2021 07:16:46 +0000 (16:16 +0900)]
[NUI] Introduce NUI Picker (#2769)
Co-authored-by: Woochanlee <wc0917.lee@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
EverLEEst(SangHyeon Jade Lee) [Mon, 29 Mar 2021 12:02:18 +0000 (21:02 +0900)]
[NUI] Update recyclerView item and styles.add missing patches files.
EverLEEst(SangHyeon Jade Lee) [Mon, 29 Mar 2021 11:22:06 +0000 (20:22 +0900)]
[NUI] Update recyclerView items and styles.
JoogabYun [Tue, 30 Mar 2021 07:58:05 +0000 (16:58 +0900)]
Implement CameraView (#2680)
huiyueun [Wed, 31 Mar 2021 09:17:09 +0000 (18:17 +0900)]
[NUI] Fix NUI svace issue (#2817)
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
hjhun [Wed, 31 Mar 2021 07:52:37 +0000 (16:52 +0900)]
Remove async keyword from SendAndReceiveAsync() method (#2801)
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangjung Woo [Wed, 31 Mar 2021 06:41:27 +0000 (15:41 +0900)]
[MachineLearning.Inference] Fix the Svace issue (#2821)
This patch fixes the svace issue.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Seoyeon2Kim [Wed, 31 Mar 2021 02:18:29 +0000 (11:18 +0900)]
[NUI] Fix NUI.Components test case fail (#2815)
- Should have added null check for indeterminateImage instance
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Seoyeon2Kim [Tue, 30 Mar 2021 04:03:16 +0000 (13:03 +0900)]
[NUI] Add some comments for NUI Layout (#2804)
- To avoid confusion of NUI Layout terms, add some summaries to `View` class.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
huiyueun [Tue, 30 Mar 2021 01:52:43 +0000 (10:52 +0900)]
[NUI] Fix NUI Svace issue (#2806)
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Jiyun Yang [Thu, 25 Mar 2021 02:56:40 +0000 (11:56 +0900)]
[NUI] Change button theme to show Focused+Pressed state well.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Bartlomiej Grzelewski [Mon, 22 Mar 2021 16:34:24 +0000 (17:34 +0100)]
Move state calculation to Button class
guowei.wang [Wed, 24 Mar 2021 12:14:25 +0000 (20:14 +0800)]
[NUI] Add Apis of Webview Settings.
huiyueun [Sun, 28 Mar 2021 23:39:40 +0000 (08:39 +0900)]
[NUI] NUI_DevelNUI_layout_null_issue (#2792)
need to check 'value'
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Bowon Ryu [Wed, 24 Mar 2021 04:24:56 +0000 (13:24 +0900)]
[NUI] Add GrabHandleColor property (#2776)
GrabHandleColor property can set the color of grab handle in TextField/TextEditor.
exmaple)
field.GrabHandleColor = new Color(0.0f, 1.0f, 0.0f, 1.0f);
this patch should be merged after below patches are applied.
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/255726/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/255739/
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
[NUI] Use Color type instead of Vector4 for GrabHandleColor
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
[NUI] Add missing code for GrabHandleColor
field.GrabHandleColor = new Color(0.0f, 1.0f, 0.0f, 1.0f);
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
[NUI] Replace Vector4 with Color in TextField/TextEditorBindableProperty
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Jaehyun Cho [Tue, 23 Mar 2021 12:48:05 +0000 (21:48 +0900)]
[NUI] Fix TabButton not to invoke duplicate SelectedChanged (#2775)
TabButton does not change its state to unselected if button or key is
unpressed while its state is selected.
Previously, TabButton invoked duplicate SelectedChanged if button or key
is unpressed while its state is selected.
Now, TabButton does not invoke duplicate SelectedChanged if button or
key is unpressed while its state is selected.
Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Jiyun Yang [Tue, 23 Mar 2021 07:05:10 +0000 (16:05 +0900)]
[NUI] TextLayout can consider specified maximum width. (#2774)
Previsouly, the Layout system did not reflect TextLabel's maximum size, so the following example did't work corrrectly,
```C#
var view = new View()
{
Layout = new LinearLayout() { LinearOrientation = LinearLayout.Orientation.Horizontal, },
};
view.Add(new TextLabel() { MaximumSize = new Size2D(50, 50), Text = "Helloooooooooooooooooo!" });
view.Add(new TextLabel() { MaximumSize = new Size2D(50, 50), Text = "Helloooooooooooooooooo!" });
NUIApplication.GetDefaultWindow().Add(view);
```
The x-position of the second child was calculated based on the first child's natutal width,
but the first child's actual width was limited by MaximumSize(50).
So this patch update the TextLabel's layout to make it consider the maxmimum size of the view.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Co-authored-by: huiyueun <35286162+huiyueun@users.noreply.github.com>
Seoyeon2Kim [Tue, 23 Mar 2021 05:28:08 +0000 (14:28 +0900)]
[NUI] Add Progress Indeterminate mode (#2733)
* [NUI] Add Progress Indeterminate mode
- Indeterminate type means an unspecified amount of wait time.
If `ProgressState` property sets `ProgressStatusType.Indeterminate` mode,
then progress is continually repeating until the process in complete.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* Fix build warning
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* Update Progress based on review
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
Jiyun Yang [Tue, 23 Mar 2021 05:10:55 +0000 (14:10 +0900)]
[NUI] Update 6.5 UX for CheckBox, Switch and RadioButton (#2773)
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Jiyun Yang [Tue, 23 Mar 2021 04:56:43 +0000 (13:56 +0900)]
[NUI] Button text ellipsis enabled and etc. (#2772)
* Button text ellipsis when the text is longer than the button width.
* Switch thumb can get control state changed callback from parent.
* Button IconPadding is ignored when the icon is not exist.
* Button TextPadding is ignored when the text is not exist.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Seoyeon2Kim [Mon, 22 Mar 2021 06:41:03 +0000 (15:41 +0900)]
[NUI] Update InputPanelLanguage enum description (#2770)
- InputPanelLanguage.Alphabet enumeration can be changed
according to OSD language.
- For instance, if OSD language is not Latin alphabet, such as Korean and Arabic,
IME default language would change to English.
If OSD language is Latin alphabet, such as French and Spanish,
IME default language would be OSD language itself.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Jiyun Yang [Mon, 22 Mar 2021 03:55:43 +0000 (12:55 +0900)]
[NUI] CheckBox, RadioButton and Switch can place text without setting text size (#2763)
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
huiyueun [Mon, 22 Mar 2021 01:20:07 +0000 (10:20 +0900)]
[NUI] Improve LayoutController.Process performance (#2755)
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
hjhun [Tue, 30 Mar 2021 02:04:38 +0000 (11:04 +0900)]
Check result parcel (#2802)
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Suyeon Hwang [Fri, 26 Mar 2021 07:51:44 +0000 (16:51 +0900)]
[VoiceControl] Support multi handle for event and add thread lock for these handles (#2795)
* [VoiceControl] Support multi handle for event
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
* [VoiceControl] Add lock for event handlers
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
Suyeon Hwang [Thu, 25 Mar 2021 01:51:25 +0000 (10:51 +0900)]
[Tts/Stt] Use thread lock only when add and remove event handler (#2782)
* [Tts] Use thread lock only when add and remove event handler
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
* [Stt] Use thread lock only when add and remove event handler
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
* [Tts/Stt] Remove useless thread lock statements
null conditional operator already guarantees the thread safety.
So it does not need additional thread lock.
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
hjhun [Wed, 24 Mar 2021 04:13:26 +0000 (13:13 +0900)]
[Applications.ComponentBased] Modify and Add classes for IPC feature (#2675)
* Change directory name
The directory name is changed to 'ComponentPort'.
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove unncessary interop parcel methods
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix descriptions
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix typo
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix example code
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Rename directory to Port
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix ComponentPort implementation
Changes:
- Removes abstract keyword from ComponentPort class
- Changes OnRequestEvent() method to use virtual keyword instead of abstract keyword
- Adds RequestEventArgs for OnRequestEvent()
- Adds ComponentTask class for WaitForEvent() call
- Changes the name of SendSync() to SendAndReceive().
- Adds SendAndReceiveAsync() method
- Adds WaitForPort() method
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Add EventHandler
- Uses EventHandler instead of virtual method
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix WaitForPort implementation
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix descriptions and implemenation
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix wrong implemenations and descriptions
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix descipriton of ComponentTask
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix WaitForPortCore()
- Uses Task.FromResult()
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix wrong description about permission denied error
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Jiyun Yang [Fri, 19 Mar 2021 02:30:51 +0000 (11:30 +0900)]
[NUI] Fix TCT fails
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
huiyueun [Fri, 19 Mar 2021 04:13:26 +0000 (13:13 +0900)]
[NUI] Modify NUI.Components private variable (#2764)
- Add opensource license
- Delete 'm' or '_' of private variable
- Delete unused using
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
seungho [Fri, 19 Mar 2021 01:45:08 +0000 (10:45 +0900)]
[NUI] Remove Transition for xaml
Signed-off-by: seungho <sbsh.baek@samsung.com>
Jiyun Yang [Fri, 19 Mar 2021 02:12:59 +0000 (11:12 +0900)]
[NUI] Scrollbar uses View instead Visual since blinking issue (#2745)
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Xianbing Teng [Wed, 10 Jun 2020 06:45:38 +0000 (14:45 +0800)]
[NUI][Design]Update Tizen.NUI.Design and Add Tizen.NUI.Components.Design
1. Add Tizen.NUI.Components.Design
2. Update Tizen.NUI.Design
3. Update design dlls
Dongsug Song [Thu, 18 Mar 2021 09:30:46 +0000 (18:30 +0900)]
Revert "[NUI] Clean up View's Events"
This reverts commit
c0df2f273c77d7655df2d9c15d005a72d71431d7.
huiyu.eun [Thu, 18 Mar 2021 04:20:42 +0000 (13:20 +0900)]
[NUI] Check spelling
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
huiyu.eun [Tue, 16 Mar 2021 10:18:54 +0000 (19:18 +0900)]
[NUI] Fix padding issue
If Layout is a LayoutItem then it could be a View that handles it's own padding.
Let the View keeps it's padding. Still store Padding in Layout to reduce code paths.
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
huiyu.eun [Wed, 17 Mar 2021 04:26:29 +0000 (13:26 +0900)]
[NUI] Remove Debug.WritelineIf
Rmove to improve performance
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Inhong [Thu, 18 Mar 2021 05:35:54 +0000 (14:35 +0900)]
[Inputmethod] Fix the crash issue due to double free (#2756)
Co-authored-by: InHong Han <inhong1.han@samsung.com>
Dongsug Song [Thu, 25 Feb 2021 08:49:12 +0000 (17:49 +0900)]
[NUI] Remove APIs which have been deprecated in API7
This reverts commit
ed2f6c68fa315f66578c231912ded2af9fa8e98d.
Eunki Hong [Wed, 17 Mar 2021 02:26:22 +0000 (11:26 +0900)]
[NUI] Version update (nui22017) (#2746)
Signed-off-by: pichulia <eunkiki.hong@samsung.com>
Co-authored-by: pichulia <eunkiki.hong@samsung.com>
SangHyeon Jade Lee [Tue, 16 Mar 2021 05:44:09 +0000 (14:44 +0900)]
[NUI] : Add ScrollPosition in ScrollEventArgs for user convenience.
Current Position property in ScrollEventArgs is position of
ContentContainer which is negative.
user controls scrollableBase via ScrollTo and other API with
positive position of pan not ContentContainer so user must convert
current Position Property to use.
By this patch, we provide positive ScrollPosition which represent
position of scroll pan, so no need to convert value for using it.
Jaehyun Cho [Wed, 11 Nov 2020 08:09:26 +0000 (17:09 +0900)]
[NUI] Remove StyleCop CA1715 warning messages
Since T, U, R are commonly used as generic type parameter names and not
to do ACR, StyleCop CA1715 warning messages in DaliEventHandler.cs are
removed.
Joogab Yun [Mon, 15 Mar 2021 03:55:54 +0000 (12:55 +0900)]
[NUI] change type from Size2D to Size at TouchArea api
Jiyun Yang [Mon, 15 Mar 2021 02:24:41 +0000 (11:24 +0900)]
[NUI] Theme change do not overwrite user set properties. (#2731)
* [NUI] Theme change do not overwrite user set properties.
* Note that this works only for the bindable properties.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Components share style instance in a theme
Hence a component should not modify connected style instance.
huiyu.eun [Fri, 12 Mar 2021 04:28:45 +0000 (13:28 +0900)]
[NUI] Clean up MeasureAndLayout of LayoutController
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Joogab Yun [Fri, 12 Mar 2021 01:50:58 +0000 (10:50 +0900)]
[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.
This reverts commit
034889141391985f0ad1727ae6e32719d9c5a360.
huiyu.eun [Fri, 12 Mar 2021 03:31:34 +0000 (12:31 +0900)]
[NUI] Delete unuused code
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Jaehyun Cho [Fri, 12 Mar 2021 02:41:25 +0000 (11:41 +0900)]
[NUI] Set Navigator Layout (#2727)
To calculate its children (i.e. Page) size correctly, Navigator sets
AbsoluteLayout to its Layout.
Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Jaehyun Cho [Fri, 12 Mar 2021 01:44:10 +0000 (10:44 +0900)]
[NUI] Remove CA2000 false alarm in Navigator (#2729)
Since the pushed views are added to NavigationPages and are disposed in
Navigator.Dispose(), the CA2000 in Navigator is false alarm.
To remove the CA2000 false alarm, SuppressMessage for CA2000 is added.
Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Dongsug Song [Thu, 11 Mar 2021 01:52:46 +0000 (10:52 +0900)]
[NUI] Clean up View's Events
Seoyeon2Kim [Fri, 12 Mar 2021 01:16:26 +0000 (10:16 +0900)]
[NUI] Add Slider discrete value properties (#2721)
- If the app sets `IsDiscrete` as true,
the thumb snap to the nearest discrete value when the user drags the thumb or taps.
- To set the value for discrete slider, use `DiscreteValue` property.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
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>
Seoyeon2Kim [Thu, 11 Mar 2021 02:40:33 +0000 (11:40 +0900)]
[NUI] Fix build warning for AccessibilityEvent naming (#2710)
* [NUI] Fix build warning for AccessibilityEvent naming
- There's a build warning for View.Activate EventHandler : CS0108.
'GaussianBlurView.Activate()' hides inherited member 'View.Activate'.
- Use the new keyword, 'Activated'.
- Update some code to follow formatting rules
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* [NUI] Add Accessibility prefix to events
- Add 'Accessibility' prefix to all Accessibility events.
- Fix build warning : CA2000
Call Dispose on object created by signals before all references are out of scope.
-> Make signal variable separately.
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Woochanlee [Wed, 10 Mar 2021 04:29:21 +0000 (13:29 +0900)]
[NUI] Introduce NUI Palette APIs