scroller: modify a behavior of the momentum animation 34/185734/2 submit/tizen/20180823.082347 submit/tizen/20180828.075038 submit/tizen/20180830.062736
authorWonki Kim <wonki_.kim@samsung.com>
Thu, 2 Aug 2018 01:41:10 +0000 (10:41 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Fri, 17 Aug 2018 04:57:28 +0000 (04:57 +0000)
this patch append new config values and also modify some the others.

Change-Id: Id9e95288428512d8779aaba06f7b274483320e93
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
config/common/base.src
config/ivi/base.src
config/mobile/base.src
config/tv/base.src
config/wearable/base.src

index 13d1f99df6055663d035e53ab67c7bdabf628bd5..9baa94cc0bd1172abd11390c3abbde00f876354f 100644 (file)
@@ -7,8 +7,8 @@ group "Elm_Config" struct {
   value "thumbscroll_threshold" int: 15;
   value "thumbscroll_hold_threshold" int: 100;
   value "thumbscroll_momentum_threshold" double: 100.0;
-  value "thumbscroll_flick_distance_tolerance" int: 1000;
-  value "thumbscroll_friction" double: 1.5;
+  value "thumbscroll_flick_distance_tolerance" int: 3000;
+  value "thumbscroll_friction" double: 0.95;
   value "thumbscroll_min_friction" double: 0.3;
   value "thumbscroll_friction_standard" double: 3500.0;
   value "thumbscroll_bounce_friction" double: 0.5;
@@ -16,6 +16,10 @@ group "Elm_Config" struct {
   value "thumbscroll_acceleration_threshold" double: 2000.0;
   value "thumbscroll_acceleration_time_limit" double: 0.5;
   value "thumbscroll_acceleration_weight" double: 1.5;
+  //
+  value "thumbscroll_momentum_animation_duration_min_limit" double: 0.25;
+  value "thumbscroll_momentum_animation_duration_max_limit" double: 1.25;
+  //
   value "page_scroll_friction" double: 0.2;
   value "bring_in_scroll_friction" double: 0.3;
   value "zoom_friction" double: 0.5;
index 4b82f60a213f48c70022b09721198995bba1e021..8b69fb9cc2c0946d6d8e96733699562ec8a8b9b7 100644 (file)
@@ -7,8 +7,8 @@ group "Elm_Config" struct {
   value "thumbscroll_threshold" int: 15;
   value "thumbscroll_hold_threshold" int: 100;
   value "thumbscroll_momentum_threshold" double: 100.0;
-  value "thumbscroll_flick_distance_tolerance" int: 1000;
-  value "thumbscroll_friction" double: 1.5;
+  value "thumbscroll_flick_distance_tolerance" int: 3000;
+  value "thumbscroll_friction" double: 0.95;
   value "thumbscroll_min_friction" double: 0.3;
   value "thumbscroll_friction_standard" double: 3500.0;
   value "thumbscroll_bounce_friction" double: 0.5;
@@ -16,6 +16,10 @@ group "Elm_Config" struct {
   value "thumbscroll_acceleration_threshold" double: 2000.0;
   value "thumbscroll_acceleration_time_limit" double: 0.5;
   value "thumbscroll_acceleration_weight" double: 1.5;
+  //
+  value "thumbscroll_momentum_animation_duration_min_limit" double: 0.25;
+  value "thumbscroll_momentum_animation_duration_max_limit" double: 1.25;
+  //
   value "page_scroll_friction" double: 0.2;
   value "bring_in_scroll_friction" double: 0.3;
   value "zoom_friction" double: 0.5;
index d275309ee528d2af629f5ae8e60e93aabc859653..ca69c750b4507f2e2a233320fd27dd099dfd429a 100644 (file)
@@ -1,5 +1,5 @@
 group "Elm_Config" struct {
-  value "config_version" int: 131087;
+  value "config_version" int: 131089
   value "entry_select_allow" uchar: 1;
   value "engine" string: "wayland_egl";
   value "vsync" uchar: 1;
@@ -7,8 +7,8 @@ group "Elm_Config" struct {
   value "thumbscroll_threshold" int: 15;
   value "thumbscroll_hold_threshold" int: 100;
   value "thumbscroll_momentum_threshold" double: 100.0;
-  value "thumbscroll_flick_distance_tolerance" int: 1000;
-  value "thumbscroll_friction" double: 1.5;
+  value "thumbscroll_flick_distance_tolerance" int: 3000;
+  value "thumbscroll_friction" double: 0.95;
   value "thumbscroll_min_friction" double: 0.3;
   value "thumbscroll_friction_standard" double: 3500.0;
   value "thumbscroll_bounce_friction" double: 0.5;
@@ -16,6 +16,10 @@ group "Elm_Config" struct {
   value "thumbscroll_acceleration_threshold" double: 2000.0;
   value "thumbscroll_acceleration_time_limit" double: 0.5;
   value "thumbscroll_acceleration_weight" double: 1.5;
+  //
+  value "thumbscroll_momentum_animation_duration_min_limit" double: 0.25;
+  value "thumbscroll_momentum_animation_duration_max_limit" double: 1.25;
+  //
   value "page_scroll_friction" double: 0.2;
   value "bring_in_scroll_friction" double: 0.3;
   value "zoom_friction" double: 0.5;
index 9e4bf6f094422557137d31a5bba2b9f99711422d..241b0a9f4c3396d948b448c63680ded2fa5961ab 100644 (file)
@@ -7,8 +7,8 @@ group "Elm_Config" struct {
   value "thumbscroll_threshold" int: 15;
   value "thumbscroll_hold_threshold" int: 100;
   value "thumbscroll_momentum_threshold" double: 100.0;
-  value "thumbscroll_flick_distance_tolerance" int: 1000;
-  value "thumbscroll_friction" double: 1.5;
+  value "thumbscroll_flick_distance_tolerance" int: 3000;
+  value "thumbscroll_friction" double: 0.95;
   value "thumbscroll_min_friction" double: 0.3;
   value "thumbscroll_friction_standard" double: 3500.0;
   value "thumbscroll_bounce_friction" double: 0.5;
@@ -16,6 +16,10 @@ group "Elm_Config" struct {
   value "thumbscroll_acceleration_threshold" double: 2000.0;
   value "thumbscroll_acceleration_time_limit" double: 0.5;
   value "thumbscroll_acceleration_weight" double: 1.5;
+  //
+  value "thumbscroll_momentum_animation_duration_min_limit" double: 0.25;
+  value "thumbscroll_momentum_animation_duration_max_limit" double: 1.25;
+  //
   value "page_scroll_friction" double: 0.2;
   value "bring_in_scroll_friction" double: 0.3;
   value "zoom_friction" double: 0.5;
index c209bf03fea88fb17b35285f0593739f17603f49..529ee2c26a58e1fbdf82e5e87d040f6f7b2d313a 100644 (file)
@@ -7,8 +7,8 @@ group "Elm_Config" struct {
   value "thumbscroll_threshold" int: 30;
   value "thumbscroll_hold_threshold" int: 100;
   value "thumbscroll_momentum_threshold" double: 100.0;
-  value "thumbscroll_flick_distance_tolerance" int: 1000;
-  value "thumbscroll_friction" double: 1.5;
+  value "thumbscroll_flick_distance_tolerance" int: 3000;
+  value "thumbscroll_friction" double: 0.95;
   value "thumbscroll_min_friction" double: 0.3;
   value "thumbscroll_friction_standard" double: 3500.0;
   value "thumbscroll_bounce_friction" double: 0.5;
@@ -16,6 +16,10 @@ group "Elm_Config" struct {
   value "thumbscroll_acceleration_threshold" double: 2000.0;
   value "thumbscroll_acceleration_time_limit" double: 0.5;
   value "thumbscroll_acceleration_weight" double: 1.5;
+  //
+  value "thumbscroll_momentum_animation_duration_min_limit" double: 0.25;
+  value "thumbscroll_momentum_animation_duration_max_limit" double: 1.25;
+  //
   value "page_scroll_friction" double: 0.2;
   value "bring_in_scroll_friction" double: 0.2;
   value "zoom_friction" double: 0.5;