platform/core/uifw/dali-toolkit.git
21 months agoFixed bug 59/262259/1
joogab.yun [Thu, 5 Aug 2021 17:11:27 +0000 (02:11 +0900)]
Fixed bug

Change-Id: Ib1f9d1ebbab42399dd8437247adea2072061b30c

21 months agoFix to build incrementally with gbs 86/259386/3
Daekwang Ryu [Thu, 3 Jun 2021 06:27:49 +0000 (15:27 +0900)]
Fix to build incrementally with gbs

Incremental build with gbs calls the prep section in the rpm spec once.
It doesn't execute the section from second.

Change-Id: I5eaa375566013bd91de206a34fd0acee937a4e6b

21 months agoCheck if actor can be focused. 96/262196/3
joogab.yun [Wed, 4 Aug 2021 03:05:34 +0000 (12:05 +0900)]
Check if actor can be focused.

Change-Id: I7066fae12059dbdb29e333dd2aac653bf7656ba7

21 months agoMerge "PositionSize API at dali-toolkit-test-utils/toolkit-window.cpp" into devel...
Eunki Hong [Tue, 3 Aug 2021 11:10:06 +0000 (11:10 +0000)]
Merge "PositionSize API at dali-toolkit-test-utils/toolkit-window.cpp" into devel/master

21 months agoPositionSize API at dali-toolkit-test-utils/toolkit-window.cpp 73/262173/2
Eunki, Hong [Tue, 3 Aug 2021 09:44:08 +0000 (18:44 +0900)]
PositionSize API at dali-toolkit-test-utils/toolkit-window.cpp

Previous version don't use Window.RenderSurface's PositionSize information
I add some interface that toolkit UTC can use it.

Change-Id: I59aae83bdf84c71dcc936b076b424eb0fcc8df9e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months agoRemove VisualFactory::Get() code at AsyncImageLoader 49/262049/2
Eunki, Hong [Mon, 2 Aug 2021 05:29:12 +0000 (14:29 +0900)]
Remove VisualFactory::Get() code at AsyncImageLoader

Make to send EncodedImageBuffer from TextureManager to AsyncImageLoader directly.
Now we don't need to get standalone factory at AsyncImageLoader.
So we don't need fearful exception check

Change-Id: I9b903c6a446fc167d11bdf7e22e6c7e19d085cc5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoRemove Unnecessary Doxygen PREDEFINED 78/262078/2
Eunki, Hong [Mon, 2 Aug 2021 10:58:44 +0000 (19:58 +0900)]
Remove Unnecessary Doxygen PREDEFINED

This typoerror exist since 2014-11-14. And today, It fixed.

Change-Id: I51d71ca119ea061bf369b97535fed7526c2d9419
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoMerge "Set TapGesture only if there is an anchor." into devel/master
joogab yun [Sun, 1 Aug 2021 23:52:33 +0000 (23:52 +0000)]
Merge "Set TapGesture only if there is an anchor." into devel/master

22 months agoSet TapGesture only if there is an anchor. 51/261851/10
joogab.yun [Tue, 27 Jul 2021 18:40:45 +0000 (03:40 +0900)]
Set TapGesture only if there is an anchor.

Change-Id: I3787911cbedda12b5d781e8de6b16902c23186e7

22 months agoDALi Version 2.0.37 03/262003/1 dali_2.0.37
Adam Bialogonski [Fri, 30 Jul 2021 10:21:48 +0000 (11:21 +0100)]
DALi Version 2.0.37

Change-Id: Ifb9bf35a343400030e3731d3d2506ed30d8b0cad

22 months agoMerge "Add transition headers in dali-toolkit.h" into devel/master
Adeel Kazmi [Thu, 29 Jul 2021 11:19:13 +0000 (11:19 +0000)]
Merge "Add transition headers in dali-toolkit.h" into devel/master

22 months agoAdd transition headers in dali-toolkit.h 88/261888/3
seungho [Wed, 28 Jul 2021 08:13:49 +0000 (17:13 +0900)]
Add transition headers in dali-toolkit.h

Change-Id: I76cc0118a6312c81d4477d47a14ee849bfdf3e92
Signed-off-by: seungho <sbsh.baek@samsung.com>
22 months agoCanvasView: Add RemoveAllDrawables() API 81/261181/7
JunsuChoi [Tue, 13 Jul 2021 03:00:12 +0000 (12:00 +0900)]
CanvasView: Add RemoveAllDrawables() API

Add an API that removes the all drawables registered with AddDrawable().

Change-Id: I6a47c4ce980cdebb374acfe8dfb87b0a815de138

