platform/core/uifw/dali-toolkit.git
9 years agoInitial implemention NPatchRenderer only for 9 patch case. 56/48456/11
Chu Hoang [Mon, 21 Sep 2015 09:56:09 +0000 (10:56 +0100)]
Initial implemention NPatchRenderer only for 9 patch case.

Change-Id: I0fb00583b6b1dc8b76716083b811c79062f36768

9 years agoMerge "Fixed ImageRenderer::DoSetOffStage inccorrectly calling ControlRenderer::SetOf...
Adeel Kazmi [Wed, 23 Sep 2015 09:27:01 +0000 (02:27 -0700)]
Merge "Fixed ImageRenderer::DoSetOffStage inccorrectly calling ControlRenderer::SetOffStage." into devel/master

9 years agoFixed ImageRenderer::DoSetOffStage inccorrectly calling ControlRenderer::SetOffStage. 22/48522/2
Chu Hoang [Tue, 22 Sep 2015 10:59:27 +0000 (11:59 +0100)]
Fixed ImageRenderer::DoSetOffStage inccorrectly calling ControlRenderer::SetOffStage.

Change-Id: If239b0577623d2e2f6692599ec00edebabd2bbde

9 years agoRemoved GetStretchBorders from NinePatchImage plugin API. 53/48453/4
Chu Hoang [Mon, 21 Sep 2015 14:12:53 +0000 (15:12 +0100)]
Removed GetStretchBorders from NinePatchImage plugin API.

Change-Id: Ie10bafad00b6fa6b3ad5a2fcd226122aed98a3ac

9 years agoImprove the UTC coverage of PageTurnView 52/48452/3
Xiangyin Ma [Mon, 21 Sep 2015 14:08:42 +0000 (15:08 +0100)]
Improve the UTC coverage of PageTurnView

Change-Id: I5349defa3123b59c88e9355150c689496333061f

9 years agoTemporary remove part of a unit test. 43/48543/1
Victor Cebollada [Tue, 22 Sep 2015 14:44:40 +0000 (15:44 +0100)]
Temporary remove part of a unit test.

* The patch "Modify the cursor position" makes a TET case to fail.

Change-Id: I9952e432f719007594ad96efd3abdbc8e1b523c9
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoMerge "Modify the cursor position." into devel/master
Kimmo Hoikka [Mon, 21 Sep 2015 17:23:28 +0000 (10:23 -0700)]
Merge "Modify the cursor position." into devel/master

9 years agoModify the cursor position. 50/48450/3
Victor Cebollada [Mon, 21 Sep 2015 13:11:09 +0000 (14:11 +0100)]
Modify the cursor position.

* Set a top left anchor point to not to overlap characters.

Change-Id: Ib37fdbf31f0b468b4d4850cf009a8c97b5c88f65
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoProcessModifyEvents to interate whole list not just first index 55/48455/1
Agnelo Vaz [Mon, 21 Sep 2015 15:10:53 +0000 (16:10 +0100)]
ProcessModifyEvents to interate whole list not just first index

* A bug in logic meant only the first item in the modify event queue was being processed

Change-Id: I530a816fb2bbd09efc53fd34e597abe6fb7efb30
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoIMF to be notified after Backspace key pressed 54/48454/1
Agnelo Vaz [Mon, 21 Sep 2015 15:08:13 +0000 (16:08 +0100)]
IMF to be notified after Backspace key pressed

* For prediction, the IMF needs to know if the backspace has resulted in the cursor being on a current word
* If on a current word the IMF may decide that it becomes the current pre edit word.

Change-Id: Ibf8e9afaba33ccce46ed90192357d89a20194d60
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoMerge "Changed ImageView to utilise ImageRenderer." into devel/master
Kimmo Hoikka [Mon, 21 Sep 2015 15:09:38 +0000 (08:09 -0700)]
Merge "Changed ImageView to utilise ImageRenderer." into devel/master

9 years agoAdded version when deprecated to the documentation for Button/PushButton 11/48411/1
Adeel Kazmi [Mon, 21 Sep 2015 10:39:31 +0000 (11:39 +0100)]
Added version when deprecated to the documentation for Button/PushButton

Change-Id: Id74b2aee630822444e7a232a81b718dec4e5e8cd

9 years agoChanged ImageView to utilise ImageRenderer. 82/48182/14
Chu Hoang [Tue, 15 Sep 2015 15:41:42 +0000 (16:41 +0100)]
Changed ImageView to utilise ImageRenderer.

