interface_scrollable: Optimize calculations and remove redundant 09/124409/1
authorWonki Kim <wonki_.kim@samsung.com>
Mon, 20 Feb 2017 04:26:21 +0000 (13:26 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 11 Apr 2017 08:23:05 +0000 (17:23 +0900)
commit82b2d506cc65882c6ef8ddf22c2e294ca5cee77c
tree37c65b8a58f549387334a6fd8fd22609c1b16a82
parent8e4c1fb9b71501fb7f782156f734caea8ddf1e7a
interface_scrollable: Optimize calculations and remove redundant

Summary:
There are some redundant code blocks, unnessacery recursive logics
for interface_scrollable.

This commit removes redundant code blocks and serializes unnessacery
recursive logics

Test Plan:
 1. Run efl application
 2. Check that app works properly.
 2. Check how many pan_changed_cb calls are reduced.

Reviewers: cedric, jpeg, woohyun, herdsman

Subscribers: jsuya, eagleeye, z-wony

Differential Revision: https://phab.enlightenment.org/D4671

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