22 months agoCanvasView: Add RemoveDrawable() API 77/261177/5
JunsuChoi [Tue, 13 Jul 2021 02:05:56 +0000 (11:05 +0900)]
CanvasView: Add RemoveDrawable() API

Add an API that removes the Drawable registered with AddDrawable().

Change-Id: Icf5796ca03093d20f13e5fe12db8c75aa5965a7e

22 months agoCanvasView: Add Property::VIEW_BOX 11/261111/9
JunsuChoi [Mon, 12 Jul 2021 05:55:09 +0000 (14:55 +0900)]
CanvasView: Add Property::VIEW_BOX

Add VIEW_BOX property to change canvas's viewbox value.

Change-Id: I4b23049f390158b232d1055703968637ebcbc3fa

22 months agoAdd CanvasView::New() API that can be created without viewbox. 81/261081/7
JunsuChoi [Fri, 9 Jul 2021 09:29:31 +0000 (18:29 +0900)]
Add CanvasView::New() API that can be created without viewbox.

This is provided in case the viewBox argument is not absolutely necessary.

Change-Id: Ic955b4cacb93620c1f48b62f82ef5cc16c335f59

22 months agoMerge "Add CanvasView thread rasterization" into devel/master
junsu choi [Thu, 29 Jul 2021 04:10:13 +0000 (04:10 +0000)]
Merge "Add CanvasView thread rasterization" into devel/master

22 months agoFix SVACE error caused by recent ATSPI change 07/261907/1
Adeel Kazmi [Wed, 28 Jul 2021 15:56:23 +0000 (16:56 +0100)]
Fix SVACE error caused by recent ATSPI change

Change-Id: I150b9d4a0afd74081baa92fddf153824dd44faa6

22 months ago[ATSPI] Blocking unwanted emission of "MoveOuted" signal 38/261238/10
Lukasz Oleksak [Tue, 13 Jul 2021 16:31:24 +0000 (18:31 +0200)]
[ATSPI] Blocking unwanted emission of "MoveOuted" signal

This patch is blocking unwanted emission of "MoveOuted" signal to dbus
when auto-scroll feature moves highlighted object into the screen.

This patch requires following dali-adaptor patch:
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/261237/

Change-Id: I43115faf0e9a061436d6751069ca1541ff0d4017

22 months agoGenerate url and load texture from encoded image buffer 15/259415/24
Eunki, Hong [Tue, 8 Jun 2021 06:07:20 +0000 (15:07 +0900)]
Generate url and load texture from encoded image buffer

Make some way to load image from raw-buffer stream.
This raw-buffer will alive when some actor contain this buffer.

Limitation : animated-image, vector-image, animated-vector-image not working now. Will support another patch

1. Generate url from encoded raw buffer like this
  ImageUrl url = Toolkit::Image::GenerateUrl(const EncodedImageBuffer &);
2. When we use URL as this string, we can load it like normal LOCAL file.
  ImageView imageView = Toolkit::ImageView::New(url.GetUrl());
3. Buffer will automatically removed when ImageUrl scope is out-of-date, and no actor use it.

NOTE : even ImageUrl lifecycle is done, cached texture can use internally.

Change-Id: I517d9526d13a6b761792dcb7054864643f209b67
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoAdd CanvasView thread rasterization 50/259050/33
JunsuChoi [Mon, 31 May 2021 05:44:59 +0000 (14:44 +0900)]
Add CanvasView thread rasterization

When a rasterize request occurs, create a task and rasterize on thread.

Change-Id: I8f9117490fb242c91d0124759e0a1f7df9ed701a

22 months agoMerge "Reduce the number of conversion between std::string <-> VisaulUrl at interal...
Eunki Hong [Mon, 26 Jul 2021 05:49:33 +0000 (05:49 +0000)]
Merge "Reduce the number of conversion between std::string <-> VisaulUrl at interal" into devel/master

22 months agoFix SVACE errors in accessibility code in control-data-impl 53/261753/2
Adeel Kazmi [Fri, 23 Jul 2021 11:06:41 +0000 (12:06 +0100)]
Fix SVACE errors in accessibility code in control-data-impl

Change-Id: I08d2e79b19cb269ed48db198ebd04a45f9f89d18

22 months agoMerge "DALi Version 2.0.36" into devel/master
David Steele [Fri, 23 Jul 2021 10:33:01 +0000 (10:33 +0000)]
Merge "DALi Version 2.0.36" into devel/master

22 months agoDALi Version 2.0.36 37/261737/1 dali_2.0.36
Richard Huang [Fri, 23 Jul 2021 09:28:32 +0000 (10:28 +0100)]
DALi Version 2.0.36

Change-Id: I4aad1dc9a06436b74dd92396c2e0cf7bf3436ef6