Change-Id: I95211860cbc75601fbf6380252b76d236e3471f3

9 years agoPrevent font data being cleared when System font changes 64/48364/1
Agnelo Vaz [Fri, 18 Sep 2015 10:23:59 +0000 (11:23 +0100)]
Prevent font data being cleared when System font changes

* Font data is being cleared incorrectly outside of a conditional block, now inside that block

Change-Id: Ia3266538323a9ca935622ed3376ca18aad9f54db
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoMerge "DALi Version 1.1.3" into devel/master
Adeel Kazmi [Fri, 18 Sep 2015 10:09:41 +0000 (03:09 -0700)]
Merge "DALi Version 1.1.3" into devel/master

9 years agoMerge "Cache fallback font lists for each requested font" into devel/master
Kimmo Hoikka [Fri, 18 Sep 2015 10:06:19 +0000 (03:06 -0700)]
Merge "Cache fallback font lists for each requested font" into devel/master

9 years agoDALi Version 1.1.3 51/48351/1 dali_1.1.3
Xiangyin Ma [Fri, 18 Sep 2015 10:03:16 +0000 (11:03 +0100)]
DALi Version 1.1.3

Change-Id: I59d09df173e62088b082796cee317ffa9ee39f46

9 years agoMerge "Add Text's popup overshoot property." into devel/master
Paul Wisbey [Fri, 18 Sep 2015 09:07:06 +0000 (02:07 -0700)]
Merge "Add Text's popup overshoot property." into devel/master

9 years agoCache fallback font lists for each requested font 04/48304/2
Paul Wisbey [Thu, 17 Sep 2015 18:08:25 +0000 (19:08 +0100)]
Cache fallback font lists for each requested font

Change-Id: I0b05f4e9a2495fea62bde613f716f2727a9e4251

9 years agoAdd Text's popup overshoot property. 60/48160/4
Victor Cebollada [Tue, 15 Sep 2015 08:12:54 +0000 (09:12 +0100)]
Add Text's popup overshoot property.

Change-Id: I8732b516851996e3ccc83d702f9c39b616b4b495
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoTextSelectionToolbar cleaning. 80/46880/7
v.cebollada [Thu, 27 Aug 2015 01:29:44 +0000 (10:29 +0900)]
TextSelectionToolbar cleaning.

Change-Id: I1b5600e4696adb2e68fa6c0d480110e39de9bc91
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years ago(Control base)Use RendererFactory&ControlRenderer to handle background 27/48127/8
Xiangyin Ma [Mon, 14 Sep 2015 16:38:02 +0000 (17:38 +0100)]
(Control base)Use RendererFactory&ControlRenderer to handle background

Change-Id: I19eb9bd4b94bc8e924c77155691bab4ebc553ad6

9 years agoFix for long press. 53/48253/1
Victor Cebollada [Wed, 16 Sep 2015 14:50:23 +0000 (15:50 +0100)]
Fix for long press.

* If in pre-edit mode, the imf manager needs to be reset to commit the text.

Change-Id: Id012e471b9750d67430c99b93bff641ca8f47590
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoImplementation of ImageRenderer. 26/48126/6
Chu Hoang [Mon, 14 Sep 2015 12:51:30 +0000 (13:51 +0100)]
Implementation of ImageRenderer.

Change-Id: I019a5ef0e6dbb8c359a4f42b4724781687e1011d

9 years ago(ControlRenderer) Hide the APIs whose function are not fully implemented 18/48118/1
Xiangyin Ma [Mon, 14 Sep 2015 13:35:54 +0000 (14:35 +0100)]
(ControlRenderer) Hide the APIs whose function are not fully implemented

1. Dali doenot support multiple renderers per actor currently.
   Hide these functions temporarily as their full implementation is not avaible.

2. Add test cases to improve the UTC line coverage.

Change-Id: I55651d1a0635a2b4324a7789ba4dcc2081c181a4

9 years ago(ControlRenderer) Added copy constructor and assignment operator 62/48062/1
Xiangyin Ma [Fri, 11 Sep 2015 16:57:14 +0000 (17:57 +0100)]
(ControlRenderer) Added copy constructor and assignment operator

Change-Id: I1f0a514c2adaeeb13e37500b329951d3d241d48b

