platform/core/uifw/dali-toolkit-legacy.git
3 years agoChange Resize() to Reserve() to improve performance. 78/235678/1
Joogab Yun [Mon, 8 Jun 2020 01:51:41 +0000 (10:51 +0900)]
Change Resize() to Reserve() to improve performance.

Change-Id: I6078fb17131630a770cb770dc9f2251f1c9ae6b6

3 years ago DALi Version 1.5.15 49/235649/1 dali_1.5.15
Joogab Yun [Mon, 8 Jun 2020 10:11:33 +0000 (19:11 +0900)]
 DALi Version 1.5.15

Change-Id: I0879ad5bfcc3a973f0c08e825f9819752e967462

3 years agoUtil functions that convert a kind of buffers to url 00/235500/5
Seungho, Baek [Mon, 25 May 2020 11:02:03 +0000 (20:02 +0900)]
Util functions that convert a kind of buffers to url

 - FrameBuffer without attached texture.
 - FrameBuffer already attached several textures
 - PixelData
 - NativeImageSource

Change-Id: I1793edf375dbdbe9dafc48432fbeb474904d9f46
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
3 years agoSync common test files 81/235081/2
Heeyong Song [Tue, 19 May 2020 08:36:22 +0000 (17:36 +0900)]
Sync common test files

Change-Id: I6a8c5e28e1bc257c20a636b3ac680cad2e97d683

3 years agoDALi Version 1.5.14 95/235095/1 dali_1.5.14
Wonsik Jung [Tue, 2 Jun 2020 06:23:14 +0000 (15:23 +0900)]
DALi Version 1.5.14

Change-Id: I2410ca1748ad1204fdf56a835d21f1d9ac14b5ff

3 years agoCheck if a texture is valid 84/234984/1
Heeyong Song [Wed, 6 May 2020 04:52:04 +0000 (13:52 +0900)]
Check if a texture is valid

Change-Id: Ia5541d3340435aa14b9254983ad42660bbb63f0f

3 years ago(Vector) Fix crash issues 73/234973/1
Heeyong Song [Fri, 29 Nov 2019 08:11:30 +0000 (17:11 +0900)]
(Vector) Fix crash issues

Change-Id: I98043d28667e39ec54e2fd06020811fdc3d62edf

3 years agoCheck loadPixelBuffer in the Caching Texture 15/234415/3
Seungho, Baek [Tue, 26 May 2020 05:40:32 +0000 (14:40 +0900)]
Check loadPixelBuffer in the Caching Texture

 - A image can be entered twice one as ImageVisual another as NinePatchVisual.
 - If ImageVisual is already entered, the image is already Uploaded to the Texture
 - But, NinePatchVisual need only PixelBuffer.
 - So, we need to cache them separately

Change-Id: Ib0824645da70d172fb603b957c999967eef663d7
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
3 years agoAdd FittingMode for image 90/233290/4
Sunghyun Kim [Fri, 21 Feb 2020 05:10:38 +0000 (14:10 +0900)]
Add FittingMode for image

Add fittingMode for image.
- CENTER : Image fills inside using original width & height.
- FILL   : Image filles whole width & height. this fitting mode don't  maintain aspect ratio.

Change-Id: Ia0b54a867a867d547e430384b17eb5e65593ce61

3 years agoMerge "To use ActivateOnce to blur child views" into devel/master
Seungho BAEK [Wed, 27 May 2020 04:05:30 +0000 (04:05 +0000)]
Merge "To use ActivateOnce to blur child views" into devel/master

3 years agoMerge "Recreate resources after blur is deactivated." into devel/master
Seungho BAEK [Wed, 27 May 2020 04:05:26 +0000 (04:05 +0000)]
Merge "Recreate resources after blur is deactivated." into devel/master

3 years agoMerge "Even if ELLIPSIS is set to false and ENABLE_AUTO_SCROLL is set to true, Ellips...
joogab yun [Wed, 27 May 2020 01:22:56 +0000 (01:22 +0000)]
Merge "Even if ELLIPSIS is set to false and ENABLE_AUTO_SCROLL is set to true, Ellipsis is alaways set to true when scrolling is finished." into devel/master

3 years agoTo use ActivateOnce to blur child views 89/234489/1
Seungho, Baek [Thu, 21 May 2020 06:03:02 +0000 (15:03 +0900)]
To use ActivateOnce to blur child views

Change-Id: Idf5997e7b9e06a617752bd31ea0f6dcd6cee34e8
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
3 years agoRecreate resources after blur is deactivated. 22/233922/4
Seungho, Baek [Wed, 20 May 2020 08:50:54 +0000 (17:50 +0900)]
Recreate resources after blur is deactivated.

 - Currently, each resources are created only the size is changed.
 - But, if the Blur is deactivated, the resources are reset and we need to create each resource again when the blur is re-activated.

