platform/core/csapi/tizenfx.git
3 years agoReplace NavigationPages.Count with PageCount
Jaehyun Cho [Tue, 4 May 2021 06:55:54 +0000 (15:55 +0900)]
Replace NavigationPages.Count with PageCount

Not to provide List property to users, NavigationPages is removed from
Navigator class.
Instead of NavigationPages.Count, PageCount is added to Navigator class.

3 years agoMake Menu APIs public
Jaehyun Cho [Fri, 16 Apr 2021 03:49:02 +0000 (12:49 +0900)]
Make Menu APIs public

This is ACR patch to make Menu APIs public.

This pull request includes properties and methods of Menu and MenuItem
classes.

Menu.AnchorPosition is replaced with Menu.Anchor.
Menu.HorizontalPositionToAnchor and Menu.VerticalPositionToAnchor are
added for Menu.Anchor.

3 years agoMake TabView APIs public
Jaehyun Cho [Wed, 14 Apr 2021 16:23:51 +0000 (01:23 +0900)]
Make TabView APIs public

This is ACR patch to make TabView APIs public.

This pull request includes properties and methods of TabView, TabBar,
TabButton, TabButtonstyle and TabContent classes.

3 years agoMake Page Navigation APIs public
Jaehyun Cho [Wed, 14 Apr 2021 15:55:29 +0000 (00:55 +0900)]
Make Page Navigation APIs public

This is ACR patch to make Page Navigation APIs public.

This pull request includes properties and methods of Navigator and Page
classes.

NavigationPages are not going to be public not to make List<T> public
API.

To cover the usage of NavigationPages, the following APIs are added.
- public int PageCount
- public Page GetPage(int index)
- public int IndexOf(Page page)

3 years agoMake Dialog APIs public
Jaehyun Cho [Wed, 14 Apr 2021 16:13:05 +0000 (01:13 +0900)]
Make Dialog APIs public

This is ACR patch to make Dialog APIs public.

This pull request includes properties and methods of DialogPage, Dialog,
AlertDialog and AlertDialogStyle classes.

3 years ago[NUI] VectorGraphics.CanvasView: Remove unnecessary EditorBrowsable
JunsuChoi [Wed, 28 Apr 2021 02:34:51 +0000 (11:34 +0900)]
[NUI] VectorGraphics.CanvasView: Remove unnecessary EditorBrowsable

Fix to mistake

3 years ago[NUI] VectorGraphics.CanvasView: Add missing documentation
JunsuChoi [Fri, 23 Apr 2021 04:42:03 +0000 (13:42 +0900)]
[NUI] VectorGraphics.CanvasView: Add missing documentation

3 years ago[NUI] Open newly added APIs in VectorGraphics(CanvasView, Drawable, Shape)
JunsuChoi [Fri, 9 Apr 2021 07:47:19 +0000 (16:47 +0900)]
[NUI] Open newly added APIs in VectorGraphics(CanvasView, Drawable, Shape)

src/public/BaseComponents/VectorGraphics/CanvasView.cs
CanvasView
    [Add] CanvasView(Size2D viewBox)
    [Add] void AddDrawable(Drawable drawable)
src/public/BaseComponents/VectorGraphics/Drawable.cs
Drawable
    [Add] float Opacity { get; set; }
    [Add] bool Rotate(float degree)
    [Add] bool Scale(float factor)
    [Add] bool Transform(float[] matrix)
    [Add] bool Translate(float x, float y)
src/public/BaseComponents/VectorGraphics/Shape.cs
Shape
    [Add] Shape()
    [Add] enum FillRuleType { Winding, EvenOdd }
    [Add] enum StrokeCapType { Square, Round, Butt }
    [Add] enum StrokeJoinType { Bevel, Round, Miter }
    [Add] Color FillColor { get; set; }
    [Add] FillRuleType FillRule { get; set; }
    [Add] float StrokeWidth { get; set; }
    [Add] Color StrokeColor { get; set; }
    [Add] StrokeCapType StrokeCap { get; set; }
    [Add] StrokeJoinType StrokeJoin { get; set; }
    [Add] ReadOnlyCollection<float> StrokeDash { get; set; }
    [Add] bool AddRect(float x, float y, float width, float height, float roundedCornerX, float roundedCornerY)
    [Add] bool AddCircle(float x, float y, float radiusX, float radiusY)
    [Add] bool AddArc(float x, float y, float radius, float startAngle, float sweep, bool pie)
    [Add] bool AddMoveTo(float x, float y)
    [Add] bool AddLineTo(float x, float y)
    [Add] bool AddCubicTo(float controlPoint1X, float controlPoint1Y, float controlPoint2X, float controlPoint2Y, float endPointX, float endPointY)
    [Add] bool Close()
    [Add] bool ResetPath()

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