9 years agoControlRenderer & RendererFactory for Toolkit Controls 42/46842/17
Xiangyin Ma [Wed, 26 Aug 2015 13:23:53 +0000 (14:23 +0100)]
ControlRenderer & RendererFactory for Toolkit Controls

1. example of getting a ColorRenderer:

Property::Map propertyMap;
propertyMap.Insert("renderer-type", "color-renderer");
propertyMap.Insert("blend-color", Color::MAGENTA);

Toolkit::RendererFactory rendererFactory = Toolkit::RendererFactory::Get();
Internal::ControlRendererPtr renderer = rendererFactory.GetControlRenderer(propertyMap);

2. example of getting a GradientRenderer:

Property::Map propertyMap;
propertyMap.Insert("renderer-type", "gradient-renderer");

propertyMap.Insert("gradient-center", Vector2(0.5f, 0.5f));
propertyMap.Insert("gradient-radius", 0.5f);

Property::Array stopOffsets;
stopOffsets.PushBack( 0.0f );
stopOffsets.PushBack( 1.f );
propertyMap.Insert("gradient-stop-offset", stopOffsets);

Property::Array stopColors;
stopColors.PushBack( Color::RED );
stopColors.PushBack( Color::GREEN );
propertyMap.Insert("gradient-stop-color", stopColors);

Change-Id: I82348ed6fb428e186ceec216efd8e1b235a5e3ee
Toolkit::RendererFactory rendererFactory = Toolkit::RendererFactory::Get();
Internal::ControlRendererPtr renderer = rendererFactory.GetControlRenderer(propertyMap);

9 years agoMerge "DALi Version 1.1.2" into devel/master
Adeel Kazmi [Thu, 10 Sep 2015 10:21:26 +0000 (03:21 -0700)]
Merge "DALi Version 1.1.2" into devel/master

9 years agoDALi Version 1.1.2 62/47962/1 dali_1.1.2
Richard Huang [Thu, 10 Sep 2015 10:05:30 +0000 (11:05 +0100)]
DALi Version 1.1.2

Change-Id: I514ef8a5d1e68c3f7816a7a3b9ef87f660eed075

9 years agoFixed overlapping issue between cursor and placeholder text 33/47933/1
suhyung Eom [Thu, 10 Sep 2015 07:14:02 +0000 (16:14 +0900)]
Fixed overlapping issue between cursor and placeholder text

Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: Ia3d3ca2b583f36e8c9357150ac4ba0af4026a0a9

9 years agoMerge "Fix setting a void string to the TEXT property." into devel/master
Paul Wisbey [Mon, 7 Sep 2015 15:49:25 +0000 (08:49 -0700)]
Merge "Fix setting a void string to the TEXT property." into devel/master

9 years agoMerge "Initialise Controller's DefaultFont description to that of the Platform defaul...
Paul Wisbey [Mon, 7 Sep 2015 15:07:38 +0000 (08:07 -0700)]
Merge "Initialise Controller's DefaultFont description to that of the Platform default font" into devel/master

9 years agoInitialise Controller's DefaultFont description to that of the Platform default font 66/47566/4
Agnelo Vaz [Fri, 4 Sep 2015 14:14:40 +0000 (15:14 +0100)]
Initialise Controller's DefaultFont description to that of the Platform default font

* Creating a TextControl after the System font has changed meant it did not use the new system font.
* This effected TextLabel and TextField, now creating a Text Control with no user defined font will make it use the current system font.
* Changing the current system font family will reflect in the Text Control
* Logging added

- Font Style and Point Size still has no impact currently

Change-Id: I8f92d0310b49a5fed1f6cf94218e9da7b6e4fca3
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoFix setting a void string to the TEXT property. 33/47633/3
Victor Cebollada [Mon, 7 Sep 2015 09:40:08 +0000 (10:40 +0100)]
Fix setting a void string to the TEXT property.

* Reset and notify the imf manager.
* Do not call the IMF manager if the text control is not editable.

Change-Id: If635978cef8503c1f2a42ee49ab75821f4d34915
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoThe 1st long-press on inactive text-field is treated as tap 69/47569/2
Paul Wisbey [Fri, 4 Sep 2015 16:19:29 +0000 (17:19 +0100)]
The 1st long-press on inactive text-field is treated as tap

Change-Id: I104d428041fb4471bee8f67ed07cf09997c7c04d

9 years agoMerge "Notify the IMF when backspace/cut empties the TextField" into devel/master
Adeel Kazmi [Fri, 4 Sep 2015 13:03:04 +0000 (06:03 -0700)]
Merge "Notify the IMF when backspace/cut empties the TextField" into devel/master

