Home | History | Annotate | Download | only in launcher2

Lines Matching refs:hostView

1123             AppWidgetHostView hostView, AppWidgetProviderInfo appWidgetInfo) {
1185 if (hostView == null) {
1187 launcherInfo.hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo);
1188 launcherInfo.hostView.setAppWidget(appWidgetId, appWidgetInfo);
1191 launcherInfo.hostView = hostView;
1194 launcherInfo.hostView.setTag(launcherInfo);
1195 launcherInfo.hostView.setVisibility(View.VISIBLE);
1198 mWorkspace.addInScreen(launcherInfo.hostView, container, screen, cellXY[0], cellXY[1],
1201 addWidgetToAutoAdvanceIfNeeded(launcherInfo.hostView, appWidgetInfo);
1336 void addWidgetToAutoAdvanceIfNeeded(View hostView, AppWidgetProviderInfo appWidgetInfo) {
1338 View v = hostView.findViewById(appWidgetInfo.autoAdvanceViewId);
1340 mWidgetsToAdvance.put(hostView, appWidgetInfo);
1346 void removeWidgetToAutoAdvance(View hostView) {
1347 if (mWidgetsToAdvance.containsKey(hostView)) {
1348 mWidgetsToAdvance.remove(hostView);
1354 removeWidgetToAutoAdvance(launcherInfo.hostView);
1355 launcherInfo.hostView = null;
1756 AppWidgetHostView hostView = info.boundWidget;
1758 if (hostView != null) {
1759 appWidgetId = hostView.getAppWidgetId();
1760 addAppWidgetImpl(appWidgetId, info, hostView, info.info);
3383 item.hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo);
3385 item.hostView.setTag(item);
3388 workspace.addInScreen(item.hostView, item.container, item.screen, item.cellX,
3390 addWidgetToAutoAdvanceIfNeeded(item.hostView, appWidgetInfo);