commit | 0c17641bea023b49947845d7948c4d8a89550578 | [log] [tgz] |
---|---|---|
author | omarmt <omarmt@google.com> | Mon Nov 18 12:55:24 2024 +0000 |
committer | omarmt <omarmt@google.com> | Mon Nov 18 12:55:24 2024 +0000 |
tree | 7ab99bbefbc23c40dc4bf23b0ebeb458d94d74f4 | |
parent | e2778689c653e66bdf34026ed18011faa7d26c4f [diff] |
STL MultiPointerDraggable compute direction using the previousPosition If the user drags in the opposite direction, the delta becomes zero because we return to the original point. Therefore, we should use the previous event to calculate the direction. Test: atest MultiPointerDraggableTest Bug: 379403509 Flag: com.android.systemui.scene_container Change-Id: I5065f65ed8995b95245c7b744fb4b5d019f416fd