22 months agoMerge "Implement WebView::GetPlainTextAsynchronously" into devel/master
JIYUN YANG [Fri, 23 Jul 2021 08:44:58 +0000 (08:44 +0000)]
Merge "Implement WebView::GetPlainTextAsynchronously" into devel/master

22 months agoMerge "[ATSPI] Check higlight area using PropertyNotification" into devel/master
Shinwoo Kim [Thu, 22 Jul 2021 22:51:48 +0000 (22:51 +0000)]
Merge "[ATSPI] Check higlight area using PropertyNotification" into devel/master

22 months agoImplement WebView::GetPlainTextAsynchronously 89/261689/2
Jiyun Yang [Thu, 22 Jul 2021 13:07:20 +0000 (22:07 +0900)]
Implement WebView::GetPlainTextAsynchronously

Change-Id: I6691a877ec987dc9971216a43a34bb6daa2ba95d
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
22 months agoAdded missing initialization in text layout-engine 84/261684/1
Bowon Ryu [Thu, 22 Jul 2021 10:01:17 +0000 (19:01 +0900)]
Added missing initialization in text layout-engine

Change-Id: Ie9c22749be2d2bf9a362db03ccb1d09f411f055f
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoFix coverity issue in text layout-engine 80/261680/1
Bowon Ryu [Thu, 22 Jul 2021 09:14:32 +0000 (18:14 +0900)]
Fix coverity issue in text layout-engine

middleLineIndex is always bigger than 0u by the while condition (0u < middleLineIndex).
therefore execution cannot reach the expression 0u inside the statement below.
: ellipsisLineIndex = middleLineIndex > 0u ? middleLineIndex - 1u : 0u;

Change-Id: I1f2f85768ba638d3493f62a22b3d89a75ef462ae
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
22 months agoMerge "Fix to do not remove entity inside loop.(Transition)" into devel/master
Seungho BAEK [Wed, 21 Jul 2021 06:30:11 +0000 (06:30 +0000)]
Merge "Fix to do not remove entity inside loop.(Transition)" into devel/master

22 months agoMerge "Add ApplyCustomFragmentPrefix" into devel/master
Seungho BAEK [Wed, 21 Jul 2021 06:30:00 +0000 (06:30 +0000)]
Merge "Add ApplyCustomFragmentPrefix" into devel/master

22 months ago[ATSPI] Check higlight area using PropertyNotification 42/260342/18
Shinwoo Kim [Wed, 23 Jun 2021 11:29:30 +0000 (20:29 +0900)]
[ATSPI] Check higlight area using PropertyNotification

Move highlight to next or prev if highlighted object goes out of screen.
This patch is using PropertyNotification only for highlighted object.

Change-Id: Idaea158fa9e9a1eb569ab619210d2aa916f28f22

22 months agoAdd Timer at TapGestureRecognizer 08/260808/8
Joogab Yun [Mon, 5 Jul 2021 03:05:23 +0000 (12:05 +0900)]
Add Timer at TapGestureRecognizer

Change-Id: Iea2b71b2eb9020cd71067554cdea621e86ae8f7b

22 months agoMerge "Users can implement focus movement by SetCustomAlgorithm." into devel/master
joogab yun [Mon, 19 Jul 2021 01:07:03 +0000 (01:07 +0000)]
Merge "Users can implement focus movement by SetCustomAlgorithm." into devel/master

22 months agoFix SVACE error in bidirectional-support.cpp 12/261412/1
Adeel Kazmi [Fri, 16 Jul 2021 11:05:29 +0000 (12:05 +0100)]
Fix SVACE error in bidirectional-support.cpp

Change-Id: I732e088e83a76642a4e4bce1bd3f54a04adcd992

22 months agoMerge "DALi Version 2.0.35" into devel/master
Adeel Kazmi [Fri, 16 Jul 2021 09:33:40 +0000 (09:33 +0000)]
Merge "DALi Version 2.0.35" into devel/master

22 months agoDALi Version 2.0.35 95/261395/1 dali_2.0.35
David Steele [Fri, 16 Jul 2021 09:29:09 +0000 (10:29 +0100)]
DALi Version 2.0.35

Change-Id: I16146a5047a3099ee0f57c5687f0e715112ba309

22 months agoUsers can implement focus movement by SetCustomAlgorithm. 22/261222/6
Joogab Yun [Tue, 13 Jul 2021 10:13:36 +0000 (19:13 +0900)]
Users can implement focus movement by SetCustomAlgorithm.

So User implemented focus movement by SetCustomAlgorithm(AutoFocusAlgorithm.Instance);

And if user do SetCustomAlgorithm(null), the user expects the focus not to move.

this is for backward-compatibility.

Add EnableDefaultAlgorithm() and IsDefaultAlgorithmEnabled() for enable/disable the default algorithm

Change-Id: I231508ace0f378edc268731e80ac7878af5cd650

22 months agoAdd ImageUrl Class and reference count for external texture 98/259398/34
Sunghyun Kim [Mon, 7 Jun 2021 07:42:25 +0000 (16:42 +0900)]
Add ImageUrl Class and reference count for external texture

1.Add ImageUrl Class
ImageUrl is a class for wrapping url that is get from external buffer
the purpose of this class is that manage this external buffer

2.Add reference count for external texturea

Change-Id: I3eb0bb3280d84035db9d981ae73807847e5b74bc

22 months agoMerge "(Vector) Fix tc random failure" into devel/master
Heeyong Song [Fri, 16 Jul 2021 00:49:16 +0000 (00:49 +0000)]
Merge "(Vector) Fix tc random failure" into devel/master

22 months agoMerge "Replace Signal with std::function." into devel/master
JIYUN YANG [Thu, 15 Jul 2021 09:45:26 +0000 (09:45 +0000)]
Merge "Replace Signal with std::function." into devel/master

22 months agoMerge "Fixed doxygen error in web-view.h" into devel/master
David Steele [Thu, 15 Jul 2021 09:37:32 +0000 (09:37 +0000)]
Merge "Fixed doxygen error in web-view.h" into devel/master

22 months ago(Vector) Fix tc random failure 25/261325/1
Heeyong Song [Thu, 15 Jul 2021 09:02:03 +0000 (18:02 +0900)]
(Vector) Fix tc random failure

Change-Id: I7a64a22da07ae9975f31db11c1ede41219a7654a

22 months agoMerge "Support Ellipsis Position Property" into devel/master
Bowon Ryu [Thu, 15 Jul 2021 06:51:59 +0000 (06:51 +0000)]
Merge "Support Ellipsis Position Property" into devel/master

22 months agoMerge "Add Tab key focus movement." into devel/master
joogab yun [Thu, 15 Jul 2021 04:37:11 +0000 (04:37 +0000)]
Merge "Add Tab key focus movement." into devel/master

22 months agoFixed doxygen error in web-view.h 36/261236/1
Adeel Kazmi [Tue, 13 Jul 2021 14:20:51 +0000 (15:20 +0100)]
Fixed doxygen error in web-view.h

Change-Id: I4aaf2b56485946c42376a7b1ca771c743c2ea2ba

22 months agoSupport Ellipsis Position Property 60/259560/33
Shrouq Sabah [Wed, 9 Jun 2021 21:39:31 +0000 (00:39 +0300)]
Support Ellipsis Position Property

Added new property Ellipsis to TextEditor
Added new property Ellipsis_Position to TextLabel, TextField and TextEditor

Example:
textLabel.SetProperty(DevelTextLabel::Property::ELLIPSIS_POSITION, DevelText::EllipsisPosition::START);

Handled Ellipsis location for below cases:
Positions: END, START and MIDDLE
TextController: TextLabel, TextField and TextEditor
SingleLine and Muilt-lines with differnat LineWrap modes
Text direction LTR and RTL

END algorithm already exits
START and MIDDLE algorithms added according to END one

Change-Id: If059878f7128141169e95cf237b690ce900c70b3

22 months agoChange default value of WebView::Property::VIDEO_HOLE_ENABLED to false 24/261224/2
Jiyun Yang [Tue, 13 Jul 2021 10:21:52 +0000 (19:21 +0900)]
Change default value of WebView::Property::VIDEO_HOLE_ENABLED to false

Change-Id: I5d3cd11ea1ce5a0b510b45a316c17aae16c0a82b
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
22 months agoAdd Tab key focus movement. 56/261056/3
Joogab Yun [Fri, 9 Jul 2021 06:41:24 +0000 (15:41 +0900)]
Add Tab key focus movement.

If the focus group is not changed, Move the focus towards right, "Shift-Tap" key moves the focus towards left.
Still if the focus is not moved, Move the focus towards down, "Shift-Tap" key moves the focus towards up.

Change-Id: Iecfbe8a94ca96caff580714ef94ead7002e01e4b

22 months agoReplace Signal with std::function. 03/260903/5
huayong.xu [Tue, 6 Jul 2021 02:52:40 +0000 (10:52 +0800)]
Replace Signal with std::function.

Originally Signal is used to notify webview when callback of web
engine is called. If Signal is called with a std::shared_ptr<X>,
lifecyle of object X would be managed by Signal only in
csharp-binder. So if Signal are destroyed, object X would be
destroyed too. This might cause some problem.
This patch is to replace Signal with std::fuction, and replace
std:shared_ptr with unique_ptr. Lifecycle of object X would not
be associated with that of Signal.

Change-Id: I3878d3a4a9bacc64d94e3dd2b55479da85980e90

22 months agoMerge "Add WebView SetTtsFocus" into devel/master
JIYUN YANG [Mon, 12 Jul 2021 11:28:37 +0000 (11:28 +0000)]
Merge "Add WebView SetTtsFocus" into devel/master

22 months agoMerge "Add borderline features at transition effect" into devel/master
Eunki Hong [Mon, 12 Jul 2021 06:46:41 +0000 (06:46 +0000)]
Merge "Add borderline features at transition effect" into devel/master

22 months agoFix to do not remove entity inside loop.(Transition) 07/261107/2
seungho [Mon, 12 Jul 2021 05:16:58 +0000 (14:16 +0900)]
Fix to do not remove entity inside loop.(Transition)

 - Fix a problem caused by removing entity inside loop

Change-Id: Id12c66ec287c451451005c3c2d0d33b570d4c984
Signed-off-by: seungho <sbsh.baek@samsung.com>
22 months agoMerge "DALi Version 2.0.34" into devel/master
Adeel Kazmi [Fri, 9 Jul 2021 09:28:11 +0000 (09:28 +0000)]
Merge "DALi Version 2.0.34" into devel/master

22 months agoDALi Version 2.0.34 62/261062/1 dali_2.0.34
Adam Bialogonski [Fri, 9 Jul 2021 08:44:38 +0000 (09:44 +0100)]
DALi Version 2.0.34

Change-Id: I67bc21a7418d5e8cd708326fe74bbcc12ee16704

22 months agoMerge "Makes the LTR/RTL alignment of text follow the system language by default...
joogab yun [Fri, 9 Jul 2021 01:54:24 +0000 (01:54 +0000)]
Merge "Makes the LTR/RTL alignment of text follow the system language by default." into devel/master

22 months agoMerge "Reflection GetSamplers() returns const ref" into devel/master
David Steele [Thu, 8 Jul 2021 09:52:48 +0000 (09:52 +0000)]
Merge "Reflection GetSamplers() returns const ref" into devel/master

22 months agoMerge "Revert "Call SetCurrentFocusActor()"" into devel/master
joogab yun [Thu, 8 Jul 2021 09:25:39 +0000 (09:25 +0000)]
Merge "Revert "Call SetCurrentFocusActor()"" into devel/master

22 months agoRevert "Call SetCurrentFocusActor()" 14/261014/1
Joogab Yun [Thu, 8 Jul 2021 09:28:50 +0000 (18:28 +0900)]
Revert "Call SetCurrentFocusActor()"

Change-Id: I4a3e0a68ae3e93ead855ab21e1ee33067ae2e2c9

22 months agoMerge "Fix corrupted markup background" into devel/master
Bowon Ryu [Thu, 8 Jul 2021 07:25:25 +0000 (07:25 +0000)]
Merge "Fix corrupted markup background" into devel/master

22 months agoMerge "Call SetCurrentFocusActor()" into devel/master
joogab yun [Thu, 8 Jul 2021 06:35:29 +0000 (06:35 +0000)]
Merge "Call SetCurrentFocusActor()" into devel/master

22 months agoFix corrupted markup background 51/260851/12
abdullah [Mon, 5 Jul 2021 13:40:44 +0000 (16:40 +0300)]
Fix corrupted markup background

sometimes(random issue) when markup enabled for label,
the background color is corrupted with random incorrect color pixels.
because the background image was not initialized in some cases.

plus made some code more clear.

Change-Id: Iab93822addb9a790153df45a6f619ae93054ada6

22 months agoCall SetCurrentFocusActor() 36/260936/4
Joogab Yun [Wed, 7 Jul 2021 07:47:29 +0000 (16:47 +0900)]
Call SetCurrentFocusActor()

If the TextField/TextEditor has "Focusable = true",
the focus cannot be moved by the keyboard after tapping.

Fixed this bug.

Change-Id: I395d492bd048a758d25dae28ba3fffec4fae7317

22 months agoReflection GetSamplers() returns const ref 11/260911/3
Adam Bialogonski [Tue, 6 Jul 2021 14:01:10 +0000 (15:01 +0100)]
Reflection GetSamplers() returns const ref

Change-Id: I7425a7669ee8dca344eae7290e8529c30e65c6f8

22 months agoAdd WebView SetTtsFocus 61/260961/5
Jiyun Yang [Wed, 7 Jul 2021 12:28:10 +0000 (21:28 +0900)]
Add WebView SetTtsFocus