9 years agoMerge "New handle flip implementation." into devel/master
Paul Wisbey [Fri, 4 Sep 2015 12:43:44 +0000 (05:43 -0700)]
Merge "New handle flip implementation." into devel/master

9 years agoNotify the IMF when backspace/cut empties the TextField 81/47481/5
Paul Wisbey [Thu, 3 Sep 2015 16:42:41 +0000 (17:42 +0100)]
Notify the IMF when backspace/cut empties the TextField

(This is the reset the virtual keyboard to upper-case)

Change-Id: Ia450bda4c58948ead2dbdd41a21e91cbe27b3524

9 years agoMerge "Doxygen grouping" into devel/master
Adeel Kazmi [Fri, 4 Sep 2015 10:04:40 +0000 (03:04 -0700)]
Merge "Doxygen grouping" into devel/master

9 years agoNew handle flip implementation. 69/46069/9
Victor Cebollada [Wed, 5 Aug 2015 08:30:16 +0000 (09:30 +0100)]
New handle flip implementation.

* Handles flip when:
  - Cross each other.
    They can flip as soon as they cross or when the handles are released.
    Text::Decorator::FlipSelectionHandlesOnCrossEnabled()
  - According the character's direction.
  - If they exceed the boundaries of the decoration area.

* The bounding area is stored in world coords.
  There is no need to store it in actor coords and then transform it on every query.

* Fixes a crash when selection handles are crossed and text is inserted.

Change-Id: Ie0ec8174cb5f34c17f96d7179fcdc3cf05bc2df8
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoTextLabel to update font when system font changes 56/47056/3
Agnelo Vaz [Fri, 28 Aug 2015 15:04:58 +0000 (16:04 +0100)]
TextLabel to update font when system font changes

* If font not set through Property system then changing the system font updates the label's font

Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Change-Id: If3fa2ddda8fcbc1b5570586fbfd4335c9f577914

9 years agoMerge "Add the font width, weight and slant to the font style." into devel/master
Paul Wisbey [Thu, 3 Sep 2015 13:28:17 +0000 (06:28 -0700)]
Merge "Add the font width, weight and slant to the font style." into devel/master

9 years agoMerge "String localisation enabled in spec file" into devel/master
Paul Wisbey [Thu, 3 Sep 2015 09:51:35 +0000 (02:51 -0700)]
Merge "String localisation enabled in spec file" into devel/master

9 years agoAdd the font width, weight and slant to the font style. 09/46709/9
v.cebollada [Tue, 25 Aug 2015 00:48:53 +0000 (09:48 +0900)]
Add the font width, weight and slant to the font style.

Change-Id: Ia77419df7309d5948f5e69af56c5664dbf5bfe6d
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years agoDoxygen grouping 37/45137/8
Yoonsang Lee [Thu, 23 Jul 2015 05:36:50 +0000 (14:36 +0900)]
Doxygen grouping

- Grouping using @defgroup, @ingroup, @addtogroup
- Results are shown in the "Modules" tab of the generated doxygen html
- Grouping comments are in doc/xxx_doc.h
- Install doc/xxx_doc.h as well when conducting 'make install'

Change-Id: Ie6abb5fd56df983b8d9d5fa7426d685589892d4b

9 years agoString localisation enabled in spec file 63/47363/1
Agnelo Vaz [Wed, 2 Sep 2015 15:27:23 +0000 (16:27 +0100)]
String localisation enabled in spec file

* Previously by default i18n falg was not set so string localisation was not done.
* Desktop builds which don't use the spec file will by default not do localisation.
* Now use sys_string as source for translations

- Currently not all languages have po files in the system.  Tested with Hindi, Korean and English

Change-Id: I97e14e124cefb8e32468d323c48969bc64eea381
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoFix rendering order issues of text-label shadow in 3D layers 62/47362/1
Ferran Sole [Wed, 2 Sep 2015 15:27:14 +0000 (16:27 +0100)]
Fix rendering order issues of text-label shadow in 3D layers

Shadow was being rendered on top of the text when using a 3D layer.
To ensure shadow is rendered behind the text, the depth-index of the shadow
must be smaller than the depth index of the text.

Change-Id: I702433ceef51a08d57872ba49753a6cfedd24d94

