platform/core/uifw/dali-toolkit.git
3 years agoMerge "[Tizen] Integration TextUtils from tizen_6.0 to tizen_5.5" into tizen_5.5 tizen_5.5
joogab yun [Mon, 15 Feb 2021 04:02:13 +0000 (04:02 +0000)]
Merge "[Tizen] Integration TextUtils from tizen_6.0 to tizen_5.5" into tizen_5.5

3 years ago[Tizen] Integration TextUtils from tizen_6.0 to tizen_5.5 59/253059/1
Joogab Yun [Tue, 2 Feb 2021 04:15:28 +0000 (13:15 +0900)]
[Tizen] Integration TextUtils from tizen_6.0 to tizen_5.5

    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

    Change Resize() to Reserve() to improve performance.

    Change-Id: I6078fb17131630a770cb770dc9f2251f1c9ae6b6

    Divide Render() into small apis

    Change-Id: If20f7a5cef20386e2aeb00cf1d3e283b10da3e93

    Add GetLastCharacterIndex().

    This returns the last character indices when the input text is rendered with the layout size.

    Change-Id: I9f6ff3226a3aeb94c19d3ad69aabc8e017f99cbe

    add minLineSize at text-utils-devel

    Change-Id: I1a11d35283b8f7b4cf14b0ae40487307b24e0a0a

    There is a problem that ellipsis does not work properly when MIN_LINE_SIZE is set.

    Update the penY value.

    Change-Id: Iaab2f2590bda4c80316262dcf4f9fcb0f5a91343

    If the size of the text is larger than the size of the control,
    setting it to VerticalAlignment::Center cuts the top and bottom of the text.

    The VerticalAlignment::CENTER setting works when the size of the control is enough.

    Change-Id: I3d35b4dfceb4297c89bddfc5c5364de4be5bc646

    add Padding parameter at RendererParameters

    Change-Id: If8d78e1363bc02b5f872119af59f6d3b89550b90

Change-Id: Ib96012d9671bbb0154cec76c7800f03590183a41

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

3 years ago[Tizen] Add web-view APIs 62/252762/1 submit/tizen_5.5/20210203.045826
huayong.xu [Thu, 12 Nov 2020 06:54:28 +0000 (14:54 +0800)]
[Tizen] Add web-view APIs

* Support scroll in web view.
* Set focus for web engine.
* Construct with program arguments.

Change-Id: I4f7bea66c7f4cca9ca902cb077a2f8f3ba08f4f4

3 years ago[Tizen] Reduce KeepRendering time in Vector visual 27/246827/1
Heeyong Song [Wed, 4 Nov 2020 09:17:56 +0000 (18:17 +0900)]
[Tizen] Reduce KeepRendering time in Vector visual

Change-Id: I64844853d7a8cb05c362cfa9910f31163e089b8d

3 years ago[Tizen] Reset the number of characters to add in deleting all texts 94/239294/1
Seoyeon Kim [Thu, 23 Jul 2020 10:57:10 +0000 (19:57 +0900)]
[Tizen] Reset the number of characters to add in deleting all texts

Change-Id: Icc5681a75eb9ed93afb2741b08861cb2974000cf
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years agoEven if ELLIPSIS is set to false and ENABLE_AUTO_SCROLL is set to true, 57/238457/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 ago[Tizen] Add circular ProgressBar style 97/236297/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200616.155039 accepted/tizen/5.5/unified/wearable/hotfix/20201027.111038 submit/tizen_5.5/20200616.080950 submit/tizen_5.5_wearable_hotfix/20201026.184305
Jiyun Yang [Tue, 9 Jun 2020 07:55:30 +0000 (16:55 +0900)]
[Tizen] Add circular ProgressBar style

* The style implements UX requirements for wearable, but it can be used in other devices too.
* The style uses arc visuals for track, secondary progress, progress and indeterminate visual.
* The progress value will change sweepAngle of the track visual.
* The indeterminate animation in the style uses visuals (e.g. track, progress) including indeterminate visual.
* Add ProgressBar::NEW(Style) to easy use of style.

Change-Id: I74c227ad2716bc829180f002abe22a28ffdef959
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[Tizen] Add VisualBase::GetType() 96/236296/1
Jiyun Yang [Tue, 9 Jun 2020 07:26:43 +0000 (16:26 +0900)]
[Tizen] Add VisualBase::GetType()

Some controls want to know the visual type when the visual is given from the user.
To do that in current DALi, it needs to call CreatePropertyMap() and get TYPE property from the map.
Instead, this patch provides an API Visual::Base::GetType() to make it easy to see what the visual type is.

Change-Id: I387a6cc43466897b2de17d3c2d9bae7dba201a10
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years ago[Tizen] Add ArcVisual 92/236292/1
Heeyong Song [Thu, 5 Mar 2020 06:03:46 +0000 (15:03 +0900)]
[Tizen] Add ArcVisual

Change-Id: I6a1838fc5db66d253bb1c41915e7d571387d968e

3 years ago[Tizen] Move constants string to visual-string-constants file 91/236291/1
huiyu.eun [Wed, 19 Feb 2020 04:45:43 +0000 (13:45 +0900)]
[Tizen] Move constants string to visual-string-constants file

