Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java69 static AutoInstallsLayout get(Context context, AppWidgetHost appWidgetHost, in get() argument
77 appWidgetHost, callback); in get()
81 AppWidgetHost appWidgetHost, LayoutParserCallback callback) { in get() argument
108 return new AutoInstallsLayout(context, appWidgetHost, callback, targetRes, layoutId, in get()
171 public AutoInstallsLayout(Context context, AppWidgetHost appWidgetHost, in AutoInstallsLayout() argument
175 mAppWidgetHost = appWidgetHost; in AutoInstallsLayout()
DAppWidgetsRestoredReceiver.java48 AppWidgetHost appWidgetHost = new AppWidgetHost(context, Launcher.APPWIDGET_HOST_ID); in restoreAppWidgetIds() local
76 appWidgetHost.deleteAppWidgetId(newWidgetIds[i]); in restoreAppWidgetIds()
DDefaultLayoutParser.java52 public DefaultLayoutParser(Context context, AppWidgetHost appWidgetHost, in DefaultLayoutParser() argument
54 super(context, appWidgetHost, callback, sourceRes, layoutId, TAG_FAVORITES); in DefaultLayoutParser()
DLauncher.java2192 final LauncherAppWidgetHost appWidgetHost = getAppWidgetHost(); in deleteWidgetInfo() local
2193 … if (appWidgetHost != null && !widgetInfo.isCustomWidget() && widgetInfo.isWidgetIdAllocated()) { in deleteWidgetInfo()
2198 appWidgetHost.deleteAppWidgetId(widgetInfo.appWidgetId); in deleteWidgetInfo()
/packages/apps/Launcher2/src/com/android/launcher2/
DDeleteDropTarget.java246 final LauncherAppWidgetHost appWidgetHost = mLauncher.getAppWidgetHost(); in completeDrop() local
247 if (appWidgetHost != null) { in completeDrop()
252 appWidgetHost.deleteAppWidgetId(launcherAppWidgetInfo.appWidgetId); in completeDrop()