9 years agoFix DALi startup running on Node.JS 42/47242/1
Nick Holland [Tue, 1 Sep 2015 09:38:32 +0000 (10:38 +0100)]
Fix DALi startup running on Node.JS

Change in dali-adaptor means we need to call

adaptor->NotifySceneCreated()

instead of

adaptor->SceneCreated();

Change-Id: I38a8f0f80cc27e4cd47addbc8a797ec5a48ddc0d

9 years agoMerge "Fix prevent issues" into devel/master
Adeel Kazmi [Fri, 28 Aug 2015 17:24:20 +0000 (10:24 -0700)]
Merge "Fix prevent issues" into devel/master

9 years agoFix VD prevent issues 30/46830/5
taeyoon [Wed, 26 Aug 2015 07:21:26 +0000 (16:21 +0900)]
Fix VD prevent issues

 - Add copy constructor & assignment operator (Undefined)

Change-Id: Iae5ab6376fa777be93fb99c2da7edefa1e7d1401

9 years agoMerge "Fix VD prevent issues" into devel/master
Adeel Kazmi [Fri, 28 Aug 2015 16:48:45 +0000 (09:48 -0700)]
Merge "Fix VD prevent issues" into devel/master

9 years agoBasic pan-gesture resampling for when prediction is off 87/46987/2
Tom Robinson [Thu, 27 Aug 2015 15:03:41 +0000 (16:03 +0100)]
Basic pan-gesture resampling for when prediction is off

Change-Id: I29a8461dfa803252a51dfd9a95e4b4a0e3660f38
Signed-off-by: Tom Robinson <tom.robinson@samsung.com>
9 years agoMerge "Fixes some alignment issues." into devel/master
Adeel Kazmi [Fri, 28 Aug 2015 11:51:01 +0000 (04:51 -0700)]
Merge "Fixes some alignment issues." into devel/master

9 years agoMerge "System font family change to update font in TextField" into devel/master
Adeel Kazmi [Fri, 28 Aug 2015 11:50:35 +0000 (04:50 -0700)]
Merge "System font family change to update font in TextField" into devel/master

9 years agoFix VD prevent issues 03/46803/2
Heeyong Song [Wed, 26 Aug 2015 08:15:08 +0000 (17:15 +0900)]
Fix VD prevent issues

1. rand -> rand_r: thread unsafe
2. copy constructor and asignment operator are missed

Change-Id: I505a831eb729255b240327d08b7c436378d75aab

9 years agoSystem font family change to update font in TextField 57/46757/3
Agnelo Vaz [Tue, 25 Aug 2015 15:56:11 +0000 (16:56 +0100)]
System font family change to update font in TextField

* StyleManager has an API to GetDefaultFontFamily
* StyleManager to store DefaultFontFamly from StyleMonitor when system font changes.
* TextField to Update Text Model after Default font changes.

- Currently editing text changes but not the Inactive Placeholder

Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Change-Id: I6d3f070e7ec57fea9815348ddce998563b392a95

9 years agoShows the virtual keyboard when text-field receives a long-press. 35/46935/3
v.cebollada [Thu, 27 Aug 2015 08:42:03 +0000 (17:42 +0900)]
Shows the virtual keyboard when text-field receives a long-press.

Change-Id: I7854dc1489d5829894ed4cec35a7982c8da9c315
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years agoFixes some alignment issues. 13/46913/1
v.cebollada [Thu, 27 Aug 2015 07:19:25 +0000 (16:19 +0900)]
Fixes some alignment issues.

* Align decorator when text-field's size changes.
* Fixes the text's scroll position when the text-field's size changes.

Change-Id: Iede1a116b6855da47a689e4da7e70775e13ed821
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years agoScaling feature for fixed-size fonts 63/46663/10
Paul Wisbey [Mon, 24 Aug 2015 13:59:50 +0000 (14:59 +0100)]
Scaling feature for fixed-size fonts

Change-Id: If882e9ceee65e657b47fe5e54534975f684d20b8

9 years agoMerge "Do not re-position the text popup when the text scrolls." into devel/master
Paul Wisbey [Wed, 26 Aug 2015 14:53:39 +0000 (07:53 -0700)]
Merge "Do not re-position the text popup when the text scrolls." into devel/master

9 years agoFix prevent issues 29/46829/4
taeyoon [Tue, 25 Aug 2015 09:51:02 +0000 (18:51 +0900)]
Fix prevent issues

 - Handling NULL by if()
 - Remove ( startOfSelectedText >= 0 )

