Lines Matching defs:hostView
1082 AppWidgetHostView hostView, AppWidgetProviderInfo appWidgetInfo) {
1144 if (hostView == null) {
1146 launcherInfo.hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo);
1147 launcherInfo.hostView.setAppWidget(appWidgetId, appWidgetInfo);
1150 launcherInfo.hostView = hostView;
1153 launcherInfo.hostView.setTag(launcherInfo);
1154 launcherInfo.hostView.setVisibility(View.VISIBLE);
1156 mWorkspace.addInScreen(launcherInfo.hostView, container, screen, cellXY[0], cellXY[1],
1159 addWidgetToAutoAdvanceIfNeeded(launcherInfo.hostView, appWidgetInfo);
1294 void addWidgetToAutoAdvanceIfNeeded(View hostView, AppWidgetProviderInfo appWidgetInfo) {
1296 View v = hostView.findViewById(appWidgetInfo.autoAdvanceViewId);
1298 mWidgetsToAdvance.put(hostView, appWidgetInfo);
1304 void removeWidgetToAutoAdvance(View hostView) {
1305 if (mWidgetsToAdvance.containsKey(hostView)) {
1306 mWidgetsToAdvance.remove(hostView);
1312 removeWidgetToAutoAdvance(launcherInfo.hostView);
1313 launcherInfo.hostView = null;
1647 AppWidgetHostView hostView = info.boundWidget;
1649 if (hostView != null) {
1650 appWidgetId = hostView.getAppWidgetId();
1651 hostView, info.info);
3259 item.hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo);
3261 item.hostView.setTag(item);
3264 workspace.addInScreen(item.hostView, item.container, item.screen, item.cellX,
3266 addWidgetToAutoAdvanceIfNeeded(item.hostView, appWidgetInfo);