platform/core/uifw/dali-toolkit.git
2 years ago[Tizen] fixed ellipsis position with multi line 97/266597/1
joogab.yun [Mon, 15 Nov 2021 06:45:05 +0000 (15:45 +0900)]
[Tizen] fixed ellipsis position with multi line

Change-Id: I2b2e47c307dab38770717bf483e302097ddbcf38

2 years agoMerge branch 'devel/master' into tizen accepted/tizen/unified/20211111.120155 submit/tizen/20211109.063334 submit/tizen/20211111.063012
Taehyub Kim [Tue, 9 Nov 2021 03:21:33 +0000 (12:21 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I974b6761a833c8398a60e68415e0cea41c205572

2 years agoRevert "[Tizen] Fix text constraint issue"
Taehyub Kim [Tue, 9 Nov 2021 03:21:24 +0000 (12:21 +0900)]
Revert "[Tizen] Fix text constraint issue"

This reverts commit 8c864f916369fe07efd1bb79b727a7d80a61b103.

2 years agoRevert "[Tizen] Fix text visual issue"
Taehyub Kim [Tue, 9 Nov 2021 03:21:21 +0000 (12:21 +0900)]
Revert "[Tizen] Fix text visual issue"

This reverts commit ac48c2f2032599e2edbb4743abc160bc406b601f.

3 years agoFix alignment issues in backgroundActor. 59/266159/1
joogab.yun [Mon, 8 Nov 2021 10:35:45 +0000 (19:35 +0900)]
Fix alignment issues in backgroundActor.

Change-Id: I7fd58d1437a1118ab60568567e3613adcf0ab0c4

3 years agoMerge "CanvasView: Do ApplyNativeFragmentShader for NativeImage buffer" into devel...
junsu choi [Mon, 8 Nov 2021 05:45:50 +0000 (05:45 +0000)]
Merge "CanvasView: Do ApplyNativeFragmentShader for NativeImage buffer" into devel/master

3 years agoMerge "Support multiple transitions for a Control." into devel/master
Seungho BAEK [Mon, 8 Nov 2021 02:47:39 +0000 (02:47 +0000)]
Merge "Support multiple transitions for a Control." into devel/master

3 years agoSupport multiple transitions for a Control. 22/265822/6
seungho [Fri, 29 Oct 2021 07:04:54 +0000 (16:04 +0900)]
Support multiple transitions for a Control.

 - If a Control has multiple transitions, the Control must be hidden durring only the minimum delay of the transitions.
 - During delay time, the transitioned property of the Control will be set to the source value.

Change-Id: If158d01511b373edaad59b5e288bc33e5adde9bb
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoMerge "DALi Version 2.0.51" into devel/master
Adeel Kazmi [Fri, 5 Nov 2021 10:49:37 +0000 (10:49 +0000)]
Merge "DALi Version 2.0.51" into devel/master

3 years agoDALi Version 2.0.51 82/266082/1 dali_2.0.51
Adeel Kazmi [Fri, 5 Nov 2021 10:44:12 +0000 (10:44 +0000)]
DALi Version 2.0.51

Change-Id: I657554cccea1b9c262bdd8dd60a04a459a523947

3 years agoMerge "Move ModelUpdating method outside of Text::Controller::Impl class to reduce...
Adeel Kazmi [Fri, 5 Nov 2021 09:57:57 +0000 (09:57 +0000)]
Merge "Move ModelUpdating method outside of Text::Controller::Impl class to reduce LOC" into devel/master

3 years ago[Tizen] Fix text visual issue 58/266058/1
Heeyong Song [Thu, 4 Nov 2021 02:21:04 +0000 (11:21 +0900)]
[Tizen] Fix text visual issue

uTextColorAnimatable property should always be registered.

Change-Id: I3ffbccc896f6abe4665a6f133b5be22df64df043

3 years agoMove ModelUpdating method outside of Text::Controller::Impl class to reduce LOC 48/266048/1
Adeel Kazmi [Thu, 4 Nov 2021 18:19:06 +0000 (18:19 +0000)]
Move ModelUpdating method outside of Text::Controller::Impl class to reduce LOC

Change-Id: Id4e4c47793b3e37ef999b0014403d3d30f2b77e8

3 years agoFix text visual issue 04/266004/3
Heeyong Song [Thu, 4 Nov 2021 02:21:04 +0000 (11:21 +0900)]
Fix text visual issue

uTextColorAnimatable property should always be registered.

Change-Id: I3ffbccc896f6abe4665a6f133b5be22df64df043

3 years agoMerge "Fix text constraint issue" into devel/master
Heeyong Song [Wed, 3 Nov 2021 05:27:34 +0000 (05:27 +0000)]
Merge "Fix text constraint issue" into devel/master

3 years agoCanvasView: Do ApplyNativeFragmentShader for NativeImage buffer 74/265874/3
JunsuChoi [Mon, 1 Nov 2021 06:52:20 +0000 (15:52 +0900)]
CanvasView: Do ApplyNativeFragmentShader for NativeImage buffer

Change-Id: I916af0c85333a53d8c22063522c53c010d503b21

3 years ago[Tizen] Fix text constraint issue 24/265924/1
Heeyong Song [Mon, 1 Nov 2021 05:54:57 +0000 (14:54 +0900)]
[Tizen] Fix text constraint issue

Not to create new Constraints when the visual is added to the Scene again

Change-Id: I19d30064d9f8cd08ca500a5ad2dee17b4b775b5a

3 years agoMerge branch 'devel/master' into tizen
tscholb [Mon, 1 Nov 2021 08:00:50 +0000 (17:00 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I1b2a345a214da65316f8afad3418e12e7bf3609f

3 years agoRevert "[Tizen] Support to use NPatchImage in brokenImage"
tscholb [Mon, 1 Nov 2021 08:00:34 +0000 (17:00 +0900)]
Revert "[Tizen] Support to use NPatchImage in brokenImage"

This reverts commit bc3933c59153f3e59d22222941be39e5e6551e31.

Change-Id: I0fc09ccf431657e83132e01f38f6c0bdc1c74894

3 years agoRevert "[Tizen] (Vector) Fix frame drop bug"
tscholb [Mon, 1 Nov 2021 08:00:21 +0000 (17:00 +0900)]
Revert "[Tizen] (Vector) Fix frame drop bug"

This reverts commit b2ad2aede4c166b68fce3f992d4912daaa4fbd77.

Change-Id: Ic9142783b4136e28085bfd88733ae18a6648f247

3 years agoRevert "[Tizen] Fix ZWJ, ZWNJ issues"
tscholb [Mon, 1 Nov 2021 08:00:10 +0000 (17:00 +0900)]
Revert "[Tizen] Fix ZWJ, ZWNJ issues"

This reverts commit 739bd21e1305eada461885b3b9af35ac6dea61be.

Change-Id: Id28e75fd3615e39a03f7c719b6e527442d0f5d9c

3 years agoFix text constraint issue 65/265865/2
Heeyong Song [Mon, 1 Nov 2021 05:54:57 +0000 (14:54 +0900)]
Fix text constraint issue

Not to create new Constraints when the visual is added to the Scene again

Change-Id: I19d30064d9f8cd08ca500a5ad2dee17b4b775b5a

3 years agoRefactored text editor/field to reduce loc 46/265846/1
David Steele [Fri, 29 Oct 2021 13:18:26 +0000 (14:18 +0100)]
Refactored text editor/field to reduce loc

Change-Id: I408f8931071c6c4464ba3dafb00e36311d01379c
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoRefactored text field/editor property getters/setters 96/265796/2
David Steele [Thu, 28 Oct 2021 18:18:58 +0000 (19:18 +0100)]
Refactored text field/editor property getters/setters

Change-Id: Iab27acf2f198af060d3eee398b9874116ff7e562

3 years agoDALi Version 2.0.50 30/265830/1 dali_2.0.50
David Steele [Fri, 29 Oct 2021 09:06:01 +0000 (10:06 +0100)]
DALi Version 2.0.50

Change-Id: I7a4514833e041b15e4f638009762739f913e187a

3 years ago[Tizen] Fix ZWJ, ZWNJ issues 98/265798/1
Bowon Ryu [Fri, 1 Oct 2021 04:20:55 +0000 (13:20 +0900)]
[Tizen] Fix ZWJ, ZWNJ issues

Current font load logic classifies ZWJ, ZWNJ as COMMON script.
This interrupts them from being combined into one emoji in the EMOJI + ZWJ + EMOJI case.

This patch treats ZWJ, ZWNJ as EMOJI script in this case,
so that they can be loaded with the same color emoji font.

Please refer the example below.
The expected result is to be combined into one emoji character due to ZWJ.
But the actual result is 3 characters rendered.

// example
TextLabel label = TextLabel::New("&#x1f469;&#x200d;&#x1f52c;");

Change-Id: Ic8e921ffcb63c27638afe781527b5c6b90aa92b1
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoCanvasView: Refactoring to get rasterized buffer 19/265519/7
JunsuChoi [Thu, 21 Oct 2021 08:46:12 +0000 (17:46 +0900)]
CanvasView: Refactoring to get rasterized buffer

When the rasterized buffer is fetched after the task is rasterized,
it is received as a texture, not as pixel data.
This makes the buffer in dali-adaptor not dependent on whether
to use NativeImageQueue's tbm_surface or PixelData.

Change-Id: I80338ea2454847ce88a8f79fa67e38a842cf67f2

3 years agoMerge "(TextController) Reformatted to reduce LOC" into devel/master
Adeel Kazmi [Tue, 26 Oct 2021 18:53:23 +0000 (18:53 +0000)]
Merge "(TextController) Reformatted to reduce LOC" into devel/master

3 years agoMerge "Fix numeric error on BLUR_RADIUS" into devel/master
Adeel Kazmi [Tue, 26 Oct 2021 15:11:18 +0000 (15:11 +0000)]
Merge "Fix numeric error on BLUR_RADIUS" into devel/master

3 years ago(TextController) Reformatted to reduce LOC 47/265547/3
Adeel Kazmi [Thu, 21 Oct 2021 22:32:31 +0000 (23:32 +0100)]
(TextController) Reformatted to reduce LOC

Change-Id: Idaf7745fb13fa60864fa6f1dd39c1558a8d942f1

3 years agoFix numeric error on BLUR_RADIUS 55/265655/2
Eunki, Hong [Tue, 26 Oct 2021 09:14:26 +0000 (18:14 +0900)]
Fix numeric error on BLUR_RADIUS

Some device cannot calculate 1.0 / (sqrt(D) + B);
So we make mediump to highp.

Change-Id: I5c50a70fdef748daca6452333ced8e21c7e66e19
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoMake to use Size of source for transition. 18/265618/2
seungho [Mon, 25 Oct 2021 08:46:37 +0000 (17:46 +0900)]
Make to use Size of source for transition.

 - currently GetCurrentProperty is used to get size of source.
 - but, when source is a control to be transitioned, it could be 0, 0, 0.

Change-Id: Ic91c83afa7ee08a9acfb152b5078af115667ae9b
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoMake transition select target control during pair transition 11/264711/33
Seungho Baek [Tue, 28 Sep 2021 07:29:26 +0000 (16:29 +0900)]
Make transition select target control during pair transition

Change-Id: I87c868572b67dab4ad3289299599ebb3d25104da
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years agoMerge "DALi Version 2.0.49" into devel/master
Adeel Kazmi [Fri, 22 Oct 2021 11:25:44 +0000 (11:25 +0000)]
Merge "DALi Version 2.0.49" into devel/master

3 years agoDALi Version 2.0.49 81/265581/1 dali_2.0.49
Adam Bialogonski [Fri, 22 Oct 2021 10:25:04 +0000 (11:25 +0100)]
DALi Version 2.0.49

Change-Id: Ic7ad4811047b1e2577b4d3ad6dcdaa1f2aef0d63

3 years agoFix LogMessage format to print Filename / Functioname / Line 40/265540/3
Eunki, Hong [Thu, 21 Oct 2021 13:39:23 +0000 (22:39 +0900)]
Fix LogMessage format to print Filename / Functioname / Line

Add LogMessageDlogFormat macro to apply these informations :
Filename: Function(Line#) > "messages"

Previous LogMessage function always print like this
logging-tizen.cpp: LogMessage(38) > "messages"
So we fix to print actual informations

Default LogMessage(~~) will be used when someone don't need to follow up
Dlog format. (like ttrace and perfomance logger)

Change-Id: Ifa77b921bcb189165114c5b1e08a18175abd939d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years ago(ScrollView) Inlined one line Getters/Setters 42/265542/2
Adeel Kazmi [Thu, 21 Oct 2021 13:56:34 +0000 (14:56 +0100)]
(ScrollView) Inlined one line Getters/Setters

Change-Id: I3cc366fd1b54942dcc3293f79302ed150288e83b

3 years ago(ScrollView) Moved constraint related behaviour into a new class 41/265541/3
Adeel Kazmi [Thu, 21 Oct 2021 13:46:01 +0000 (14:46 +0100)]
(ScrollView) Moved constraint related behaviour into a new class

Change-Id: Id55340b53b62f895a4a48bc53674ba3bbd85d986

3 years agoRefactoring scroll-view-impl.cpp to reduce loc 46/265546/1
David Steele [Thu, 21 Oct 2021 16:53:19 +0000 (17:53 +0100)]
Refactoring scroll-view-impl.cpp to reduce loc

Change-Id: I7699976711d4a9ab24092ca8f07106e524409b63

3 years agoMerge "Change RegisterGlCallback function name of GlView" into devel/master
Adeel Kazmi [Wed, 20 Oct 2021 08:03:19 +0000 (08:03 +0000)]
Merge "Change RegisterGlCallback function name of GlView" into devel/master

3 years agoMerge "Refactoring VisualActions" into devel/master
Seungho BAEK [Wed, 20 Oct 2021 05:56:02 +0000 (05:56 +0000)]
Merge "Refactoring VisualActions" into devel/master

3 years agoChange RegisterGlCallback function name of GlView 26/265426/1
Daekwang Ryu [Tue, 19 Oct 2021 05:54:59 +0000 (14:54 +0900)]
Change RegisterGlCallback function name of GlView

It is changed to RegisterGlCallbacks because the function registers 3
callbacks.

Change-Id: If326d9f325a5a861db2efd3a1f3d50262d678eae

3 years agoMerge "Sync test-application" into devel/master
Heeyong Song [Tue, 19 Oct 2021 00:50:50 +0000 (00:50 +0000)]
Merge "Sync test-application" into devel/master

3 years agoMerge "Fix ZWJ, ZWNJ issues" into devel/master
joogab yun [Tue, 19 Oct 2021 00:46:29 +0000 (00:46 +0000)]
Merge "Fix ZWJ, ZWNJ issues" into devel/master

3 years agoRefactoring VisualActions 88/265388/2
seungho [Mon, 18 Oct 2021 04:56:26 +0000 (13:56 +0900)]
Refactoring VisualActions

Change-Id: Id56e3a5e5910b2fbbb8428abd96897d7bcd10ae1
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoSync test-application 68/265268/2
Heeyong Song [Wed, 13 Oct 2021 10:28:08 +0000 (19:28 +0900)]
Sync test-application

Change-Id: If0e522e99b8d2050c2a526756793f893dc3d085c

3 years agoDALi Version 2.0.48 52/265352/1 dali_2.0.48
Richard Huang [Fri, 15 Oct 2021 09:44:01 +0000 (10:44 +0100)]
DALi Version 2.0.48

Change-Id: I31df501854f9ec2f2d8e74cb0febcc73f480d6c4

3 years agoSupport to use NPatchImage in brokenImage 72/260572/28
Sunghyun Kim [Tue, 29 Jun 2021 07:38:09 +0000 (16:38 +0900)]
Support to use NPatchImage in brokenImage

Support to use NpatchImage in broken Image.
Application can use custom broken image from this patch.
when they set 3 type of broken image(small,normal,large),
dali show the proper broken image considering size.

Change-Id: I7e2be85d4715d07356fd2782be2d011931fde5c2

3 years agoFix ZWJ, ZWNJ issues 45/264845/10
Bowon Ryu [Fri, 1 Oct 2021 04:20:55 +0000 (13:20 +0900)]
Fix ZWJ, ZWNJ issues

Current font load logic classifies ZWJ, ZWNJ as COMMON script.
This interrupts them from being combined into one emoji in the EMOJI + ZWJ + EMOJI case.

This patch treats ZWJ, ZWNJ as EMOJI script in this case,
so that they can be loaded with the same color emoji font.

Please refer the example below.
The expected result is to be combined into one emoji character due to ZWJ.
But the actual result is 3 characters rendered.

// example
TextLabel label = TextLabel::New("&#x1f469;&#x200d;&#x1f52c;");

Change-Id: Ic8e921ffcb63c27638afe781527b5c6b90aa92b1
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoMerge "Syncing test files for photoshop blend modes" into devel/master
Adeel Kazmi [Fri, 8 Oct 2021 17:46:07 +0000 (17:46 +0000)]
Merge "Syncing test files for photoshop blend modes" into devel/master

3 years agoDALi Version 2.0.47 96/265096/1 dali_2.0.47
David Steele [Fri, 8 Oct 2021 13:54:32 +0000 (14:54 +0100)]
DALi Version 2.0.47

Change-Id: I33082c990826297bcc59106599f64598c17fc2a1

3 years agoSyncing test files for photoshop blend modes 48/265048/1
David Steele [Thu, 7 Oct 2021 17:18:04 +0000 (18:18 +0100)]
Syncing test files for photoshop blend modes

Change-Id: Ia05a321d1a1938c395895e61b201b6a034706f61

3 years agoResolve visual defect when BorderlineWidth=0.0f 38/265038/1
Eunki, Hong [Thu, 7 Oct 2021 10:16:37 +0000 (19:16 +0900)]
Resolve visual defect when BorderlineWidth=0.0f

Normally, Set borderlineWidth=0.0f directly doesn't make visual defect.
But when we animate the borderlineWidth,
we can se borderlineColor near 0.5pixel!

This visual defect occured cause we did hand-made anti-alias.
Now, we just multiply the borderline's with into the borderline's opacity.

This mechanisme is comes from what we draw borderline
when borderlineWidth is less then 1 pixel.

Change-Id: Ic8ef7b451d66ef0a625ad9c8392824d1f6cc6d9a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoExact calculation when borderline is trasluency 05/264705/5
Eunki, Hong [Tue, 28 Sep 2021 10:24:11 +0000 (19:24 +0900)]
Exact calculation when borderline is trasluency

Update exact formula when borderline is transluency.
This patch will fix so many visual defects

TODO : If there is a good way to calculate result without division, change it.
TODO : Visual defect occur when BorderlineWidth is 0.0f.
       Not related with this patch but anyway we need to fix some other patch.

Change-Id: Ic14f18eb508dc488a95cdb8f0eff4f615a78629b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoDALi Version 2.0.46 82/264882/1 dali_2.0.46
Adeel Kazmi [Fri, 1 Oct 2021 17:23:08 +0000 (18:23 +0100)]
DALi Version 2.0.46

Change-Id: I791fc9d01fab03c0d7fb74475a054f314af76fba

3 years agoFix fread order in EncodedImageBuffer UTC util 33/262433/2
Eunki Hong [Tue, 10 Aug 2021 11:33:53 +0000 (04:33 -0700)]
Fix fread order in EncodedImageBuffer UTC util

Change-Id: Ic441bc8c2e83a713e7a727b39a1c78e8407cfa1c
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 years agoMerge "WebEngine::GetNativeImageSource return NativeImageSourcePtr" into devel/master
Eunki Hong [Thu, 30 Sep 2021 02:07:14 +0000 (02:07 +0000)]
Merge "WebEngine::GetNativeImageSource return NativeImageSourcePtr" into devel/master

3 years agoMerge "BlendMode::ON_WITHOUT_CULL bug fix" into devel/master
Eunki Hong [Thu, 30 Sep 2021 02:06:48 +0000 (02:06 +0000)]
Merge "BlendMode::ON_WITHOUT_CULL bug fix" into devel/master

3 years ago[Tizen] (Vector) Fix frame drop bug 99/264799/1
Heeyong Song [Wed, 29 Sep 2021 07:36:07 +0000 (16:36 +0900)]
[Tizen] (Vector) Fix frame drop bug

Reset mDroppedFrames every frame

Change-Id: I366317fb732f37735245189f3297a61f769340f9

3 years agoBlendMode::ON_WITHOUT_CULL bug fix 04/264704/4
Eunki, Hong [Tue, 28 Sep 2021 10:14:42 +0000 (19:14 +0900)]
BlendMode::ON_WITHOUT_CULL bug fix

When we set BORDERLINE_WIDTH property on initialize time, mNeedBorderline still false.
So after animate CORER_RADIUS, BlendMode become ON so it will culled when MIX_COLOR.a is zero.
This patch fix that case bug

Change-Id: I3570d17273e6924f934dfc7e8b8fe6910ac18c0b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoWebEngine::GetNativeImageSource return NativeImageSourcePtr 60/264760/2
Eunki, Hong [Wed, 29 Sep 2021 08:14:12 +0000 (17:14 +0900)]
WebEngine::GetNativeImageSource return NativeImageSourcePtr

NativeImageSource --> NativeImageInterface is simple valid job.
NativeImageInterface --> NativeImageSource is not simple and expensive job.

WebEngine / WebPlugin defined at dali-adaptor/devel-api and
NativeImageSource defined at dali-adaptor/public-api.
So there is no reason to convert NativeImageSource to NativeImageInterface.

Change-Id: I55e9c6824188b1df8b53ea50b4f638f9309cfd84
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years ago(Vector) Fix frame drop bug 54/264754/1
Heeyong Song [Wed, 29 Sep 2021 07:36:07 +0000 (16:36 +0900)]
(Vector) Fix frame drop bug

Reset mDroppedFrames every frame

Change-Id: I366317fb732f37735245189f3297a61f769340f9

3 years agoMerge "image-view: Add tvg image format" into devel/master
junsu choi [Mon, 27 Sep 2021 08:27:57 +0000 (08:27 +0000)]
Merge "image-view: Add tvg image format" into devel/master

3 years ago[Tizen] Support to use NPatchImage in brokenImage accepted/tizen/6.5/unified/20211028.114621 accepted/tizen/unified/20211001.001527 submit/tizen/20210927.083017 submit/tizen/20210928.035024 submit/tizen/20210928.095304 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
Bowon Ryu [Mon, 27 Sep 2021 06:35:04 +0000 (15:35 +0900)]
[Tizen] Support to use NPatchImage in brokenImage

This reverts commit 3c35b39257957473eb6977d46061045035d21c34.

3 years agoMerge branch 'devel/master' into tizen
Bowon Ryu [Mon, 27 Sep 2021 06:34:52 +0000 (15:34 +0900)]
Merge branch 'devel/master' into tizen

3 years agoRevert "[Tizen] Support to use NPatchImage in brokenImage"
Bowon Ryu [Mon, 27 Sep 2021 06:34:47 +0000 (15:34 +0900)]
Revert "[Tizen] Support to use NPatchImage in brokenImage"

This reverts commit d486a4972fc67ba4aa9209926f457532bf39b4d5.

3 years agoimage-view: Add tvg image format 26/263426/7
JunsuChoi [Thu, 2 Sep 2021 06:22:54 +0000 (15:22 +0900)]
image-view: Add tvg image format

Change-Id: I17c2968badef555ffe9562cba928b379668e6894

3 years agoIf DISPATCH_KEY_EVENTS property is false, the KeyEvent is not received. 69/263769/9
joogab.yun [Fri, 10 Sep 2021 00:57:46 +0000 (09:57 +0900)]
If DISPATCH_KEY_EVENTS property is false, the KeyEvent is not received.

Change-Id: I62bc51eac1af88596635ef27a021c6bf10edc7d8

3 years agoLet borderline color doesn't affect to mixcolor alpha by uActorColor 68/263568/13
Eunki, Hong [Mon, 6 Sep 2021 11:18:16 +0000 (20:18 +0900)]
Let borderline color doesn't affect to mixcolor alpha by uActorColor

Previously, DevelRenderer always merged into uColor.a value.
This situation usally have no problem.

But when we want to use both MIX_COLOR and BORDERLINE_COLOR
there was no way to split Actor's opacity and MIX_COLOR's opacity.
So BORDERLINE_COLOR.a is always pre-multiplired by MIX_COLOR.a.
And also, when MIX_COLOR.a is zero, There is no way to render BORDERLINE only.

This patch try to fix this issue.

First, Add logic to keep-rendering logic. (BlendMode::ON_WITHOUT_CULL)
Second, Turn on that flag only if borderline required.
Third, Modify shader s.t. use default uniform : uActorColor.

Change-Id: I033fa6accebe5ae59aedc1e0b68ee4b8d0df7098
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoMerge "Sync bytesPerPixel when pixelFormat contain float at text-utils-devel" into...
Eunki Hong [Fri, 24 Sep 2021 11:20:47 +0000 (11:20 +0000)]
Merge "Sync bytesPerPixel when pixelFormat contain float at text-utils-devel" into devel/master

3 years agoSync bytesPerPixel when pixelFormat contain float at text-utils-devel 64/264564/1
Eunki, Hong [Fri, 24 Sep 2021 10:09:46 +0000 (19:09 +0900)]
Sync bytesPerPixel when pixelFormat contain float at text-utils-devel

We chance bytesPerPixel as half near 2021-05.
But text-utils-devel.cpp doesn't sync with it.

Change-Id: I06201b4ae67b990127bf18ececd88d9b8bf3abd6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoDALi Version 2.0.45 50/264550/1 dali_2.0.45
Adam Bialogonski [Fri, 24 Sep 2021 08:47:54 +0000 (09:47 +0100)]
DALi Version 2.0.45

Change-Id: Ibb8a96b0b40e6f816d63ae894d72817a221ebea0

3 years agoMerge "Add GlView" into devel/master
Daekwang Ryu [Thu, 23 Sep 2021 00:42:47 +0000 (00:42 +0000)]
Merge "Add GlView" into devel/master

3 years agoDALi Version 2.0.44 34/264434/1 dali_2.0.44
Richard Huang [Fri, 17 Sep 2021 10:42:23 +0000 (11:42 +0100)]
DALi Version 2.0.44

Change-Id: I0b24f749fbf2e68dbff0593eb0e6b432e1e39513

3 years agoAdd GlView 55/254755/43
Daekwang Ryu [Fri, 17 Sep 2021 09:01:42 +0000 (18:01 +0900)]
Add GlView

GlView allows drawing with OpenGL.
It creates a context, a surface and a render thread.
The render thread invokes user's callbacks.

Change-Id: I936313d32f1ce6653e1b1ce0a45f16f216c3f665

3 years ago[Tizen] Support to use NPatchImage in brokenImage 44/263744/9
Sunghyun Kim [Tue, 29 Jun 2021 07:38:09 +0000 (16:38 +0900)]
[Tizen] Support to use NPatchImage in brokenImage

Support to use NpatchImage in broken Image.
Application can use custom broken image from this patch.
when they set 3 type of broken image(small,normal,large),
dali show the proper broken image considering size.

Change-Id: I7e2be85d4715d07356fd2782be2d011931fde5c2

3 years agoFix PlaceholderTextColor update issue 01/264201/2
Bowon Ryu [Tue, 14 Sep 2021 09:51:34 +0000 (18:51 +0900)]
Fix PlaceholderTextColor update issue

There is a problem that the color does not change when
PLACEHOLDER_TEXT_COLOR is dynamically set.
This patch updates the text color in SetPlaceholderTextColor().

Change-Id: Id4b5afafdab28756018394ea6c655cfa1cd10a42
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoCanvasView: Change to follow buffer's format 71/264171/2
JunsuChoi [Tue, 14 Sep 2021 04:26:04 +0000 (13:26 +0900)]
CanvasView: Change to follow buffer's format

Change-Id: I6c2e34351f9e693e8f58a6689678f4b749de5ff7

3 years agoSwitch SetProperty order of Model3dView 74/263874/1
Seungho Baek [Mon, 13 Sep 2021 06:21:12 +0000 (15:21 +0900)]
Switch SetProperty order of Model3dView

 - To set .mat url before to set imageUrl invokes unnecessary texture loading fail.

Change-Id: I6b9062a9532905fe2a7674df62f6f88e706586cb
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years agoMerge branch 'devel/master' into tizen accepted/tizen/unified/20210914.085248 submit/tizen/20210913.074517 submit/tizen/20210914.032200
joogab.yun [Mon, 13 Sep 2021 06:02:50 +0000 (15:02 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I70420d61dd8d1c0e59db23a69b7cfe0095f18993

3 years agoMerge "DALi Version 2.0.43" into devel/master
Adeel Kazmi [Fri, 10 Sep 2021 15:24:26 +0000 (15:24 +0000)]
Merge "DALi Version 2.0.43" into devel/master

3 years agoDALi Version 2.0.43 42/263842/1 dali_2.0.43
David Steele [Fri, 10 Sep 2021 15:20:44 +0000 (16:20 +0100)]
DALi Version 2.0.43

Change-Id: I6533d88044a276ca94f01fdad0c74b169d94c9b6

3 years agoMerge "fix selection issue in OnCursorKeyEvent" into devel/master
Bowon Ryu [Fri, 10 Sep 2021 08:49:58 +0000 (08:49 +0000)]
Merge "fix selection issue in OnCursorKeyEvent" into devel/master

3 years agoAdd exception handling in text-controller 90/263790/1
Bowon Ryu [Fri, 10 Sep 2021 05:22:20 +0000 (14:22 +0900)]
Add exception handling in text-controller

There is a case where mGlyphPositions is cleared in Controller::Relayouter::Relayout.
At this time, if try to partially erase mGlyphPositions in ClearGlyphModelData, Assert occurs.
Because the count of mGlyphPositions is already 0.

This patch prevents this issue though a count check.

Change-Id: I00c919c75acd1d389877c55acfcd75878b28bc91
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoMerge "Fix gradient shader + Remove comment about BorderlineColor" into devel/master
Eunki Hong [Fri, 10 Sep 2021 04:01:49 +0000 (04:01 +0000)]
Merge "Fix gradient shader + Remove comment about BorderlineColor" into devel/master

3 years agoApply to update shaders when CornerRadius/Borderline Animate 54/263654/3
Eunki, Hong [Tue, 7 Sep 2021 12:04:29 +0000 (21:04 +0900)]
Apply to update shaders when CornerRadius/Borderline Animate

When CornerRadius / Borderline features created by animation,
VisualBase Do somethings at "GetPropertyObject" functions
and call UpdateShader.

Color / Image / Gradient visuals were works well.
But some case, like SVG, AnimatedImage, AnimagedVector
did not change the shader.
So the animations are not worked.

This patch update shaders so animation allow to change shader,
so it works well

Furthermore, We make a base virtual functions s.t.
GenerateShader, so reduce code line.

Change-Id: I7423bbe9dd639d22d0f5f5ab66df0d8eab000bec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoMerge "Add Scale transition for Page transition" into devel/master
Seungho BAEK [Wed, 8 Sep 2021 11:01:18 +0000 (11:01 +0000)]
Merge "Add Scale transition for Page transition" into devel/master

3 years agoFix gradient shader + Remove comment about BorderlineColor 02/263702/1
Eunki, Hong [Wed, 8 Sep 2021 09:02:41 +0000 (18:02 +0900)]
Fix gradient shader + Remove comment about BorderlineColor

gradient visual enable preMultipliedAlpha option in default.
Previous version of shader doesn't apply this information
so we fix it.

+

Remove some comments about relationship
between MixColor.alpha and BorderlineColor
ready for ACR

Change-Id: I175e70f670df0aefae0de7906bc0c6c0ad7a2c32
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoFix SetPrimaryCursorPosition issue 41/263641/1
Bowon Ryu [Tue, 7 Sep 2021 07:57:32 +0000 (16:57 +0900)]
Fix SetPrimaryCursorPosition issue

In SetPrimaryCursorPosition(),
case of (mPrimaryCursorPosition == index), nothing happens.
But if selection is activated, this should be cancelled.

This patch adds a condition to ensure behaviour in selection case.

Change-Id: I5a6b2d44948f42850ee001432c6fc85fb8eab274
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoMerge branch 'devel/master' into tizen accepted/tizen/unified/20210908.011507 submit/tizen/20210907.091147
Eunki, Hong [Tue, 7 Sep 2021 06:36:09 +0000 (15:36 +0900)]
Merge branch 'devel/master' into tizen

3 years agoRevert "[Tizen] Fix svace issue in TextField, TextEditor"
Eunki, Hong [Tue, 7 Sep 2021 06:36:01 +0000 (15:36 +0900)]
Revert "[Tizen] Fix svace issue in TextField, TextEditor"

This reverts commit 39cf94a0c6efda9eb8b68fb87419b461edca7a35.

3 years agoAdd Scale transition for Page transition 19/262519/12
seungho [Thu, 12 Aug 2021 12:44:31 +0000 (21:44 +0900)]
Add Scale transition for Page transition

Change-Id: Ib105de44c78aa8b9d4ab05541d98c303672d22a7
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoMerge "(Automated Tests) Passing on Ubuntu 20.04" into devel/master
Adeel Kazmi [Mon, 6 Sep 2021 15:49:24 +0000 (15:49 +0000)]
Merge "(Automated Tests) Passing on Ubuntu 20.04" into devel/master

3 years ago(Vector) Check an error in SetPlayRange 46/263246/3
Heeyong Song [Mon, 30 Aug 2021 06:44:12 +0000 (15:44 +0900)]
(Vector) Check an error in SetPlayRange

Change-Id: I26e2dd7d50392c911b148995cfcd81c561fea050

3 years agoMerge "Slide transition for Page transition" into devel/master
Seungho BAEK [Mon, 6 Sep 2021 05:44:51 +0000 (05:44 +0000)]
Merge "Slide transition for Page transition" into devel/master

3 years ago[Tizen] Fix svace issue in TextField, TextEditor 12/263512/1 accepted/tizen/unified/20210906.123738 submit/tizen/20210906.014533 submit/tizen/20210906.031407 submit/tizen/20210906.034743
Bowon Ryu [Thu, 2 Sep 2021 04:04:53 +0000 (13:04 +0900)]
[Tizen] Fix svace issue in TextField, TextEditor

Change-Id: Id8764781b287bb166d445fe4374d27242606e531
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoDALi Version 2.0.42 97/263497/1 dali_2.0.42
Adeel Kazmi [Fri, 3 Sep 2021 15:04:25 +0000 (16:04 +0100)]
DALi Version 2.0.42

Change-Id: Ibd306fe4dfa2e32609d96144668138689245973c

3 years agofix selection issue in OnCursorKeyEvent 33/263333/2
Bowon Ryu [Tue, 31 Aug 2021 12:08:52 +0000 (21:08 +0900)]
fix selection issue in OnCursorKeyEvent

Solved the problem when selecting with Shift + Left, Right.

1. Deselect the left == right case.
Previously, the selection handle was drawn even though nothing was selected, which looked weird.

2. For SelectWholeText and SelectText, set PrimaryCursorPosition to RightSelectionPosition.
Selection processing in OnCursorKeyEvent is implemented assuming that the cursor position is RightSelectionPosition.

mPrimaryCursorPosition = mRightSelectionPosition;
This ensures the above behavior.

Change-Id: I1208e37c93e9941319bc1b88502632800129e4d8
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 years agoSlide transition for Page transition 13/261813/27
seungho [Tue, 27 Jul 2021 04:02:45 +0000 (13:02 +0900)]
Slide transition for Page transition

Change-Id: I527778eafc9b9de64ed0cf7cd008dca81343d522
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years ago(Automated Tests) Passing on Ubuntu 20.04 24/258024/10
Adeel Kazmi [Fri, 7 May 2021 16:32:27 +0000 (17:32 +0100)]
(Automated Tests) Passing on Ubuntu 20.04

Change-Id: If9881757da2feef4fb2965cca76075ca490aee2b