Change-Id: Ie8eab91e571439d6db74b6f39f43e0016a277416
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
3 years agoEven if ELLIPSIS is set to false and ENABLE_AUTO_SCROLL is set to true, 85/234485/1
Joogab Yun [Thu, 21 May 2020 05:38:12 +0000 (14:38 +0900)]
Even if ELLIPSIS is set to false and ENABLE_AUTO_SCROLL is set to true,
Ellipsis is alaways set to true when scrolling is finished.

Do not change user settings.

textLabel.SetProperty(TextLabel::Property::ELLIPSIS, false);
textLabel.SetProperty(TextLabel::Property::ENABLE_AUTO_SCROLL, true);

Change-Id: I98703d5c25237901812af568a1f2ca4c6c143889

3 years agoDALi Version 1.5.13 31/234431/1 dali_1.5.13
Heeyong Song [Tue, 26 May 2020 09:08:28 +0000 (18:08 +0900)]
DALi Version 1.5.13

Change-Id: I7cca1dc738a3e6af5df5c5fff99335c548fdd5ab

3 years agoChange to use properties instead of Setter/Getter APIs of Dali::Actor 30/234430/1
Richard Huang [Tue, 19 May 2020 12:50:25 +0000 (13:50 +0100)]
Change to use properties instead of Setter/Getter APIs of Dali::Actor

Change-Id: Ia3ba6418b6b7d1ec66b126892bd8337767f9d393

3 years agoTextfield: remove duplicated functionality 82/233782/1
ali198724 [Mon, 11 May 2020 16:17:46 +0000 (19:17 +0300)]
Textfield: remove duplicated functionality
Getting selected text is done using property no need for special get function

Change-Id: I8b0cbcce414d4ac229eef20860929a394ab40126

3 years agoDALi Version 1.5.12 51/233751/1 dali_1.5.12
Heeyong Song [Tue, 19 May 2020 02:35:07 +0000 (11:35 +0900)]
DALi Version 1.5.12

Change-Id: I0a2237606b86b946d483bc3c1dad4183abb62ee7

3 years agoAdd MIN_LINE_SIZE property 38/233738/1
Joogab Yun [Tue, 12 May 2020 05:55:59 +0000 (14:55 +0900)]
Add MIN_LINE_SIZE property

Users want to set the line size in multi-line.
We have a lineSpacing property which allows us to set the spacing of the lines.

However, the user wants to achieve a similar effect by setting the size of the line, not lineSpacing.

Change-Id: Ia96e1875e90454a3269d2ad853d3c4e20ce66ae9

3 years agoSupport rounded corners for GradientVisual 55/233455/1
Heeyong Song [Thu, 16 Apr 2020 05:41:52 +0000 (14:41 +0900)]
Support rounded corners for GradientVisual

Change-Id: Ibb63224756ad34359f84a7c620231a0cfa61ae3e

3 years agoMerge "DALi Version 1.5.11" into devel/master
Heeyong Song [Wed, 13 May 2020 03:47:40 +0000 (03:47 +0000)]
Merge "DALi Version 1.5.11" into devel/master

3 years agoDALi Version 1.5.11 83/233183/1 dali_1.5.11
Heeyong Song [Wed, 13 May 2020 01:57:27 +0000 (10:57 +0900)]
DALi Version 1.5.11

Change-Id: I3f871a321b667198f4b8e7dcce82f8bece25efb4

3 years agoUpdate a font description run only in Selecting state for input font 57/233057/1
Seoyeon Kim [Wed, 6 May 2020 11:06:45 +0000 (20:06 +0900)]
Update a font description run only in Selecting state for input font

- When setting input font properties, its font description run has been
updated in InsertText().
- UpdateSelectionFontStyleRun() resets the FontDescriptionRun value already set.
- So, only in EventData::SELECTING state, updated a new font description run.

Change-Id: I5c6643f919e077b2870d04c8a881ab9a1d125811
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years agoDALi Version 1.5.10 45/232545/1 dali_1.5.10
Heeyong Song [Wed, 6 May 2020 07:50:31 +0000 (16:50 +0900)]
DALi Version 1.5.10

Change-Id: I5adb8febacf31f6465e3202a6d73229281ea0395

4 years agoAdd support to unselect text And Get_SelectedText 44/232544/1
Ali [Mon, 20 Apr 2020 07:51:54 +0000 (10:51 +0300)]
Add support to unselect text And Get_SelectedText

This patch add two kind of support for TextField
1- SelectNone function: this will unselect text in textfield Programmatically by user.
2- Selected_Text property: this is readonly to return string for selected text.

