Home
last modified time | relevance | path

Searched refs:APPWIDGET_HOST_ID (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAppWidgetsRestoredReceiverTest.kt16 import com.android.launcher3.widget.LauncherWidgetHolder.APPWIDGET_HOST_ID
55 putExtra(EXTRA_HOST_ID, APPWIDGET_HOST_ID) in When AppWidgetsRestoredReceiver gets valid broadcast it sets old and new app widget ids()
78 putExtra(EXTRA_HOST_ID, APPWIDGET_HOST_ID) in AppWidgetsRestoredReceiver does not set widget ids when Intent action is invalid()
122 putExtra(EXTRA_HOST_ID, APPWIDGET_HOST_ID) in AppWidgetsRestoredReceiver does not set ids when new and old ids differ in length()
142 putExtra(EXTRA_HOST_ID, APPWIDGET_HOST_ID) in AppWidgetsRestoredReceiver does not set widget ids when old ids not set()
162 putExtra(EXTRA_HOST_ID, APPWIDGET_HOST_ID) in AppWidgetsRestoredReceiver does not set widget ids when new ids not set()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepAppWidgetHost.java18 import static com.android.launcher3.widget.LauncherWidgetHolder.APPWIDGET_HOST_ID;
46 super(context, APPWIDGET_HOST_ID, null, looper); in QuickstepAppWidgetHost()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetsRestoredReceiver.java28 if (hostId != LauncherWidgetHolder.APPWIDGET_HOST_ID) { in onReceive()
30 + " Expected: " + LauncherWidgetHolder.APPWIDGET_HOST_ID in onReceive()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherAppWidgetHost.java19 import static com.android.launcher3.widget.LauncherWidgetHolder.APPWIDGET_HOST_ID;
63 super(context, APPWIDGET_HOST_ID); in LauncherAppWidgetHost()
DLauncherWidgetHolder.java61 public static final int APPWIDGET_HOST_ID = 1024; field in LauncherWidgetHolder
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/
DRestoreDbTaskTest.java28 import static com.android.launcher3.widget.LauncherWidgetHolder.APPWIDGET_HOST_ID;
233 AppWidgetHost expectedHost = new AppWidgetHost(mContext, APPWIDGET_HOST_ID); in givenNoPendingRestore_WhenRestoreAppWidgetIds_ThenRemoveNewWidgetIds()
253 AppWidgetHost expectedHost = new AppWidgetHost(mContext, APPWIDGET_HOST_ID); in givenRestoreWithNonExistingWidgets_WhenRestoreAppWidgetIds_ThenRemoveNewIds()
275 AppWidgetHost expectedHost = new AppWidgetHost(mContext, APPWIDGET_HOST_ID); in givenRestore_WhenRestoreAppWidgetIds_ThenAddNewIds()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java32 import static com.android.launcher3.widget.LauncherWidgetHolder.APPWIDGET_HOST_ID;
430 AppWidgetHost host = new AppWidgetHost(context, APPWIDGET_HOST_ID); in restoreAppWidgetIdsIfExists()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java532 super(context, LauncherWidgetHolder.APPWIDGET_HOST_ID);