Wonsik Jung [Tue, 10 Nov 2020 06:42:46 +0000 (15:42 +0900)]
Revert "[Tizen] Fix Animated Image Visual issue of using same file in multiple visual"
This reverts commit
7d031a7b10e373f27b1093f47f7c93ab33255bdf.
Wonsik Jung [Tue, 10 Nov 2020 06:42:43 +0000 (15:42 +0900)]
Revert "[Tizen] Stop observing visuals when a control is destroyed"
This reverts commit
4f58faf22aca8b73194a558886ca85e140ba651e.
Heeyong Song [Mon, 9 Nov 2020 07:30:18 +0000 (16:30 +0900)]
[Tizen] Stop observing visuals when a control is destroyed
Change-Id: I6c46f3090cfb8235ed0a081ab328d48c410f039e
seungho [Thu, 29 Oct 2020 01:40:10 +0000 (10:40 +0900)]
[Tizen] Fix Animated Image Visual issue of using same file in multiple visual
This reverts commit
05cb591f1bb95e227237691d74e6d3fb3306ed48.
Change-Id: I6fc8d9653aea6d36c86d9b687b2e1f2d6025b273
seungho [Thu, 29 Oct 2020 01:39:51 +0000 (10:39 +0900)]
[Tizen] Set custom fragment shader to the visual used in WebView
This reverts commit
46e03835e2cee2ce22a924204346a75ffe06a45b.
Change-Id: Ia2978464e8b5188f628548ea30dd151a7b1db5c6
seungho [Wed, 28 Oct 2020 12:38:52 +0000 (21:38 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
2534fdca51d6143d068f4172e118b724ecab14d1.
Change-Id: I629a3d563e48864ac233b40abc69117fb857c50f
seungho [Wed, 28 Oct 2020 12:26:47 +0000 (21:26 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I803d836915a0025af0b5e4e173b9055948af28cd
seungho [Wed, 28 Oct 2020 12:26:41 +0000 (21:26 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
aa9863fcaaf25beecb077ab63dfd2136aa20d755.
seungho [Wed, 28 Oct 2020 12:26:39 +0000 (21:26 +0900)]
Revert "[Tizen] Revert "Changes after touch consumed behaviour change""
This reverts commit
746ebfed348c504b732dcb3f55c92a39b5643414.
seungho [Wed, 28 Oct 2020 12:26:35 +0000 (21:26 +0900)]
Revert "Tizen] Set custom fragment shader to the visual used in WebView"
This reverts commit
cc7e3a18683f184fd9b392b081c83b7963cfc60e.
seungho [Wed, 28 Oct 2020 12:26:34 +0000 (21:26 +0900)]
Revert "[Tizen] Fix Animated Image Visual issue of using same file in multiple visual"
This reverts commit
6feedf506f712d61c0e57097dfbb1acd429c0e8c.
seungho [Wed, 28 Oct 2020 09:00:59 +0000 (18:00 +0900)]
[Tizen] Fix Animated Image Visual issue of using same file in multiple visual
Change-Id: I92c44cede1d595fd3c278bf71e5200a6b6d70c2e
Signed-off-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
David Steele [Fri, 23 Oct 2020 14:36:24 +0000 (15:36 +0100)]
Updated patch-coverage.pl script
Change-Id: If8394b2ababc4d6769b3ce04420c855778e0c4b5
adam.b [Fri, 23 Oct 2020 10:45:12 +0000 (11:45 +0100)]
DALi Version 1.9.35
Change-Id: Iabc8524442885da5491f1d1d57de887698ae9aca
Adeel Kazmi [Thu, 22 Oct 2020 19:09:20 +0000 (19:09 +0000)]
Merge "(Text Controller Impl) Moved event handling related methods into a separate struct" into devel/master
Adeel Kazmi [Thu, 15 Oct 2020 08:57:27 +0000 (09:57 +0100)]
(Text Controller Impl) Moved event handling related methods into a separate struct
Change-Id: I0e9f942f7dce110467dd283c08859f6c97e2b4e6
David Steele [Thu, 22 Oct 2020 17:05:44 +0000 (18:05 +0100)]
Adding new patch-coverage script
Change-Id: I5e83b4d480f247247ae4348717b01cac2459ee9c
Adeel Kazmi [Fri, 16 Oct 2020 11:06:40 +0000 (12:06 +0100)]
Reduce Cyclomatic Complexity of some methods in text-typesetter, transtion-data & text-label
Change-Id: I7c9a5b8c2ffc59837b0e8bcf85f78fe96df1bf9c
Adeel Kazmi [Wed, 21 Oct 2020 10:55:04 +0000 (10:55 +0000)]
Merge "dali-toolkit: update text selection UI handles with selection properties" into devel/master
Heeyong Song [Wed, 7 Oct 2020 11:58:26 +0000 (20:58 +0900)]
Ensure not to emit the resource ready signal during the callback
Change-Id: Icc496c34a11df14aae8b99affe846c14bca308fa
Ali Alzyod [Wed, 14 Oct 2020 12:28:58 +0000 (15:28 +0300)]
dali-toolkit: update text selection UI handles with selection properties
sample code to produce the issue :
```
#include <dali-toolkit/dali-toolkit.h>
#include <dali-toolkit/devel-api/controls/text-controls/text-editor-devel.h>
#include <dali-toolkit/devel-api/controls/text-controls/text-field-devel.h>
#include <iostream>
using namespace Dali;
using namespace Dali::Toolkit;
class SimpleApp : public ConnectionTracker
{
public:
SimpleApp(Application& application)
: mApplication(application)
{
mApplication.InitSignal().Connect(this, &SimpleApp::Create);
}
void Create(Application& application)
{
window = application.GetWindow();
window.SetBackgroundColor(Vector4(0.04f, 0.345f, 0.392f, 1.0f));
mTextEditor = TextEditor::New();
mTextEditor.SetProperty(TextEditor::Property::TEXT, "Tex1\nTex2");
mTextEditor.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_CENTER);
mTextEditor.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_CENTER);
mTextEditor.SetProperty(Actor::Property::SIZE, Vector2(60.0f, 60.0f));
mTextEditor.SetProperty(Actor::Property::POSITION, Vector3(0.f, 0.f, 0.f));
window.Add(mTextEditor);
mBtnEditable = PushButton::New();
mTextEditor.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_CENTER);
mTextEditor.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_CENTER);
mBtnEditable.SetProperty(Actor::Property::SIZE, Vector2(120.f, 80.f));
mBtnEditable.SetProperty(Actor::Property::POSITION, Vector2(100, 220.f));
mBtnEditable.SetBackgroundColor(Color::RED);
mBtnEditable.SetProperty(Button::Property::LABEL, "select");
mBtnEditable.ClickedSignal().Connect(this, &SimpleApp::OnButtonClicked);
window.Add(mBtnEditable);
}
bool OnButtonClicked(Button button)
{
mTextEditor.SetProperty(DevelTextField::Property::SELECTED_TEXT_START, 0);
mTextEditor.SetProperty(DevelTextField::Property::SELECTED_TEXT_END, 10);
return true;
}
private:
Application& mApplication;
TextEditor mTextEditor;
PushButton mBtnEditable;
Window window;
};
int DALI_EXPORT_API main(int argc, char** argv)
{
Application application = Application::New(&argc, &argv);
SimpleApp test(application);
application.MainLoop();
return 0;
}
```
Change-Id: I9f29db01d60a53e578ee2b584caceb9c94b2e0ea
Richard Huang [Fri, 16 Oct 2020 10:31:32 +0000 (11:31 +0100)]
DALi Version 1.9.34
Change-Id: I3b2a4aedddd0748b69634aa1a84759c0c7f675ac
Adeel Kazmi [Mon, 5 Oct 2020 10:41:15 +0000 (11:41 +0100)]
(Text Controller) Moved event handling, InputFont & Placeholder related methods into separate structs
Change-Id: If7b2eb2bde0bbb9a9bf04bd37d1d679c7038f5e0
Adeel Kazmi [Tue, 13 Oct 2020 15:12:40 +0000 (15:12 +0000)]
Merge "Text selection refactoring" into devel/master
Adeel Kazmi [Mon, 12 Oct 2020 19:47:34 +0000 (20:47 +0100)]
Fix doxygen comments
Change-Id: I465620e3dcce309ccd6aa4e00895dac81fcf9c05
ali198724 [Fri, 18 Sep 2020 16:16:53 +0000 (19:16 +0300)]
Text selection refactoring
1- Move all of selection text functionality into SelectableControlInterface
2- Support (SelectWholeText, SelectNone, GetSelectedText) in TextEditor
Change-Id: I4da66433a09e99be09f6bd027761c3ea49cfc9f5
joogab yun [Mon, 12 Oct 2020 09:47:17 +0000 (09:47 +0000)]
Merge "Dali-toolkit: Text controls crash fix" into devel/master
György Straub [Fri, 9 Oct 2020 13:06:01 +0000 (14:06 +0100)]
DALi Version 1.9.33
Change-Id: I7b3f6ebb89cfbf8ffe8bf20899af8f81df8dbc55
joogab yun [Thu, 8 Oct 2020 02:57:17 +0000 (02:57 +0000)]
Merge "Fix documentation for Text::EditableControlInterface interface override functions" into devel/master
ali198724 [Wed, 7 Oct 2020 11:42:41 +0000 (14:42 +0300)]
Dali-toolkit: Text controls crash fix
Fix crash when delete characters after change text color
Run demo, then press backspace
```
//g++ -g -O0 main.cpp -o app `pkg-config --cflags --libs dali2-core dali2-adaptor dali2-adaptor-integration dali2-toolkit`
using namespace Dali;
using namespace Dali::Toolkit;
class SimpleApp : public ConnectionTracker
{
public:
SimpleApp(Application& application)
: mApplication(application)
{
mApplication.InitSignal().Connect(this, &SimpleApp::Create);
}
void Create(Application& application)
{
Window window = application.GetWindow();
window.SetBackgroundColor(Vector4(0.04f, 0.345f, 0.392f, 1.0f));
TextField field = TextField::New();
field.SetProperty(TextField::Property::TEXT, "Erase");
field.SetProperty(TextField::Property::TEXT_COLOR, Vector4(0.0f, 1.0f, 1.0f, 1.0f)); // CYAN
field.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER);
field.SetProperty(Actor::Property::SIZE, Vector2(300.f, 60.f));
window.Add(field);
field.SetKeyInputFocus();
}
private:
Application& mApplication;
};
int DALI_EXPORT_API main(int argc, char** argv)
{
Application application = Application::New(&argc, &argv);
SimpleApp test(application);
application.MainLoop();
return 0;
}
```
Change-Id: I2c13330f92746c73d32da71cced15c3b297126dc
Heeyong Song [Wed, 7 Oct 2020 06:48:50 +0000 (06:48 +0000)]
Merge "Refactor SvgVisual" into devel/master
Heeyong Song [Wed, 23 Sep 2020 15:05:06 +0000 (00:05 +0900)]
Refactor SvgVisual
Change-Id: I34399172bbb20220cbca031004f3e3bd805d006c
Adeel Kazmi [Tue, 6 Oct 2020 09:04:45 +0000 (09:04 +0000)]
Merge "use string_view to avoid temporary string allocation." into devel/master
Daekwang Ryu [Tue, 6 Oct 2020 04:12:53 +0000 (13:12 +0900)]
Tizen] Set custom fragment shader to the visual used in WebView
This reverts commit
7a54226e11bb314ac4f03db8f3a7598395ccb66b.
Daekwang Ryu [Tue, 6 Oct 2020 04:12:49 +0000 (13:12 +0900)]
[Tizen] Revert "Changes after touch consumed behaviour change"
This reverts commit
1642a4474eb7a3bfdfcef7b6eada308e5d287533.
Daekwang Ryu [Tue, 6 Oct 2020 04:12:41 +0000 (13:12 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
c44a070dbb38c63e2a95e72e5c1afe7fda163f23.
Daekwang Ryu [Tue, 6 Oct 2020 04:04:10 +0000 (13:04 +0900)]
Merge branch 'devel/master' into tizen
Daekwang Ryu [Tue, 6 Oct 2020 04:03:35 +0000 (13:03 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
e0d7338c49b3cbc4e6b4f8ae5eb104e3d0e1d34e.
Daekwang Ryu [Tue, 6 Oct 2020 04:03:30 +0000 (13:03 +0900)]
Revert "[Tizen] Revert "Changes after touch consumed behaviour change""
This reverts commit
4b6e68d1df075ead5c35eaa36c8bd2ede20ddb92.
Daekwang Ryu [Tue, 6 Oct 2020 04:03:28 +0000 (13:03 +0900)]
Revert "[Tizen] Set custom fragment shader to the visual used in WebView"
This reverts commit
795e5f18131d95ec0003e282e9b4e5097f397841.
Daekwang Ryu [Tue, 6 Oct 2020 04:03:25 +0000 (13:03 +0900)]
Revert "[Tizen] Ensuring Control behaviour flags retain their original values"
This reverts commit
837e141082b7cdd8f961f37cf7e75935790c74cf.
Daekwang Ryu [Tue, 6 Oct 2020 04:03:21 +0000 (13:03 +0900)]
Revert "[Tizen] There is no need to call mOverlayRenderer's AddRenderer() in play()."
This reverts commit
36e0fc16439e369be279d1fc8625cf35fa8cf374.
Joogab Yun [Tue, 29 Sep 2020 06:41:10 +0000 (15:41 +0900)]
[Tizen] There is no need to call mOverlayRenderer's AddRenderer() in play().
Change-Id: I37c2709e45d9e5a97f5801258e6ebee377e1337a
Cheng-Shiun Tsai [Fri, 2 Oct 2020 09:46:42 +0000 (10:46 +0100)]
DALi Version 1.9.32
Change-Id: I65304e6e46868ad3e34994dde80e74970ddbbd31
Adeel Kazmi [Wed, 30 Sep 2020 10:47:46 +0000 (11:47 +0100)]
(JSON Parser State) Reduce Cyclomatic Complexity of ParseJson
Change-Id: Iba20de994253d3dfaac8f92b9381c18aaeb76861
Adeel Kazmi [Tue, 29 Sep 2020 10:35:03 +0000 (10:35 +0000)]
Merge "Const correctness improvements for Property::Value." into devel/master
Joogab Yun [Tue, 29 Sep 2020 06:41:10 +0000 (15:41 +0900)]
There is no need to call mOverlayRenderer's AddRenderer() in play().
Change-Id: I37c2709e45d9e5a97f5801258e6ebee377e1337a
Adeel Kazmi [Mon, 28 Sep 2020 15:53:38 +0000 (15:53 +0000)]
Merge "Text Editing (enable) property in text controls" into devel/master
György Straub [Mon, 28 Sep 2020 12:28:53 +0000 (13:28 +0100)]
Const correctness improvements for Property::Value.
- instead of using its parameter as in-out (and perhaps erroneously
modifying the original), TextVisual returns the new map, which is then
merged with the existing properties in ButtonImpl::SetProperty();
Change-Id: I974535fd017416dc60225a1f511e71d81a2a86de
Signed-off-by: György Straub <g.straub@partner.samsung.com>
David Steele [Fri, 25 Sep 2020 15:17:46 +0000 (16:17 +0100)]
[Tizen] Ensuring Control behaviour flags retain their original values
Change-Id: Iafa9a7450a093fad0719c0ac51bbf2c04970948b
David Steele [Fri, 25 Sep 2020 15:17:46 +0000 (16:17 +0100)]
Ensuring Control behaviour flags retain their original values
Change-Id: Iafa9a7450a093fad0719c0ac51bbf2c04970948b
ali198724 [Wed, 9 Sep 2020 18:48:01 +0000 (21:48 +0300)]
Text Editing (enable) property in text controls
- Add support for enable/disable editing for TextField,TextEditor
- this effect keyboard, clipboard
- hide primary cursors and grap on non-edit mode
- hide virtual keyboard on non-editable mode
Change-Id: I4991e8bdffd0988e43c86d9be1b5b734e8e681cd
Adeel Kazmi [Fri, 25 Sep 2020 10:58:15 +0000 (11:58 +0100)]
DALi Version 1.9.31
Change-Id: Id53d7de9f259c6cfa553037810fc6ef105241687
Sunghyun Kim [Wed, 23 Sep 2020 02:25:27 +0000 (11:25 +0900)]
[Tizen] Set custom fragment shader to the visual used in WebView
This reverts commit
c86faad611a6845c54639e1bbe1aa488dbec4c68.
Change-Id: I8eaadd12ddef1de0f7a2c20fe3acc3147eddab02
Sunghyun Kim [Wed, 23 Sep 2020 02:25:06 +0000 (11:25 +0900)]
[Tizen] Revert "Changes after touch consumed behaviour change"
This reverts commit
e0ca203b93c8af4e14f69e2c678d890d4533f306.
Change-Id: I8ea0feb81404d7ea135d4af51f43c11d8786af37
Sunghyun Kim [Wed, 23 Sep 2020 02:24:43 +0000 (11:24 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
fadfa34dc291da82f32619b05696a2ae1f333dbd.
Change-Id: Icfe8ced6be62db4360fea0ab6de28dddc1d8aa35
Sunghyun Kim [Wed, 23 Sep 2020 02:24:17 +0000 (11:24 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I75849d58814add72d47bd948ef759ef9827ea904
Sunghyun Kim [Wed, 23 Sep 2020 02:21:42 +0000 (11:21 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
d486795b3bbac121b9bc7f0c0d070c40f8669cac.
Sunghyun Kim [Wed, 23 Sep 2020 02:21:38 +0000 (11:21 +0900)]
Revert "[Tizen] Revert "Changes after touch consumed behaviour change""
This reverts commit
2d1bfc90245bb9327656144df94441d947502d16.
Sunghyun Kim [Wed, 23 Sep 2020 02:21:33 +0000 (11:21 +0900)]
Revert "[Tizen] Set custom fragment shader to the visual used in WebView"
This reverts commit
188107009c2c957b3b0dad8987d2819393df88ec.
Sunghyun Kim [Wed, 23 Sep 2020 02:21:23 +0000 (11:21 +0900)]
Revert "[Tizen]Change the precision of size and uSize from mediumP to highP"
This reverts commit
4036d3983f42718568661a2059c272b342397c1f.
Sunghyun Kim [Wed, 23 Sep 2020 02:21:07 +0000 (11:21 +0900)]
Revert "[Tizen] Add null check for mTextureSet."
This reverts commit
dcd9007d49dac8cc4c4a8f3d2ea5a0a5bea3fa6a.
Change-Id: I3c69f9f3f8605dc0015d9c89e897ba0dd607ceca
sunghyun kim [Wed, 23 Sep 2020 02:20:26 +0000 (02:20 +0000)]
Merge "Change the precision of size and uSize from mediumP to highP" into devel/master
Adeel Kazmi [Tue, 22 Sep 2020 18:12:06 +0000 (18:12 +0000)]
Merge "Make MeasureCallback signature .NET friendly" into devel/master
Wander Lairson Costa [Tue, 4 Aug 2020 15:11:03 +0000 (12:11 -0300)]
Make MeasureCallback signature .NET friendly
Currently, MeasureCallback signature has a return type of a POD 16 bytes
structure. Returning the structure by value is messing up when passing a
delegate from C# on Windows 10. The net effect is that arguments arrive
with random values. This happens because the C++ compiler may apply
optimization like RVO that the .NET runtime is not aware of.
This link [1] provides more details.
We fix the problem by making SizeTuple an out parameter and returning
void.
[1] https://www.tutorialsteacher.com/csharp/csharp-delegates
Change-Id: I71feef35908d139f60e6941b447a78b38053b89d
JunsuChoi [Tue, 28 Jul 2020 06:32:37 +0000 (15:32 +0900)]
SvgVisual: Using VectorImageRenderer
Make SvgVisual use VectorImageRenderer which is using ThorVG.
You can use nanosvg or thorVG by NO_THORVG macro define.
[Note]
If you want to use THORVG, remove below from ./build/tizen/CMakeLists.txt
...
ADD_DEFINITIONS( "-DNO_THORVG" )
...
Change-Id: Ia9bf5c799084e841ff567245a8ff4688824277ee
Adeel Kazmi [Mon, 21 Sep 2020 08:29:47 +0000 (08:29 +0000)]
Merge "Reduce Cyclomatic Complexity of Text classes" into devel/master
Sunghyun Kim [Fri, 4 Sep 2020 07:14:04 +0000 (16:14 +0900)]
Change the precision of size and uSize from mediumP to highP
When I checked the value of uSize and size set in the application, the
multiplication of these values could result in INF number if shader uses
mediump (fp16).
To avoid this problem, i change the precision of size and uSize from mediumP to highP
Change-Id: Iaa3e6f4427cfbf82a2ca59f0c5628f746ebdbb80
David Steele [Fri, 18 Sep 2020 10:46:54 +0000 (10:46 +0000)]
Merge "DALi Version 1.9.30" into devel/master
David Steele [Fri, 18 Sep 2020 10:35:44 +0000 (11:35 +0100)]
[dali_1.9.30] Merge branch 'devel/master'
Change-Id: I0e759f4ca26e9b635806a862cd043de839fb8b99
David Steele [Fri, 18 Sep 2020 10:35:13 +0000 (11:35 +0100)]
DALi Version 1.9.30
Change-Id: I9ebc6f4c49010c6fc469d2abbc7cea327b9bc46f
joogab yun [Fri, 18 Sep 2020 04:48:30 +0000 (04:48 +0000)]
Merge "Add null check for mTextureSet. For empty text, text-visual doesn't create a textureSet. So it happens that mTextureSet is null." into devel/master
Adeel Kazmi [Thu, 17 Sep 2020 23:00:21 +0000 (00:00 +0100)]
Reduce Cyclomatic Complexity of Text classes
Change-Id: I055f3fd585a9709ab99d23887f7ff02fcf454975
Adeel Kazmi [Thu, 17 Sep 2020 21:13:27 +0000 (21:13 +0000)]
Merge "Updated ImageVisual to handle native texture sampler" into devel/master
Adeel Kazmi [Thu, 17 Sep 2020 18:03:38 +0000 (18:03 +0000)]
Merge "Text selection refactoring" into devel/master
Joogab Yun [Wed, 16 Sep 2020 06:22:08 +0000 (15:22 +0900)]
[Tizen] Add null check for mTextureSet.
For empty text, text-visual doesn't create a textureSet.
So it happens that mTextureSet is null.
(sample)
void Create(Application& application)
{
// Get a handle to the window
Window window = application.GetWindow();
window.SetBackgroundColor(Color::WHITE);
textLabel = TextLabel::New();
textLabel.SetProperty( Actor::Property::SIZE, Vector2(300.f, 200.f));
textLabel.SetProperty( Toolkit::TextLabel::Property::TEXT, "" );
textLabel.SetProperty( Toolkit::TextLabel::Property::ENABLE_AUTO_SCROLL, true );
window.Add(textLabel);
// Respond to a touch anywhere on the window
window.GetRootLayer().TouchedSignal().Connect(this, &HelloWorldController::OnTouch);
}
bool OnTouch(Actor actor, const TouchEvent& touch)
{
textLabel.SetProperty( Toolkit::TextLabel::Property::TEXT, "" );
textLabel.SetProperty( Toolkit::TextLabel::Property::ENABLE_AUTO_SCROLL, false );
return true;
}
Change-Id: Iff50abb0278c7d2f650a8c92cf8d5c5eaec6f36a
Joogab Yun [Wed, 16 Sep 2020 06:22:08 +0000 (15:22 +0900)]
Add null check for mTextureSet.
For empty text, text-visual doesn't create a textureSet.
So it happens that mTextureSet is null.
(sample)
void Create(Application& application)
{
// Get a handle to the window
Window window = application.GetWindow();
window.SetBackgroundColor(Color::WHITE);
textLabel = TextLabel::New();
textLabel.SetProperty( Actor::Property::SIZE, Vector2(300.f, 200.f));
textLabel.SetProperty( Toolkit::TextLabel::Property::TEXT, "" );
textLabel.SetProperty( Toolkit::TextLabel::Property::ENABLE_AUTO_SCROLL, true );
window.Add(textLabel);
// Respond to a touch anywhere on the window
window.GetRootLayer().TouchedSignal().Connect(this, &HelloWorldController::OnTouch);
}
bool OnTouch(Actor actor, const TouchEvent& touch)
{
textLabel.SetProperty( Toolkit::TextLabel::Property::TEXT, "" );
textLabel.SetProperty( Toolkit::TextLabel::Property::ENABLE_AUTO_SCROLL, false );
return true;
}
Change-Id: Iff50abb0278c7d2f650a8c92cf8d5c5eaec6f36a
Seoyeon Kim [Wed, 16 Sep 2020 05:11:58 +0000 (14:11 +0900)]
[Tizen]Change the precision of size and uSize from mediumP to highP
This reverts commit
f7fb5e22054d8e2486e877f7986f1beed78f6de1.
Change-Id: Iefcc5f4ad37dfa491b831d62dbb3e02f5b2331fb
Seoyeon Kim [Wed, 16 Sep 2020 05:11:24 +0000 (14:11 +0900)]
[Tizen] Set custom fragment shader to the visual used in WebView
This reverts commit
c35e50a38916e65327774edbcf0f4d11084fb2a6.
Change-Id: Ibced0371c4708596d6efdcbbf9da31575095ac50
Seoyeon Kim [Wed, 16 Sep 2020 05:11:20 +0000 (14:11 +0900)]
[Tizen] Revert "Changes after touch consumed behaviour change"
This reverts commit
cbdd482912a7d74b97c634dd1b85b3b306500731.
Change-Id: I51908c934bc644bb71e0fa0fb2446391a8d5e5b0
Seoyeon Kim [Wed, 16 Sep 2020 05:11:17 +0000 (14:11 +0900)]
[Tizen] Add AutofillContainer class and autofill implementation
This reverts commit
7ae98167b08a132295bfcfcd90ea422a9970a8fb.
Change-Id: Iba999267af5f63256a02ef889b209ba930988b5e
Seoyeon Kim [Wed, 16 Sep 2020 05:10:52 +0000 (14:10 +0900)]
Merge branch 'devel/master' into tizen
Seoyeon Kim [Wed, 16 Sep 2020 05:10:21 +0000 (14:10 +0900)]
Revert "[Tizen] Add AutofillContainer class and autofill implementation"
This reverts commit
135ba3ba6b3aadeb34aa0692df49658d0faca263.
Seoyeon Kim [Wed, 16 Sep 2020 05:10:14 +0000 (14:10 +0900)]
Revert "[Tizen] Revert "Changes after touch consumed behaviour change""
This reverts commit
9d8d90feff4f165666b9d83a7ba52b3e3a8bb565.
Seoyeon Kim [Wed, 16 Sep 2020 05:10:10 +0000 (14:10 +0900)]
Revert "[Tizen] Set custom fragment shader to the visual used in WebView"
This reverts commit
aacbf614697ec5af0721b598496fad8659bfbf81.
Seoyeon Kim [Wed, 16 Sep 2020 05:09:45 +0000 (14:09 +0900)]
Revert "[Tizen] Change cursor parent from Layer to Actor"
This reverts commit
9fd3104c04dd4874fa361d156493a257e76aeefe.
Seoyeon Kim [Wed, 16 Sep 2020 05:09:42 +0000 (14:09 +0900)]
Revert "[Tizen]Change the precision of size and uSize from mediumP to highP"
This reverts commit
edcb22faa25d03e71f8a4cb5c3dc5fa328a42f5f.
Adeel Kazmi [Mon, 14 Sep 2020 14:05:01 +0000 (14:05 +0000)]
Merge "Fix VideoView test case" into devel/master
sunghyun kim [Mon, 14 Sep 2020 01:53:05 +0000 (01:53 +0000)]
Merge "[Tizen]Change the precision of size and uSize from mediumP to highP" into tizen
Seoyeon Kim [Tue, 8 Sep 2020 08:21:59 +0000 (17:21 +0900)]
[Tizen] Change cursor parent from Layer to Actor
Change-Id: I5f746b733a443f8d270403d89c0658f165eef992
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Sunghyun Kim [Fri, 4 Sep 2020 07:14:04 +0000 (16:14 +0900)]
[Tizen]Change the precision of size and uSize from mediumP to highP
When I checked the value of uSize and size set in the application, the
multiplication of these values could result in INF number if shader uses
mediump (fp16).
To avoid this problem, i change the precision of size and uSize from mediumP to highP
Change-Id: Iaa3e6f4427cfbf82a2ca59f0c5628f746ebdbb80
David Steele [Fri, 11 Sep 2020 16:56:59 +0000 (17:56 +0100)]
Updated ImageVisual to handle native texture sampler
Change-Id: I62bf03bb413140f581fb72a46e6fdf049caa7e5d
Adeel Kazmi [Fri, 11 Sep 2020 16:51:12 +0000 (16:51 +0000)]
Merge "Dali-Text: Keyboard Shortcuts" into devel/master
ali [Mon, 31 Aug 2020 14:53:58 +0000 (17:53 +0300)]
Dali-Text: Keyboard Shortcuts
Add support for :
1- Select All Text : Ctrl+A
2- Copy Text: support Ctrl+Insert
Disable Ctrl+(C/X/V/A/Insert) when shift is down
Change-Id: I5404ac6866eedb13ba2091d1d4b1be7e70dd95a8
David Steele [Fri, 11 Sep 2020 12:01:22 +0000 (12:01 +0000)]
Merge "DALi Version 1.9.29" into devel/master
adam.b [Fri, 11 Sep 2020 11:57:29 +0000 (12:57 +0100)]
[dali_1.9.29] Merge branch 'devel/master'
Change-Id: I2680076d964a2531c6743b6a8036002b3974cd36
adam.b [Fri, 11 Sep 2020 11:56:33 +0000 (12:56 +0100)]
DALi Version 1.9.29
Change-Id: I48d6b2eb6b0da2cba0d67d1c5d5955f1d3ac9c6d
Heeyong Song [Fri, 11 Sep 2020 08:36:07 +0000 (17:36 +0900)]
Fix VideoView test case
Add a VideoView to the Scene before playing an animation
Change-Id: I3c8cdad53592d49109893f741601d58dba8d64c8
Seoyeon Kim [Tue, 8 Sep 2020 08:21:59 +0000 (17:21 +0900)]
Change cursor parent from Layer to Actor
Change-Id: I5f746b733a443f8d270403d89c0658f165eef992
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Subhransu Mohanty [Thu, 27 Aug 2020 00:38:27 +0000 (09:38 +0900)]
use string_view to avoid temporary string allocation.
Change-Id: I234742fc0ad1337e54b56fcb916f435d487da2c5