-
- Downloads
Enforce rounded corners for communal widgets
- Created CommunalAppWidgetHostView that subclasses AppWidgetHostView with support for rounded corner. - Created CommunalAppWidgetHost that creates a CommunalAppWidgetHostView. - Forked RoundedCornerEnforcement class from Launcher3 code. Bug: b/318560812 Flag: ACONFIG com.android.systemui.communal_hub DEVELOPMENT Test: manually with google tv widget Test: atest CommunalAppWidgetHostTest Change-Id: Ib4e2f705a070766eca605af81b38f8a88b95204c
Showing
- packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalHub.kt 1 addition, 1 deletion...c/com/android/systemui/communal/ui/compose/CommunalHub.kt
- packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/CommunalWidgetRepositoryImplTest.kt 2 additions, 2 deletions...munal/data/repository/CommunalWidgetRepositoryImplTest.kt
- packages/SystemUI/multivalentTests/src/com/android/systemui/communal/ui/widgets/CommunalAppWidgetHostTest.kt 59 additions, 0 deletions...systemui/communal/ui/widgets/CommunalAppWidgetHostTest.kt
- packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/CommunalEditModeViewModelTest.kt 2 additions, 2 deletions.../communal/view/viewmodel/CommunalEditModeViewModelTest.kt
- packages/SystemUI/res/values/dimens.xml 4 additions, 0 deletionspackages/SystemUI/res/values/dimens.xml
- packages/SystemUI/src/com/android/systemui/communal/data/repository/CommunalWidgetRepository.kt 2 additions, 2 deletions...emui/communal/data/repository/CommunalWidgetRepository.kt
- packages/SystemUI/src/com/android/systemui/communal/data/repository/CommunalWidgetRepositoryModule.kt 4 additions, 4 deletions...ommunal/data/repository/CommunalWidgetRepositoryModule.kt
- packages/SystemUI/src/com/android/systemui/communal/domain/interactor/CommunalInteractor.kt 2 additions, 2 deletions...systemui/communal/domain/interactor/CommunalInteractor.kt
- packages/SystemUI/src/com/android/systemui/communal/domain/model/CommunalContentModel.kt 2 additions, 2 deletions...id/systemui/communal/domain/model/CommunalContentModel.kt
- packages/SystemUI/src/com/android/systemui/communal/shared/CommunalWidgetHost.kt 2 additions, 2 deletions...om/android/systemui/communal/shared/CommunalWidgetHost.kt
- packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/CommunalEditModeViewModel.kt 2 additions, 2 deletions...stemui/communal/ui/viewmodel/CommunalEditModeViewModel.kt
- packages/SystemUI/src/com/android/systemui/communal/widgets/CommunalAppWidgetHost.kt 48 additions, 0 deletions...ndroid/systemui/communal/widgets/CommunalAppWidgetHost.kt
- packages/SystemUI/src/com/android/systemui/communal/widgets/CommunalAppWidgetHostView.kt 76 additions, 0 deletions...id/systemui/communal/widgets/CommunalAppWidgetHostView.kt
- packages/SystemUI/src/com/android/systemui/communal/widgets/RoundedCornerEnforcement.kt 154 additions, 0 deletions...oid/systemui/communal/widgets/RoundedCornerEnforcement.kt
- packages/SystemUI/tests/utils/src/com/android/systemui/communal/domain/interactor/CommunalInteractorFactory.kt 3 additions, 3 deletions...i/communal/domain/interactor/CommunalInteractorFactory.kt
- packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/domain/interactor/CommunalInteractorKosmos.kt 2 additions, 2 deletions...ui/keyguard/domain/interactor/CommunalInteractorKosmos.kt
Loading
Please register or sign in to comment