Change-Id: I3ec0ca86f1d44ed8efaee7fc97374fcea531c5c4
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago[Tizen] DALi Version 1.4.52 46/234046/1 accepted/tizen/5.5/unified/20200608.142201 submit/tizen_5.5/20200608.012733
Heeyong Song [Thu, 21 May 2020 08:30:09 +0000 (17:30 +0900)]
[Tizen] DALi Version 1.4.52

Change-Id: I7847e09898014f5f536020ea2e48e21090ec352d

3 years ago[Tizen] Check if a texture is valid 01/232501/2 accepted/tizen/5.5/unified/20200507.152328 submit/tizen_5.5/20200506.070459
Heeyong Song [Wed, 6 May 2020 04:52:04 +0000 (13:52 +0900)]
[Tizen] Check if a texture is valid

Change-Id: Ia5541d3340435aa14b9254983ad42660bbb63f0f

4 years ago[Tizen] Add Pixel format for depth and stencil 66/231766/3
Seungho, Baek [Thu, 16 Apr 2020 03:47:47 +0000 (12:47 +0900)]
[Tizen] 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 agoFix SVACE issue 41/231141/2
Seungho, Baek [Fri, 17 Apr 2020 10:51:59 +0000 (19:51 +0900)]
Fix SVACE issue

Change-Id: I39b3d15f8b4dd6940f93c9ec3cf6c9c4536e2105
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years agofixed align problems when whitespaces are included accepted/tizen/5.5/unified/20200413.131101 submit/tizen_5.5/20200406.055653 submit/tizen_5.5/20200413.043500
Joogab Yun [Tue, 31 Mar 2020 01:30:13 +0000 (10:30 +0900)]
fixed align problems when whitespaces are included

    TextLabel ellipsisTest = TextLabel::New( "abcde abced                                ");
    ellipsisTest.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    ellipsisTest.SetProperty(TextLabel::Property::POINT_SIZE, 34.f);
    ellipsisTest.SetPosition(100.f, 600.f);
    ellipsisTest.SetSize( 344.f, 100.f);
    ellipsisTest.SetProperty(TextLabel::Property::HORIZONTAL_ALIGNMENT, "CENTER");
    stage.Add( ellipsisTest );

Change-Id: I1641df673a9407e085da8645737f292d73fc8f0f

4 years ago[Tizen] Add Jump_to frame and StopBehavior of Animated-image-visual(agif) 55/229355/1 accepted/tizen/5.5/unified/20200402.163459 submit/tizen_5.5/20200331.090851 submit/tizen_5.5/20200401.012953
Seungho, Baek [Thu, 12 Mar 2020 07:39:50 +0000 (16:39 +0900)]
[Tizen] Add Jump_to frame and StopBehavior of Animated-image-visual(agif)

 - Added Jump_to action. To directly go to a frame.
 - Added StopBehavior to stop agif at the first, current, and last frame

Change-Id: I76fe813fd694df89e8cc8748cc2a82b69ed7a613
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years ago[Tizen] Fix issue, agif to play a number of times of loopcount. 54/229354/1
Seungho, Baek [Fri, 27 Mar 2020 04:38:44 +0000 (13:38 +0900)]
[Tizen] Fix issue, agif to play a number of times of loopcount.

Change-Id: Ifc213ed03f3b5f1c0340d24e406781fcc2ce356f
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
4 years ago[Tizen] Change the fitting mode to FILL 04/228404/1 accepted/tizen/5.5/unified/20200324.134413 submit/tizen_5.5/20200323.103955
Joogab Yun [Fri, 20 Mar 2020 10:42:02 +0000 (19:42 +0900)]
[Tizen] Change the fitting mode to FILL

Change-Id: I4411137c6f66028032df778f17e88935db025f1e

4 years agoMerge "[Tizen] Support rounded corners for Visual" into tizen_5.5 accepted/tizen/5.5/unified/20200311.131106 submit/tizen_5.5/20200310.033529
JIYUN YANG [Fri, 6 Mar 2020 06:15:03 +0000 (06:15 +0000)]
Merge "[Tizen] Support rounded corners for Visual" into tizen_5.5

4 years ago[Tizen] Support rounded corners for Visual 40/226740/1
Heeyong Song [Thu, 13 Feb 2020 07:02:29 +0000 (16:02 +0900)]
[Tizen] Support rounded corners for Visual

Change-Id: I7e2dcc635cf1f62d31df995f42e1a31d5cebfcb6

4 years agoWhen calculating the layout size, the problem occurs.
Joogab Yun [Wed, 26 Feb 2020 06:24:32 +0000 (15:24 +0900)]
When calculating the layout size, the problem occurs.
because it is calculated smaller when ReorderBiDiLayout() in RTL language.

For example, if layout.length is calculated as 487 in GetLineLayoutForBox()
but length is calculated as 482 in ReorderBiDiLayout()
(SetResizePolicy is USE_NATURAL_SIZE and Set MULTI_LINE)

sample)
    TextLabel labe21 = TextLabel::New();
    labe21.SetResizePolicy( ResizePolicy::USE_NATURAL_SIZE, Dimension::WIDTH );
    labe21.SetResizePolicy( ResizePolicy::USE_NATURAL_SIZE, Dimension::HEIGHT );
    labe21.SetProperty(Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap);
    labe21.SetParentOrigin(ParentOrigin::TOP_LEFT);
    labe21.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    labe21.SetProperty(TextLabel::Property::POINT_SIZE, 34.f);
    labe21.SetPosition( 145.f, 100.f);
    labe21.SetProperty( TextLabel::Property::HORIZONTAL_ALIGNMENT, "END" );
    labe21.SetProperty(Dali::Toolkit::TextLabel::Property::TEXT,  "مرحبا بالعالم Hello world" );

Change-Id: I1c56ec9a7e54521e55e72fbf28ad8438ea9e718d

4 years agoMerge "[Tizen] Update UTF8 text array for 5 and 6 bytes" into tizen_5.5 accepted/tizen/5.5/unified/20200303.170632 submit/tizen_5.5/20200302.062643 submit/tizen_5.5/20200302.064454 submit/tizen_5.5/20200303.011028
Seoyeon Kim [Thu, 27 Feb 2020 10:53:02 +0000 (10:53 +0000)]
Merge "[Tizen] Update UTF8 text array for 5 and 6 bytes" into tizen_5.5

4 years ago[Tizen] Update UTF8 text array for 5 and 6 bytes 76/226176/1
Seoyeon Kim [Fri, 7 Feb 2020 05:03:46 +0000 (14:03 +0900)]
[Tizen] Update UTF8 text array for 5 and 6 bytes

- Update start and end offsets encoded in UTF8
- Add U5 and U6 cases to UTF8 array

Change-Id: I6e84df7bb0673f62e09c8f55c6ae08f2c839b13e
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[Tizen] Disable premultiplied alpha when the Image is used 50/226150/1
Heeyong Song [Thu, 27 Feb 2020 06:27:57 +0000 (15:27 +0900)]
[Tizen] Disable premultiplied alpha when the Image is used

Change-Id: I499a860235c6efc741453701fe0daefb500441eb

4 years agoFixes a layout bug with the COMBINING GRAVE ACCENT ' ̀'
Joogab Yun [Mon, 24 Feb 2020 09:16:37 +0000 (18:16 +0900)]
Fixes a layout bug with the COMBINING GRAVE ACCENT ' ̀'

* The layout engine failed to calculate correctly the length
  of the line if that character is used in the last position.

if HORIZONTAL_ALIGNMENT is END, this is a problem.

    example)
    Property::Map backgroundMap;
    backgroundMap["color"] = Color::RED;
    backgroundMap["enable"] = true;
    TextLabel testLabel = TextLabel::New( "Àwọn àgbétẹ́lẹ̀");
    testLabel.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    testLabel.SetProperty(TextLabel::Property::POINT_SIZE, 34.f);
    testLabel.SetPosition(100.f, 100.f);
    testLabel.SetSize( 544.f, 100.f);
    testLabel.SetProperty(TextLabel::Property::HORIZONTAL_ALIGNMENT, "END");
    testLabel.SetProperty(Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap);
    stage.Add( testLabel );

Change-Id: Ic66fd96cc010eada7187502b9b65e2b408eff2cd

4 years ago[Tizen] Add child flex node with its margin 23/225223/1 accepted/tizen/5.5/unified/20200220.122546 submit/tizen_5.5/20200220.042812
neostom432 [Tue, 11 Feb 2020 03:33:17 +0000 (12:33 +0900)]
[Tizen] Add child flex node with its margin

To set margin to FlexLayout child, we should know its margin.
Unfortunately, Margin is set to view's layout object when using layout so we cannot know it in DALi side.

So, make new api which can pass child's margin.

Change-Id: I7f9708eef332a6d9d4d541ddce439e9bc723066f

4 years ago[Tizen] Add log for image file loading failure 58/224658/1 accepted/tizen/5.5/unified/20200219.071431 submit/tizen_5.5/20200214.020309 submit/tizen_5.5/20200217.020405 submit/tizen_5.5/20200218.013117
Heeyong Song [Wed, 12 Feb 2020 06:56:20 +0000 (15:56 +0900)]
[Tizen] Add log for image file loading failure

Change-Id: If5bffc5563be5aefd9c6177fb2feaf1985aaece4

4 years ago[Tizen] Emit ResourceReady signal in SvgVisual in case of loading failure 86/223786/1 accepted/tizen/5.5/unified/20200206.060322 submit/tizen_5.5/20200205.062646 submit/tizen_5.5/20200212.054229
Heeyong Song [Fri, 31 Jan 2020 07:52:07 +0000 (16:52 +0900)]
[Tizen] Emit ResourceReady signal in SvgVisual in case of loading failure

Change-Id: I0f52fb5f298b5cfe1b5e13eb78c330b044d55149

4 years ago[Tizen] We also need to change the cursor position when the layout direction changes. 52/223152/1
Joogab Yun [Thu, 23 Jan 2020 10:03:23 +0000 (19:03 +0900)]
[Tizen] We also need to change the cursor position when the layout direction changes.

Change-Id: Ic375712defefcac598ac4d23e20f35acc46b94e5

4 years ago[Tizen] add ALIGN operation when changed layout direction 43/223143/1
Joogab Yun [Thu, 23 Jan 2020 07:59:52 +0000 (16:59 +0900)]
[Tizen] add ALIGN operation when changed layout direction

Change-Id: I9253b39490adaa6f7eae080b5b3829638baf23a6

4 years agoAdd api for get the internal media player handle of the VideoView accepted/tizen/5.5/unified/20200128.122313 submit/tizen_5.5/20200123.060916
Joogab Yun [Mon, 13 Jan 2020 08:17:54 +0000 (17:17 +0900)]
Add api for get the internal media player handle of the VideoView

