diff options
author | Michel Comin Escude <michelcomin@google.com> | 2021-04-13 18:50:22 -0700 |
---|---|---|
committer | Michel Comin Escude <michelcomin@google.com> | 2021-04-13 18:50:22 -0700 |
commit | 0c81801f9ec2956c1da28703654da64e1ec9fb14 (patch) | |
tree | 83875128e666b18dd22b42abcdd8a899eb9ea2cc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e178f5035616af9df31c339161c16b39d4bf2bdf (diff) |
Fixed and decreased isAtEquilibrium thresholds
Distance and speed were multiplied by LINEAR_STRETCH_INTENSITY which is
not directly related to speed and and distance. Moreover the velocity
threshold was a little bit high (1/0.016, wich means 62 pixels/second)
and the distance as well (1 is ok if there's no scale but since there's
some stretching the difference was being magnified).
Bug: 184892316
Test: EdgeEffectTests and visual
Change-Id: Ibd7adb16d1d00df0ab6e96132bfe96a4fa4d45dc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions