[AT-SPI] ScrollView: Use child postion for ScrollToChild It was not able to scroll in a child of scroll view if the child is not a child of the first depth. (1) [scroll pane],[(class=ScrollView)],[364,199,656,36],[TextSelectionScrollView] (2) [table],[(class=TableView)],[364,101,901,134],[] (3) [push button],[(class=PushButton)],[364,101,447,134],[Select all] (4) [image],[(class=ImageView)(highlight=)],[364,101,447,134],[] (5) [unknown],[(class=Control)],[811,107,1,122],[] (6) [push button],[(class=PushButton)],[812,101,265,134],[Copy] (7) [unknown],[(class=Control)],[1077,107,1,122],[] (8) [push button],[(class=PushButton)],[1078,101,187,134],[Cut] The node (8) was not able to bring in even though it has highlight. This patch makes node (8) bring in when it grabs highlight. Change-Id: I862a8adcc2bd6212464ffc833a2a0d0cf0a4480c
[AT-SPI] fix a crash on scroll-view This patch is resolving the crash with following stack. __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 Dali::Toolkit::Internal::ScrollView::ScrollTo Dali::Toolkit::ScrollView::ScrollTo Dali::Toolkit::Internal::ScrollView::AccessibleImpl::ScrollToChild Dali::Toolkit::DevelControl::ControlAccessible::ScrollToSelf Dali::Toolkit::DevelControl::ControlAccessible::GrabHighlight Dali::Toolkit::DevelControl::GrabAccessibilityHighlight Dali::Toolkit::Internal::AccessibilityManager::SetCurrentFocusActor Dali::Toolkit::AccessibilityManager::SetCurrentFocusActor It is not able to call ScrollView::ScrollTo, if parent of child in ScrollTo is not the scrollView. But the ControlAccessible can call ScrollTo when the parent can be one of child's parents(ancestor). Change-Id: Ie88c652f8a1ca348f6b8cbe9f95484a5eb5bf508
[AT-SPI] Remove SetAccessibilityConstructor() This function is replaced by a new Control virtual method, CreateAccessibleObject(), which allows to achieve the same goal using less eccentric syntax. A slight reduction in memory usage is also expected, thanks to the fact that there is now no need to store a 'mAccessibilityConstructor' functor in every Control::Impl instance. Change-Id: I6399a6ca9acefb1648086b17d154541535f6bd2d
[AT-SPI] Rename AccessibleImpl to <Control>Accessible This change finishes establishing the new naming convention for Accessible objects, which now mirror the names of DALi/NUI classes, e.g. ActorAccessible, ControlAccessible (previously AccessibleImpl), NUIViewAccessible (previously AccessibleImpl_NUI), and now <Control>::AccessibleImpl becomes <Control>::<Control>Accessible. Change-Id: I8ba65736da4527d19107cee877541f776ba017ca
(TextController/ScrollView) Reduced LOC - TextController - Moved some methods to the Impl class - TextControllerImpl - Moved a lot of functionality outside of the class - ScrollView - Added a class which handles the properties Change-Id: I69127a9bc3dbd3e892f1fe0019cac9ad41fc2f3e
Fix LogMessage format to print Filename / Functioname / Line Add LogMessageDlogFormat macro to apply these informations : Filename: Function(Line#) > "messages" Previous LogMessage function always print like this logging-tizen.cpp: LogMessage(38) > "messages" So we fix to print actual informations Default LogMessage(~~) will be used when someone don't need to follow up Dlog format. (like ttrace and perfomance logger) Change-Id: Ifa77b921bcb189165114c5b1e08a18175abd939d Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
(ScrollView) Moved constraint related behaviour into a new class Change-Id: Id55340b53b62f895a4a48bc53674ba3bbd85d986
[AT-SPI] Add AccessibleImpl::ScrollToChild() This replaces two virtual methods: * EnsureSelfVisible() - redundant, replaced by a simple loop * EnsureChildVisible() - renamed to ScrollToChild() to reflect that this concerns scrollable containers Change-Id: I38f7be0a1117dc93ce70b496913b62a400c4432a
[AT-SPI] Use WeakHandle<Actor> in Accessible objects This breaks a strong reference cycle between Control::Impl, Actor, and AccessibleImpl. AccessibleImpl objects are stored as a std::unique_ptr in Control::Impl, so they do not need a strong actor handle. Change-Id: Iadf366dde0fe9cf1ca41128b027bc8add0717b39
Updated all header files to new format Change-Id: I68b3cf032fa1758fff92509f463101bdfd36cce1
Updated all cpp files to new format Change-Id: If92183926ff6584c5d05efda672b422b9dd9a322
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>
Changed 'virtual' function override declarations to 'override' in dali-toolkit. Change-Id: If046270d3b6036f8566a9c48e4064425c1498daa Signed-off-by: György Straub <g.straub@partner.samsung.com>