efl/src
Wonki Kim 6409cfa41b scroller: refactory a momentum scroll animator
Summary:
this patch refactories a momentum scroll animator logics.

1. animation duration

  animating runs within a one second now.
  and if it needs more time to animate, it decrease intepolation progress by dividing some value.
  current logic makes sense however, it is not easy to read to know how it works.

  this patch modify current logic to calculate distance to move, and time to animate.

2. distance to move

  we can apply simple physics something like mass of pan and friction of scroller itself.
  but this patch apply just geometric seqeunce to calculate distance to go.
  it's more easy to customize behavior of scroller than current sine graph based one.

3. accelerate logic

  scroller sets 'extra_time' to accelerate a scroller for now.
  but this patch modify logic not to use it.
  however it uses current momenutum velocity as a bais of next momentum animating.

@feature

Reviewers: zmike, #reviewers, Hermet

Reviewed By: #reviewers, Hermet

Subscribers: Hermet, cedric, zmike

Tags: #efl, #do_not_merge

Differential Revision: https://phab.enlightenment.org/D6643
2018-08-29 15:58:10 +09:00
..
benchmarks
bin csharp: Fix event registration in constructor. 2018-08-24 11:34:34 -03:00
bindings efl-mono: properly close XML comment 2018-08-24 14:10:41 -03:00
edje_external
examples scroller: refactory a momentum scroll animator 2018-08-29 15:58:10 +09:00
generic
lib scroller: refactory a momentum scroll animator 2018-08-29 15:58:10 +09:00
modules evas gl: remove redundant code. 2018-08-29 13:57:45 +09:00
scripts
static_libs evas textblock: add/apply cursor cluster APIs based on grapheme cluster 2018-08-20 10:29:32 -04:00
tests tests/elm: further reduce buffer render interval 2018-08-27 12:15:09 +09:00
wayland_protocol
CMakeLists.txt
CMakeLists_Eina.txt
Makefile.am tests: add failsafe timeout for tests running in fork mode 2018-08-16 09:59:58 +02:00
Makefile_Cxx.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_EPhysics.am
Makefile_Ecore.am ecore_pipe: remove null check condition and fix segfualt on Windows 2018-08-17 12:42:35 -04:00
Makefile_Ecore_Audio.am build: disable Lua binding generation 2018-08-01 13:31:15 -04:00
Makefile_Ecore_Avahi.am
Makefile_Ecore_Buffer.am
Makefile_Ecore_Cocoa.am
Makefile_Ecore_Con.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Ecore_Drm.am
Makefile_Ecore_Drm2.am
Makefile_Ecore_Evas.am
Makefile_Ecore_FB.am
Makefile_Ecore_File.am
Makefile_Ecore_IMF.am
Makefile_Ecore_IMF_Evas.am
Makefile_Ecore_Input.am
Makefile_Ecore_Input_Evas.am
Makefile_Ecore_Ipc.am
Makefile_Ecore_Js.am
Makefile_Ecore_SDL.am
Makefile_Ecore_Wayland.am
Makefile_Ecore_Win32.am
Makefile_Ecore_Wl2.am ecore_wl2_dmabuf: Depend on ecore_wl2 2018-08-20 14:08:19 -04:00
Makefile_Ecore_X.am
Makefile_Ector.am
Makefile_Edje.am build: disable Lua binding generation 2018-08-01 13:31:15 -04:00
Makefile_Edje_Helper.am
Makefile_Eet.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eet_Helper.am
Makefile_Eeze.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Efl.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Efl_Js.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Efl_Mono.am C# bindings: Make efl_loop_timer.eo available to bindings 2018-07-06 15:00:51 -04:00
Makefile_Efl_Mono_MSBuild_Gen_Helper.am
Makefile_Efreet.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eina.am move efreet xdg envvars to eina 2018-08-20 12:57:57 -04:00
Makefile_Eio.am tests/eio: disable efreet cache for eio tests 2018-08-16 10:16:44 -04:00
Makefile_Eldbus.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Elementary.am build: remove incorrect use of DEPENDENCIES for non-library file 2018-08-17 22:11:33 +02:00
Makefile_Elocation.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Elput.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Elua.am build: fix distcheck when elua is disabled in main tree 2018-07-13 15:41:15 -04:00
Makefile_Elua_Helper.am build: disable Lua binding generation 2018-08-01 13:31:15 -04:00
Makefile_Embryo.am
Makefile_Emile.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Emotion.am build: disable Lua binding generation 2018-08-01 13:31:15 -04:00
Makefile_Eo.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eolian.am Remove EOLIAN_TESTS_EOS_GENERATED 2018-08-16 12:41:16 -05:00
Makefile_Eolian_Cxx.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eolian_Cxx_Helper.am build: disable eolian implicit rules in subdir builds 2018-07-30 18:16:20 +02:00
Makefile_Eolian_Files_Helper.am build: disable eolian implicit rules in subdir builds 2018-07-30 18:16:20 +02:00
Makefile_Eolian_Helper.am
Makefile_Eolian_Js.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eolian_Js_Helper.am build: disable eolian implicit rules in subdir builds 2018-07-30 18:16:20 +02:00
Makefile_Eolian_Mono_Helper.am
Makefile_Escape.am
Makefile_Ethumb.am
Makefile_Ethumb_Client.am
Makefile_Evas.am evas: remove render2 2018-08-21 10:36:55 -04:00
Makefile_Evil.am
Makefile_Wayland_Protocols.am
Makefile_efl_wl.am