Change-Id: I1671caaa688038c6ee15622c72317b4c90487b98

4 years ago[Tizen] Fix an issue not to unload alpha mask texture 69/222869/1
Heeyong Song [Mon, 20 Jan 2020 04:09:49 +0000 (13:09 +0900)]
[Tizen] Fix an issue not to unload alpha mask texture

ImageVisual needs the alpha mask texture id to unload the texture

Change-Id: I6fe7a1b362cfbba27cdc9eba7e9ec3b3bcee087d

4 years agoEllipsis sometimes appears incorrect when mixed with RTL + LTR accepted/tizen/5.5/unified/20200121.041230 submit/tizen_5.5/20200120.082613
Joogab Yun [Wed, 15 Jan 2020 06:11:27 +0000 (15:11 +0900)]
Ellipsis sometimes appears incorrect when mixed with RTL + LTR

sample)
    textRTL = TextLabel::New("فصل 3 قسط  6 - Line of Duty");
    textRTL.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    textRTL.SetSize( 320, 200.f);
    textRTL.SetProperty( TextLabel::Property::POINT_SIZE, 20.f);
    textRTL.SetPosition(  50.f, 300.f);
    stage.Add( textRTL );

Change-Id: Ice8186431b6914286a99366a8c3347529dbb0c1c

4 years agoMerge "[Tizen] Remove the texture element from the load queue" into tizen_5.5
Heeyong Song [Thu, 16 Jan 2020 07:54:36 +0000 (07:54 +0000)]
Merge "[Tizen] Remove the texture element from the load queue" into tizen_5.5

4 years ago[Tizen] Remove the texture element from the load queue 62/222562/1
Heeyong Song [Thu, 16 Jan 2020 05:55:02 +0000 (14:55 +0900)]
[Tizen] Remove the texture element from the load queue

The observer can be deleted before the load queue is processed.
Remove the load element from the queue when the texture is removed.

Change-Id: Id2242a84088486827e99a78f0923bde3863deaf8

4 years ago[Tizen]Change size for new visual using initialized transformMap when mVisual is... 82/222482/1
Sunghyun kim [Wed, 15 Jan 2020 09:27:23 +0000 (18:27 +0900)]
[Tizen]Change size for new visual using initialized transformMap when mVisual is not updated.

When the size was set for the new visual, there was an issue that the previous transformMap was set together.
so in order to prevent this, The new visual has been changed to use the initialized map.

Change-Id: I1ce1b735691e1b4963c3d4f3faf07d2c148ad478

4 years agoMerge "[Tizen]Unload AlphaMask when application set empty path" into tizen_5.5
sunghyun kim [Mon, 13 Jan 2020 06:58:06 +0000 (06:58 +0000)]
Merge "[Tizen]Unload AlphaMask when application set empty path" into tizen_5.5

4 years ago[Tizen]Unload AlphaMask when application set empty path 63/222263/3
Sunghyun kim [Mon, 13 Jan 2020 05:41:25 +0000 (14:41 +0900)]
[Tizen]Unload AlphaMask when application set empty path

If an application sets an empty path to the alpha mask, unload the alpha mask.

Change-Id: Ieeaaddd0e999e08778ff84c35e1c601dbdd8b038

4 years ago[Tizen](Vector) Fix memory leak 56/222256/1
Heeyong Song [Mon, 13 Jan 2020 05:05:50 +0000 (14:05 +0900)]
[Tizen](Vector) Fix memory leak

Sometimes the VectorAnimationTask was not destructed because it tried to rasterize repeatedly.

Change-Id: I308cba1d2affb6378a5419721ab225de3c312677

4 years ago[Tizen] TextFit : modified it work even if you change the size
Joogab Yun [Sat, 11 Jan 2020 22:37:02 +0000 (07:37 +0900)]
[Tizen] TextFit : modified it work even if you change the size

 // text fit test
   Property::Map backgroundMap;
   backgroundMap["color"] = Color::RED;
   backgroundMap["enable"] = true;

   Property::Map textFitMap;
   textFitMap["enable"] = true;
   textFitMap["minSize"] = 10.f;
   textFitMap["maxSize"] = 60.f;
   textFitMap["stepSize"] = 4.f;
   textFitMap["fontSizeType"] = "pointSize";

   width = 700;
   height = 100;
   textFit = TextLabel::New(  "Long enough message for TextLabel!! This is a Text Fit sample text " );
   textFit.SetSize( width, height );
   textFit.SetParentOrigin(ParentOrigin::TOP_LEFT);
   textFit.SetAnchorPoint(AnchorPoint::TOP_LEFT);
   textFit.SetPosition( 100.f, 300.f);
   textFit.SetProperty( Toolkit::DevelTextLabel::Property::TEXT_FIT, textFitMap );
   textFit.SetProperty( Toolkit::DevelTextLabel::Property::BACKGROUND, backgroundMap );
   stage.Add( textFit );

   stage.KeyEventSignal().Connect( this, &HelloWorldController::OnKeyEvent );
  }

  void OnKeyEvent( const KeyEvent& event )
  {
    if( event.state == KeyEvent::Down )
    {
      width -= 40;
      textFit.SetSize( width, height );
    }
  }

Change-Id: Ie7f3cd5cc5e0fa581f8e4912ccb5e88049499f31

