Introduce disableSwipesWhenScrolling()

This CL introduces Modifier.disableSwipesWhenScrolling() in
ContentScope to allow contents to temporarily disable their swipe user
actions while a scrollable consumes some scroll events. This allows to
make sure that a scrollable is being overscrolled when reaching its
bounds rather than directly starting a scene transition.

Bug: 383288923
Test: atest ContentTest
Flag: EXEMPT this is not used anywhere yet
Change-Id: I589861fd27a91bdbac2db7054618574918089a26
4 files changed