diff options
author | Shu Chen <shuchen@google.com> | 2020-03-10 08:19:07 +0800 |
---|---|---|
committer | Shu Chen <shuchen@google.com> | 2020-03-25 15:56:06 +0800 |
commit | afbcf851d3b4369e2c7f36a6269edd9eda52a2ea (patch) | |
tree | 8d3ea67f40baa1ebf02671e7d18fbdfcae57c04f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions