Home
last modified time | relevance | path

Searched refs:widgets (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/db/
DCommunalWidgetDaoTest.kt96 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/
DCommunalAppWidgetHostStartable.kt17 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>()
DEditWidgetsActivityStarter.kt17 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
DWidgetConfigurator.kt17 package com.android.systemui.communal.widgets
DSmartspaceAppWidgetHostView.kt17 package com.android.systemui.communal.widgets
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalWidgetRepositoryImplTest.kt39 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/
DCommunalWidgetDao.kt27 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/
DCommunalModule.kt31 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/
DCommunalEditModeViewModelTest.kt132 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/
DCommunalWidgetRepository.kt30 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/
DCommunalInteractorTest.kt56 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/
Dappwidget.proto25 repeated WidgetProto widgets = 1; // the array of bound widgets field
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/myapplication.widgets/
Dpackage-info.java6 package com.android.layoutlib.test.myapplication.widgets;
DInsetsWidget.java17 package com.android.layoutlib.test.myapplication.widgets;
DCustomCalendar.java17 package com.android.layoutlib.test.myapplication.widgets;
DCustomDate.java17 package com.android.layoutlib.test.myapplication.widgets;
DCanvasTestView.java17 package com.android.layoutlib.test.myapplication.widgets;
DSoftwareTextView.java17 package com.android.layoutlib.test.myapplication.widgets;
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractor.kt42 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/
DAppWidgetServiceImpl.java699 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/
DCommunalAppWidgetHostTest.kt17 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/
Ddifferential_motion_fling_flags.aconfig7 description: "Enables differential motion fling in platform widgets"
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/widgets/
DWidgetConfiguratorKosmos.kt17 package com.android.systemui.communal.widgets
DFakeWidgetConfigurator.kt17 package com.android.systemui.communal.widgets
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/test/widgets/
DHtmlTextView.java17 package com.android.layoutlib.bridge.test.widgets;

123