4 years ago[Tizen] Fix svg image not shown problem in store(APPS) 31/222231/1
Dongsug Song [Sat, 11 Jan 2020 05:55:20 +0000 (14:55 +0900)]
[Tizen] Fix svg image not shown problem in store(APPS)

Change-Id: I3c2ff76c4cad2dd9fdc7ee3768771677621e59bc

4 years ago[Tize] Change svg visual to load file using nanosvg 94/222194/1
huiyu.eun [Fri, 10 Jan 2020 09:04:14 +0000 (18:04 +0900)]
[Tize] Change svg visual to load file using nanosvg

Change-Id: I90d469dade4237f55759f9cd8073bd9878fc805a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[Tizen] Change the state of EventData to EDITING in RemoveText 95/221495/2
Seoyeon Kim [Thu, 2 Jan 2020 10:00:02 +0000 (19:00 +0900)]
[Tizen] Change the state of EventData to EDITING in RemoveText

- Currently, in certain cases, even if Backspace key is pressed
 after cursor blink is stopped, cursor blink does not restart and
 the cursor is also not shown.

- It means, after EventData is changed to INACTIVE state due to
 KeyboardFocusLostEvent(), StopCursorBlink() is called.
  After that, in RemoveText(), which is called in Backspace key,
 EventData cannot be changed to EDITING state and StartCursorBlink() is not called.
  On the other hand, when the character commits or the arrow keys are pressed,
 EventData is changed to EDITING state and the cursor is displayed on screen.

- So, added 'ChangeState( EventData::EDITING )' when the state is INACTIVE.

Change-Id: Ib79dfdc6f7308d084772f62dc49918a694cfc438
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[Tizen] If matchSystemLanguageDirection is set, it must follow the direction of the... 40/221440/1
Joogab Yun [Tue, 31 Dec 2019 05:20:09 +0000 (14:20 +0900)]
[Tizen] If matchSystemLanguageDirection is set, it must follow the direction of the stage.

Change-Id: I05d25ad67d43a2303d4902f120a026b14e1ac2e4

4 years ago[Tizen] Fix svg memory issue 19/221419/1
huiyu.eun [Thu, 2 Jan 2020 07:49:53 +0000 (16:49 +0900)]
[Tizen] Fix svg memory issue

- fix heap-buffer-overflow issue
- nsvgParse : Parses SVG file from a null terminated string.

Change-Id: I09edc74929709e3f451bd308ebff88fe1729bd87
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[Tizen](Vector) Add task even when StopAnimation is called 39/221339/1 accepted/tizen/5.5/unified/20200102.110131 submit/tizen_5.5/20200102.004531
Heeyong Song [Tue, 31 Dec 2019 08:17:40 +0000 (17:17 +0900)]
[Tizen](Vector) Add task even when StopAnimation is called

Change-Id: Ifc4e970a1ea64e33f8d81fe38871cd6ab7af3121

4 years ago[Tizen](Vector) Ignore rendered frames when the vector rendering is failed repeatedly 49/221249/1
Heeyong Song [Mon, 30 Dec 2019 09:20:39 +0000 (18:20 +0900)]
[Tizen](Vector) Ignore rendered frames when the vector rendering is failed repeatedly

Change-Id: I20b94a698a882c2938c3555d7586f0af94e3d05f

4 years ago[Tizen] Download remote svg file 84/221184/4
huiyu.eun [Mon, 30 Dec 2019 04:23:27 +0000 (13:23 +0900)]
[Tizen] Download remote svg file

Change-Id: I115ba51843a448015b3c136de0570a3078a92ab6
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years agoRevert "[Tizen] Download remote svg file" 83/221183/3
huiyu.eun [Mon, 30 Dec 2019 03:39:00 +0000 (12:39 +0900)]
Revert "[Tizen] Download remote svg file"

This reverts commit 658c7cbfb9373e2ec8eb028b9c90d619b466326b.

Change-Id: I455420101ede8c2b85748ddcb31fedeb97c106f3

4 years agoMerge "[Tizen] Add TextField BACKGROUND property and more Preedit style options"... accepted/tizen/5.5/unified/20200102.013929 submit/tizen_5.5/20191227.100026 submit/tizen_5.5/20191230.003219
Seoyeon Kim [Fri, 27 Dec 2019 09:14:49 +0000 (09:14 +0000)]
Merge "[Tizen] Add TextField BACKGROUND property and more Preedit style options" into tizen_5.5

4 years ago[Tizen](Vector) Increase KeepRendering duration
Joogab Yun [Fri, 27 Dec 2019 08:50:26 +0000 (17:50 +0900)]
[Tizen](Vector) Increase KeepRendering duration

This reverts commit d024b147d20a6706eab49e746213f7c7066c5600.

Change-Id: Ib1f5113a81ed2be78f53c6f02c9f0b624004a608

4 years ago[Tizen](Vector) Ensure that all animation data is applied at once
Joogab Yun [Fri, 27 Dec 2019 08:49:02 +0000 (17:49 +0900)]
[Tizen](Vector) Ensure that all animation data is applied at once

This reverts commit e739aba4e8399de7126916116b8dbbcf0595928b.

Change-Id: I5a69c9dece6ff85a3c514ef89a516a45de04a966

4 years ago[Tizen] Download remote svg file
Joogab Yun [Fri, 27 Dec 2019 08:45:59 +0000 (17:45 +0900)]
[Tizen] Download remote svg file

This reverts commit f34a009ccaa4160c7cbb6d770bc09b47f6fbceb9.

