interface_scrollable: Compensate scroller when scroller is not stable 15/124415/1
authorWonki Kim <wonki_.kim@samsung.com>
Mon, 27 Feb 2017 10:46:13 +0000 (19:46 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 11 Apr 2017 08:29:04 +0000 (17:29 +0900)
commit448dc3735c4252426a8e5f3c18c3dc1879f271dc
treeae30683d032c42cf8718af13bce98ded8f82f3cc
parent9929962658c69dd3df9b09fe3ac780e9c8ae45bd
interface_scrollable: Compensate scroller when scroller is not stable

Scroller internal states could be invalid when scroller is being calculated.
However, user app code could call scroller apis in middle of calculating of the scroller,
which mean apis are excuted on the invalid states of the scroller.
In that case, scroller api couldn't make what they want to do at all.

This patch compensates the current "Scroller Logic" when getting a more
exact page infomation from scroller while the "Scroller" is calculated.

@tizen_fix

Change-Id: If14ec3dac225dcc95f0666af7e0639a2958c667c
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
src/lib/elm_interface_scrollable.c
src/lib/elm_interface_scrollable.h