Home | History | Annotate | Download | only in launcher2

Lines Matching refs:hostView

1174             AppWidgetHostView hostView, AppWidgetProviderInfo appWidgetInfo) {
1236 if (hostView == null) {
1238 launcherInfo.hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo);
1239 launcherInfo.hostView.setAppWidget(appWidgetId, appWidgetInfo);
1242 launcherInfo.hostView = hostView;
1245 launcherInfo.hostView.setTag(launcherInfo);
1246 launcherInfo.hostView.setVisibility(View.VISIBLE);
1249 mWorkspace.addInScreen(launcherInfo.hostView, container, screen, cellXY[0], cellXY[1],
1252 addWidgetToAutoAdvanceIfNeeded(launcherInfo.hostView, appWidgetInfo);
1397 void addWidgetToAutoAdvanceIfNeeded(View hostView, AppWidgetProviderInfo appWidgetInfo) {
1399 View v = hostView.findViewById(appWidgetInfo.autoAdvanceViewId);
1401 mWidgetsToAdvance.put(hostView, appWidgetInfo);
1407 void removeWidgetToAutoAdvance(View hostView) {
1408 if (mWidgetsToAdvance.containsKey(hostView)) {
1409 mWidgetsToAdvance.remove(hostView);
1415 removeWidgetToAutoAdvance(launcherInfo.hostView);
1416 launcherInfo.hostView = null;
1828 AppWidgetHostView hostView = info.boundWidget;
1830 if (hostView != null) {
1831 appWidgetId = hostView.getAppWidgetId();
1832 addAppWidgetImpl(appWidgetId, info, hostView, info.info);
3508 item.hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo);
3510 item.hostView.setTag(item);
3513 workspace.addInScreen(item.hostView, item.container, item.screen, item.cellX,
3515 addWidgetToAutoAdvanceIfNeeded(item.hostView, appWidgetInfo);