Add resize functionality to CommunalEditModeviewModel

When a widget is resized, we also allow them to be re-ordered within the
same function call. This ensures that the resizing and the re-ordering
happen within the same database transaction, to ensure they stay in
sync.

Bug: 368056517
Test: CommunalInteractorTest
Test: CommunalWidgetRepositoryImplTest
Flag: com.android.systemui.communal_widget_resizing
Change-Id: I467663c1f7e34d93bf14413506ef43411c9a4385
10 files changed