Extract resolveSwipeSource() and resolveSwipe()

This will allow us to compute the Swipe.Resolved in a single point

Test: Just a refactor
Bug: 366387626
Flag: com.android.systemui.scene_container
Change-Id: I1ce5ae94b1def4cdfd2eff9b8e0d60162b230fff
1 file changed