After this patch approve, I will create other one for dali-csharp-bindings

Change-Id: If93ed6df44a41ff00f772a0abcfc9e2401c41480

4 years agoDoxy patch for Capture ACR 85/232085/3
Seungho, Baek [Fri, 10 Apr 2020 09:00:40 +0000 (18:00 +0900)]
Doxy patch for Capture ACR

Change-Id: I62bacba01a73244489ff3286b598a229522694b6
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years agoDALi Version 1.5.9 53/231953/1 dali_1.5.9
Heeyong Song [Mon, 27 Apr 2020 04:01:56 +0000 (13:01 +0900)]
DALi Version 1.5.9

Change-Id: If4e38ff47911ea83435fde244fccedbbe28be255

4 years agotext tiling 32/231932/1
Joogab Yun [Mon, 13 Apr 2020 01:04:47 +0000 (10:04 +0900)]
text tiling

If the length of text is very long and exceeds maxTextureSize,
it cannot be displayed on the screen.

So tiling is required.
I implement tiling by attaching multiple renderers.

And the MAX_TEXT_LENGTH limit is removed.

sample)

    std::ifstream file;
    file.open(PATH[0]);
    std::stringstream ss;
    ss << file.rdbuf();
    file.close();

    ScrollView scroller = ScrollView::New();
    scroller.SetPosition( 100.f, 100.f);
    scroller.SetSize(500.f, 1000.f);
    scroller.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    scroller.SetParentOrigin(ParentOrigin::TOP_LEFT);
    scroller.SetAxisAutoLock(true);

    TextLabel textLabel = TextLabel::New( );
    textLabel.SetProperty( TextLabel::Property::TEXT,  ss.str() );
    textLabel.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    textLabel.SetParentOrigin(ParentOrigin::TOP_LEFT);
    textLabel.SetProperty( TextLabel::Property::VERTICAL_ALIGNMENT, "TOP" );
    textLabel.SetProperty( TextLabel::Property::MULTI_LINE, true );
    textLabel.SetProperty( TextLabel::Property::ELLIPSIS, false );
    textLabel.SetProperty( TextLabel::Property::ENABLE_MARKUP, true );
    textLabel.SetProperty( TextLabel::Property::POINT_SIZE, 16);
    textLabel.SetProperty( Toolkit::TextLabel::Property::TEXT_COLOR, Color::BLUE );

    scroller.Add( textLabel );
    stage.Add( scroller );

Change-Id: I65082244a801ba697fd9ab0b598c82e702c2a948

4 years agoFix corner radius shader of the ImageVisual 82/231782/1
Heeyong Song [Tue, 14 Apr 2020 06:31:07 +0000 (15:31 +0900)]
Fix corner radius shader of the ImageVisual

It didn't work for premultiplied-alpha images.

Change-Id: I69d612112cb0f1ef132979ce830c8466a639c6f7

4 years agoAdd Pixel format for depth and stencil 73/231773/1
Seungho, Baek [Thu, 16 Apr 2020 03:47:47 +0000 (12:47 +0900)]
Add Pixel format for depth and stencil

 - add cases on the switch to control pixel enum

Change-Id: Ib9c88d92926263e24fbd18c9bbed17ee76559a71
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years agoAdd missing files 51/231751/1
Heeyong Song [Fri, 24 Apr 2020 05:26:59 +0000 (14:26 +0900)]
Add missing files

Change-Id: Iff4378f5fbc81bfd2820695839fb98f97c43d71a

4 years agoAdd missing files 50/231750/1
Heeyong Song [Fri, 24 Apr 2020 05:15:29 +0000 (14:15 +0900)]
Add missing files

Change-Id: I7c59ca2446bf0807c234caf9aa08720f00484538

4 years agoAdd missing files 28/231728/1
Heeyong Song [Fri, 24 Apr 2020 03:29:17 +0000 (12:29 +0900)]
Add missing files

Change-Id: I7731bd3121749a023fa35e2d8f5e840142e3366b

4 years agoAdd a missing file 03/231603/1
Heeyong Song [Thu, 23 Apr 2020 03:30:12 +0000 (12:30 +0900)]
Add a missing file

Change-Id: I8716d5933e7bf0ef2dd68a795ad9cead0a4f87df

4 years agoInitial copy from dali-toolkit repository 37/231537/1
Heeyong Song [Wed, 22 Apr 2020 08:16:20 +0000 (17:16 +0900)]
Initial copy from dali-toolkit repository

Change-Id: I0c3ed238c86b24b9c24e30b172cd67306923db88

4 years agoInitial empty repository master
Tizen Infrastructure [Fri, 17 Apr 2020 08:51:41 +0000 (08:51 +0000)]
Initial empty repository