Change-Id: I3364302388695648a341358de499d58a655fae24

9 years agoMerge "(ScrollView)Fix the double bouncing of the overshoot actor" into devel/master
Kimmo Hoikka [Wed, 26 Aug 2015 11:41:02 +0000 (04:41 -0700)]
Merge "(ScrollView)Fix the double bouncing of the overshoot actor" into devel/master

9 years agoDALi Version 1.1.1 19/46819/1 dali_1.1.1
Lee Morgan [Wed, 26 Aug 2015 10:14:45 +0000 (11:14 +0100)]
DALi Version 1.1.1

Change-Id: Ia463cd2c33e6f41bc4d159ab449e7caeb1ab405b

9 years agoDo not re-position the text popup when the text scrolls. 29/46729/7
v.cebollada [Tue, 25 Aug 2015 10:16:11 +0000 (19:16 +0900)]
Do not re-position the text popup when the text scrolls.

Change-Id: Idaa6be6547e8c9a96f603d6ab2efa997747dea8c
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years ago(ScrollView)Fix the double bouncing of the overshoot actor 54/46754/2
Xiangyin Ma [Tue, 25 Aug 2015 14:51:24 +0000 (15:51 +0100)]
(ScrollView)Fix the double bouncing of the overshoot actor

Remove ClearOvershoot, as the overshoot actor is updated with the change of OVERSHOOT_X / OVERSHOOT_Y through property noticification,
the clear animation is redundant which causes the double bouncing

Change-Id: I3a377928f1e18ded3a87882dd57b7e9e9ffeea51

9 years agoMerge "Fixes the change of style when the text-field grabs the keyboard focus." into...
Paul Wisbey [Tue, 25 Aug 2015 09:11:11 +0000 (02:11 -0700)]
Merge "Fixes the change of style when the text-field grabs the keyboard focus." into devel/master

9 years agoMerge "PageTurnView cleanup" into devel/master
Kimmo Hoikka [Mon, 24 Aug 2015 14:06:10 +0000 (07:06 -0700)]
Merge "PageTurnView cleanup" into devel/master

9 years agoChanged the cursor behavior to match other solutions 67/46567/2
Paul Wisbey [Fri, 21 Aug 2015 15:31:22 +0000 (16:31 +0100)]
Changed the cursor behavior to match other solutions

1) When the TextField is empty, repeatedly tapping should not affect the cursor blinking
2) When entering/deleting text, the cursor should not be blinking
3) When moving the cursor position, the cursor should not be blinking

Change-Id: Ib6dac81683edc7d54b3e96dbd47d7ce83c849c25

9 years agoFixes the change of style when the text-field grabs the keyboard focus. 06/46606/1
v.cebollada [Mon, 24 Aug 2015 04:48:53 +0000 (13:48 +0900)]
Fixes the change of style when the text-field grabs the keyboard focus.

* The text field is not in edit mode.
  - Double tap to select a word. The text-field grabs the focus but it
  shouldn't change to edit mode, it should select the word.
  - Tap to edit, tap in a different place to make the grab handle to appear.
  When the text-field grabs the focus it goes bak to edit mode and the
  grab handle dissapears.

Change-Id: I9dd055df25a8d358b0950faa76ab155affcce7cb
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years agoPageTurnView cleanup 36/45836/7
Xiangyin Ma [Tue, 11 Aug 2015 15:24:17 +0000 (16:24 +0100)]
PageTurnView cleanup

Change-Id: Ib6e198b14699da4d7f3bc8fcc6aa772012028d85

9 years agoMerge "Underline predictive text after updating the model." into devel/master
Paul Wisbey [Fri, 21 Aug 2015 10:43:00 +0000 (03:43 -0700)]
Merge "Underline predictive text after updating the model." into devel/master

9 years agoUnderline predictive text after updating the model. 40/46440/3
v.cebollada [Thu, 20 Aug 2015 08:40:40 +0000 (17:40 +0900)]
Underline predictive text after updating the model.

Change-Id: I0d3c11c1cccf971a5b9b25b85e271eb56beea345
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years agoFindSelectionIndices fixed if hit past the last character 71/46471/2
Agnelo Vaz [Thu, 20 Aug 2015 17:36:16 +0000 (18:36 +0100)]
FindSelectionIndices fixed if hit past the last character

* If tapping when a single character or tapping past the last character the target would not be selected.

Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Change-Id: If46f39de271f689cfff23d9cac7c99d0044437e9

