Home
last modified time | relevance | path

Searched refs:WidgetInflater (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DWorkspaceItemProcessorTest.kt59 import com.android.launcher3.widget.WidgetInflater
91 @Mock private lateinit var mockWidgetInflater: WidgetInflater
164 mockWidgetInflater = mock<WidgetInflater>() in setup()
188 widgetInflater: WidgetInflater = mockWidgetInflater, in createWorkspaceItemProcessorUnderTest()
549 WidgetInflater.InflationResult( in When valid TYPE_REAL App Widget then add item()
550 type = WidgetInflater.TYPE_REAL, in When valid TYPE_REAL App Widget then add item()
554 mock<WidgetInflater>().apply { in When valid TYPE_REAL App Widget then add item()
607 WidgetInflater.InflationResult( in When valid Pending Widget then checkAndAddItem()
608 type = WidgetInflater.TYPE_PENDING, in When valid Pending Widget then checkAndAddItem()
612 mock<WidgetInflater>().apply { in When valid Pending Widget then checkAndAddItem()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DItemInflater.kt41 import com.android.launcher3.widget.WidgetInflater
52 private val widgetInflater = WidgetInflater(context)
117 if (type == WidgetInflater.TYPE_DELETE) { in inflateAppWidget()
125 if (type == WidgetInflater.TYPE_PENDING || widgetInfo == null) in inflateAppWidget()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWorkspaceItemProcessor.kt52 import com.android.launcher3.widget.WidgetInflater
75 private val widgetInflater: WidgetInflater,
476 WidgetInflater.TYPE_DELETE -> { in processWidget()
480 WidgetInflater.TYPE_PENDING -> { in processWidget()
519 WidgetInflater.TYPE_REAL -> in processWidget()
DLoaderTask.java102 import com.android.launcher3.widget.WidgetInflater;
429 final WidgetInflater widgetInflater = new WidgetInflater(context); in loadWorkspaceImpl()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetInflater.kt29 class WidgetInflater(private val context: Context) { class