Change-Id: I94888109d21797fcf00fefd68843234f19379148
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
22 months agoApply PreMultipliedAlpha on BorderlineColor 69/260969/1
Eunki, Hong [Wed, 7 Jul 2021 13:38:40 +0000 (22:38 +0900)]
Apply PreMultipliedAlpha on BorderlineColor

Change-Id: I707d8c5c7ee3f3ccd058efad6709795374b5f1c0

22 months agoMerge "BorderlineColor allow Actor's OPACITY & MIX_COLOR" into devel/master
Eunki Hong [Wed, 7 Jul 2021 11:54:49 +0000 (11:54 +0000)]
Merge "BorderlineColor allow Actor's OPACITY & MIX_COLOR" into devel/master

22 months agoMerge "[ATSPI][SVACE] Fixes use of v variable after it was freed by eldbus_service_in...
Seoyeon Kim [Wed, 7 Jul 2021 07:01:46 +0000 (07:01 +0000)]
Merge "[ATSPI][SVACE] Fixes use of v variable after it was freed by eldbus_service_interface_unregister()" into devel/master

22 months agoBorderlineColor allow Actor's OPACITY & MIX_COLOR 08/260908/2
Eunki, Hong [Tue, 6 Jul 2021 13:04:11 +0000 (22:04 +0900)]
BorderlineColor allow Actor's OPACITY & MIX_COLOR

Fix shader that borderline allow mix_color.

TRICK)
If you want to make contnet to be transperent and draw borderline only,
1. check OPACITY is bigger than 0.01f
2. make borderlineColor's alpha value bigger than 1.0f

Change-Id: I424c1af86d6dad64b19c8cf57bb3f5979a3e5b58
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
22 months agoUpdate ATSPI code according to DALi coding rule 82/260282/11
Seoyeon Kim [Wed, 23 Jun 2021 06:13:40 +0000 (15:13 +0900)]
Update ATSPI code according to DALi coding rule

- Updated accessibility and bridge code, such as description or coding style.
- Changed 'Caret' to 'Cursor' for dali text style.

The patches below should be applied together.
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/260281/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/260322/

Change-Id: Id29163ab035efdcea6a06314bfcbf2826b2f09f2
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
22 months agoMakes the LTR/RTL alignment of text follow the system language by default. 58/259858/17
Joogab Yun [Wed, 16 Jun 2021 05:19:35 +0000 (14:19 +0900)]
Makes the LTR/RTL alignment of text follow the system language by default.

The MATCH_SYSTEM_LANGUAGE_DIRECTION property defaults to true.

When the layout direction of TextLabel, TextField, or TextEditor is changed,
LTR/RTL alignment of text follows the layout direction of each control.

If you set MATCH_SYSTEM_LANGUAGE_DIRECTION to false
As before, LTR/RTL is determined according to the language of the text.

Change-Id: Ie97654a2309ffd4c30bec2c1b95d6337d8f4c674

22 months agoMerge "Add APIs for showing/hiding context menu." into devel/master
JIYUN YANG [Mon, 5 Jul 2021 09:33:51 +0000 (09:33 +0000)]
Merge "Add APIs for showing/hiding context menu." into devel/master

22 months agoMerge "Fix behaviour when PreeditStyle is REVERSE" into devel/master
Bowon Ryu [Mon, 5 Jul 2021 05:13:57 +0000 (05:13 +0000)]
Merge "Fix behaviour when PreeditStyle is REVERSE" into devel/master

22 months agoAdd APIs for showing/hiding context menu. 43/260243/6
huayong.xu [Tue, 22 Jun 2021 08:56:45 +0000 (16:56 +0800)]
Add APIs for showing/hiding context menu.

1) Remove APIs for customizing context menu and selecting some menu
   item.
2) Rename some APIs in web context.

Change-Id: I89adad1a891f4eb077e06d3dfaa83982a7247095

22 months agoMerge "WebView create a visual when it got a first frame" into devel/master
JIYUN YANG [Mon, 5 Jul 2021 01:49:53 +0000 (01:49 +0000)]
Merge "WebView create a visual when it got a first frame" into devel/master

22 months agoWebView create a visual when it got a first frame 50/260750/3
Jiyun Yang [Fri, 2 Jul 2021 06:35:20 +0000 (15:35 +0900)]
WebView create a visual when it got a first frame

Change-Id: I609647abec9c89bf5f421632f6036298ac1f9e61
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
23 months agoMerge "DALi Version 2.0.33" into devel/master
David Steele [Fri, 2 Jul 2021 16:44:15 +0000 (16:44 +0000)]
Merge "DALi Version 2.0.33" into devel/master

23 months agoDALi Version 2.0.33 90/260790/1 dali_2.0.33
Adeel Kazmi [Fri, 2 Jul 2021 16:41:22 +0000 (17:41 +0100)]
DALi Version 2.0.33