3 years ago[Multimedia] Add Validation util and rename filename (#2974)
hsgwon [Thu, 6 May 2021 02:15:12 +0000 (11:15 +0900)]
[Multimedia] Add Validation util and rename filename (#2974)

3 years ago[ElmSharp] Fix EcoreEvent (#2988)
Jay Cho [Mon, 3 May 2021 07:35:50 +0000 (16:35 +0900)]
[ElmSharp] Fix EcoreEvent (#2988)

3 years ago[MediaTool] Change pinvoke method (#2975)
hsgwon [Fri, 30 Apr 2021 06:25:50 +0000 (15:25 +0900)]
[MediaTool] Change pinvoke method (#2975)

* [MediaTool] Change pinvoke method
* [MediaTool] Changed AudioChannelMap get logic

3 years ago[NUI] Remove logic that prevent theme changing overwrite user set properties (#2969)
Jiyun Yang [Wed, 28 Apr 2021 11:43:14 +0000 (20:43 +0900)]
[NUI] Remove logic that prevent theme changing overwrite user set properties (#2969)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Fix default theme id (#2970)
Jiyun Yang [Wed, 28 Apr 2021 11:23:20 +0000 (20:23 +0900)]
[NUI] Fix default theme id (#2970)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[Xaml] Fix issue that can't load theme in Tizen.NUI (#2966)
AdunFang [Wed, 28 Apr 2021 09:12:21 +0000 (17:12 +0800)]
[Xaml] Fix issue that can't load theme in Tizen.NUI (#2966)

* [Xaml] Fix issue that can't load theme in Tizen.NUI

* [Xaml] Fix build warning

3 years ago[EXaml] Fix SVACE issue (#2964)
AdunFang [Wed, 28 Apr 2021 07:19:38 +0000 (15:19 +0800)]
[EXaml] Fix SVACE issue (#2964)

3 years ago[Peripheral] Gpio callback return pin value from structure. (#2798)
xerrni [Wed, 28 Apr 2021 05:46:17 +0000 (07:46 +0200)]
[Peripheral] Gpio callback return pin value from structure. (#2798)

Change implementation so interrupted callback reads pin value from
structure rather than invoking Read() method.

Signed-off-by: Ernest Borowski <e.borowski@samsung.com>
Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
3 years ago[NUI] Version update (nui22023) (#2952)
tscholb [Mon, 26 Apr 2021 08:31:51 +0000 (17:31 +0900)]
[NUI] Version update (nui22023) (#2952)

3 years ago[NUI] Apply Vector4 corner radius internally.
Jiyun Yang [Tue, 13 Apr 2021 01:54:57 +0000 (10:54 +0900)]
[NUI] Apply Vector4 corner radius internally.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Change TouchArea to TouchAreaOffset (#2948)
JoogabYun [Mon, 26 Apr 2021 06:05:53 +0000 (15:05 +0900)]
[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

3 years ago[EXaml] 1.Support List property 2.Support load multi EXaml
Fang Xiaohui [Thu, 22 Apr 2021 03:07:45 +0000 (11:07 +0800)]
[EXaml] 1.Support List property 2.Support load multi EXaml

3 years ago[NUI] Add Animation(Public) TCs.
guowei.wang [Wed, 21 Apr 2021 09:22:06 +0000 (17:22 +0800)]
[NUI] Add Animation(Public) TCs.

3 years ago[NUI] Make AppBar APIs public
Jaehyun Cho [Wed, 14 Apr 2021 16:03:26 +0000 (01:03 +0900)]
[NUI] Make AppBar APIs public

This is ACR patch to make AppBar APIs public.

This pull request includes properties and methods of AppBar, AppBarStyle
and ContentPage classes.

3 years ago[NUI] Make Transition public API
seungho [Wed, 14 Apr 2021 05:58:20 +0000 (14:58 +0900)]
[NUI] Make Transition public API

Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years ago[NUI] Open newly added APIs in Button and Notification
Jiyun Yang [Thu, 8 Apr 2021 10:47:49 +0000 (19:47 +0900)]
[NUI] Open newly added APIs in Button and Notification

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Scrollbar does not change theme style
Jiyun Yang [Mon, 12 Apr 2021 05:30:02 +0000 (14:30 +0900)]
[NUI] Scrollbar does not change theme style

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Rename some properties of WebView, WebSettings, etc. (#2944)
huayongxu [Thu, 22 Apr 2021 06:07:36 +0000 (14:07 +0800)]
[NUI] Rename some properties of WebView, WebSettings, etc. (#2944)

This patch is to raname some properties to follow naming rule.

3 years ago[NUI] Add webview context and cookiemanager apis (#2940)
zhouleonlei [Thu, 22 Apr 2021 02:34:18 +0000 (10:34 +0800)]
[NUI] Add webview context and cookiemanager apis (#2940)

3 years ago[NUI] Implement hit test APIs of webview. (#2923)
huayongxu [Wed, 21 Apr 2021 11:36:41 +0000 (19:36 +0800)]
[NUI] Implement hit test APIs of webview. (#2923)

This patch is to implment hit test APIs of webview.

3 years ago[NUI] Implement context menu APIs of webview. (#2909)
huayongxu [Wed, 21 Apr 2021 11:21:32 +0000 (19:21 +0800)]
[NUI] Implement context menu APIs of webview. (#2909)

This patch is to implement context menu APIs of webview.

3 years ago[NUI] Implement APIs for request interceptor, console message, etc (#2881)
huayongxu [Wed, 21 Apr 2021 09:51:26 +0000 (17:51 +0800)]
[NUI] Implement APIs for request interceptor, console message, etc (#2881)

* [NUI] Implement APIs for request interceptor, console message, etc

This patch is to implement WebView APIs for http request
interceptor, console message and page loading error.

* change GetXXX to XXX.

3 years ago[NUI] Implement certificate & authentication APIs of WebView. (#2893)
huayongxu [Wed, 21 Apr 2021 08:31:17 +0000 (16:31 +0800)]
[NUI] Implement certificate & authentication APIs of WebView. (#2893)

This patch is to implement ssl certificate & http authentication
of WebView.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Update some descriptions of View properties (#2939)
Seoyeon2Kim [Wed, 21 Apr 2021 07:38:21 +0000 (16:38 +0900)]
[NUI] Update some descriptions of View properties (#2939)

* [NUI] Update some descriptions of View properties

- To avoid confusion of using some `View` properties,
 added remarks to use them for `TableView` class.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
* Update for PR rerun

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Open NUI.ThemeManager and related APIs (#2865)
Jiyun Yang [Wed, 21 Apr 2021 05:54:13 +0000 (14:54 +0900)]
[NUI] Open NUI.ThemeManager and related APIs (#2865)

* [NUI] Open NUI.ThemeManager and related APIs

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
* [NUI] Fix typo in description

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[Build] Add to RID for '6.5.0' (#2758)
JongHeonChoi [Tue, 27 Apr 2021 00:20:25 +0000 (09:20 +0900)]
[Build] Add to RID for '6.5.0' (#2758)

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
3 years ago[Internal] Extend Tizen.Inspections internal API (#2797)
kkuchciak [Tue, 27 Apr 2021 00:12:23 +0000 (02:12 +0200)]
[Internal] Extend Tizen.Inspections internal API (#2797)

Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
3 years ago[NUI] Fix null reference check in CollectionViews. (#2942)
SangHyeon Jade Lee [Wed, 21 Apr 2021 06:18:59 +0000 (15:18 +0900)]
[NUI] Fix null reference check in CollectionViews. (#2942)

3 years ago[NUI] Fix svace issues in EXaml and Accessibility (#2936)
Jiyun Yang [Wed, 21 Apr 2021 03:52:21 +0000 (12:52 +0900)]
[NUI] Fix svace issues in EXaml and Accessibility (#2936)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] sync DevelNUI and master
Joogab Yun [Tue, 20 Apr 2021 06:49:58 +0000 (15:49 +0900)]
[NUI] sync DevelNUI and master

3 years ago[NUI] Update NUI Slider default and dark themes (#2925)
Seoyeon2Kim [Tue, 20 Apr 2021 05:46:29 +0000 (14:46 +0900)]
[NUI] Update NUI Slider default and dark themes (#2925)

- Update default theme and dark theme of Slider component.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Fix ImageView Dispose crash (#2933)
Jiyun Yang [Tue, 20 Apr 2021 06:20:03 +0000 (15:20 +0900)]
[NUI] Fix ImageView Dispose crash (#2933)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] match DevelNUI
huiyu.eun [Tue, 20 Apr 2021 06:09:33 +0000 (15:09 +0900)]
[NUI] match DevelNUI

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Version update (nui22022) (#2929)
JoogabYun [Tue, 20 Apr 2021 02:33:48 +0000 (11:33 +0900)]
[NUI] Version update (nui22022) (#2929)

3 years ago[NUI] VectorGraphics: Fix directory name typo
JunsuChoi [Mon, 19 Apr 2021 07:40:27 +0000 (16:40 +0900)]
[NUI] VectorGraphics: Fix directory name typo

VectorGraphcis -> VectorGraphics

3 years ago[NUI][ATSPI] Accessibility added to Loading component (#2823)
a-bartak [Mon, 19 Apr 2021 07:36:51 +0000 (09:36 +0200)]
[NUI][ATSPI] Accessibility added to Loading component (#2823)

- Highlightable added to Loading

3 years ago[NUI] Add Common(Public) TCs
guowei.wang [Thu, 15 Apr 2021 10:59:21 +0000 (18:59 +0800)]
[NUI] Add Common(Public) TCs

3 years ago[NUI] Add webview settings apis
zhouleonlei [Tue, 13 Apr 2021 12:46:04 +0000 (20:46 +0800)]
[NUI] Add webview settings apis

3 years ago[NUI] Add APIs of webview back forward list
zhouleonlei [Tue, 13 Apr 2021 06:47:41 +0000 (14:47 +0800)]
[NUI] Add APIs of webview back forward list

3 years agochange GetXXX to XXX
huayong.xu [Tue, 13 Apr 2021 09:10:30 +0000 (17:10 +0800)]
change GetXXX to XXX

3 years ago[NUI] Implement new window policy decision APIs of webview.
huayong.xu [Tue, 13 Apr 2021 05:10:27 +0000 (13:10 +0800)]
[NUI] Implement new window policy decision APIs of webview.

This patch is to implement WebView APIs for new window policy
decision.

3 years ago[NUI][AT-SPI] Simplify ReadingInfoTypes
Bartlomiej Grzelewski [Tue, 30 Mar 2021 11:51:23 +0000 (13:51 +0200)]
[NUI][AT-SPI] Simplify ReadingInfoTypes

Replace ReadingInfoTypes with AccessibiltyReadingInfoType flag.

3 years ago[NUI] Make Selector implements IEnumerable instead ICollection
Jiyun Yang [Fri, 9 Apr 2021 08:24:18 +0000 (17:24 +0900)]
[NUI] Make Selector implements IEnumerable instead ICollection

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Enhance button relayout and change styles
Jiyun Yang [Tue, 6 Apr 2021 12:31:31 +0000 (21:31 +0900)]
[NUI] Enhance button relayout and change styles

* Enhance button relayout logic
* Change default item alignments
* Change resource to png from svg

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Make bindable properties in Style and View have same property name. (#2850)
Jiyun Yang [Fri, 16 Apr 2021 08:17:07 +0000 (17:17 +0900)]
[NUI] Make bindable properties in Style and View have same property name. (#2850)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[EXaml] Add Copy Right
Fang Xiaohui [Fri, 16 Apr 2021 06:00:16 +0000 (14:00 +0800)]
[EXaml] Add Copy Right

3 years ago[EXaml] Add code for load EXaml
Fang Xiaohui [Fri, 16 Apr 2021 05:38:03 +0000 (13:38 +0800)]
[EXaml] Add code for load EXaml

3 years ago[NUI] Add Menu, MenuItem, MenuItemGroup classes
Jaehyun Cho [Mon, 12 Apr 2021 12:56:36 +0000 (21:56 +0900)]
[NUI] Add Menu, MenuItem, MenuItemGroup classes

To support menu displayed at the given anchor position, Menu, MenuItem,
MenuItemGroup classes are added.

Menu adds MenuItems and also adds MenuItems to MenuItemGroup to select
only one item at a time.

Menu is displayed at the AnchorPosition if it is enough space to display
Menu at the AnchorPosition.
Otherwise, Menu is displayed near AnchorPosition to display Menu.

To support Menu easily, static method ShowMenu() is added to DialogPage.

3 years ago[NUI] Make some of Progress and Slider public methods (#2872)
Seoyeon2Kim [Fri, 16 Apr 2021 02:05:38 +0000 (11:05 +0900)]
[NUI] Make some of Progress and Slider public methods (#2872)

Public open API list
- Progress : IndeterminateImageUrl
- ProgressStyle : IndeterminateImageUrl
- Slider : ThumbImageUrl, IsValueShown, ValueIndicatorText,
           ValueIndicatorSize, ValueIndicatorUrl, IsDiscrete, DiscreteValue
- SliderStyle : ValueIndicatorText, ValueIndicatorImage

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Add dark theme for Text components (#2908)
Bowon Ryu [Thu, 15 Apr 2021 02:50:23 +0000 (11:50 +0900)]
[NUI] Add dark theme for Text components (#2908)

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years ago[NUI] Fix license year information for TabView classes
Jaehyun Cho [Wed, 14 Apr 2021 13:35:18 +0000 (22:35 +0900)]
[NUI] Fix license year information for TabView classes

3 years ago[NUI] Implement some new APIs of webcontext.
huayong.xu [Wed, 14 Apr 2021 03:38:46 +0000 (11:38 +0800)]
[NUI] Implement some new APIs of webcontext.

This patch is to implement some new APIs of webcontext, such as
GetWebStorageOrigins, GetFormPasswordList, etc.

3 years ago[NUI] Set EnableDismissOnScrim true by default
huiyu.eun [Tue, 20 Apr 2021 06:05:19 +0000 (15:05 +0900)]
[NUI] Set EnableDismissOnScrim true by default

To pop DialogPage when DialogPage's Scrim is touched by default,
EnableDismissOnScrim is set to be true by default.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Use AbsoluteLayout for ContentPage
huiyu.eun [Tue, 20 Apr 2021 06:03:28 +0000 (15:03 +0900)]
[NUI] Use AbsoluteLayout for ContentPage

Since ContentPage is full screen page, user may add their view on the
ContentPage to show their view with the view's own size and position.
e.g. contentPage.Add(view);

To support above usage, Page should use AbsoluteLayout instead of
LinearLayout.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoRevert "Revert "[NUI] Add AlertDialogStyle class with the latest AlertDialog UX""
huiyu.eun [Tue, 20 Apr 2021 06:01:52 +0000 (15:01 +0900)]
Revert "Revert "[NUI] Add AlertDialogStyle class with the latest AlertDialog UX""

This reverts commit 18a2050cf2890d02668449571e5950ef3c3faf42.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Remove deprecation error message and append [Obsolete()] attribute to the corre...
dongsug.song [Tue, 13 Apr 2021 10:11:34 +0000 (19:11 +0900)]
[NUI] Remove deprecation error message and append [Obsolete()] attribute to the corresponding setter

3 years ago[NUI] Fix build error when using VS solution (sln)
dongsug.song [Tue, 13 Apr 2021 09:17:04 +0000 (18:17 +0900)]
[NUI] Fix build error when using VS solution (sln)

3 years ago[NUI] VectorGraphics: Change api name Reset to ResetPath
JunsuChoi [Wed, 14 Apr 2021 05:49:01 +0000 (14:49 +0900)]
[NUI] VectorGraphics: Change api name Reset to ResetPath

3 years ago[NUI] Tizen.NUI.Samples.CanvasView: Enhance CanvasView sample
JunsuChoi [Wed, 14 Apr 2021 02:10:00 +0000 (11:10 +0900)]
[NUI] Tizen.NUI.Samples.CanvasView: Enhance CanvasView sample

Implement shape animations using reset api

3 years ago[NUI] VectorGraphics: Add Shape.Reset api
JunsuChoi [Wed, 14 Apr 2021 02:09:01 +0000 (11:09 +0900)]
[NUI] VectorGraphics: Add Shape.Reset api

There was no way to modify or remote previously added path information.
The user can update the shape by deleting the path information
and adding a new path information by using Reset() API.

3 years ago[NUI] Add dark theme temporarily (#2905)
Jiyun Yang [Wed, 14 Apr 2021 07:22:10 +0000 (16:22 +0900)]
[NUI] Add dark theme temporarily (#2905)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoraname documentbackgroundcolor to contentbackgroundcolor
huayong.xu [Mon, 12 Apr 2021 03:01:15 +0000 (11:01 +0800)]
raname documentbackgroundcolor to contentbackgroundcolor

3 years agoraname backgroundcolor to documentbackgroundcolor
huayong.xu [Mon, 12 Apr 2021 02:51:44 +0000 (10:51 +0800)]
raname backgroundcolor to documentbackgroundcolor

3 years agoset properties by BindableProperty.
huayong.xu [Fri, 9 Apr 2021 08:25:29 +0000 (16:25 +0800)]
set properties by BindableProperty.

3 years ago[NUI] Implement some new APIs of web view.
huayong.xu [Fri, 9 Apr 2021 06:49:33 +0000 (14:49 +0800)]
[NUI] Implement some new APIs of web view.

This patch is to add some new APIs such as PageZoomFactor,
GetScreenshotAsynchronously, etc

3 years agoRevert "[NUI] Add ContentPage class"
huiyu.eun [Tue, 20 Apr 2021 06:01:15 +0000 (15:01 +0900)]
Revert "[NUI] Add ContentPage class"

This reverts commit 7fb3c5f251674a7c7d14fde04ecbf4c78220207c.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoRevert "[NUI] Dialog and AlertDialog code refactoring with adding DialogPage"
huiyu.eun [Tue, 20 Apr 2021 05:58:58 +0000 (14:58 +0900)]
Revert "[NUI] Dialog and AlertDialog code refactoring with adding DialogPage"

This reverts commit c43d2e4ec6e6a99a2a893f6950e8df69b382c519.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoRevert "[NUI] Add AlertDialogStyle class with the latest AlertDialog UX"
Jaehyun Cho [Wed, 14 Apr 2021 05:18:11 +0000 (14:18 +0900)]
Revert "[NUI] Add AlertDialogStyle class with the latest AlertDialog UX"

This reverts commit 5b3358237963183eb17db57b7440cc424b994846.

3 years ago[NUI] Keep the previously set FittingMode value
Sunghyun Kim [Tue, 6 Apr 2021 07:41:56 +0000 (16:41 +0900)]
[NUI] Keep the previously set FittingMode value

FittingMode should be applied even if Url is set later.
so ImageView need to keep the previsouly set fittingMode value.

3 years ago[NUI] Optimizing item positioning on MeasureFirst (#2895)
SangHyeon Jade Lee [Tue, 13 Apr 2021 10:59:31 +0000 (19:59 +0900)]
[NUI] Optimizing item positioning on MeasureFirst (#2895)

* [NUI] Optimizing item positioning on MeasureFirst

using List<T> Data Structure is redundant in MeasureFirst case,
and it makes worse sometimes for searching indexed item's position.
In MeasureFirst, every item has same size,
thus we can calculate it's position in linear or grouped cases.

3 years ago[NUI] Apply Padding and Margin on CollectionView and Layouter with styles (#2883)
SangHyeon Jade Lee [Tue, 13 Apr 2021 10:23:53 +0000 (19:23 +0900)]
[NUI] Apply Padding and Margin on CollectionView and Layouter with styles (#2883)

now you can define the padding in layouter independently,
and each item's padding and margin will be respected.

3 years ago[NUI] Add Animation(Internal) TCs
guowei.wang [Tue, 13 Apr 2021 03:28:49 +0000 (11:28 +0800)]
[NUI] Add Animation(Internal) TCs

3 years ago[NUI] Add AlertDialogStyle class with the latest AlertDialog UX
Jaehyun Cho [Thu, 8 Apr 2021 16:21:07 +0000 (01:21 +0900)]
[NUI] Add AlertDialogStyle class with the latest AlertDialog UX

To apply the latest AlertDialog UX, AlertDialogStyle class is added.

3 years ago[NUI] Enable TextLabel's BindableProperties to be affected by Layout change
dongsug.song [Fri, 9 Apr 2021 11:51:51 +0000 (20:51 +0900)]
[NUI] Enable TextLabel's BindableProperties to be affected by Layout change

3 years ago[NUI] AppBar code refactoring (#2861)
Jaehyun Cho [Mon, 12 Apr 2021 02:45:35 +0000 (11:45 +0900)]
[NUI] AppBar code refactoring (#2861)

To enhance usability, some APIs are added and removed as follows.

Title and Actions are added to set these properties with constructor.

SetTitle(), AddActions() and RemoveActions() are removed because the
above Title and Actions cover theses methods.

Comment's indentation is also fixed.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
3 years ago[NUI] Picker fix scroll position moves to an incorrect place after animation
Woochanlee [Wed, 7 Apr 2021 07:56:39 +0000 (16:56 +0900)]
[NUI] Picker fix scroll position moves to an incorrect place after animation

3 years ago[NUI] Fix type comparison method in PropertyHelper
Jiyun Yang [Thu, 8 Apr 2021 10:56:23 +0000 (19:56 +0900)]
[NUI] Fix type comparison method in PropertyHelper

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI][AT-SPI] Event emission added for button
Bartlomiej Grzelewski [Tue, 23 Mar 2021 16:32:53 +0000 (17:32 +0100)]
[NUI][AT-SPI] Event emission added for button

State changed ATSPI event emision added for highlight
Button. This will allow to read "Toggle button, On" and
"Toggle button, Off" by screen-reader.

3 years ago[NUI] Add Devel(internal) TCs
Dongsug Song [Tue, 6 Apr 2021 09:32:37 +0000 (18:32 +0900)]
[NUI] Add Devel(internal) TCs

3 years ago[NUI] Update reviews for IndeterminateImageUrl
Seoyeon Kim [Fri, 9 Apr 2021 01:43:04 +0000 (10:43 +0900)]
[NUI] Update reviews for IndeterminateImageUrl

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Update Progress style
Seoyeon Kim [Wed, 7 Apr 2021 11:05:20 +0000 (20:05 +0900)]
[NUI] Update Progress style

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years ago[NUI] Fix default value of VisualMap.Origin
Jiyun Yang [Tue, 6 Apr 2021 09:41:41 +0000 (18:41 +0900)]
[NUI] Fix default value of VisualMap.Origin

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI] Implement APIs for form repost decision & frame rendered. (#2843)
huayongxu [Thu, 8 Apr 2021 12:59:00 +0000 (20:59 +0800)]
[NUI] Implement APIs for form repost decision & frame rendered. (#2843)

* [NUI] Implement APIs for form repost decision & frame rendered.

This patch is to implement APIs for form repost decision and frame
rendered off-screen.
And properties for enabling/disabling mouse or key events are
added.

* rename RepostDecision to RepostPolicyDecided

* rename WebFormRepostDecision to WebFormRepostPolicyDecisionMaker

* delate empty WebViewFrameRenderedEventArgs.

* remove some unused functions.

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[NUI]public the converter for Xaml (#2837)
AdunFang [Thu, 8 Apr 2021 12:50:53 +0000 (20:50 +0800)]
[NUI]public the converter for Xaml (#2837)

* [NUI]public the converter for Xaml

* [NUI]public Vector3 converter

* [NUI] remove unneccessary modification

* [NUI] Fix build warning of Xaml

* [NUI] Fix build warning of Xaml

* [NUI] Remove unused code

Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoApply to use RenderTaskList (#2849)
Eunki Hong [Thu, 8 Apr 2021 11:56:34 +0000 (20:56 +0900)]
Apply to use RenderTaskList (#2849)

hidden API for RenderTaskList

Signed-off-by: pichulia <eunkiki.hong@samsung.com>
Co-authored-by: pichulia <eunkiki.hong@samsung.com>
3 years ago[NUI][AT-SPI] Improve StringToVoid implementation (#2839)
Bartłomiej Grzelewski [Thu, 8 Apr 2021 10:00:32 +0000 (12:00 +0200)]
[NUI][AT-SPI] Improve StringToVoid implementation (#2839)

* Add SetResult function.
* Rename function ConvertParam1 to GetResult.
* Remove Emit function. This should be used only by bridge.

3 years ago[NUI] Fix Process of LayoutController (#2841)
huiyueun [Thu, 8 Apr 2021 07:04:22 +0000 (16:04 +0900)]
[NUI] Fix Process of LayoutController (#2841)

Add to check if layout is needed before OnMeasure
It makes performance improve of layouting.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[NUI] Palette Fix incorrectly caclulated color values
Woochanlee [Wed, 7 Apr 2021 10:54:19 +0000 (19:54 +0900)]
[NUI] Palette Fix incorrectly caclulated color values

3 years ago[NUI] Add null check in Process (#2859)
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>
3 years ago[NUI] Support markup anchor to TextLabel, TextField, TextEditor (#2813)
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>
3 years agoAdd Extension method to help use PropertyMap class
Seungkeun Lee [Wed, 7 Apr 2021 02:40:49 +0000 (11:40 +0900)]
Add Extension method to help use PropertyMap class