9 years agoMerge "Fixed cursor behavior when no text is set" into devel/master
Paul Wisbey [Thu, 20 Aug 2015 16:38:36 +0000 (09:38 -0700)]
Merge "Fixed cursor behavior when no text is set" into devel/master

9 years agoFix to light animation in model3d-view control 67/46467/2
David Fumanal [Thu, 20 Aug 2015 15:15:13 +0000 (16:15 +0100)]
Fix to light animation in model3d-view control

Change-Id: Icbe7901c4096cad896f0040472ac7a9522348597

9 years agoMerge "Fixes cursor status when editing with popup or grab handle." into devel/master
Paul Wisbey [Thu, 20 Aug 2015 15:09:53 +0000 (08:09 -0700)]
Merge "Fixes cursor status when editing with popup or grab handle." into devel/master

9 years agoFixed cursor behavior when no text is set 64/46464/2
Paul Wisbey [Thu, 20 Aug 2015 14:22:26 +0000 (15:22 +0100)]
Fixed cursor behavior when no text is set

Change-Id: Ic794e633b284c1257126343ac6c0f6ec615868da

9 years agoSwitch off logging for Text Controller 65/46465/1
Agnelo Vaz [Thu, 20 Aug 2015 14:09:44 +0000 (15:09 +0100)]
Switch off logging for Text Controller

Change-Id: I961a04365e2001a2edc2a87c2dfb9a97035c998e
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoMerge "Ensure cursor positioned at end of selection when focus restored" into devel...
Paul Wisbey [Thu, 20 Aug 2015 13:50:04 +0000 (06:50 -0700)]
Merge "Ensure cursor positioned at end of selection when focus restored" into devel/master

9 years agoMerge "Fix for underlined text." into devel/master
Adeel Kazmi [Thu, 20 Aug 2015 13:22:12 +0000 (06:22 -0700)]
Merge "Fix for underlined text." into devel/master

9 years agoMerge "Fix when deleting with predictive text enabled." into devel/master
Adeel Kazmi [Thu, 20 Aug 2015 13:10:07 +0000 (06:10 -0700)]
Merge "Fix when deleting with predictive text enabled." into devel/master

9 years agoMerge "Fix for cursor position when a void text is set." into devel/master
Adeel Kazmi [Thu, 20 Aug 2015 13:09:53 +0000 (06:09 -0700)]
Merge "Fix for cursor position when a void text is set." into devel/master

9 years agoMerge "Fix for predictive text." into devel/master
Adeel Kazmi [Thu, 20 Aug 2015 13:09:43 +0000 (06:09 -0700)]
Merge "Fix for predictive text." into devel/master

9 years agoEnsure cursor positioned at end of selection when focus restored 72/45972/3
Agnelo Vaz [Wed, 12 Aug 2015 14:59:55 +0000 (15:59 +0100)]
Ensure cursor positioned at end of selection when focus restored

* If KeyInputFocus is lost during selection then the cursor should be positioned at end of the selection when Focus regained.
* Behaviour set to match other systems

Change-Id: I51fb52df99f6a8131c2f74acf54651667567f62f
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoDALi Version 1.1.0 54/46454/1 dali_1.1.0
Chu Hoang [Thu, 20 Aug 2015 12:33:13 +0000 (13:33 +0100)]
DALi Version 1.1.0

Change-Id: I802e13f298587626edc579641405538bb7ed7d3d

9 years agoFix for predictive text. 29/46329/4
taeyoon0.lee [Tue, 18 Aug 2015 13:17:31 +0000 (22:17 +0900)]
Fix for predictive text.

* With Latin upper case characters a key event with key code 50
  is sent. Then the pre-edit flag was cleared.
  Now this key event is ignored but the text controller doesn't
  know how to handle this event correctly.

Change-Id: I7bdb9cd41056d18240789bd17cc5826c71a779f5
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years agoFixes cursor status when editing with popup or grab handle. 96/46396/1
v.cebollada [Thu, 20 Aug 2015 05:17:06 +0000 (14:17 +0900)]
Fixes cursor status when editing with popup or grab handle.

Change-Id: I5e0f3066f77fca07e7a42d9bfaf9fda9d0f824aa
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years agoFix for underlined text. 77/46377/1
v.cebollada [Wed, 19 Aug 2015 15:19:18 +0000 (00:19 +0900)]
Fix for underlined text.

