commit | 0c81801f9ec2956c1da28703654da64e1ec9fb14 | [log] [tgz] |
---|---|---|
author | Michel Comin Escude <michelcomin@google.com> | Tue Apr 13 18:50:22 2021 -0700 |
committer | Michel Comin Escude <michelcomin@google.com> | Tue Apr 13 18:50:22 2021 -0700 |
tree | 83875128e666b18dd22b42abcdd8a899eb9ea2cc | |
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