Change-Id: I77555fd7a69e72b2a1d74675244f58194e193d26

23 months ago[ATSPI][SVACE] Fixes use of v variable after it was freed by eldbus_service_interface... 86/260786/2
Lukasz Oleksak [Fri, 2 Jul 2021 16:01:26 +0000 (18:01 +0200)]
[ATSPI][SVACE] Fixes use of v variable after it was freed by eldbus_service_interface_unregister()

Change-Id: I44d89ab5532243ba79d212f0cb6ddd13289b34a8

23 months ago[AT-SPI] Set CanvasView non-highlightable by default 31/260031/5
Maria Bialota [Thu, 17 Jun 2021 19:20:24 +0000 (21:20 +0200)]
[AT-SPI] Set CanvasView non-highlightable by default

Removed the line setting ACCESSIBILITY_HIGHLIGHTABLE property to true.

Until now the highlightability of the CanvasView was overrided by an
AT-SPI IMAGE Role check in dali-adaptor, so the line removed has been
already a dead code. Now the Role check has been removed and we want
CanvasView to be non-highlightable by default.

From now on if we want to turn on highlightability for certain
instances of CanvasView we can set the ACCESSIBILITY_HIGHLIGHTABLE
property in runtime.

Change-Id: Ie6d695c6aa61f77e34029481e46ccd3b7fea7ac0

23 months agoReduce the number of conversion between std::string <-> VisaulUrl at interal 64/260664/1
Eunki, Hong [Thu, 1 Jul 2021 07:13:07 +0000 (16:13 +0900)]
Reduce the number of conversion between std::string <-> VisaulUrl at interal

Change-Id: I602e070cd948e17edec3b25b1de52b9f49e08ea7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
23 months agoFix behaviour when PreeditStyle is REVERSE 15/260515/7
Bowon Ryu [Mon, 28 Jun 2021 05:31:57 +0000 (14:31 +0900)]
Fix behaviour when PreeditStyle is REVERSE

In REVERSE case, TextColor uses text's background color.
but in most cases, there is no text's background color
and the the default alpha value is 0.
So in this case, the text is not visible. (text color's alpah value becomes 0)

To solve this, if there is no text's background, the control's color is used.
And if there is no control's color, set white or black according to the contrast.
In this case, the color is determined based on W3C recommendations.
(https://www.w3.org/TR/WCAG20/)

Change-Id: I251ec3283d761e08bb8214f4e53b0da05ad9ba4f
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
23 months agoAdd borderline features at transition effect 75/259775/3
Eunki, Hong [Mon, 14 Jun 2021 23:55:47 +0000 (08:55 +0900)]
Add borderline features at transition effect

Now BORDERLINE_XXX can be used at transition.

Change-Id: Ib5eb83ce61379dc25f8820e3140be0db811cf575
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
23 months ago[ATSPI] I18N of name, description, action name and role name 55/259355/8
Lukasz Oleksak [Fri, 4 Jun 2021 18:00:09 +0000 (20:00 +0200)]
[ATSPI] I18N of name, description, action name and role name

Change-Id: I3b98689239bdf7b7a3f289f8ad561fdc2b59f5ac

23 months agoMerge "Fix to use world color for the Fade Transition." into devel/master
Seungho BAEK [Wed, 30 Jun 2021 01:16:15 +0000 (01:16 +0000)]
Merge "Fix to use world color for the Fade Transition." into devel/master

23 months agoMerge "(Vector) Fix random tc failure" into devel/master
Adeel Kazmi [Tue, 29 Jun 2021 09:45:09 +0000 (09:45 +0000)]
Merge "(Vector) Fix random tc failure" into devel/master

23 months ago(Vector) Fix random tc failure 81/260581/1
Heeyong Song [Tue, 29 Jun 2021 08:48:59 +0000 (17:48 +0900)]
(Vector) Fix random tc failure

Change-Id: Ie1bfd1aa3c745bc445b4b1c1bcd7cbf6af8cb10b

23 months agoFix to use world color for the Fade Transition. 32/260532/2
seungho [Mon, 28 Jun 2021 09:45:22 +0000 (18:45 +0900)]
Fix to use world color for the Fade Transition.

 - In the current Fade transition implementation, set mOpacity and current property of target control
   for the transition animation.
 - It could create wrong value, for example,
   for the fade out transition the input mOpacity could be larger than
   the value of target opacity.

Change-Id: I7a55fdb7775a4a9f183360c0eddfb3ca88076287
Signed-off-by: seungho <sbsh.baek@samsung.com>
23 months agoMerge "[AT-SPI] Set ImageView non-highlightable by default" into devel/master
Seoyeon Kim [Tue, 29 Jun 2021 03:30:02 +0000 (03:30 +0000)]
Merge "[AT-SPI] Set ImageView non-highlightable by default" into devel/master

23 months agoMerge "Add InputFilter to TextField, TextEditor" into devel/master
Bowon Ryu [Tue, 29 Jun 2021 02:14:11 +0000 (02:14 +0000)]
Merge "Add InputFilter to TextField, TextEditor" into devel/master

23 months agoAdd ApplyCustomFragmentPrefix 10/260410/5
seungho [Thu, 24 Jun 2021 07:14:08 +0000 (16:14 +0900)]
Add ApplyCustomFragmentPrefix

 - Apply suitable prefix for the native image fragment shader

Change-Id: I5e28b65d9d925de4fc76e8b23307204cc1eeb389
Signed-off-by: seungho <sbsh.baek@samsung.com>
23 months agoReduce unnecessary calc in CalculateVerticalOffset() 34/260234/2
Bowon Ryu [Tue, 22 Jun 2021 08:23:53 +0000 (17:23 +0900)]
Reduce unnecessary calc in CalculateVerticalOffset()

The calculation for offsetY is only needed when the placeholder is show.
This patch adds that condition, reducing unnecessary calculations.

Change-Id: I264671de296236f069971081999063524105897b
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
23 months agoMerge "Add support for span tag" into devel/master
Bowon Ryu [Mon, 28 Jun 2021 07:47:56 +0000 (07:47 +0000)]
Merge "Add support for span tag" into devel/master

23 months agoAdd InputFilter to TextField, TextEditor 75/258375/14
Bowon Ryu [Fri, 14 May 2021 07:50:39 +0000 (16:50 +0900)]
Add InputFilter to TextField, TextEditor

Text input filter based on regular expressions.

// example
Property::Map filter;
filter[InputFilter::Property::ACCEPTED] = "[\\d]";
filter[InputFilter::Property::REJECTED] = "[0-5]";

field.SetProperty(DevelTextField::Property::INPUT_FILTER, filter);

DevelTextField::InputFilteredSignal(field).Connect(this, &OnInputFiltered);

```

void OnInputFiltered(TextField field, InputFilter::Property::Type type)
{
  Property::Map filter = field.GetProperty<Property::Map>(DevelTextField::Property::INPUT_FILTER);
  if (type == InputFilter::Property::ACCEPTED)
  {
    std::cout << "only follow character set is accepted " << filter[type] << std::endl;
  }
  else if (type == InputFilter::Property::REJECTED)
  {
    std::cout << "follow character set is rejected " << filter[type] << std::endl;
  }
}

Change-Id: Ia512438c9cb8aeb28c81f38e7b0220544a0751f0
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
23 months agoMerge "DALi Version 2.0.32" into devel/master
Adeel Kazmi [Fri, 25 Jun 2021 10:57:55 +0000 (10:57 +0000)]
Merge "DALi Version 2.0.32" into devel/master

23 months agoDALi Version 2.0.32 83/260483/1 dali_2.0.32
Richard Huang [Fri, 25 Jun 2021 10:17:26 +0000 (11:17 +0100)]
DALi Version 2.0.32

Change-Id: Ief016646c0845e75882c4a559113398e3eccea8a

23 months agoRevert "visual: Implements rive animation" 69/260069/2
Heeyong Song [Fri, 18 Jun 2021 05:39:10 +0000 (14:39 +0900)]
Revert "visual: Implements rive animation"

This reverts commit ef1f2122e3825ec5fa1d2d3b568caec69ecd3d0c.

Change-Id: Iea2dcb4faf48c7af5226fc6820f207a998abdec9

23 months agoMerge "Fix initialization of singleton variable in Transition-lifecycle-controller...
Seungho BAEK [Fri, 25 Jun 2021 01:54:48 +0000 (01:54 +0000)]
Merge "Fix initialization of singleton variable in Transition-lifecycle-controller" into devel/master

23 months ago[AT-SPI] Set ImageView non-highlightable by default 31/259931/3
Maria Bialota [Wed, 16 Jun 2021 11:48:47 +0000 (13:48 +0200)]
[AT-SPI] Set ImageView non-highlightable by default

Removed the line setting ACCESSIBILITY_HIGHLIGHTABLE property to true.

Until now the highlightability of the ImageView was overrided by an
AT-SPI Role check in dali-adaptor, so the line removed has been already
a dead code. Now the Role check has been removed and we want ImageView
to be non-highlightable by default.

From now on if we want to turn on highlightability for certain
instances of ImageView we can set the ACCESSIBILITY_HIGHLIGHTABLE
property in runtime.

Change-Id: Ide151a114d970f856217b34945d4c7e9cbbecda0