* Avoids the crash the first time a forled name is edited.

Change-Id: I378b04143afbed98d40284450bf31748efd07a96
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years agoFix when deleting with predictive text enabled. 27/46327/1
v.cebollada [Wed, 19 Aug 2015 08:09:00 +0000 (17:09 +0900)]
Fix when deleting with predictive text enabled.

* Clears the unwanted characters.
* Fixes the cursor position.

Change-Id: Ief7973d8ba80b5d4de3d93baa452a7cb8363693a
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years agoFix for cursor position when a void text is set. 05/46305/1
v.cebollada [Wed, 19 Aug 2015 04:51:44 +0000 (13:51 +0900)]
Fix for cursor position when a void text is set.

Change-Id: Iffc48de856e923567d07def0dd7feac2cf733092
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
9 years agoMerge "(AutomatedTests) Updates to test-platform-abstraction after adding DecodeBuffe...
Kimmo Hoikka [Fri, 14 Aug 2015 16:42:42 +0000 (09:42 -0700)]
Merge "(AutomatedTests) Updates to test-platform-abstraction after adding DecodeBuffer" into devel/master

9 years ago(AutomatedTests) Updates to test-platform-abstraction after adding DecodeBuffer 94/46094/2
Adeel Kazmi [Fri, 14 Aug 2015 15:39:02 +0000 (16:39 +0100)]
(AutomatedTests) Updates to test-platform-abstraction after adding DecodeBuffer

Change-Id: Ib7fb833c615a4a2059f3427ff2c7945bec5a0412

9 years agoFix memory leak caused by the handle of scrollable object stored in ScrollBar 74/44674/6
Richard Huang [Fri, 24 Jul 2015 13:14:53 +0000 (14:14 +0100)]
Fix memory leak caused by the handle of scrollable object stored in ScrollBar

Change-Id: Idd12ce47c9c961e67d30563a8e55a13930e6cd61

9 years agoTextField and TextLabel not to ApplyStyle if Font size or family already set 73/46073/2
Agnelo Vaz [Thu, 13 Aug 2015 17:10:28 +0000 (18:10 +0100)]
TextField and TextLabel not to ApplyStyle if Font size or family already set

* If the Font Point size or Font family has been set then will not ApplyStyle after notifcation from StyleMonitor
* If StyleMonitor requests a ThemeChange then the new theme will be applied and over-ride set properties

- If the system font point size is changed this will not take effect until application restarted.
- Font Point Size or Font family can not be changed by system instantly

Change-Id: Ib3fd88c3def9f8af63aaca9556192043a2274e48
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoMerge "New control to load OBJ files" into devel/master
Paul Wisbey [Fri, 14 Aug 2015 09:03:37 +0000 (02:03 -0700)]
Merge "New control to load OBJ files" into devel/master

9 years agoMerge "Changes after timeDelta parameter removed from PostRender" into devel/master
Kimmo Hoikka [Thu, 13 Aug 2015 18:43:01 +0000 (11:43 -0700)]
Merge "Changes after timeDelta parameter removed from PostRender" into devel/master

9 years agoFix for crash when an atlas can only contain a single glyph. 60/46060/2
Richard Underhill [Thu, 13 Aug 2015 11:58:58 +0000 (12:58 +0100)]
Fix for crash when an atlas can only contain a single glyph.

Change-Id: I968d11d1eeffe219f973e57989a049c1e2a05b64
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
9 years agoChanges after timeDelta parameter removed from PostRender 85/45085/4
Adeel Kazmi [Fri, 31 Jul 2015 09:20:52 +0000 (10:20 +0100)]
Changes after timeDelta parameter removed from PostRender

Change-Id: Ife68a646bcd105439e3f2eecd2ce6e6bdf473ec1

9 years agoMerge "Fix cursor's position when there is no text and the width is > 1." into devel...
Paul Wisbey [Thu, 13 Aug 2015 13:24:28 +0000 (06:24 -0700)]
Merge "Fix cursor's position when there is no text and the width is > 1." into devel/master

9 years agoAdding "Light" font-style to ToolbarPopup json style sheets 76/45976/2
Agnelo Vaz [Wed, 12 Aug 2015 17:15:25 +0000 (18:15 +0100)]
Adding "Light" font-style to ToolbarPopup json style sheets

Change-Id: I23aebdd4bf17f3dc8f2f9b8b81fa3db4fc483663
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>