commit | afbcf851d3b4369e2c7f36a6269edd9eda52a2ea | [log] [tgz] |
---|---|---|
author | Shu Chen <shuchen@google.com> | Tue Mar 10 08:19:07 2020 +0800 |
committer | Shu Chen <shuchen@google.com> | Wed Mar 25 15:56:06 2020 +0800 |
tree | 8d3ea67f40baa1ebf02671e7d18fbdfcae57c04f | |
parent | dc8feb40650fb5ea281cbb38d0727176a5840a9c [diff] |
Calculates the slop values per upper/lower line height. Also applies the max/min damping range for slop. The max/min damping range includes lineHeight + slop. Note: slop must >= zero. Bug: 150531840 Test: manual & automated tests atest FrameworksCoreTests:EditorCursorDragTest atest FrameworksCoreTests:TextViewActivityTest Change-Id: I26cdf69fd2cf7d4514dd2a902ed34c480c9e8781