commit | 2303eb0aacbb1b8dc0aa41b638a335f995376bec | [log] [tgz] |
---|---|---|
author | Brian Isganitis <brianji@google.com> | Wed Jul 13 17:57:27 2022 -0400 |
committer | Brian Isganitis <brianji@google.com> | Mon Aug 29 20:47:32 2022 +0000 |
tree | 04bf58ecbb05372c4462520db0930e686fa20d4d | |
parent | 7fb96a530505c3b124a9d27870e2ad47136da875 [diff] |
Simplify calculateEndTarget logic. This method has grown quite large and has a lot of if-else nesting. We can address these readability issues by defining some helper methods for specific cases (e.g. flingY and non-fling). Bug: 222117127 Test: Manual Change-Id: Ia6012dbcee9a842b4b5bd2ffdb9aea978cfdfc26