Home | History | Annotate | Download | only in launcher3

Lines Matching defs:hostView

1536             AppWidgetHostView hostView, LauncherAppWidgetProviderInfo appWidgetInfo) {
1557 if (hostView == null) {
1559 hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo);
1561 hostView.setVisibility(View.VISIBLE);
1562 addAppWidgetToWorkspace(hostView, launcherInfo, appWidgetInfo, isWorkspaceLocked());
1566 AppWidgetHostView hostView, LauncherAppWidgetInfo item,
1568 hostView.setTag(item);
1569 item.onBindAppWidget(this, hostView);
1571 hostView.setFocusable(true);
1572 hostView.setOnFocusChangeListener(mFocusHandler);
1574 mWorkspace.addInScreen(hostView, item.container, item.screenId,
1578 addWidgetToAutoAdvanceIfNeeded(hostView, appWidgetInfo);
1731 private void addWidgetToAutoAdvanceIfNeeded(View hostView, AppWidgetProviderInfo appWidgetInfo) {
1733 View v = hostView.findViewById(appWidgetInfo.autoAdvanceViewId);
1735 mWidgetsToAdvance.put(hostView, appWidgetInfo);
1741 private void removeWidgetToAutoAdvance(View hostView) {
1742 if (mWidgetsToAdvance.containsKey(hostView)) {
1743 mWidgetsToAdvance.remove(hostView);
2199 AppWidgetHostView hostView = info.boundWidget;
2201 if (hostView != null) {
2206 getDragLayer().removeView(hostView);
2208 appWidgetId = hostView.getAppWidgetId();
2209 addAppWidgetFromDropImpl(appWidgetId, info, hostView, info.info);