Home
last modified time | relevance | path

Searched refs:widgetItem2 (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/picker/model/
DWidgetsListContentEntryTest.java95 WidgetItem widgetItem2 = createWidgetItem(mWidget2, /* spanX= */ 2, /* spanY= */ 3); in unsortedWidgets_diffLabels_shouldSortWidgetItems() local
102 List.of(widgetItem1, widgetItem2, widgetItem3)); in unsortedWidgets_diffLabels_shouldSortWidgetItems()
106 .containsExactly(widgetItem3, widgetItem1, widgetItem2) in unsortedWidgets_diffLabels_shouldSortWidgetItems()
118 WidgetItem widgetItem2 = createWidgetItem(mWidget1, /* spanX= */ 1, /* spanY= */ 2); in unsortedWidgets_sameLabels_differentSize_shouldSortWidgetItems() local
125 List.of(widgetItem1, widgetItem2, widgetItem3)); in unsortedWidgets_sameLabels_differentSize_shouldSortWidgetItems()
130 .containsExactly(widgetItem2, widgetItem3, widgetItem1) in unsortedWidgets_sameLabels_differentSize_shouldSortWidgetItems()
142 WidgetItem widgetItem2 = createWidgetItem(mWidget1, /* spanX= */ 1, /* spanY= */ 2); in unsortedWidgets_hodgepodge_shouldSortWidgetItems() local
151 List.of(widgetItem1, widgetItem2, widgetItem3, widgetItem4)); in unsortedWidgets_hodgepodge_shouldSortWidgetItems()
157 .containsExactly(widgetItem4, widgetItem2, widgetItem1, widgetItem3) in unsortedWidgets_hodgepodge_shouldSortWidgetItems()
200 WidgetItem widgetItem2 = createWidgetItem(mWidget2, /* spanX= */ 2, /* spanY= */ 3); in equals_entriesWithDifferentWidgetsList_returnFalse() local
[all …]
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/model/
DWidgetsPredictionsRequesterTest.kt63 private lateinit var widgetItem2: WidgetItem variable in com.android.launcher3.model.WidgetsPredictionsRequesterTest
92 widgetItem2 = createWidgetItem(widget2Info) in setUp()
98 PackageUserKey(APP_2_PACKAGE_NAME, mUserHandle) to listOf(widgetItem2), in setUp()
155 assertThat(filterPredictions(predictions, allWidgets, filter)).containsExactly(widgetItem2) in filterPredictions_notOnUiSurfaceFilter_returnsOnlyEligiblePredictions()
180 .containsExactly(widgetItem1a, widgetItem2) in filterPredictions_appPredictions_returnsWidgetFromPackage()