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
HyunJu Shin [Thu, 28 Dec 2017 06:07:03 +0000 (06:07 +0000)]
Merge "[4.0] Fix text scroll start position issue" into tizen_4.0
minho.sun [Wed, 27 Dec 2017 07:55:49 +0000 (16:55 +0900)]
[4.0] Check line is empty or not before getting line of character
mLine can be empty Vector if there is no text or place holder in
text-editor / text-field.
So check mLine is empty or not first and if it is empty, return 0u.
Change-Id: I5521366ab8b5c5c682c7d303a24a90fe31abe548
Jinho, Lee [Thu, 28 Dec 2017 03:00:45 +0000 (03:00 +0000)]
Merge "[4.0] Fixed Text texture quality issue when auto scrolling" into tizen_4.0
minho.sun [Fri, 22 Dec 2017 04:40:58 +0000 (13:40 +0900)]
[4.0] Fix text scroll start position issue
When user sets textlabel auto scroll, it starts after aligning.
It makes long text start its scrolling at the odd position when
horizontal alignment is not begin.
Makes long text always start its scrolling at the begin position even if
horizontal alignment is set.
Change-Id: Ie54bbb570fdce4d92b1178614e2e64951a77dba9
huiyu,eun [Wed, 27 Dec 2017 04:39:10 +0000 (13:39 +0900)]
Revert "[4.0] Line spacing for TextLabel and vertical line alignment feature"
This reverts commit
332c759a5024fd462f1ec0cec8a0dc3ae2ec829e.
Change-Id: If99593fb091b7660ccbd9f4dacc4aee71a551e8c
huiyu,eun [Tue, 26 Dec 2017 08:26:49 +0000 (17:26 +0900)]
[4.0] DALi version 1.2.77
Change-Id: I4b585115ce27778366f4049aa4810e4146b3be51
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
Jinho, Lee [Tue, 26 Dec 2017 06:59:40 +0000 (15:59 +0900)]
[4.0] Fixed Text texture quality issue when auto scrolling
- When using emoji, an unknown line appears at the top of the texture.
- Add exception handling code to shader code
Change-Id: Ie8368fdff2208ba3c5107b99b88bd9007cd2cf58
Heeyong Song [Thu, 14 Dec 2017 00:29:38 +0000 (09:29 +0900)]
[4.0] Support custom shader in svg visual
Change-Id: I928296c64c614c8e4cf9b8bfb1258f90d651a1e9
Umar [Thu, 9 Nov 2017 20:48:49 +0000 (20:48 +0000)]
[4.0] Removed Texture Atlas for the GIF image.
Added new RollingGifImageCache for animated images.
Change-Id: Idda4fecb7f4c5303f459a9e6b18222fdb3c83a41
Adeel Kazmi [Wed, 20 Dec 2017 14:56:24 +0000 (14:56 +0000)]
[4.0] (ColorVisual) Don't render if transparent alpha by default
Added a property to force rendering if required. This was needed for the CLIP_CHILDREN use case.
Change-Id: Id5beaf92ed38b2beb30439c7ab760c8a762f1d9f
(cherry picked from commit
f20180dbb4cd52afb0305f2aa7889e81f55ef19e)
Adeel Kazmi [Fri, 22 Dec 2017 10:57:43 +0000 (10:57 +0000)]
Merge "[4.0] SVACE Error fix TextureManager Thread bounds" into tizen_4.0
Richard Huang [Wed, 20 Dec 2017 11:21:47 +0000 (11:21 +0000)]
[4.0] Disable pixel alignment while scrolling the text
Change-Id: I8980a4ae249d6b67868e1b0beb21f2d98e39e25e
adam.b [Thu, 14 Dec 2017 16:06:54 +0000 (16:06 +0000)]
[4.0] Line spacing for TextLabel and vertical line alignment feature
- Line spacing is now supported by the TextLabel only
- Introduced new devel property VERTICAL_LINE_ALIGNMENT providing
vertical text aligning within its line area ( TOP, MIDDLE, BOTTOM )
Change-Id: I568a7ef5bed4adcf358e6cab05c3316b93430f1c
(cherry picked from commit
2ef1ec2dc06370b206f95db44c0a59259ce2f7d1)
David Steele [Wed, 18 Oct 2017 14:42:34 +0000 (15:42 +0100)]
[4.0] Updated NanoSVG to latest version (9 July 2017)
This fixes a number of issues, including the arc drawing.
See https://github.com/memononen/nanosvg/commits/master for further details
Change-Id: I9f5bff91167c2dea625efa903a18f9292c3853b5
huiyu,eun [Thu, 21 Dec 2017 05:20:03 +0000 (14:20 +0900)]
[4.0] DALi version 1.2.76
Change-Id: I60e7104ca20b4c8460d98939e3a0fc7dcce73f17
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
HyunJu Shin [Thu, 21 Dec 2017 05:17:16 +0000 (05:17 +0000)]
Merge "[4.0] Modify linebreak unit when creating LineLayout" into tizen_4.0
Jinho, Lee [Wed, 20 Dec 2017 07:06:49 +0000 (16:06 +0900)]
[4.0] Modify linebreak unit when creating LineLayout
- period is reconized word unit.
- In the past, if the text exceeded the line layout size, only the period was down to another line.
- Modify line breaks to linebreak instead of Wordbreak.
Change-Id: If7dc8b721b542ab0896326721fc71fed70319d95
Moonhee Choi [Wed, 20 Dec 2017 09:27:10 +0000 (09:27 +0000)]
Merge "[4.0] Move Some Devel Properties & API to the Public-API - Add API & Properties related to loading status of visual resource : control.h & visual-properties.h - Add Properties related to policy of loading & deleting of ImageVisual : image-visual-properties.h" into tizen_4.0
Moonhee Choi [Wed, 20 Dec 2017 06:03:06 +0000 (15:03 +0900)]
[4.0] Move Some Devel Properties & API to the Public-API
- Add API & Properties related to loading status of visual resource
: control.h & visual-properties.h
- Add Properties related to policy of loading & deleting of ImageVisual
: image-visual-properties.h
Change-Id: Ic6c9626eff4c6552b98028bbf5d3be3fa325222c
Signed-off-by: Moonhee Choi <mh0310.choi@samsung.com>
dongsug.song [Wed, 20 Dec 2017 05:03:36 +0000 (14:03 +0900)]
[4.0] DALi version 1.2.75
Change-Id: I4af3ab5565e9c16921a5283b2bd0121238fea77b
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
HyunJu Shin [Tue, 19 Dec 2017 07:30:15 +0000 (07:30 +0000)]
Merge "[4.0] Previous model height return problem fixed" into tizen_4.0
Seoyeon Kim [Wed, 13 Dec 2017 10:43:29 +0000 (19:43 +0900)]
[4.0] Add ENABLE_SHIFT_SELECTION property
- Added ENABLE_SHIFT_SELECTION property in DevelTextField and DevelTextEditor
- ENABLE_SHIFT_SELECTION property is enabled or disabled Text selection using
Keyboard Shift key.
Change-Id: I70a712ffd5eab04b1dc81768b6b39ca29c785a2e
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Jinho, Lee [Mon, 18 Dec 2017 13:45:00 +0000 (22:45 +0900)]
[4.0] Previous model height return problem fixed
- GetHeightForWidth is returend text layout size.
- In two consecutive calls, this function return the previous height value, not the height value of the new model after the first time.
Change-Id: I72d6a6c56a8dd70aa438a6c37d686847028e75c7
taeyoon0.lee [Mon, 18 Dec 2017 10:35:03 +0000 (10:35 +0000)]
Merge "[4.0] Added since version for Capture in doc" into tizen_4.0
huiyu,eun [Mon, 18 Dec 2017 05:20:29 +0000 (14:20 +0900)]
[4.0] DALi version 1.2.74
Change-Id: Ic69ef9a8c2e12a29af5935f71dba5bbd9ee0b423
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
taeyoon0.lee [Fri, 8 Dec 2017 09:09:08 +0000 (18:09 +0900)]
[4.0] Added since version for Capture in doc
Change-Id: I3caa44dec661adb791dd784e5c5989b802fe35cd
Richard Huang [Wed, 13 Dec 2017 15:21:10 +0000 (15:21 +0000)]
Add outline property to text visual
Change-Id: I73bb5d932da84be4b277227b8d5f12748e2ec992
(cherry picked from commit
4c75bf7cad5d505c34f9bcb247b5fa9806115349)
Richard Huang [Thu, 7 Dec 2017 13:33:27 +0000 (13:33 +0000)]
[4.0] Text outline support in TextField & TextEditor
Change-Id: I9838fb0867102e920bcc07650ff5c3a8903a7e24
Adeel Kazmi [Thu, 14 Dec 2017 18:03:25 +0000 (18:03 +0000)]
Merge "[4.0] Text atlas renderer refacor." into tizen_4.0
Adeel Kazmi [Thu, 14 Dec 2017 15:40:53 +0000 (15:40 +0000)]
Merge "Fix SVACE issue in TextController" into tizen_4.0
huiyu,eun [Thu, 14 Dec 2017 07:01:34 +0000 (16:01 +0900)]
[4.0] DALi Version 1.2.73
Change-Id: Ieeab66b4a169429387a1469a76f44892a97fbd9c
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
huiyu,eun [Wed, 13 Dec 2017 10:09:16 +0000 (19:09 +0900)]
[4.0] DALi Version 1.2.72
Change-Id: I27741d08b13e9fa11977036b8ef037221fdf5946
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
Victor Cebollada [Fri, 8 Dec 2017 10:41:22 +0000 (10:41 +0000)]
[4.0] Text atlas renderer refacor.
* Add some methods to avoid code duplication.
Change-Id: Ifa3952d4fa2995ac735e76624f484c8441a49bc2
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
(cherry picked from commit
2a3b002c65d5012f8439e70c8eafd9dd7f4db9ca)
Adeel Kazmi [Tue, 12 Dec 2017 17:36:28 +0000 (17:36 +0000)]
Fix SVACE issue in TextController
Change-Id: Id4dab4de25d677ccc20d32a06dcc990bc753abf8
(cherry picked from commit
615b92ce2555a675bfadd2a078728cb9dd222954)
Agnelo Vaz [Tue, 12 Dec 2017 10:19:46 +0000 (10:19 +0000)]
[4.0] SVACE Error fix TextureManager Thread bounds
Should be able to resolve SVACE error by asserting on the maximum number allowed.
Preventing TextureManager sign-compare Error with strtoul (old arch)
Change-Id: I081635e8f1f1a69e7426041344440a53c5b80121
huiyu,eun [Tue, 12 Dec 2017 16:25:59 +0000 (01:25 +0900)]
[4.0] DALi Version 1.2.71
Change-Id: Ia6d6c491e8ee2cbbcf649954c753429302463db3
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
taeyoon0.lee [Tue, 12 Dec 2017 08:18:18 +0000 (17:18 +0900)]
[4.0] Modified GetTextDirection for TEXT_DIRECTION property
- Requirement is to check always the direction if textlabel gets text.
Change-Id: I0fe40c84f9cf1567fa7ae5acdfdea46f1b71911a
Seoyeon Kim [Tue, 12 Dec 2017 05:01:27 +0000 (14:01 +0900)]
[4.0] Remove unused conditional in TextController
- ( mImpl->mEventData->mPrimaryCursorPosition >= 0 ) conditional is useless,
becuase mPrimaryCursorPosition is unsigned int type, so it's always greater
than or equal to zero.
- Removed the unused conditional in text-controller.cpp
Change-Id: I9b0ec109f29accd8535eb5022ba404270193a9d0
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
dongsug.song [Mon, 11 Dec 2017 04:28:28 +0000 (13:28 +0900)]
[4.0] DALi Version 1.2.70
Change-Id: Ib0a22b4f23eac4291351f8605434f0f7a19b423b
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
Heeyong Song [Mon, 11 Dec 2017 05:40:30 +0000 (14:40 +0900)]
[4.0] Add codes to prevent underflow
Change-Id: Id5d5205f587885c288744d7315ba966f0357c951
Heeyong Song [Mon, 11 Dec 2017 02:48:42 +0000 (11:48 +0900)]
[4.0] Fix shader compile error fix in npatch visual
Change-Id: I86677282cbffcc0744858dd250509dba128fab0b
Seoyeon Kim [Mon, 11 Dec 2017 02:10:21 +0000 (02:10 +0000)]
Merge "[4.0] Compare numberOfCharacters to delete all texts" into tizen_4.0
dongsug song [Mon, 11 Dec 2017 02:02:04 +0000 (02:02 +0000)]
Merge "[4.0] Send the empty string to IME when PlaceholderText shows" into tizen_4.0
dongsug song [Mon, 11 Dec 2017 01:55:33 +0000 (01:55 +0000)]
Merge "[4.0] Fix comment to remove Doxygen tool warning" into tizen_4.0
Seoyeon Kim [Thu, 7 Dec 2017 02:43:54 +0000 (11:43 +0900)]
[4.0] Compare numberOfCharacters to delete all texts
Change-Id: I408f601f99e76854f47e19ea189b1edb0e8ba05d
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Seoyeon Kim [Fri, 8 Dec 2017 07:29:45 +0000 (16:29 +0900)]
[4.0] Send the empty string to IME when PlaceholderText shows
- Fixed to send the empty string to IME when PlaceholderText shows.
When DALi receives Retrieve surrounding event, should send IME
only Normal Text, not Placeholder Text.
Change-Id: I9b5cb18fc2c7bc8e57854c4acaaae6a9413cc5da
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
minho.sun [Fri, 8 Dec 2017 05:31:34 +0000 (14:31 +0900)]
[4.0] Ignore DALI_KEY_SOURCE in text controller
Ignore DALI_KEY_SOURCE in text controller.
Change-Id: I789ccd5f7cc54c33c24e24ffca551543ee7e8bb8
Signed-off-by: minho.sun <minho.sun@samsung.com>
minho.sun [Fri, 8 Dec 2017 02:36:20 +0000 (11:36 +0900)]
[4.0] Fix comment to remove Doxygen tool warning
Fix comment to remove Doxygen tool warning
Change-Id: I709097c89bd2e2a94d83ee6afca3bcd5733eae24
Richard Huang [Thu, 7 Dec 2017 12:42:35 +0000 (12:42 +0000)]
[4.0] Fix the text issue of RTL language while changing font family dynamically
Change-Id: I29b9df5500d09c060fbe20aa6fa11f8c82fbc15e
Jinho, Lee [Thu, 7 Dec 2017 09:02:05 +0000 (18:02 +0900)]
[4.0] Fixed text scroller pre multiplied alpha issue.
Change-Id: Id35f46c30af5b5f14536a879af93f299e467db26
Francisco Santos [Tue, 5 Dec 2017 23:21:04 +0000 (23:21 +0000)]
[4.0] Fix bug with mixed language text
Change-Id: I72d097564961fd8c16678cea46f0f15152f91376
Seoyeon Kim [Mon, 4 Dec 2017 05:59:08 +0000 (14:59 +0900)]
[4.0] Add the protected code and fix the crash issue
- When visualModel->mLines.Begin() is NULL, do nothing in GetCursorPosition().
- When the user tries to input some texts in TextField, and its size is fitted
to its parent, which size is (0,0) by Relayout, then set mTextUpdateInfo.mNumberOfCharactersToAdd
as the current text for UpdateModel().
Change-Id: Iea0a251ba2061389bf7a00476bf126d9669da50c
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Tue, 5 Dec 2017 07:09:16 +0000 (16:09 +0900)]
[4.0] DALi version 1.2.69
Change-Id: Ibb06da02aa3060f8d5f7e355ea55c3a044aca988
taeyoon0.lee [Mon, 4 Dec 2017 07:30:04 +0000 (07:30 +0000)]
Merge "[4.0] Added devel api header for text direction in Makefile" into tizen_4.0
Agnelo Vaz [Mon, 20 Nov 2017 13:23:41 +0000 (13:23 +0000)]
[4.0] ImageVisual Action::Reload added
Reload forces reloading causing the texture to be reloaded even if cached.
It updates all uses of this texture (same id) across all image visuals.
The texture is replaced hence the renderer gets updated
as already references the TextureSet.
Change-Id: Idb484d18373d54083727c80f563b7a5f7fb2be8c
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Richard Huang [Wed, 29 Nov 2017 14:15:20 +0000 (14:15 +0000)]
[4.0] Support Shift+Left/Right keys for text selection and Ctrl+C/V/X for text copy/paste/cut
Change-Id: I2135bf267424dc9e207fc5995280951033d02fc0
(cherry picked from commit
718e975ec30138ecd521ed2e4afdcf84172f0b08)
Agnelo Vaz [Thu, 16 Nov 2017 19:36:03 +0000 (19:36 +0000)]
[4.0] Action framework for visuals
Internal::Visual::Base has a DoAction API which calls the OnDoAction in derived Visual if they want
to act on any Actions they have defined.
Control has a devel API to DoAction on any of it's registered visuals.
If a action is requested on a visual, if the visual does not implement it then
nothing is done.
Action will be provided by Indexes, in future may add an API for strings if
builder requires but internal.
Property::Key has an explict constructor hence not used.
DummyVisual added to test framework, can be used in Internal tests. Visuals creation not public.
Change-Id: Ib4590f5a76d4b45adcb2213eee70c1bbd91f88a2
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Agnelo Vaz [Tue, 21 Nov 2017 13:44:33 +0000 (13:44 +0000)]
[4.0] ImageView example code correction
Change-Id: I2b0f3b99bbf4a12afdd59e10fbb90656aca78b29
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Richard Huang [Fri, 1 Dec 2017 10:33:02 +0000 (10:33 +0000)]
[4.0] Change the grab handle images to transparent for TV profile
Change-Id: Ied6509acc8b895a781da94ef4d6d812f00b19ea0
David Steele [Wed, 29 Nov 2017 21:11:23 +0000 (21:11 +0000)]
[4.0] Added Auxiliary image to NPatch visual.
Auxiliary image sits on top of the NPatch, and scales with the visual,
not with the NPatch stretching. A new Alpha property enables just the
auxiliary image to be faded.
Change-Id: I391f39f2a422ddf97cdf847e70d12a6a254e941a
Signed-off-by: David Steele <david.steele@samsung.com>
(cherry picked from commit
339af74b081016140d2d5e25dc8609913aabaa31)
taeyoon0.lee [Thu, 30 Nov 2017 07:06:00 +0000 (16:06 +0900)]
[4.0] Added devel api header for text direction in Makefile
Change-Id: I080d67ff289c9891cd9b5fe31f5d518c396a9bb7
HyunJu Shin [Thu, 30 Nov 2017 05:34:56 +0000 (05:34 +0000)]
Merge "[4.0] Support 360x360 resoruce package for wearable" into tizen_4.0
taeyoon0.lee [Wed, 29 Nov 2017 09:15:09 +0000 (18:15 +0900)]
[4.0] Added text direction property
- The property is read-only
- The property gets "RightToLeft" or "LeftToRight"
Change-Id: I3dba003762a21ff1ba0e09a98f154d25e9919ca4
Adeel Kazmi [Wed, 29 Nov 2017 14:41:16 +0000 (14:41 +0000)]
Merge "[4.0] DALi version 1.2.68" into tizen_4.0
HyunJu Shin [Wed, 29 Nov 2017 11:06:34 +0000 (11:06 +0000)]
Merge "[4.0] Fixed an issue where the text would multiply the alpha value twice" into tizen_4.0
Jinho, Lee [Wed, 29 Nov 2017 10:16:19 +0000 (19:16 +0900)]
[4.0] Add underflow preventation code
Change-Id: If8dcedc28a23c45912fbd46224e681cc47901525
Heeyong Song [Wed, 29 Nov 2017 09:36:44 +0000 (18:36 +0900)]
[4.0] DALi version 1.2.68
Change-Id: Ied8de458445c1a2b202e74bac204f2241cd4c91e
xb.teng [Wed, 29 Nov 2017 02:52:17 +0000 (10:52 +0800)]
[4.0] Fix image not show issue
Change-Id: I22de84f3fa1f61a85df5c69c73de8d56a0b1f882
Jinho, Lee [Wed, 29 Nov 2017 05:10:54 +0000 (14:10 +0900)]
[4.0] Fixed an issue where the text would multiply the alpha value twice
Change-Id: I40ea8666026d00ec074a8b555ceb75285366a213
HyunJu Shin [Wed, 29 Nov 2017 05:45:20 +0000 (05:45 +0000)]
Merge "[4.0] Fix the child position when Parent sets Padding" into tizen_4.0
minho.sun [Mon, 20 Nov 2017 10:16:43 +0000 (19:16 +0900)]
[4.0] Support 360x360 resoruce package for wearable
Support 360x360 resource package for wearable.
Make special PushButton for wearable.
Change-Id: I36e41d17c90bb5a4aa7fe76056c962980ed459be
Seoyeon Kim [Tue, 28 Nov 2017 05:12:46 +0000 (14:12 +0900)]
[4.0] Update doxygen comments
- Parameters of member Dali::Toolkit::ProgressBar are not documented.
- Return type of member Dali::Toolkit::Control::ResourceReadySignal is not documented.
- Member Type (enumeration) of namespace Dali::Toolkit::Visual::Transform::Policy
is not documented.
- To show some Visual Properties, added a comment in doxygen.
Change-Id: Ieb5306330aee1bb18dff190863fab4439bad2913
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Seoyeon Kim [Tue, 21 Nov 2017 04:47:27 +0000 (13:47 +0900)]
[4.0] Fix the child position when Parent sets Padding
Change-Id: I40015356186292f42ec2358fdfc1346623d2884e
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
taeyoon0.lee [Tue, 28 Nov 2017 02:49:49 +0000 (02:49 +0000)]
Merge "[4.0] RTL support of FlexContainer" into tizen_4.0
Taeyoon Lee [Tue, 28 Nov 2017 02:49:31 +0000 (02:49 +0000)]
Merge "[4.0] Support Right-To-Left of padding/margin in control" into tizen_4.0
Taeyoon Lee [Tue, 28 Nov 2017 02:49:19 +0000 (02:49 +0000)]
Merge "[4.0] Support Right-To-Left of tableView" into tizen_4.0
Taeyoon Lee [Tue, 28 Nov 2017 02:49:08 +0000 (02:49 +0000)]
Merge "[4.0] Support Right-To-Left of padding/margin in imageView" into tizen_4.0
Heeyong Song [Mon, 27 Nov 2017 08:37:07 +0000 (17:37 +0900)]
[4.0] DALi version 1.2.67
Change-Id: Ia376de3837dc6cdbfabdfcd13b3c52e6f79487be
Jinho, Lee [Thu, 23 Nov 2017 06:14:51 +0000 (15:14 +0900)]
[4.0] Set a new size when Multiline property is changed.
Change-Id: If4be3075c5058c55c36e034fa6ec22fbf7982431
Eunki Hong [Mon, 25 Sep 2017 06:41:41 +0000 (15:41 +0900)]
[4.0] Animated Gradient Visual in devel-api
Animated gradient visual. Can be used for Control's background.
At Internal::AnimatedGradientVisual :
- Use only one shader codes to draw effects.
*NOTE : We change shader string at AnimatedGradientVisual::CreateShader()
- When DoSetProperties occured
--> Set non-animated properties (for make Renderer)
--> Set animated properties (for make Animations)
- When DoSetOnStage occured
--> Make Renderer
--> Make Animations
--> Play Animations
- When DoSetOffStage occured
--> Stop Animations
At AnimatedGradientVisual::Property :
- 3 non-animated properties.
- GRADIENT_TYPE = LINEAR / RADIAL
- UNIT_TYPE = OBJECT_BOUNDING_BOX / USER_SPACE (See GradientVisual::units)
- SPREAD_TYPE = REFLECT / REPEAT / CLAMP (See GradientVisual::spreadMethod)
- 7 animated properties.
- START_POSITION ( Vector2 )
- START_COLOR ( Vector4 )
- END_POSITION ( Vector2 )
- END_COLOR ( Vector4 )
- ROTATE_CENTER ( Vector2 )
- ROTATE_AMOUNT ( Float )
- OFFSET ( Float )
- Every animate properties have there each values
- START, TARGET, DIRECTION, DURATION, DELAY, REPEAT, REPEAT_DELAY, MOTION_TYPE, and EASING_TYPE.
- animated by Dali::Animation::AnimateTo()
- Setup properties by Property::Map
Change-Id: If85c08d4500d132b6d8de6ed016bf985770c846c
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>