Youngbok Shin [Fri, 4 Aug 2017 02:59:29 +0000 (11:59 +0900)]
label: set duration/speed for text marquee using internal functions
@tizen_feature
Change-Id: I3746364acd1818a9f0766ce18e029c8a3f70dc0d
Shinwoo Kim [Thu, 3 Aug 2017 06:46:25 +0000 (15:46 +0900)]
atspi: do not accept invisible object
Issue:
If an object is child of scrollable parent, then the object is accepted even
though the object is invisible.
Solution:
Do not accept invisible object.
Change-Id: I0492eb9f5f265211521f066acd6f56d9c24356c0
Shinwoo Kim [Thu, 3 Aug 2017 06:24:31 +0000 (15:24 +0900)]
atspi: enhance elm_atspi_gesture_cb_set document
Change-Id: I887c08230b1de0404357d1b3717f4b3e14c08365
Shinwoo Kim [Wed, 2 Aug 2017 12:15:56 +0000 (21:15 +0900)]
atspi: handle "gesture_required" attribute
The elementary sends the "detail2" information highlight based on the attribute
"gesture_required" when an object grabs.
If an object has attribute key "gesture_required", and "scroll" for its value,
then the "detail2" is 1. Otherwise, the "detail2" is 0.
The screen-reader AT client calls "ObjectNeedsScrollGesture" method of
e-mod-tizen-screen-reader window manager module with object geometry value,
if the "detail2" is 1. Otherwise, the object geometry value is not used.
The e-mod-tizen-screen-reader window manager module will send mouse event
based on the object geometry.
Application side could use this feature setting attribute as below:
- elm_atspi_accessible_attribute_append(btn, "gesture_required", "scroll");
This patch set depends on:
https://review.tizen.org/gerrit/#/c/142108/ (screen-reader)
https://review.tizen.org/gerrit/#/c/142107/ (e-mod-tizen-screen-reader)
Change-Id: I0b731ce947be569b2d782fdc21f18c79ffebf70e
Youngbok Shin [Fri, 4 Aug 2017 02:45:14 +0000 (11:45 +0900)]
cursor: remove a warning message from a unused static variable
@tizen_fix
Change-Id: Icfcaf6e0c92aa259afae816313eb29550456d9f8
(cherry picked from commit
8187228fbf2d278779c09366bc12939e563224c8)
Youngbok Shin [Thu, 3 Aug 2017 07:39:18 +0000 (16:39 +0900)]
entry: remove a warning message caused by unused parameter for cbhm
@tizen_fix
Change-Id: Ib1f61049b4c7fc075ac9764642eca0a9e7cb358e
(cherry picked from commit
2d18f914a1731a051e1818b1b890f6500a6878c4)
Youngbok Shin [Wed, 2 Aug 2017 10:57:05 +0000 (19:57 +0900)]
entry: remove unused label for goto
@tizen_fix
Change-Id: I7ea5763432b9118eb7e33f20419be2e25ccf7a9f
(cherry picked from commit
4efc635dc647d5e43a9e0170f41502a23438aeb5)
Shinwoo Kim [Wed, 2 Aug 2017 06:51:25 +0000 (15:51 +0900)]
atspi: suppress warning message
The following is warning message.
In function '_elm_genlist_elm_widget_screen_reader':
warning: declaration of 'l' shadows a previous local [-Wshadow]
Eina_List *l;
^
note: shadowed declaration is here
Eina_List *l;
Change-Id: I8af5c5e4a49219bebccd2a51ddc0ddfc853f447f
Shinwoo Kim [Tue, 1 Aug 2017 10:22:03 +0000 (19:22 +0900)]
atspi: access overrides Accessible.state_set.get
The elm_access a widget makes primitive object accessible. If a primitive
object is not visible, then the elm_access should NOT have state VISIBLE and
SHOWING. From now the elm_access is checking visibility of primitive object.
Change-Id: I27c2f29d3346e03329784872281e4734ec753160
Wonki Kim [Wed, 2 Aug 2017 08:10:49 +0000 (17:10 +0900)]
interface_scrollable: Modify to cast values between double and int explicitly
this commit modify code to cast double and int variables explicitly
Change-Id: I6dc51d60ade454c773308eb778a74c8117ac8fd9
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Wed, 2 Aug 2017 08:09:14 +0000 (17:09 +0900)]
elm_config: Fix potentional error
Change-Id: I6f3a7e1035f7c329f8ee347b4235cbbcfa30400f
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Jiyoun Park [Wed, 2 Aug 2017 07:48:27 +0000 (16:48 +0900)]
efl_ui_win: add error hanling code for malloc fail
Change-Id: I57db76192233afcc95df22bef8eff824611228d7
Jiyoun Park [Mon, 31 Jul 2017 06:21:21 +0000 (15:21 +0900)]
elm_win: add ELM_WIN_SOCKET_IMAGE type check
elm_win_socket_listen api only work for ELM_WIN_SOCKET_IMAGE type window.
So it is better to add type check code.
Change-Id: Ic5f0c97767a957493bda70eddf96765c0723e58a
Shinwoo Kim [Mon, 24 Jul 2017 10:11:48 +0000 (19:11 +0900)]
atspi: grab highlight using unrealized item
The looping naviation could make the first(or last) item grab highlight.
But the _elm_widget_item_elm_interface_atspi_component_highlight_grab returns
without setting highlight if sd->view is NULL that means the item is NOT
realized in case of genlist.
So the _elm_genlist_item_elm_interface_atspi_component_highlight_grab BRINGs
the first(or last) item IN first before grabbing highlight.
Change-Id: Id36716d1e2d6249532d67dede9357e152b3d3107
JunsuChoi [Mon, 24 Jul 2017 07:00:18 +0000 (16:00 +0900)]
atspi: Remove build warning
Remove null initialization becuase of
variable ss(Elm_Atspi_State_Set) is not pointer
Change-Id: I5f57e5d25c035dae841cd1258cb172ee7ee4a6a3
Hosang Kim [Mon, 24 Jul 2017 05:35:13 +0000 (14:35 +0900)]
slider: changed negative zero to zero
When slider value is between 0.0 and -0.5, -0 is printed.
Change-Id: I7381dabc0749555b77be53e67c74e646c17840c1
SangHyeon Lee [Tue, 18 Jul 2017 07:30:26 +0000 (16:30 +0900)]
genlist : fix wrong item referencing in pos adjust
Change-Id: Ie055661c4f20308511f7c39c92e2dee36bbcdb15
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Shinwoo Kim [Wed, 19 Jul 2017 23:50:54 +0000 (08:50 +0900)]
atspi: fix mobile doxygen category issue
Accessibility ┬ Access
├ Atspi Accessible
├ Atspi Bridge
└ Atspi Component
The Access, Atspi Bridge, and Atspi Component did not have contents.
Change-Id: I4d0c1b7a25705217deb35fe7d9363035fc7708f5
Wonki Kim [Wed, 19 Jul 2017 06:13:28 +0000 (15:13 +0900)]
interface_scrollable: fix build fail on interface_scrollable
typo error
Change-Id: I4d9e786a71ff7bc765ff08e1c5266fb6801455b0
Shinwoo Kim [Tue, 18 Jul 2017 06:18:04 +0000 (15:18 +0900)]
atspi: Expose API for Wearable only
Change-Id: Ib58b7e43992bed68796338815eb537fd42b423db
Wonki Kim [Tue, 18 Jul 2017 11:15:21 +0000 (20:15 +0900)]
interface_scrollable: Add "content,resize" callback to keep backward compat
There was a "content,resize" callback before tizen 3.0.
Even if it was a tizen only code block, there could be a backward compat issue
without the callback.
This commit emits the callback after whole procedure for content resizing.finished.
@tizen_feature
Change-Id: I0eccf8ebc8c704e1403056c0078bd6625d612265
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Shinwoo Kim [Tue, 11 Jul 2017 11:30:16 +0000 (20:30 +0900)]
atspi: use last appended relation information
So far, the screen reader has used the first relation information.
So application should remove appended relation information, before appending
relation information newly. This is hard to use in some point of view.
The application used *append API as *set API.
So using last appended relation information makes more sense.
Change-Id: Id7c3e7dc02acc0a883eb7e55b3892461aee259a3
JunsuChoi [Tue, 4 Jul 2017 01:36:39 +0000 (10:36 +0900)]
change markup text to utf8 when called accessible_name_get function
Change-Id: If56425bb5ab316e029d38024bcd7bfd5811fb8e6
Shinwoo Kim [Tue, 11 Jul 2017 10:16:39 +0000 (19:16 +0900)]
atspi: enhance finding the first,last obj
There are two kind of first(or last) object.
(1) The first object in viewport of its scrollable parent.
(2) The first object in accessibilty tree regardless of scrollable parent.
Looping navigation should use the first object of type (2)
Other cases should use the first object of type (1)
If view is changed, then there is no highlight. In this case the first object
of type (1) should be used. For example, if view is changed to 1 depth from
2 depth, then the highlight should use the first object of type (1).
If the following is 1 depth view after 2 depth view disapears, then there is
not currently highlighted object. In this case the item 4 should grab highlight
for next object, and the item 6 should grab highlight for the previous object.
+--------+
| item 4 |
|--------|
| item 5 |
|--------|
| item 6 |
+--------+
Change-Id: I72cd6b993a9dadbef5807fdf9d4674db8e8579b6
Shinwoo Kim [Fri, 7 Jul 2017 02:44:14 +0000 (11:44 +0900)]
atspi: consider scrollable parent for "GetNeighbor"
To determine the next object,
find top scrollable parent of next object excluding scrollable parents of start
object, and check if the next object exists inside of the top scrollable parent
viewport.
If there is not top scrollable parent, then use the next object.
(layout)
|
|----------|----------|
| | |
(btn1) (scroller) (btn3)
|
|
|----------|----------|
| | |
(btn2) (genlist) (toolbar)
[case: top scrollable parent is scroller]
If current highlighted(start) object is btn1, and the 10th genlist item shows
just under the btn1 (i.e. btn2, and 1st ~ 9th items are scrolled out),
then the next object should be the 10th item.
[case: top scrollable parent is NULL]
After the 10th genlist item grabs highlight, the previous object should be the
9th genlist item, not the btn1. In this case scrollable paretns of start object
are scroller, and genlist. the next object has same scrollable parents. So the
top scrollable parent is NULL.
If the 10th genlist item is the next object of btn1, then the btn1 object could
be the previous object of 10th genlist. But this patch set make the 9th genlist
item previous. This behavior is quite dependent on UX definition.
Change-Id: I8ded2d533f0b77202be25713eafca652e1886bcb
Shinwoo Kim [Wed, 5 Jul 2017 08:10:47 +0000 (17:10 +0900)]
atspi: fix integer underflow issue
Change-Id: I99a498b901c0980d62e5c8abaf42687fb54ac335
Shinwoo Kim [Fri, 30 Jun 2017 09:15:29 +0000 (18:15 +0900)]
atspi: fix bug of finding the last object
The last object can be found only if all_children_visited is false.
The start is same with root, when looking for the last object.
The first object can be found already, even though the start is same with root.
Because the forwarding navigation can visit its children.
Change-Id: I763994505d5b2b21ee8aa459b39c08512a34a279
Shinwoo Kim [Fri, 30 Jun 2017 02:35:51 +0000 (11:35 +0900)]
atspi: suppress runtime error, build warning
[runtime error]
(1) elm_atspi_bridge.c:2787 _bridge_path_from_object() safety check failed: eo == NULL
(2) elm_atspi_bridge.c:6184 _bridge_object_register() Unable to register class w/o Elm_Interface_Atspi_Accessible!
(3) lib/eo/eo.c:697 _eo_call_resolve() in elm_widget.eo.c:169: func 'elm_obj_widget_access_highlight_in_theme_get' (288) could not be resolved for class 'Edje_Object'
- Note: The access_highlight_in_theme (3) should handle non Elm_LAYOUT_CLASS.
Or the access_highlight_in_theme should be removed. If the screen-reader
shows highlight, then the access_highlight_in_theme doesn't make sense.
[build warning]
(1) warning: passing argument 2 of '_object_get_bus_name_and_path' discards 'const' qualifier from pointer target type
(2) warning: passing argument 3 of '_object_get_bus_name_and_path' from incompatible pointer type
Change-Id: I4a690afdbf90f2bf72b497d0c3916c7fc83ddb74
Shinwoo Kim [Thu, 29 Jun 2017 07:31:44 +0000 (16:31 +0900)]
atspi: check accessible parent for can_highlight
If an object is Elm_Widget and accessible child of Elm_Widget_Item, then
can_child of this object does not check value of the Elm_Widget_Item.
Because the _elm_widget_item_highlightable has used elm_widget_parent_get.
It doesn't return Elm_Widget_Item. It returns parent object of Elm_Widget_Item.
So _elm_widget_item_highlightable should have to use accessible parent.
Change-Id: Iecbc162fc676efeb6e3162418ac3eb34b761195d
JunsuChoi [Wed, 14 Jun 2017 06:07:34 +0000 (15:07 +0900)]
atspi: moved highlight when object is out of screen
when highlighted object is out of screen or scroll view
, elementary send 'object:move-outed' signal to screen-reader
need this commit:
screen-reader - https://review.tizen.org/gerrit/#/c/133970/
at-spi2-core - https://review.tizen.org/gerrit/#/c/133972/
Change-Id: I32571343548031e2c2befd1c0828de031bace1f0
jiin.moon [Wed, 31 May 2017 10:01:03 +0000 (19:01 +0900)]
elm_image: Fix previous image visible issue
Summary: Previous image still visible when elm_image_file_set has wrong file path.
Test Plan: self
Reviewers: jpeg, jypark, singh.amitesh
Reviewed By: singh.amitesh
Subscribers: singh.amitesh, minkyu, cedric
Differential Revision: https://phab.enlightenment.org/D4888
Change-Id: If8393e3851ea7cec1673540d7798eba1850cc75d
Jean-Philippe Andre [Thu, 20 Apr 2017 09:29:26 +0000 (18:29 +0900)]
elm_image: Fix file_set when preload is disabled
If we disable preload, then the second file set on an elm_image
object would not trigger a deletion of the first image. As a
consequence, both images would be visible... really bad if there's
alpha or different dimensions!
Thanks Anand Kumar for the report!
@fix
Change-Id: If708c2d6bbc432585ba4493d6068467ab1a6086b
Daniel Zaoui [Mon, 21 Nov 2016 09:52:27 +0000 (11:52 +0200)]
efl_ui_image: fix removal of the internal evas image
During the replacement of the image with the new preloaded one,
the previous image is deleted but not removed from the list of
children of the icon (efl_ui_image), leading to Eo errors when
walking over the icon children.
@fix
Change-Id: Ic5e606bf2b485051e419b1ea0ba263cd5c7808f9
Shinwoo Kim [Mon, 26 Jun 2017 06:25:06 +0000 (15:25 +0900)]
atspi: find the first, last obj using "GetNeighbor"
The reducing IPC task overlooked functionality to get the first, last object.
This commit is related to the following commit.
[screen-reader]
commit
72e3396fac3a377f49422af454875a0e4c9a58bc
Add loop navigation feature.
Screen reader gives FOCUS_CHAIN_END_NOTIFICATION_EVENT notification if there is
no more object in its direction. If user gives next(or prev) gesture in same
direction one more time, then the first(or last) object will grab highlight.
Change-Id: I0e68c84a595396cbf7d0d2ae4d93fca4c425f0ea
Shinwoo Kim [Wed, 21 Jun 2017 02:39:18 +0000 (11:39 +0900)]
atspi: handle atspi proxy connection at runtime
The following cases make atspi proxy work incorrectly.
[case 1]
1. screen reader on, then a11y order would be
A1(embedding, deputy) - B1(embedded) - B2(embedded) - A2(embedding)
2. make A2 grab highlight
3. go previous, then A1 grabs highlight.
but expected result is that the B2 grabs highlight
[case 2]
1. screen reader on, then a11y order would be
A1(embedding, deputy) - B1(embedded) - B2(embedded) - A2(embedding)
2. make A1 grab highlight
3. go next, then B1 grabs highlight.
This means that the proxy connection is made properly.
4. screen reader off
5. screen reader on, then a11y order is
A1(embedding, deputy) - A2(embedding)
but the following is expected result as step 1
A1(embedding, deputy) - B1(embedded) - B2(embedded) - A2(embedding)
So far the pory connects if elm_interface_atspi_children_get is called.
So there is no chance to make connection for the [case 1].
When atspi is disabled, then all atspi related interface is closed.
But the proxy related resources are not removed.
If atspi is enabled again, then newly created interface is used on new BUS.
And the proxy related resources are reused.
So the [case 2] happens.
This patch set depends on screen-connector to use "widget,create" signal to
connect proxy on elementary side. This should be removed, and we have to
provide proper API to be used on screen-connector side to connect proxy.
Change-Id: I86f610504848db816e6db355316f8da06db513df
Shinwoo Kim [Thu, 15 Jun 2017 12:16:35 +0000 (21:16 +0900)]
atspi: "GetNeighbor" is using deputy object
A01 object is deputy object, and exists in embedding process.
A02, A03 object exist in embedding process.
B01, B02 objects exist in embedded process.
The “GetNeighbor” method should return A02 object as “next” object of B02,
and return B02 object as “prev” object of A02.
The “next” object of A01 is B01.
The “prev” object of B01 is A01.
This is default implementation.
The following is default order: A01 - B01 - B02 - A02 - A03
But more important thing is that the embedding process could use
ELM_ATSPI_RELATION_FLOWS_TO/FROM for each objects A01, A02, and A03.
So there are some cases should be considered.
(1) If A01 is ELM_ATSPI_RELATION_FLOWS_FROM object of A03, then the
“GetNeighbor” should find B02 first when it navigates backward from A03.
(2) If A03 is ELM_ATSPI_RELATION_FLOWS_TO object of A01, then the
“GetNeighbor” should find A03 first when it navigates backward from B02.
(3) Even though the A01 has ELM_ATSPI_RELATION_FLOWS_TO relation information,
the “GetNeighbor” should find B01 first. Because the
ELM_ATSPI_RELATION_FLOWS_TO object is used when “GetNeighbor” finds
next object of B02.
Change-Id: Id9ec5762fb5abe94f942bf3823c69729e6389702
Shinwoo Kim [Tue, 13 Jun 2017 09:18:03 +0000 (18:18 +0900)]
atspi: Make socket listen if atspi is enabled
The socket proxy try to listen if the atspi is not enabled.
So it elm_atspi_bridge_utils_proxy_listen returns with out creating socket
interface(_socket_ifc_create) because it checks return value of
_elm_atspi_bridge_get which is used in _elm_atspi_enabled also.
Change-Id: Ie7a929d53ca9cc90e089f6a167b0480fc041c5af
Shinwoo Kim [Wed, 14 Jun 2017 02:30:58 +0000 (11:30 +0900)]
atspi: "GetNavigableAtPoint" sends deputy object
The deputy means embedding side object works for embedded object.
If there is no object at point on embedded side, then the deputy object should
have highlight.
So far the deputy object is elm_access, and the elm_access takes highlight.
So there is no chance to have highlight on embedded side.
Change-Id: Id3fd144f74784f2630215c401b93c56a87f388e3
Shinwoo Kim [Fri, 26 May 2017 13:05:11 +0000 (22:05 +0900)]
atspi: add "GetReadingMaterial" interface method
The atspi_accessible_get_reading_material of at-spi2-core calls this method to
get reading material to be used screen-reader side. This is for reducing IPC.
It seems that the number of IPC is changed from 30 to 1.
Related patch set:
https://review.tizen.org/gerrit/#/c/131358/ (at-spi2-core)
https://review.tizen.org/gerrit/#/c/131359/ (this one, elementary)
https://review.tizen.org/gerrit/#/c/131511/ (at-spi2-atk)
https://review.tizen.org/gerrit/#/c/131714/ (screen-reader)
@tizen_only
Change-Id: Ib17d34fd8af7b5856908692c617938116d02305e
Shinwoo Kim [Fri, 19 May 2017 10:29:06 +0000 (19:29 +0900)]
atspi: Reduce action related IPC
If there are more than 10 actions on an object, then more than 10 IPC occurs for
calling reading information related action such as ReadingStopped which is called
whenever an object has highlight.
Change-Id: I884a183ec52fa30a7173a19794ab6628f0f87207
Shinwoo Kim [Wed, 28 Jun 2017 00:04:07 +0000 (09:04 +0900)]
atspi: make popup label accessible
The application could customize default behavior of popup label.
There was no way to get the popup label so far.
Change-Id: I2b0477556a155574a151b063172bdb71cf72122e
Shinwoo Kim [Thu, 8 Jun 2017 11:33:55 +0000 (20:33 +0900)]
widget: initialize local variable
Uninitialized data is read from local variable 'ow', and 'oh'
Change-Id: Ib042ba64a88d82fa883f08c08851ee44c0a9a2da
Hosang Kim [Fri, 23 Jun 2017 10:27:08 +0000 (19:27 +0900)]
conformant: Added "virtualkeypad,size,changed" smart callback.
When the virtualkeypad size is changed, applications get the notice.
Applications can do internal object calculation according to the exact
virtualkeypad size.
Change-Id: Ic1e551a885c0d371f33295b2db993c97a46160c6
SangHyeon Lee [Wed, 21 Jun 2017 07:20:50 +0000 (16:20 +0900)]
genlist: add null check in filter item internal for prevent svace issue
Change-Id: I73f6f2f320665a63e8430eafdedbb63b40510841
SangHyeon Lee [Thu, 22 Jun 2017 06:43:35 +0000 (15:43 +0900)]
genlist: fix clip set api calls in genlist when clipees are less than 2
Change-Id: If3183bf9437523f2bb0c4eaeb6c23dd43c70fb68
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
JunsuChoi [Wed, 7 Jun 2017 07:56:31 +0000 (16:56 +0900)]
atspi: Fix object is completely on screen function
is_complete variable has been modified to function correctly.
Change-Id: I2ed25f96ed51baac0873d82e985ccf445a4f6482
Radoslaw Cybulski [Wed, 8 Mar 2017 14:41:34 +0000 (15:41 +0100)]
Add navigation helper functions for screen-reader and friends (part 2)
Change-Id: Idb6c1c3f33d377922b6813c2e03a4883c8ea34f3
Radoslaw Cybulski [Fri, 3 Mar 2017 15:29:55 +0000 (16:29 +0100)]
Add navigation helper functions for screen-reader and friends
This patch adds GetNavigableAtPoint accessibility interface - the function finds accessibility object at given coordinates.
This massively (10-15 times) reduce amount of IPC calls (and time spent) in typical screen-reader scenario.
Change-Id: Iff5820e280bef64414d0f07e9e2d5927a29bae4d
Jaeun Choi [Tue, 13 Jun 2017 10:33:09 +0000 (19:33 +0900)]
panel: add "elm,state,hold", "elm,state,unhold" signals
these signals were added in Tizen 2.3 as Tizen only code
and removed after merging upstream code into Tizen 2.4.
need to add the signals for compatibility.
Change-Id: I7b5400cd2d7046bb987f9d6c504bdf93c6c7c9fc
Shinwoo Kim [Tue, 13 Jun 2017 01:42:25 +0000 (10:42 +0900)]
atspi: ctxpopup item uses parent name first
The ctxpopup does not use parent name such as elm_widget_item, and
elm_interface_atspi_accessible_name. So the elm_atspi_accessible_name_set does
not work.
Change-Id: I5f4c1d4ba9849c5e36d8471715a24298a683052b
Shinwoo Kim [Mon, 5 Jun 2017 10:36:19 +0000 (19:36 +0900)]
atspi: fix compare func to find object at point
The compare function(_sort_by_repeat_events) does not change if two objects
repeat event(repeat_events: 1) even though the second object is registered to
elm_access. In this case the object could be demoted in the list, and it is not
possilbe to find the object by screen reader.
The following is the problem case:
[Before Sorting]
1. Object A (repeat_events: 1)
2. Object B (repeat_events: 1, is registred to elm_access)
3. Object C (repeat_events: 1)
4. Object D (repeat_events: 0)
5. Object E (repeat_events: 0)
[After Sorting] D - E - A - B -C
Change-Id: I5c566252507d8d6c5aac5759588cdd9e1468cd3e
Shinwoo Kim [Tue, 30 May 2017 08:05:53 +0000 (17:05 +0900)]
atspi: do operation if its object is available
Operation 1. activate
An object under the naviframe item is accessible even though new naviframe item
is pushed on it. In this case, it is possilbe to do action of the object.
So this patch set is checking SHOWING state before doing action.
Operation 2. selection
It was possible to (de)select even though its one of perent freezes events.
It is impossilbe to (de)select using touch event if freeze_events set to 1.
So it should work same using atspi interface.
Change-Id: I59d69cd117252ef7364fd80536ce6b153c0ce920
Sungtaek Hong [Fri, 9 Jun 2017 08:39:48 +0000 (17:39 +0900)]
elm_map: fix wrong return type
@tizen_fix
Change-Id: I5243b928b738724ce31347e7d6b515451d24b2e8
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
Wonki Kim [Thu, 8 Jun 2017 04:40:23 +0000 (13:40 +0900)]
scroller: Initialize member variables which are used for unstable situation
This commit inits member vars to set proper position
when scroller initialy comes out.
Change-Id: I3b5490cbcc38fe77e549d152a7e4c666b6c4a518
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Jeeyong Um [Fri, 9 Jun 2017 05:15:25 +0000 (14:15 +0900)]
map: Fix broken link to openstreetmap.org
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Ia5607006b9bebfe05c47f10157b92a48abfc0f08
SangHyeon Lee [Fri, 9 Jun 2017 02:36:00 +0000 (11:36 +0900)]
genlist: fix build error by wrong merged patches
Change-Id: I7eeca7f7a17077e311267457ee948185da973d04
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
JunsuChoi [Thu, 8 Jun 2017 03:15:49 +0000 (12:15 +0900)]
Revert "[Scroller] Filp to cords for RTL mode in wanted_region_set"
This reverts commit
e718c067da2478193b81a347ac36cd2b04371060.
Change-Id: I9eeda933036ff07e47c64a43fe1421f5265fc2c2
SangHyeon Lee [Tue, 23 May 2017 06:10:43 +0000 (15:10 +0900)]
genlist: fix genlist item prepend to below the group parent
Change-Id: I62a08d5730882e0490a3060735afeaffec6284ef
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
(cherry picked from commit
68b28227e4ce83559484bff87005b5a11272884b)
JunsuChoi [Wed, 7 Jun 2017 04:53:40 +0000 (13:53 +0900)]
[Scroller] Filp to cords for RTL mode in wanted_region_set
In RTL mode, wanted_regison_set does not change coordinates
So add code like opensource.
Change-Id: Ib332b982c2994b0995b02bc2431fcd984610e089
(cherry picked from commit
f9d1f7303e4774124098193247838b70387b1dbd)
JinYong Park [Fri, 2 Jun 2017 08:29:58 +0000 (17:29 +0900)]
popup: fix object_mirrored_set didn't work
Using config_mirrored_set was working good at popup widget,
but object_mirrored_set didn't.
The mirrored value of notify, main layout, scroller, action area layout should be changed following popup.
@fix
https://phab.enlightenment.org/D4900
Change-Id: I5096e14c86ae313e10f2547e43b6e81de97690c3
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
Paweł Stawicki [Fri, 12 May 2017 11:37:11 +0000 (13:37 +0200)]
atspi: connect to at-spi dbus based on org.a11y.Status.IsEnabled property
Change-Id: Ic7a95172cd0da5e5285df195a4f31f9aaf98eade
Paweł Stawicki [Fri, 12 May 2017 11:37:11 +0000 (13:37 +0200)]
atspi: send window activated event to at_spi2 only once per session
Change-Id: Ibae523e85c8fa2cdf3d9d8145e99274f1b318db1
Shinwoo Kim [Thu, 25 May 2017 09:23:39 +0000 (18:23 +0900)]
atspi: do not demote an object that repeats event.
If an object is registered to elm_access, then do not demote its order even
though the object repeats event(repeat_events: 1) when _sort_by_repeat_events
function sorts object order.
User could add a rectangle to give accessibility. If the rectangle does not
repeat events, then it would be a problem when screen reader is off.
Change-Id: I3c154c96a290abb30f96564a9cee47ce237c5fe7
Taehyub Kim [Tue, 30 May 2017 06:36:24 +0000 (15:36 +0900)]
elm_photocam: fix wrong initial value for zoom mode
Change-Id: I4ee4be57645af30c4418fb8528bb767bf2211a71
Jeeyong Um [Tue, 23 May 2017 06:25:36 +0000 (15:25 +0900)]
doc: Add missing "Elm_" prefix to doxygen group name
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: I85ded32ebf97cd02ce2d85a104dccc9c4b395daa
Jaeun Choi [Fri, 19 May 2017 08:59:44 +0000 (17:59 +0900)]
elm_panel: use widget data for getting geometry
_elm_panel_evas_object_smart_resize() ends up calling
_elm_panel_elm_layout_sizing_eval() to adjust the layout
according to the updated width and height.
however, evas_object_geometry_get() doesn't return the updated values.
in fact, it is not necessary to call any API since the values are
stored as widget data in _elm_widget_evas_object_smart_resize().
Change-Id: I68467ec07700ee4dea99d36ee10c433608d5f555
JEONGHYUN YUN [Thu, 16 Mar 2017 08:38:18 +0000 (17:38 +0900)]
elm_panel: set hidden property when panel is close/open
Summary:
elm_panel has a property named hidden which stores open/close status.
This is updated when:
1.bring_in animation is done(anim_stop_cb).
2.mouse_up on panel.
3.API is called. (elm_panel_toggle, elm_panel_hidden_set)
In case 3, API changes hidden, and starts bring_in animation which will call anim_stop_cb() which will update hidden again.
If bring_in animation is canceled (eg: sizing_eval), anim_stop_cb will be called and calculate hidden status
which will not guarantee updated hidden state by APIs.
Test Plan:
1.Call any APIs which will call elm_layout_sizing_eval(panel) right after calling elm_panel_toggle()/elm_panel_hidden_set().
2.Delete content of panel during "toggled" cb.
Reviewers: jpeg, eunue, cedric
Differential Revision: https://phab.enlightenment.org/D4704
@tizen_fix
Change-Id: I8e0a97910de8bbc0920dd0260e3b81bc1793827e
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
JEONGHYUN YUN [Thu, 5 Jan 2017 09:33:33 +0000 (18:33 +0900)]
elm_panel: scrollable panel content size ratio refactoring (for 2.4 UX)
scrollable panel content size ratio refactoring (for 2.4 UX)
@tizen_fix
Change-Id: I19f3866cb269ed88a26052e0e6ae078755b49330
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
JEONGHYUN YUN [Thu, 5 Jan 2017 08:32:35 +0000 (17:32 +0900)]
elm_panel: Add _scrollable_layout_resize internal funcion for refactoring
Summary:
Remove duplicated code in _elm_panel_efl_gfx_size_set
and _elm_panel_scrollable_content_size_set.
Reviewers: jpeg, woohyun, eunue, jypark
Differential Revision: https://phab.enlightenment.org/D4553
Change-Id: I51196afc9519f93a16d10da479be87e5fec39de8
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
JEONGHYUN YUN [Thu, 5 Jan 2017 05:54:08 +0000 (14:54 +0900)]
elm_panel: add some exception handling code in scrollable_content_size_set
this is part of the commit
336a5996a60efd2ef10ba45a2868e746c385c260
in tizen branch (which is from upstream)
except for the new API part
Change-Id: I8124229033de8c67dce2def519c87fd6e29960f0
Shinwoo Kim [Tue, 16 May 2017 08:15:55 +0000 (17:15 +0900)]
Resize highlight rectangle if target object is clipped
Change-Id: I4017308af4a2e5162e75aec9a047f9fb2f66ff9f
Shinwoo Kim [Wed, 17 May 2017 08:10:28 +0000 (17:10 +0900)]
atspi: Demote relation object if the object exist
Change-Id: If49cc6c33228e168dbc0b6f22eeed5d7c5111a9a
Shinwoo Kim [Wed, 17 May 2017 02:08:46 +0000 (11:08 +0900)]
Override Elm_Interface_Atspi_Accessible.relationships_clear
The elm_widget, elm_widget_item override following interfaces.
- Elm_Interface_Atspi_Accessible.relationship_append
- Elm_Interface_Atspi_Accessible.relationship_remove
And keeps the relationship information in its data structure.
So the elm_atspi_accessible_relationships_clear does not work.
Change-Id: I790e27f0cc296d466d832d33c0596f063d499232
Shinwoo Kim [Fri, 12 May 2017 09:44:46 +0000 (18:44 +0900)]
entry: Support accessibility for entry anchors
Rectangles makes entry anchors work which are kept in anchor_atspi_rects
One entry anchor could wrap over multiple lines. In this case the rectangle for
the entry anchor exists only on the first line. Other lines just draw highlight
rectangle when the first rectangle has highlight. The highlight rectangles are
kept in anchor_highlight_rects.
In the follwing interface, entry checks the point if it exists inside of anchor
wrapping over multiple lines. Because from the second line of the entry anchor
does not have any objects such as rectangle to work for the following interface.
Elm_Interface_Atspi_Component.accessible_at_point_get
Change-Id: I474a821723637fc9bdaa65b10b3e2148e706b114
Shinwoo Kim [Wed, 10 May 2017 02:43:04 +0000 (11:43 +0900)]
[atspi] Use atspi status as smart callback event info
The elm_win did not use atspi status for SIG_ATSPI_SCREEN_READER_CHANGED smart
signal.
Change-Id: I6f1987222e6036fb24af6aea31a52cbb893603e2
katpagavalli [Mon, 8 May 2017 05:35:22 +0000 (11:05 +0530)]
wl_selection_send callabck comes twice with same buffer even after send is completed
[Model] Z400F
[BinType] AP
[Customer] N/A
[Issue#] App compatibility
[Request] App compatibility
[Occurrence Version] QD5
[Problem] Crash occurs
[Cause & Measure] Cause :
Measure :
[Checking Method]
[Team] UIFW/EFL
[Developer] Katpagavalli Anantharaj
[Solution company] SRIB
[Change Type]
Change-Id: I65318a8ef4483c02d96f13f65e9c54b34fea91ff
Signed-off-by: katpagavalli <katpaga.a@samsung.com>
Shinwoo Kim [Thu, 20 Apr 2017 01:00:44 +0000 (10:00 +0900)]
atspi: enhance documentation
Change-Id: I597e0cf17c1e3958bd1d862504d1e2709cb599c9
Shinwoo Kim [Mon, 17 Apr 2017 11:33:44 +0000 (20:33 +0900)]
atspi: Check existing attribute and override
elm_atspi_accessible_attribute_append should be deprecated because the attribute
is not appended. The attribute should work with setter, getter function.
It seems that atspi_accessible_get_attributes returns unique key and value.
The screen reader could get the last appended key and value though.
The previously added key and value is not necessary.
Change-Id: Id11540cdfddd86aa8214543a5c7a2eadf9f637e0
JunsuChoi [Tue, 18 Apr 2017 06:19:46 +0000 (15:19 +0900)]
[ATSPI] Modify clear only specified objects when called highlight_clear
In the past, highlight clear cleared all highlight
in the window. When a user calls highlight_grab manually,
highlight_clear on highlighted object causes all highlight to disappear.
So we modify it to clear the object specified in highlight_clear.
Change-Id: I0b07f6bbbf3eecd35eff5c7fc380e634140e182c
se.osadchy [Wed, 19 Apr 2017 05:45:04 +0000 (14:45 +0900)]
elm_map: Fix elm_map_overlay_color_get
Summary:
Add all supports types for overlay color (such as in Doc.)
@fix
Reviewers: cedric, Hermet, raster, NikaWhite, jpeg
Reviewed By: jpeg
Subscribers: jpeg, artem.popov
Differential Revision: https://phab.enlightenment.org/D4800
Change-Id: I3574302c33c6ca29ab58820e1b9c6cbf8e4f0f79
JunsuChoi [Fri, 14 Apr 2017 04:30:27 +0000 (13:30 +0900)]
[atspi][popup] Add text of elm.text to accessible_name_get.
Add text of elm.text to accessible_name_get
Because to support styles such as toast using elm.text
Change-Id: I6f6edf5e218f3d81aeb64aef5e540ce679c1a2f9
Hosang Kim [Tue, 18 Apr 2017 08:23:07 +0000 (17:23 +0900)]
slider: fix memory corruption issue
It caused crash issues when tizen_vector tries to delete
uninitialized addresses.
@tizen_fix
Change-Id: I801471d387f84fc80cc28a67af58a93434872dc7
Shinwoo Kim [Mon, 17 Apr 2017 10:21:24 +0000 (19:21 +0900)]
entry: init eldbus before using eldbus
It is possilbe to make dbus connection without eldbus_init.
In this case it is possilbe to make UNWANTED eldbus_shutdown work.
If a connection remains while eldbus_shutdown, then the eldbus complains with
CRItical message causing abort.
Change-Id: I11c341e896242074c00290dee25ffc32a0c6dc6b
Shinwoo Kim [Mon, 17 Apr 2017 02:35:13 +0000 (11:35 +0900)]
atspi: Expose API for both Mobile and Wearable
The exposed API could be used both profile Mobile and Wearable.
Change-Id: I6e61daf3c67a37239681ba6c36ccecad0ee54a6e
Shinwoo Kim [Wed, 12 Apr 2017 11:03:05 +0000 (20:03 +0900)]
atspi: Make atspi,(un)highlighted callback work on widget item.
The atspi,(un)highlighted callback works only on the widget so far.
Change-Id: Id09aa5be251eb93e145483b8473ad6e12b3dcacc
Shinwoo Kim [Fri, 14 Apr 2017 04:14:15 +0000 (13:14 +0900)]
atspi: Add and expose API
[add]
- elm_object_part_access_register
[expose]
- elm_object_part_access_object_get
- elm_access_object_register
- elm_access_object_unregister
- elm_access_object_get
- elm_atspi_bridge_utils_say
- elm_atspi_accessible_name_cb_set
- elm_atspi_accessible_description_cb_set
- elm_atspi_accessible_attribute_append
- elm_atspi_accessible_reading_info_type_set
- elm_atspi_accessible_reading_info_type_get
- elm_atspi_accessible_gesture_cb_set
- elm_atspi_accessible_can_highlight_set
- elm_atspi_accessible_can_highlight_get
- elm_atspi_component_highlight_grab
- elm_atspi_component_highlight_clear
Change-Id: Id9cf551a18cb2362081cd4058950c2adf6152424
se.osadchy [Tue, 21 Mar 2017 18:13:15 +0000 (11:13 -0700)]
elm_map: Fix work of elm_map_overlay_icon_set if icon is NULL.
Summary:
Delete check on NULL for icon object due to incorrect work. Function must delete
icon in map overlay (according to documentation) if we set NULL, but with this check -
nothing happening and after elm_map_overlay_icon_get we have not NULL returned value.
@fix
Reviewers: cedric, Hermet, raster, jpeg
Reviewed By: cedric
Subscribers: artem.popov
Differential Revision: https://phab.enlightenment.org/D4720
Change-Id: I0079d88374e9eda920b6eef143744cdc902fe773
Shinwoo Kim [Thu, 13 Apr 2017 11:50:51 +0000 (20:50 +0900)]
main: Handle exception calling elm_shutdown without elm_exit
elm_shutdown could be called without elm_exit.
In this case, the dbus connection created in elm_run is not disconnected.
Then eldbus complains with CRItical log message.
Change-Id: I20fdd1730a764301d297470de7cfa32173f8504c
Hosang Kim [Mon, 27 Mar 2017 05:51:14 +0000 (14:51 +0900)]
elm_win: add information of window state.
Change-Id: I080cb1ba0bd82ab5fccae88874b30c7765961ec4
Shinwoo Kim [Thu, 6 Apr 2017 05:21:30 +0000 (14:21 +0900)]
atspi: Add Elm_Atspi_Reading_Info_Type_Mask
The elm_atspi_accessible_reading_info_type_set could get result value of bitwise
operation. If the elm_atspi_accessible_reading_info_type_set allows only enum
Elm_Accessible_Reading_Info_type, then g++ complains with following error:
invalid conversion from 'int' to 'Elm_Accessible_Reading_Info_Type' [-fpermissive]
So the elm_atspi_accessible_reading_info_type_set should change its parameter
from Elm_Accessible_Reading_Info_Type to Elm_Atspi_Reading_Info_Type_Mask.
The Elm_Atspi_Reading_Info_Type_Mask is unsigned int type.
Change-Id: I21cee619919e071a66d15840632f972b1e89c58e
Shinwoo Kim [Wed, 5 Apr 2017 10:30:15 +0000 (19:30 +0900)]
access: call "access,activated" smart callback
The "access,activated" smart callback is called when "Activate the selected item"
gesture occurs.
Application could do the activation action using elm_access_action_cb_set.
But we recommend not to use elm_access_action_cb_set for this purpose on atspi
environment. And this would be usual widget behavior as elm_button does.
Moreover we had provided this before Tizen 2.4.
Change-Id: I7371a9c0718079d30fb287f6936e95e745e7eda6
Shinwoo Kim [Tue, 7 Feb 2017 12:21:11 +0000 (21:21 +0900)]
atspi: add gesture method to accessible interface
Screen reader asks application first if application want to consume gesture event.
If application returns FALSE, it means that application does NOT want to consume gesture event.
This works with https://review.tizen.org/gerrit/#/c/113438/
Change-Id: I8a03c68b2d727820a1fd12dabbad6df1c3b9a6d3
Godly T.Alias [Wed, 5 Apr 2017 14:20:36 +0000 (19:50 +0530)]
CtxPopup: Fix for scroller position of horizontal ctxpopup in mirroring case
@tizen_fix
Change-Id: I245a74dd97a7e680d37edfb3852dbc8bd98e3237
Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>
Godly T.Alias [Wed, 5 Apr 2017 09:51:53 +0000 (15:21 +0530)]
Genlist: Fix for reorder item crossing parent item
Change-Id: I38150268a12215d793bcdf500b7b47bc513dd959
Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>
Sungtaek Hong [Wed, 5 Apr 2017 06:43:33 +0000 (15:43 +0900)]
elm_map: fix copyright scalability issue
- Since copyright may have long text, the text cannot be shown properly
in low resolution.
@tizen_fix
Change-Id: I063b386bf4ec2c4b8a1f29d7d3cbff6abed9802e
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
Hosang Kim [Wed, 5 Apr 2017 04:28:01 +0000 (13:28 +0900)]
conformant: refer to window position when reflecting keyboard size
The vitural keyapd geometry is absolute coordinates value.
But conformant geometry is relative coordinates value.
When calculating overlapping size between keypad and conformant,
there is calculation error. So add window's x, y position for accurate
calculation.
@tizen_fix
Change-Id: Ia6fe558716439e39ccbc4e364fec309f80385f25
JinYong Park [Wed, 29 Mar 2017 06:05:35 +0000 (15:05 +0900)]
popup: add show signal to notify after align set
do align set after show animation is finised,
notify's state is default, so notify don't be visible
Change-Id: I023b5b9a801ac14d6fe63c33dd28ea452ad23ae3
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
jinwoo.shin [Tue, 6 Dec 2016 08:19:21 +0000 (17:19 +0900)]
elm_genlist : Fix duplicated focused signal emit
Change-Id: I403562a817fe7e5cf042196b511d16f2b360e452
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
Wonki Kim [Mon, 3 Apr 2017 17:10:29 +0000 (02:10 +0900)]
Compensate scroller when scroller is not stable
When scroller is not stable, some APIs don't work properly.
this commit compensate position of scroller once scroller is getting stable
@tizen_fix
Change-Id: I770fa980d6b39d91335e2d5a8df3521964b6f433
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Bowon Ryu [Mon, 3 Apr 2017 14:51:12 +0000 (23:51 +0900)]
toolbar: Initialize scroll region when toolbar is resized.
Elm_interface_scrollable_content_region_show causes problems in mirror mode.
This is to initialize the scroll region of the toolbar and supports mirroring.
Change-Id: I76bfbab5360a48d386cd97e01ef39b48d6614572
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>