Seoyeon Kim [Wed, 22 May 2019 05:43:00 +0000 (14:43 +0900)]
[4.0] Add '@addtogroup' tag to generate doxygen page
- In some classes, @addtogroup tag is mssing.
So, they cannot be included in each API group.
Change-Id: Idc84d7eda0565ca0d93941d8ac5c4da4d8e42521
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Wed, 15 May 2019 08:18:18 +0000 (17:18 +0900)]
[4.0] (Vector) Reset the current frame when stopped
Change-Id: Ibe4c77987ddaeecfb2955fd1799cb8ca2893e87d
Heeyong Song [Mon, 29 Apr 2019 09:32:01 +0000 (18:32 +0900)]
[4.0] Set default size when vector visual is initialized
- OnSetTransform() is not called before rendering
when a vector file is replaced.
Change-Id: I493bf87fd63ecfd9e13292e3cfafa03c442aaf54
Heeyong Song [Mon, 1 Apr 2019 08:30:09 +0000 (17:30 +0900)]
[4.0] (AnimatedVectorImageVisual) Use the content default size
- Use the content default size when a user doesn't set a control size.
- To do this, the vector renderer object creation is moved to VectorRasterizeThread constructor.
Change-Id: Icfeeea9ecbd906e0627c81ed813216b863202c07
Heeyong Song [Tue, 2 Apr 2019 07:48:24 +0000 (16:48 +0900)]
[4.0] (AnimatedVectorImage) Ensure the progress is kept according to actions
Change-Id: Ifdda34f50d1da431c4e2459ef8619cc572644beb
Heeyong Song [Mon, 11 Mar 2019 08:06:01 +0000 (17:06 +0900)]
[4.0] (AnimatedVectorImageVisual) Prevent properties from being updated during rendering
Change-Id: I9f68e3ad2d116f2a6d92422c864f72479f7e6b07
Heeyong Song [Tue, 26 Feb 2019 07:34:25 +0000 (16:34 +0900)]
[4.0] (AnimatedVectorImageVisual) Render frames based on content's fps
Change-Id: Iaa35523eecde1d22a1d2bdcd9ae07dc1e66ee58b
Heeyong Song [Mon, 31 Dec 2018 05:25:19 +0000 (14:25 +0900)]
[4.0] (AnimatedVectorImageVisual) Add some features
- Add Property::CURRNT_PROGRESS
- Add Action::UPDATE_PROPERTY
Change-Id: I61b3bc076ac6cacd1a0fe98af78c112a53f88a9e
Heeyong Song [Wed, 2 Jan 2019 02:42:58 +0000 (11:42 +0900)]
[4.0] (AnimatedVectorImageVisual) Change renderer on stage again
Change-Id: I82f0fdc564a2d0d6d99c5b87789f8b67f5465a8a
Heeyong Song [Wed, 13 Feb 2019 07:31:38 +0000 (16:31 +0900)]
Revert "[4.0] (AnimatedVectorImageVisual) Change renderer on stage again"
This reverts commit
683bf0c0ed06950ec3eef64fb564104b6311c9bf.
Change-Id: I1d1d5eb9cd4009da0e083674701da2151b78793a
Heeyong Song [Wed, 13 Feb 2019 07:31:24 +0000 (16:31 +0900)]
Revert "[4.0] (AnimatedVectorImageVisual) Fix flickering issue"
This reverts commit
8d63fcb6ae6ca70f9e68279beea01bf1b365a74a.
Change-Id: Ia591045a93c630a187119417d954fd7f4f5be71a
Sunghyun kim [Wed, 9 Jan 2019 02:12:02 +0000 (11:12 +0900)]
Fix typo in visual-properties
Change-Id: Iae6f24b1ef05d4764ccabe09965422992352ef85
Heeyong Song [Wed, 9 Jan 2019 06:32:09 +0000 (15:32 +0900)]
[4.0] (AnimatedVectorImageVisual) Fix flickering issue
Change-Id: I55bff4a1299b470fbaf0155f21e76365170013f2
Heeyong Song [Wed, 2 Jan 2019 02:42:58 +0000 (11:42 +0900)]
[4.0] (AnimatedVectorImageVisual) Change renderer on stage again
Change-Id: I9a3d6815fddd6e6c6c6c9c4ccb1d63950b41c283
Heeyong Song [Wed, 26 Dec 2018 09:31:20 +0000 (18:31 +0900)]
[4.0] Add VisualEventSignal to Control and a property to AnimatedVectorImageVisual
- Add VisualEventSignal to Control
- Add DevelImageVisual::Property::PLAY_STATE
- Add DevelAnimatedVectorImageVisual::Signal::ANIMATION_FINISHED
- Remove DevelAnimatedVectorImageVisual::Action::RESUME
Change-Id: Ic3b75971e58bab8b6f9d97d3220041ead22a2f86
Heeyong Song [Mon, 26 Nov 2018 06:11:17 +0000 (15:11 +0900)]
[4.0] (AnimatedVectorImageVisual) Add some functions
- Support size change
- Add loop count
- Add play range
Change-Id: Ic3e02708081d3314f664fa25a73db46b8cfaa901
Heeyong Song [Wed, 17 Oct 2018 08:01:17 +0000 (17:01 +0900)]
[4.0] Add animated vector image visual
Change-Id: Iefe7615251ce5185f782151ff2bd4510fd829b4c
Heeyong Song [Thu, 20 Sep 2018 02:21:08 +0000 (11:21 +0900)]
[4.0] Fix a custom shader issue in ImageView
A custom shader is ignored if a custom shader is set while loading a new image
Change-Id: I2ffd994376d12488b3af9a73c3a8616514e082a0
Heeyong Song [Fri, 17 Aug 2018 06:02:58 +0000 (15:02 +0900)]
[4.0] Add ImageVisualShaderFactory
- Add ImageVisualShaderFactory to share shader sources
- Support custom shader in SVG visual
Change-Id: I58ebab4dbbbb3a3976e1ec7ce84ac284f5bc890b
minho.sun [Fri, 20 Apr 2018 03:57:10 +0000 (12:57 +0900)]
[4.0] Change dependency
Currently, we don't use adaptor-uv.
So don't need to give option to app which adaptor app will use.
So, make dali-toolkit directly require dali-adaptor instead of
dali-adaptor-devel.
Change-Id: Id32071301c78c114a2f67e0645a2ff92cd846c59
Signed-off-by: minho.sun <minho.sun@samsung.com>
Xianbing Teng [Tue, 14 Aug 2018 06:56:54 +0000 (06:56 +0000)]
Revert "[Tizen] Fix focus issue after calling ClearFocus api"
This patch doesn't cover mobile profile.
This reverts commit
eb0e958e1f900ef19b9c5798a1dc4dc4782cf9c8.
Change-Id: Ib9ff5638548e8d5d75e7a76244522055dc8d4584
xb.teng [Tue, 14 Aug 2018 02:28:24 +0000 (10:28 +0800)]
[Tizen] Fix focus issue after calling ClearFocus api
After calling ClearFocus api, mIsFocusIndicatorEnabled will be 0.
In this case, if you call SetCurrentFocusActor again, then the first
pressed direction key is valid, but the second pressed direction key can
works. It's an issue.
Change-Id: I0fdbeff360a2732a8aa34a169dc6d7afa7443457
minho.sun [Thu, 26 Jul 2018 08:20:42 +0000 (17:20 +0900)]
[4.0] Support software styling
When DALi fails to find font which support correct style,
apply software styling to glyph.
DALi will support bold / italic by software.
Change-Id: Iad77498511941d1aae34379ac867f71f5d01b530
Signed-off-by: minho.sun <minho.sun@samsung.com>
Heeyong Song [Wed, 11 Jul 2018 05:41:09 +0000 (14:41 +0900)]
[4.0] Fix text color issue
Alpha values are pre-multiplied in all text cases.
Don't multiply alpha in text shaders.
Change-Id: I0317639df758ead2e63146690872feacaecdb067
Seoyeon Kim [Thu, 7 Jun 2018 10:16:31 +0000 (10:16 +0000)]
Merge "[4.0] DALi version 1.2.90" into tizen_4.0
Adeel Kazmi [Mon, 8 Jan 2018 16:57:39 +0000 (16:57 +0000)]
[4.0] (AnimatedImageVisual) Fix SVACE Errors
Change-Id: Ib52ed23a81c353c5107546a48313e157667c6e93
Seoyeon Kim [Thu, 7 Jun 2018 06:23:49 +0000 (15:23 +0900)]
[4.0] DALi version 1.2.90
Change-Id: I48b505c60cd7e99600951753feec5fd1e226521d
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Joogab Yun [Sun, 1 Apr 2018 23:43:24 +0000 (08:43 +0900)]
[4.0] add doc for API reference
Change-Id: I7b11790c7d352bdfe2de00fc3e05bfce9586e62a
Joogab Yun [Thu, 29 Mar 2018 09:16:05 +0000 (18:16 +0900)]
[4.0] add doc for API reference
Change-Id: I31ca273bd345fd9bb509e67925a8fcbac8a13df1
huiyu.eun [Tue, 27 Mar 2018 03:25:40 +0000 (12:25 +0900)]
[4.0] DALi version 1.2.89
Change-Id: Iaae12ef70d3d1915bf76a6b523f44c87bfaed34b
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Heeyong Song [Tue, 27 Mar 2018 01:51:27 +0000 (01:51 +0000)]
Merge "[4.0] Fix Coverity issues" into tizen_4.0
Joogab Yun [Mon, 26 Mar 2018 05:26:12 +0000 (14:26 +0900)]
supports remote URL gif image
Change-Id: I4ab7bff9b1330e0745b3c31ef574fd5cffcd788e
Heeyong Song [Fri, 16 Mar 2018 02:30:09 +0000 (11:30 +0900)]
[4.0] Make alpha value pre-multiplied in all text cases
Change-Id: I2260efc5546b1b11e35102d481ed96e0a72a39c8
Seoyeon Kim [Wed, 21 Mar 2018 08:08:53 +0000 (17:08 +0900)]
[4.0] Fix Coverity issues
Change-Id: I1fe9eeda77d162f0471e24a81b626fe7c24d21a9
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
HyunJu Shin [Fri, 16 Mar 2018 01:25:52 +0000 (01:25 +0000)]
Merge "[4.0] Update text layout utcs" into tizen_4.0
minho.sun [Mon, 5 Mar 2018 04:28:12 +0000 (13:28 +0900)]
[4.0] Update text layout utcs
After changing option of freetype, glyph metrics from freetype are changed.
So need to update text layout utcs.
Change-Id: I8102e568e5a3c8e96ca5d39f76380e36d3650b1e
Signed-off-by: minho.sun <minho.sun@samsung.com>
minho.sun [Thu, 8 Mar 2018 07:17:13 +0000 (16:17 +0900)]
[4.0] Remove atlas calculation from text-visual shader
This caculation caused precision problem.
Currently, we don't use atlas for text-visual so this caculation is
redundant.
Change-Id: I30a0eacb91c028b8419048b227efe1818ba7270a
Heeyong Song [Wed, 14 Mar 2018 04:58:14 +0000 (13:58 +0900)]
[4.0] Fix NotifyObservers
Change-Id: I0a4c726cfda825d89173d63e53b0c800dfa80b4c
David Steele [Tue, 13 Mar 2018 20:38:09 +0000 (20:38 +0000)]
[4.0] Ensured ImageView requests inside ResourceReady signal handler are queued.
Deferring ImageView load requests until after ResourceReady signal handler.
has completed ensures that attempting to re-load failed images doesn't
fail to send a second ResourceReady callback.
An application can still cause an infinite loop if it doesn't have a max
retry count when attempting to re-load failed images inside the signal
handler. This is considered to be an application bug, not a DALi bug.
( Control::ResourceReady signal is not a one-shot signal).
Change-Id: I2c505623ce5e02d3ae67e6e06fd80d5108dc8ade
Signed-off-by: David Steele <david.steele@samsung.com>
Seoyeon Kim [Mon, 5 Mar 2018 06:25:21 +0000 (15:25 +0900)]
[4.0] Fix typo error in some descriptions
Change-Id: Ib7b39f3e18f24a2ed23d5e4cc625ff1da45929d5
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Wed, 7 Mar 2018 09:24:52 +0000 (09:24 +0000)]
Merge "[4.0] Added APIs for setting display mode in video-player" into tizen_4.0
Richard Huang [Tue, 6 Mar 2018 17:28:16 +0000 (17:28 +0000)]
[4.0] Fix the issue that GetHeightForWidth returns wrong height after calling GetTextDirection
Change-Id: If60c7bc18be5d8b7083e70b362c2f69a32a42df8
Joogab Yun [Tue, 13 Feb 2018 06:13:13 +0000 (15:13 +0900)]
[4.0] Added APIs for setting display mode in video-player
Change-Id: I0ebffe5d69734f817dfa627c4f96c4c4763e85ec
dongsug.song [Tue, 27 Feb 2018 01:11:39 +0000 (10:11 +0900)]
[4.0] DALi version 1.2.88
Change-Id: I6dca836effaf1b666cc23898e881d76a7f3f70f1
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
Heeyong Song [Wed, 21 Feb 2018 05:29:01 +0000 (14:29 +0900)]
[4.0] Change tc according to blending factor change for premultiplied alpha format
Change-Id: I3145668707c7b3921e527474e4dc305e224f5f19
huiyu,eun [Tue, 20 Feb 2018 01:32:06 +0000 (10:32 +0900)]
[4.0] DALi version 1.2.87
Change-Id: I58bc4d9b0de7959263f06bbf966a5612d3cab312
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
minho.sun [Tue, 20 Feb 2018 01:23:47 +0000 (01:23 +0000)]
Merge "[4.0] clear cache when locale is changed" into tizen_4.0
minho.sun [Mon, 19 Feb 2018 11:54:13 +0000 (20:54 +0900)]
[4.0] Add GET_GLYPH_METRICS to onlyOnceOperations in GetTextDirection
To get glyph metrics, add GET_GLYPH_METRICS to onlyOnceOperations in
GetTextDirection.
Change-Id: I48978751c77738ef586e840985c2eafd49182d9b
Signed-off-by: minho.sun <minho.sun@samsung.com>
Heeyong Song [Mon, 19 Feb 2018 06:22:52 +0000 (06:22 +0000)]
Merge "[4.0] Added doxy comment for video-view" into tizen_4.0
Heeyong Song [Mon, 19 Feb 2018 06:21:28 +0000 (06:21 +0000)]
Merge "[4.0] Added APIs for codec and seek in VideoView" into tizen_4.0
Heeyong Song [Mon, 19 Feb 2018 06:20:16 +0000 (06:20 +0000)]
Merge "[4.0] Revert "[4.0] Added tag for capture privilege"" into tizen_4.0
dongsug.song [Mon, 12 Feb 2018 12:32:20 +0000 (21:32 +0900)]
[4.0] DALi version 1.2.86
Change-Id: I4fd0d3f8167b6c2078da28876db2ce67db10aea5
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
minho.sun [Mon, 12 Feb 2018 11:35:33 +0000 (20:35 +0900)]
[4.0] clear cache when locale is changed
When locale is change, font configuration might provide a different font
list.
In this case, original cached font might not be valid for same script.
Therefore, we need to clear caches.
Change-Id: I00d1499c1e8816216bc630f1df86b179a3fd4aca
Signed-off-by: minho.sun <minho.sun@samsung.com>
Heeyong Song [Tue, 13 Feb 2018 01:34:14 +0000 (10:34 +0900)]
[4.0] Prevent using an empty textureset
Change-Id: Id47720179996ff3107bb506ea873f50b254ff895
Richard Huang [Thu, 8 Feb 2018 17:55:52 +0000 (17:55 +0000)]
[4.0] Stop caching fonts for unknown text script
Change-Id: I53ccb43e0c47137f90814be728ee71d6ca70be85
huiyu,eun [Thu, 8 Feb 2018 06:02:32 +0000 (15:02 +0900)]
Revert "[4.0] Add debug log for glyph positions in text layout engine"
This reverts commit
a9ce4ade4d1b2e1a87e9fdcb540da4fe1beb0fd9.
Change-Id: Ia5438366f1bfc0d87c9cdef79dd9100cfa4d490a
huiyu,eun [Thu, 8 Feb 2018 06:02:10 +0000 (15:02 +0900)]
Revert "[4.0] Change log level"
This reverts commit
e1f341a5289fa17760a2a0767866eaa02a7baab7.
Change-Id: I862e13e9d2b814d1c8f1abec2253bafeed2cbd3a
huiyu,eun [Thu, 8 Feb 2018 01:42:36 +0000 (10:42 +0900)]
[4.0] DALi version 1.2.85
Change-Id: Ic1e961d5570a0ccf702fed24bbf6cb8217323202
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
taeyoon0.lee [Fri, 2 Feb 2018 09:31:16 +0000 (18:31 +0900)]
[4.0] Added doxy comment for video-view
Change-Id: I11f6c2730e6b79f06b9394cb505f3f536e95dcdb
taeyoon0.lee [Wed, 7 Feb 2018 12:09:55 +0000 (21:09 +0900)]
[4.0] Revert "[4.0] Added tag for capture privilege"
This reverts commit
a6ac7722e3a699cce844273af0c31fe80c7aa7f6.
Change-Id: Id5d1806b4eb5a9f9ae4bf2124ea2b8e9be15aaca
taeyoon0.lee [Fri, 12 Jan 2018 12:36:25 +0000 (21:36 +0900)]
[4.0] Added APIs for codec and seek in VideoView
Change-Id: Ib8ccab9464a703444f6a5c65ab0fe3d911c777af
taeyoon0.lee [Mon, 22 Jan 2018 09:12:47 +0000 (18:12 +0900)]
[4.0] Added tag for capture privilege
Change-Id: I4b0fc1bd0dac9c5f59ba74182373d1fe74ed5636
huiyu,eun [Thu, 1 Feb 2018 01:05:10 +0000 (10:05 +0900)]
[4.0] DALi version 1.2.84
Change-Id: Ie84de019707f333aa632cdb916e303665b9324c6
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
Seoyeon Kim [Mon, 29 Jan 2018 07:22:18 +0000 (16:22 +0900)]
[4.0] Save the previous character's extra width
- Added mPreviousCharacterExtraWidth in LayoutEngine
to compare the current character's extra width with the next character's.
Change-Id: Ic8cb093328f082dbb972441631fea9320ff9f6f8
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Thu, 25 Jan 2018 04:02:42 +0000 (04:02 +0000)]
Merge "Add more defensive code to detect invalid indices in text data" into tizen_4.0
huiyu,eun [Thu, 25 Jan 2018 01:13:34 +0000 (10:13 +0900)]
[4.0] DALi version 1.2.83
Change-Id: I186676aac86eda62ac6980bc73f8e2af1cdfc6fe
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
Richard Huang [Wed, 24 Jan 2018 15:00:11 +0000 (15:00 +0000)]
Add more defensive code to detect invalid indices in text data
Change-Id: Ifca4c122032c2f4341c2340f77f189252d8573cb
Richard Huang [Tue, 23 Jan 2018 17:08:15 +0000 (17:08 +0000)]
Add defensive code to detect text memory buffer corruption during relayout
Change-Id: I2a7114e95538822b8cacb9dfa3012df0f172d821
minho.sun [Thu, 18 Jan 2018 08:10:47 +0000 (17:10 +0900)]
[4.0] Add ignoreGlobalFontSizeChage to config section.
Add ignoreGlobalFontSizeChage to config section.
If app wants to ignore global font size change, they can set this value
to true.
By default, the value is false.
Change-Id: Id2cc5d9860ed14b780aad34717cbcf59444540e2
Signed-off-by: minho.sun <minho.sun@samsung.com>
huiyu,eun [Thu, 18 Jan 2018 11:37:25 +0000 (20:37 +0900)]
Revert "[4.0] Keep aspect ratio of visual in ImageView"
This reverts commit
5e20550dbef7745ba12c07ad4bae45c57e57dbad.
Change-Id: Iaba7106d128d95aa4764795ce3d74153232e9609
huiyu,eun [Thu, 18 Jan 2018 04:51:57 +0000 (13:51 +0900)]
[4.0] DALi version 1.2.82
Change-Id: I39125263c919c6044ca0ec9355502b91c120a535
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
minho.sun [Mon, 15 Jan 2018 06:15:29 +0000 (15:15 +0900)]
[4.0] Don't count '\r' in text-field
Currently, in text field, '\r' is counted as character.
It can make overflow when user inserts many '\r'.
Change-Id: Ic9f3a3a8448242c818ac79537ed1cd909b08e4b5
Signed-off-by: minho.sun <minho.sun@samsung.com>
Seungho, Baek [Tue, 16 Jan 2018 07:17:03 +0000 (16:17 +0900)]
Fix doxygen format
- modify "/*" to "/**" in item-layout.h:157, text-labe.h:360, video-view.h:340
Change-Id: I9584bce1149a2fb1b0319a1e8e5e6c594766f47b
Francisco Santos [Mon, 8 Jan 2018 11:29:37 +0000 (11:29 +0000)]
[4.0] Keep aspect ratio of visual in ImageView
Change-Id: I6f967dbc52a0835dea6b7e40813c3d2b0add4c15
huiyu,eun [Fri, 12 Jan 2018 04:48:00 +0000 (13:48 +0900)]
[4.0] DALi version 1.2.81
Change-Id: Ie00f5e51afa94ea4bd6fa1d7ae90a4a4b2d45422
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
Heeyong Song [Fri, 12 Jan 2018 04:20:46 +0000 (13:20 +0900)]
[4.0] Change log level
Change-Id: I5fcd5699c37af9df44fafa0a049952a0b5144e3d
Heeyong Song [Wed, 27 Dec 2017 06:40:53 +0000 (15:40 +0900)]
[4.0] Don't render text visual if the string is empty
Change-Id: I88ad9e720501024e14a963ce73274ffde80f46f6
Seoyeon Kim [Thu, 11 Jan 2018 04:42:55 +0000 (04:42 +0000)]
Merge "[4.0] Fix the cursor position after text selecting using tap" into tizen_4.0
Seoyeon Kim [Thu, 11 Jan 2018 02:07:31 +0000 (11:07 +0900)]
[4.0] Fix the cursor position after text selecting using tap
- If the user select some text by tapping, then when the selected text is highlighted,
if now the user press left or right arrow key (without shift key),
the cursor should be at the beginning or the end of the selected key.
(depending on whether you press the left or the right arrow key)
Change-Id: I5f221b7f4eafbabde54a64f514949931ce235175
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Wed, 10 Jan 2018 08:02:17 +0000 (17:02 +0900)]
[4.0] Not use premultiplication on load if custom shader is used
Change-Id: Idddb7b0cbc5b151ea2554252c46dc9e789fd1975
Umar [Fri, 29 Dec 2017 20:29:11 +0000 (20:29 +0000)]
[4.0] Added playback (i.e. Play, Pause, Stop) support for the animated GIF.
Change-Id: I21ba8d2d707fd563977126877f0c74bb73734adc
Umar [Wed, 27 Dec 2017 18:16:57 +0000 (18:16 +0000)]
[4.0] Loop count support for animated GIF
Change-Id: Ieee7e5441f4c55a69852384b993b6e14ed417ea6
huiyu,eun [Wed, 10 Jan 2018 09:18:24 +0000 (18:18 +0900)]
[4.0] DALi version 1.2.80
Change-Id: I9a645415158d8d3065fed2d4dbe7b28462501a09
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
Richard Huang [Tue, 9 Jan 2018 14:10:18 +0000 (14:10 +0000)]
[4.0] Add debug log for glyph positions in text layout engine
Change-Id: Ib763fc0c61de70b757199958fc2aacc139e0e721
Seoyeon Kim [Tue, 9 Jan 2018 08:19:34 +0000 (08:19 +0000)]
Merge "Revert "[4.0] Don't render text visual if the string is empty or the color is transparent"" into tizen_4.0
Seoyeon Kim [Tue, 9 Jan 2018 08:06:23 +0000 (17:06 +0900)]
Revert "[4.0] Don't render text visual if the string is empty or the color is transparent"
This reverts commit
c53e6919894a7a8c85984d3d9529ca9ae4b6dbb4.
Change-Id: Ice171d2c1f2a2068f4d598c9cd2a131aa448b211
HyunJu Shin [Tue, 9 Jan 2018 01:45:29 +0000 (01:45 +0000)]
Merge "[4.0] Make sure mClearAll is true when calling GetNaturalSize()" into tizen_4.0
minho.sun [Fri, 5 Jan 2018 09:47:17 +0000 (18:47 +0900)]
[4.0] Make sure mClearAll is true when calling GetNaturalSize()
Currently, GetNaturalSize() sets mClearAll to false.
It can make bug when calling GetHeightForWidth right after
GetNaturalSize().
Change-Id: Ic290bcdbb649402a1c06f32b63eadb434d7bf867
Signed-off-by: minho.sun <minho.sun@samsung.com>
David Steele [Wed, 3 Jan 2018 16:20:19 +0000 (16:20 +0000)]
[4.0] Added automatic premultiplication of image visual images
To prevent scaling quality issues, image visual images are pre-multiplied after loading.
By default, this is on, but it can be turned off via a new API in VisualFactory.
Conflicts:
automated-tests/src/dali-toolkit-internal/dali-toolkit-test-utils/dummy-visual.cpp
automated-tests/src/dali-toolkit-internal/utc-Dali-TextureManager.cpp
automated-tests/src/dali-toolkit/utc-Dali-ImageVisual.cpp
dali-toolkit/devel-api/visual-factory/visual-factory.h
dali-toolkit/internal/visuals/animated-image/fixed-image-cache.cpp
dali-toolkit/internal/visuals/animated-image/rolling-gif-image-cache.cpp
dali-toolkit/internal/visuals/animated-image/rolling-image-cache.cpp
dali-toolkit/internal/visuals/image/image-visual.cpp
dali-toolkit/internal/visuals/texture-manager-impl.cpp
dali-toolkit/internal/visuals/texture-manager-impl.h
dali-toolkit/internal/visuals/visual-factory-cache.h
dali-toolkit/internal/visuals/visual-factory-impl.cpp
dali-toolkit/internal/visuals/visual-factory-impl.h
Change-Id: Id1606e156f2d31d858bb4ddc65cbf97ed3efba5c
Signed-off-by: David Steele <david.steele@samsung.com>
dongsug.song [Thu, 4 Jan 2018 05:15:32 +0000 (14:15 +0900)]
[4.0] DALi version 1.2.79
Change-Id: Ifafbfdf1d6d37807e2d915987b96aa0fe236c38b
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
David Steele [Wed, 3 Jan 2018 16:20:19 +0000 (16:20 +0000)]
Added automatic premultiplication of image visual images
To prevent scaling quality issues, image visual images are pre-multiplied after loading.
By default, this is on, but it can be turned off via a new API in VisualFactory.
Change-Id: I53757be33894effdd61b719631fb79527e8a4fbe
Signed-off-by: David Steele <david.steele@samsung.com>
minho.sun [Thu, 4 Jan 2018 00:08:25 +0000 (00:08 +0000)]
Merge "[4.0] Fix UpdateRender if statement." into tizen_4.0
minho.sun [Wed, 3 Jan 2018 12:55:12 +0000 (21:55 +0900)]
[4.0] Fix UpdateRender if statement.
Currently, TextVisual makes crash when doing UpdateRender because mAnimatableTextColorPropertyIndex is set to Property::INVALID_INDEX and this property only can be set by TextLabel.
TextVisual can be exist in other control like Buttons so change if
statement which uses mAnimatableTextColorPropertyIndex to get alpha
value.
Change-Id: I5ea04461584126e69490ccc513434200f5751755
Signed-off-by: minho.sun <minho.sun@samsung.com>
Richard Huang [Tue, 2 Jan 2018 17:45:44 +0000 (17:45 +0000)]
Ensure text starting with weak character reports correct text direction
Change-Id: Ib5523211da9c3c3bb06f05e36cd7ccc959b7b9b6
(cherry picked from commit
46a49ad24f9c8639fd2d5c27218abe885845a689)
minho.sun [Wed, 3 Jan 2018 07:07:01 +0000 (16:07 +0900)]
[4.0] Line spacing for TextLabel and vertical line alignment feature
This reverts commit
d9f52831497acf7589958206941179cca4c36b8e.
Change-Id: I93283075607435849addf21c4d0ccff669be41ea
dongsug song [Thu, 28 Dec 2017 08:56:18 +0000 (08:56 +0000)]
Merge "[4.0] Fix Shift + Left/Right key behavior" into tizen_4.0
huiyu,eun [Thu, 28 Dec 2017 08:41:29 +0000 (17:41 +0900)]
[4.0] DALi version 1.2.78
Change-Id: I0b5d75f517d8f2d97f9058e03ae3c2c269d25f01
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
Seoyeon Kim [Wed, 27 Dec 2017 06:05:20 +0000 (15:05 +0900)]
[4.0] Fix Shift + Left/Right key behavior
- When the cursor was at the end of the text, the text selection couldn't release again.
Fixed to make deselection enabled wherever the cursor is.
- If Left selection handle is at the same position as Right selection handle,
need to remove Highlights box between them.
- When all text is being selected using Shift + Arrow key and then only Arrow key is pressed,
1. the text selection is released,
2. the event state changes to 'EDITING' mode, and
3. mPrimaryCursorPosition, mLeftSelectionPosition, and mRightSelectionPosition
should be at the same position.
Change-Id: I0d7869c0231c52296e37a3268dffe3e707de8cbd
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Wed, 27 Dec 2017 06:40:53 +0000 (15:40 +0900)]
[4.0] Don't render text visual if the string is empty or the color is transparent
Change-Id: I1da1b0e243b645ad3a8b5e9ce558b81d82f07186
HyunJu Shin [Thu, 28 Dec 2017 06:12:58 +0000 (06:12 +0000)]
Merge "[4.0] Check line is empty or not before getting line of character" into tizen_4.0