Change-Id: I0b70f950de1fc406738b15e2da36e5bc49f2bd23

4 years ago[Tizen](Vector) Stop the animation when the actor is off-stage or invisible
Joogab Yun [Fri, 27 Dec 2019 08:45:42 +0000 (17:45 +0900)]
[Tizen](Vector) Stop the animation when the actor is off-stage or invisible

This reverts commit c3253649f11657a53f9aafdc781c6456b56bcd67.

Change-Id: I95e643091bcb53b778f151058210c08c68faffbd

4 years ago[Tizen] Add AutofillContainer class and autofill implementation
Joogab Yun [Fri, 27 Dec 2019 08:45:28 +0000 (17:45 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation

This reverts commit 910b01e7d683e80320b452832fd9f91a5de77e67.

Change-Id: I8ec81c21ec5c41f3d957c7c66c7b4e6c4445577e

4 years ago[Tizen] Add AlphaMask to synchronousLoading
Joogab Yun [Fri, 27 Dec 2019 08:44:07 +0000 (17:44 +0900)]
[Tizen] Add AlphaMask to synchronousLoading

This reverts commit 88d12807a2c8ca2d6936df37c39833579ce4bd82.

Change-Id: Ieda9e804e7418968453ee056175ee51d90ed2c9b

4 years ago[Tizen] Restore behavior of Uploaded and LoadingFinished signal
Joogab Yun [Fri, 27 Dec 2019 08:43:53 +0000 (17:43 +0900)]
[Tizen] Restore behavior of Uploaded and LoadingFinished signal

This reverts commit 9d2923b8d6cc7546491011c883a4e1f352cd3af6.

Change-Id: I61efb620f6d2750cac2e4ea0d1427068836a683c

4 years agoMerge branch 'devel/master' into tizen_5.5
Joogab Yun [Fri, 27 Dec 2019 08:43:43 +0000 (17:43 +0900)]
Merge branch 'devel/master' into tizen_5.5

4 years agoRevert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
Joogab Yun [Fri, 27 Dec 2019 08:41:45 +0000 (17:41 +0900)]
Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"

This reverts commit dfc7ee9793bf4b7b10089d1bfbf8395d38e1bdf5.

4 years agoRevert "[Tizen] Add AlphaMask to synchronousLoading"
Joogab Yun [Fri, 27 Dec 2019 08:41:39 +0000 (17:41 +0900)]
Revert "[Tizen] Add AlphaMask to synchronousLoading"

This reverts commit 0f64d3e70ed8ab250e9eebdf3d1dded5eea5493d.

4 years agoRevert "[Tizen] Add AutofillContainer class and autofill implementation"
Joogab Yun [Fri, 27 Dec 2019 08:41:34 +0000 (17:41 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"

This reverts commit ed4908b9a48f86fe43f4c05d636f2476f1925fe4.

4 years agoRevert "[Tizen](Vector) Stop the animation when the actor is off-stage or invisible"
Joogab Yun [Fri, 27 Dec 2019 08:41:27 +0000 (17:41 +0900)]
Revert "[Tizen](Vector) Stop the animation when the actor is off-stage or invisible"

This reverts commit 58398f4786cfda817f17b371efdda4154f12de6b.

4 years agoRevert "[Tizen] Download remote svg file"
Joogab Yun [Fri, 27 Dec 2019 08:41:23 +0000 (17:41 +0900)]
Revert "[Tizen] Download remote svg file"

This reverts commit 658c7cbfb9373e2ec8eb028b9c90d619b466326b.

4 years agoRevert "[Tizen](Vector) Ensure that all animation data is applied at once"
Joogab Yun [Fri, 27 Dec 2019 08:41:04 +0000 (17:41 +0900)]
Revert "[Tizen](Vector) Ensure that all animation data is applied at once"

This reverts commit 175d74ab98dd2f89726ce6594a08d65e0d01056f.

4 years agoRevert "[Tizen](Vector) Increase KeepRendering duration"
Joogab Yun [Fri, 27 Dec 2019 08:40:59 +0000 (17:40 +0900)]
Revert "[Tizen](Vector) Increase KeepRendering duration"

This reverts commit dd25665ec90039c770693d117a916a2e94ae0380.

4 years agoRevert "[Tizen] Merge shadow code from devel/master"
Joogab Yun [Fri, 27 Dec 2019 08:40:54 +0000 (17:40 +0900)]
Revert "[Tizen] Merge shadow code from devel/master"

This reverts commit 9a1e1beefe823f8b7810aa1857d21e35cfc5fb40.

4 years agoRevert "[Tizen](Vector) Check if the renderer is valid"
Joogab Yun [Fri, 27 Dec 2019 08:40:46 +0000 (17:40 +0900)]
Revert "[Tizen](Vector) Check if the renderer is valid"

This reverts commit a36ebbd3f2118dfcac7c931ac4efc8314dee393e.

4 years ago[Tizen] Add TextField BACKGROUND property and more Preedit style options 24/221124/1
Seoyeon Kim [Wed, 27 Nov 2019 05:47:25 +0000 (14:47 +0900)]
[Tizen] Add TextField BACKGROUND property and more Preedit style options

Change-Id: Ia4ce089bbee50bac45542268ef9ddaada8c9a657
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years agosscanf() returns incorrect results depending on the locale. 06/221106/2
Joogab Yun [Fri, 27 Dec 2019 06:10:55 +0000 (15:10 +0900)]
sscanf() returns incorrect results depending on the locale.

So, to use nsvg__atof () to get the correct value.

*this patch is taken from the latest nanosvg source.

Change-Id: I157e26edc1e4a3aedec5fb86043a9beba7e71489

4 years ago[Tizen](Vector) Check if the renderer is valid 64/221064/1
Heeyong Song [Fri, 27 Dec 2019 01:40:40 +0000 (10:40 +0900)]
[Tizen](Vector) Check if the renderer is valid

Change-Id: I85ed2170189a509310639cb2479508d3d33ccffd

4 years ago[Tizen] Merge shadow code from devel/master 40/221040/1
Jiyun Yang [Wed, 18 Dec 2019 05:52:32 +0000 (14:52 +0900)]
[Tizen] Merge shadow code from devel/master

Add property SHADOW to Control
(4d3140d11ea9df2cf933d32419f49fc5e63fa4a9)

Move shadow APIs to Internal::Control::Impl from Internal::Control
(1061baa5912952ac998c34584b1e2e5e030e0e5f)

* The SHADOW will take a set of properties as a map type
* Same as BACKGROUND, it can be any type of visuals

Change-Id: I87588c2443d6935980f82f508ad4b1cb05fa216e
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Tizen](Vector) Increase KeepRendering duration 05/221005/1
Heeyong Song [Thu, 26 Dec 2019 08:11:10 +0000 (17:11 +0900)]
[Tizen](Vector) Increase KeepRendering duration

Change-Id: I7b83bb3bb2b0d1fb6277bd1cadcdc27b1f331a50

4 years ago[Tizen](Vector) Ensure that all animation data is applied at once 03/221003/2
Heeyong Song [Thu, 19 Dec 2019 10:10:41 +0000 (19:10 +0900)]
[Tizen](Vector) Ensure that all animation data is applied at once

Change-Id: I163a8b54148b95b18a40b00b8ec9b8931d45c30f

4 years agoRevert "[Tizen](Vector) Increase KeepRendering duration" 02/221002/1
Heeyong Song [Thu, 26 Dec 2019 08:04:24 +0000 (17:04 +0900)]
Revert "[Tizen](Vector) Increase KeepRendering duration"

This reverts commit 183badafec5e5758a48ce11657891646e141cc1b.

Change-Id: I23f423f979688635e3a17799d15e53528bd6e9e6

4 years agoRevert "[Tizen](Vector) Fix crash issues" 01/221001/1
Heeyong Song [Thu, 26 Dec 2019 07:44:38 +0000 (16:44 +0900)]
Revert "[Tizen](Vector) Fix crash issues"

This reverts commit e396a42c0185be1331eddb5569b84968fb1510f3.

Change-Id: I3766e5d851fa972783f429e98eae462c84109b56

4 years ago[Tizen] Download remote svg file 96/220896/11 submit/tizen_5.5/20191226.075037
huiyu.eun [Mon, 23 Dec 2019 11:14:56 +0000 (20:14 +0900)]
[Tizen] Download remote svg file

Change-Id: I39c0ea28d35dd0bb37b9181ae7d302aa3d318845

4 years ago[Tizen](Vector) Stop the animation when the actor is off-stage or invisible 82/220882/1
Heeyong Song [Tue, 24 Dec 2019 07:32:54 +0000 (16:32 +0900)]
[Tizen](Vector) Stop the animation when the actor is off-stage or invisible

Change-Id: I3919557bc961ed39300fc1885885cb52242680a4

4 years agoMove shadow APIs to Internal::Control::Impl from Internal::Control 64/220864/1
Jiyun Yang [Tue, 24 Dec 2019 05:43:36 +0000 (14:43 +0900)]
Move shadow APIs to Internal::Control::Impl from Internal::Control

Change-Id: I86bef469e54996bb83fddfa3b36d07970549d227
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago(Vector) Ensure the current frame is not out of the play range 77/220477/3
Heeyong Song [Wed, 18 Dec 2019 10:55:57 +0000 (19:55 +0900)]
(Vector) Ensure the current frame is not out of the play range

Change-Id: I7077b0de7133f4282b66d2c4de2a1ce6b8555256

4 years agoMerge "DALi Version 1.4.51" into devel/master
Adeel Kazmi [Fri, 20 Dec 2019 10:46:07 +0000 (10:46 +0000)]
Merge "DALi Version 1.4.51" into devel/master

4 years agoDALi Version 1.4.51 26/220726/1 dali_1.4.51
Cheng-Shiun Tsai [Fri, 20 Dec 2019 10:33:00 +0000 (10:33 +0000)]
DALi Version 1.4.51

Change-Id: I70d64760f7298bfdcb132ba9a27ee452a93b96c8

4 years agoMerge "Add property SHADOW to Control" into devel/master
HyunJu Shin [Fri, 20 Dec 2019 09:57:27 +0000 (09:57 +0000)]
Merge "Add property SHADOW to Control" into devel/master

4 years ago[Tizen](Vector) Ensure the current frame is not out of the play range 15/220515/1 accepted/tizen/5.5/unified/20191228.075102 submit/tizen_5.5/20191219.061022 submit/tizen_5.5/20191219.070549 submit/tizen_5.5/20191223.020122 submit/tizen_5.5/20191223.102805
Heeyong Song [Wed, 18 Dec 2019 10:55:57 +0000 (19:55 +0900)]
[Tizen](Vector) Ensure the current frame is not out of the play range

Change-Id: I5dd857e3c1a63eb54b27bbcae18a793f09605668

4 years ago[Tizen](Vector) Fix crash issues 14/220514/1
Heeyong Song [Fri, 29 Nov 2019 08:11:30 +0000 (17:11 +0900)]
[Tizen](Vector) Fix crash issues

Change-Id: I881285162317da9b095b0e29dabba1936b8f4b31

4 years ago[Tizen](Vector) Increase KeepRendering duration 13/220513/1
Heeyong Song [Fri, 25 Oct 2019 07:24:24 +0000 (16:24 +0900)]
[Tizen](Vector) Increase KeepRendering duration

Change-Id: I8eb99b166c1305b34628ba8e9ccfd413fae45905

4 years ago[Tizen] Add AutofillContainer class and autofill implementation
Wonsik Jung [Thu, 19 Dec 2019 03:34:43 +0000 (12:34 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation

4 years ago[Tizen] Add AlphaMask to synchronousLoading
Wonsik Jung [Thu, 19 Dec 2019 03:34:12 +0000 (12:34 +0900)]
[Tizen] Add AlphaMask to synchronousLoading

4 years ago[Tizen] Restore behavior of Uploaded and LoadingFinished signal
Wonsik Jung [Thu, 19 Dec 2019 03:33:39 +0000 (12:33 +0900)]
[Tizen] Restore behavior of Uploaded and LoadingFinished signal

4 years agoMerge branch 'devel/master' into tizen_5.5
Wonsik Jung [Thu, 19 Dec 2019 03:33:27 +0000 (12:33 +0900)]
Merge branch 'devel/master' into tizen_5.5

4 years agoRevert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
Wonsik Jung [Thu, 19 Dec 2019 02:28:22 +0000 (11:28 +0900)]
Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"

This reverts commit 203350455d3109855004e4eb239f2e2981bd7f8e.

4 years agoRevert "[Tizen] Add AlphaMask to synchronousLoading"
Wonsik Jung [Thu, 19 Dec 2019 02:28:19 +0000 (11:28 +0900)]
Revert "[Tizen] Add AlphaMask to synchronousLoading"

This reverts commit 2d575e2d7a23ef6734066873da054d4d0db3d055.

4 years agoRevert "[Tizen] Add AutofillContainer class and autofill implementation"
Wonsik Jung [Thu, 19 Dec 2019 02:28:16 +0000 (11:28 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"

This reverts commit 0905b74ff52fde63e30ee285f09a572082d2c3f3.

4 years agoRevert "[Tizen] (Vector) Increase KeepRendering duration"
Wonsik Jung [Thu, 19 Dec 2019 02:28:11 +0000 (11:28 +0900)]
Revert "[Tizen] (Vector) Increase KeepRendering duration"

This reverts commit d1df5e4b286d364d1994ed3b85759c6183486935.

4 years agoRevert "[Tizen] (Vector) Fix a crash issue"
Wonsik Jung [Thu, 19 Dec 2019 02:28:08 +0000 (11:28 +0900)]
Revert "[Tizen] (Vector) Fix a crash issue"

This reverts commit 3a2c922dde6bf6eac3c20e71e8950a22d83ff69b.

4 years agoRevert "[Tizen] Fix npatch loader issue"
Wonsik Jung [Thu, 19 Dec 2019 02:28:05 +0000 (11:28 +0900)]
Revert "[Tizen] Fix npatch loader issue"

This reverts commit 4579416645b6134b0ad6b02efa52918ed58065aa.

4 years agoRevert "[Tizen](Vector) Fix crash issues"
Wonsik Jung [Thu, 19 Dec 2019 02:28:01 +0000 (11:28 +0900)]
Revert "[Tizen](Vector) Fix crash issues"

This reverts commit 9e3b1802aa5e78915f866f65f3205a81a7171022.

4 years agoRevert "[Tizen](Vector) Ensure the current frame is not out of the play range"
Wonsik Jung [Thu, 19 Dec 2019 02:27:58 +0000 (11:27 +0900)]
Revert "[Tizen](Vector) Ensure the current frame is not out of the play range"

This reverts commit ad314f8d50d653a269158e01ecf3f89b002d8876.

4 years ago[Tizen](Vector) Ensure the current frame is not out of the play range 76/220476/1
Heeyong Song [Wed, 18 Dec 2019 10:55:57 +0000 (19:55 +0900)]
[Tizen](Vector) Ensure the current frame is not out of the play range

Change-Id: I7077b0de7133f4282b66d2c4de2a1ce6b8555256

4 years agoUpdate tizen document URL 69/220469/1
Seoyeon Kim [Wed, 18 Dec 2019 10:29:24 +0000 (19:29 +0900)]
Update tizen document URL

- According to the address change of tizen documents,
  the site URL in dali-toolkit-doc.h has been updated.

Change-Id: Ief8d5b9425bf995e9171c66c37893d800aeab4e1
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years agoAdd property SHADOW to Control 29/220429/2
Jiyun Yang [Wed, 18 Dec 2019 05:52:32 +0000 (14:52 +0900)]
Add property SHADOW to Control

* The SHADOW will take a set of properties as a map type
* Same as BACKGROUND, it can be any type of visuals

Change-Id: I0b203929021f2c2cda01af4131a9f3f0baaa86ac
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>