Home | History | Annotate | Download | only in launcher2

Lines Matching defs:hostView

1219             AppWidgetHostView hostView, AppWidgetProviderInfo appWidgetInfo) {
1282 if (hostView == null) {
1284 launcherInfo.hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo);
1285 launcherInfo.hostView.setAppWidget(appWidgetId, appWidgetInfo);
1288 launcherInfo.hostView = hostView;
1291 launcherInfo.hostView.setTag(launcherInfo);
1292 launcherInfo.hostView.setVisibility(View.VISIBLE);
1295 mWorkspace.addInScreen(launcherInfo.hostView, container, screen, cellXY[0], cellXY[1],
1298 addWidgetToAutoAdvanceIfNeeded(launcherInfo.hostView, appWidgetInfo);
1448 void addWidgetToAutoAdvanceIfNeeded(View hostView, AppWidgetProviderInfo appWidgetInfo) {
1450 View v = hostView.findViewById(appWidgetInfo.autoAdvanceViewId);
1452 mWidgetsToAdvance.put(hostView, appWidgetInfo);
1458 void removeWidgetToAutoAdvance(View hostView) {
1459 if (mWidgetsToAdvance.containsKey(hostView)) {
1460 mWidgetsToAdvance.remove(hostView);
1466 removeWidgetToAutoAdvance(launcherInfo.hostView);
1467 launcherInfo.hostView = null;
1878 AppWidgetHostView hostView = info.boundWidget;
1880 if (hostView != null) {
1881 appWidgetId = hostView.getAppWidgetId();
1882 addAppWidgetImpl(appWidgetId, info, hostView, info.info);
3584 item.hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo);
3586 item.hostView.setTag(item);
3589 workspace.addInScreen(item.hostView, item.container, item.screen, item.cellX,
3591 addWidgetToAutoAdvanceIfNeeded(item.hostView, appWidgetInfo);