/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/db/ |
D | CommunalWidgetDaoTest.kt | 96 val widgets = collectLastValue(communalWidgetDao.getWidgets()) in <lambda>() constant 105 assertThat(widgets()) in <lambda>() 118 val widgets = collectLastValue(communalWidgetDao.getWidgets()) in <lambda>() constant 128 assertThat(widgets()) in <lambda>() 137 assertThat(widgets()).containsExactly(communalItemRankEntry2, communalWidgetItemEntry2) in <lambda>() 144 val widgets = collectLastValue(communalWidgetDao.getWidgets()) in <lambda>() constant 154 assertThat(widgets()) in <lambda>() 166 assertThat(widgets()) in <lambda>() 180 val widgets = collectLastValue(communalWidgetDao.getWidgets()) in <lambda>() constant 190 assertThat(widgets()) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/ |
D | CommunalAppWidgetHostStartable.kt | 17 package com.android.systemui.communal.widgets in <lambda>() 56 .onEach { (withPrev, widgets) -> in <lambda>() method 60 validateWidgetsAndDeleteOrphaned(widgets) in <lambda>() 86 private fun validateWidgetsAndDeleteOrphaned(widgets: List<CommunalWidgetContentModel>) { in <lambda>() 88 widgets in <lambda>()
|
D | EditWidgetsActivityStarter.kt | 17 package com.android.systemui.communal.widgets 21 import com.android.systemui.communal.widgets.EditWidgetsActivity.Companion.EXTRA_OPEN_WIDGET_PICKER… 22 import com.android.systemui.communal.widgets.EditWidgetsActivity.Companion.EXTRA_PRESELECTED_KEY
|
D | WidgetConfigurator.kt | 17 package com.android.systemui.communal.widgets
|
D | SmartspaceAppWidgetHostView.kt | 17 package com.android.systemui.communal.widgets
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/ |
D | CommunalWidgetRepositoryImplTest.kt | 39 import com.android.systemui.communal.widgets.CommunalAppWidgetHost 40 import com.android.systemui.communal.widgets.CommunalWidgetHost 41 import com.android.systemui.communal.widgets.widgetConfiguratorFail 42 import com.android.systemui.communal.widgets.widgetConfiguratorSuccess 451 val restoredWidgets = restoredState.widgets.toList() in restoreWidgets_restoredWidgetsNotRegisteredWithHostAreSkipped() 455 val expectedWidget = fakeState.widgets.first() in restoreWidgets_restoredWidgetsNotRegisteredWithHostAreSkipped() 481 val restoredWidgets = restoredState.widgets.toList() in restoreWidgets_registeredWidgetsNotRestoredAreRemoved() 485 val expectedWidget1 = fakeState.widgets[0] in restoreWidgets_registeredWidgetsNotRestoredAreRemoved() 491 val expectedWidget2 = fakeState.widgets[1] in restoreWidgets_registeredWidgetsNotRestoredAreRemoved() 519 val restoredWidgets = restoredState.widgets.toList() in restoreWidgets_onlySomeWidgetsGotNewIds() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/db/ |
D | CommunalWidgetDao.kt | 27 import com.android.systemui.communal.widgets.CommunalWidgetHost in <lambda>() 28 import com.android.systemui.communal.widgets.CommunalWidgetModule.Companion.DEFAULT_WIDGETS in <lambda>() 103 @Delete fun deleteWidgets(vararg widgets: CommunalWidgetItem) in getWidgets() 169 state.widgets.forEach { addWidget(it.widgetId, it.componentName, it.rank) } in restoreCommunalHubState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/dagger/ |
D | CommunalModule.kt | 31 import com.android.systemui.communal.widgets.CommunalWidgetModule 32 import com.android.systemui.communal.widgets.EditWidgetsActivityStarter 33 import com.android.systemui.communal.widgets.EditWidgetsActivityStarterImpl
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/ |
D | CommunalEditModeViewModelTest.kt | 132 val widgets = in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode() constant 145 widgetRepository.setCommunalWidgets(widgets) in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode() 202 val widgets = in deleteWidget() constant 215 widgetRepository.setCommunalWidgets(widgets) in deleteWidget() 226 underTest.onDeleteWidget(widgets.get(0).appWidgetId) in deleteWidget() 233 assertThat(appWidgetId).isEqualTo(widgets.get(1).appWidgetId) in deleteWidget()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/ |
D | CommunalWidgetRepository.kt | 30 import com.android.systemui.communal.widgets.CommunalAppWidgetHost in <lambda>() 31 import com.android.systemui.communal.widgets.CommunalWidgetHost in <lambda>() 32 import com.android.systemui.communal.widgets.WidgetConfigurator in <lambda>() 236 state.widgets.mapNotNull { restoredWidget -> in restoreWidgets() 260 val newState = CommunalHubState().apply { widgets = newWidgets.toTypedArray() } in restoreWidgets()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/ |
D | CommunalInteractorTest.kt | 56 import com.android.systemui.communal.widgets.EditWidgetsActivityStarter in <lambda>() 258 val widgets = listOf(widget1, widget2, widget3) in <lambda>() constant 259 widgetRepository.setCommunalWidgets(widgets) in <lambda>() 265 assertThat(model.appWidgetId).isEqualTo(widgets[index].appWidgetId) in <lambda>() 876 val widgets = listOf(widget1, widget2, widget3) in <lambda>() constant 877 widgetRepository.setCommunalWidgets(widgets) in <lambda>() 927 val widgets = listOf(widget1, widget2, widget3) in <lambda>() constant 928 widgetRepository.setCommunalWidgets(widgets) in <lambda>() 974 val widgets = listOf(widget1, widget2, widget3) in <lambda>() constant 975 widgetRepository.setCommunalWidgets(widgets) in <lambda>() [all …]
|
/frameworks/base/core/proto/android/service/ |
D | appwidget.proto | 25 repeated WidgetProto widgets = 1; // the array of bound widgets field
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/myapplication.widgets/ |
D | package-info.java | 6 package com.android.layoutlib.test.myapplication.widgets;
|
D | InsetsWidget.java | 17 package com.android.layoutlib.test.myapplication.widgets;
|
D | CustomCalendar.java | 17 package com.android.layoutlib.test.myapplication.widgets;
|
D | CustomDate.java | 17 package com.android.layoutlib.test.myapplication.widgets;
|
D | CanvasTestView.java | 17 package com.android.layoutlib.test.myapplication.widgets;
|
D | SoftwareTextView.java | 17 package com.android.layoutlib.test.myapplication.widgets;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/ |
D | CommunalInteractor.kt | 42 import com.android.systemui.communal.widgets.CommunalAppWidgetHost in <lambda>() 43 import com.android.systemui.communal.widgets.EditWidgetsActivityStarter in <lambda>() 44 import com.android.systemui.communal.widgets.WidgetConfigurator in <lambda>() 392 widgets, in <lambda>() method 394 filterWidgetsAllowedByDevicePolicy(widgets, allowedForWorkProfile) in <lambda>() 398 ) { widgets, allowedCategories, _ -> in <lambda>() method 399 widgets.map { widget -> in <lambda>()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 699 final int widgetCount = provider.widgets.size(); in updateWidgetPackageStoppedMaskedState() 703 widgetIds[j] = provider.widgets.get(j).appWidgetId; in updateWidgetPackageStoppedMaskedState() 738 final int widgetCount = provider.widgets.size(); in maskWidgetsViewsLocked() 798 Widget widget = provider.widgets.get(j); in maskWidgetsViewsLocked() 823 final int widgetCount = provider.widgets.size(); in unmaskWidgetsViewsLocked() 825 Widget widget = provider.widgets.get(j); in unmaskWidgetsViewsLocked() 1075 host.widgets.add(widget); in allocateAppWidgetId() 1337 provider.widgets.add(widget); in bindAppWidgetId() 1341 final int widgetCount = provider.widgets.size(); in bindAppWidgetId() 1354 registerForBroadcastsLocked(provider, getWidgetIds(provider.widgets)); in bindAppWidgetId() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/ui/widgets/ |
D | CommunalAppWidgetHostTest.kt | 17 package com.android.systemui.communal.ui.widgets 24 import com.android.systemui.communal.widgets.CommunalAppWidgetHost 25 import com.android.systemui.communal.widgets.CommunalAppWidgetHostView
|
/frameworks/base/core/java/android/widget/flags/ |
D | differential_motion_fling_flags.aconfig | 7 description: "Enables differential motion fling in platform widgets"
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/widgets/ |
D | WidgetConfiguratorKosmos.kt | 17 package com.android.systemui.communal.widgets
|
D | FakeWidgetConfigurator.kt | 17 package com.android.systemui.communal.widgets
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/test/widgets/ |
D | HtmlTextView.java | 17 package com.android.layoutlib.bridge.test.widgets;
|