Lines Matching refs:hostView
1489 AppWidgetHostView hostView, LauncherAppWidgetProviderInfo appWidgetInfo) {
1495 if (hostView == null) {
1497 hostView = mAppWidgetHolder.createView(this, appWidgetId, appWidgetInfo);
1503 appWidgetId, appWidgetInfo.provider, appWidgetInfo, hostView);
1519 hostView.setVisibility(View.VISIBLE);
1520 prepareAppWidget(hostView, launcherInfo);
1521 mWorkspace.addInScreen(hostView, launcherInfo);
1525 if (hostView instanceof LauncherAppWidgetHostView) {
1526 final LauncherAppWidgetHostView launcherHostView = (LauncherAppWidgetHostView) hostView;
1544 private void prepareAppWidget(AppWidgetHostView hostView, LauncherAppWidgetInfo item) {
1545 hostView.setTag(item);
1546 item.onBindAppWidget(this, hostView);
1547 hostView.setFocusable(true);
1548 hostView.setOnFocusChangeListener(mFocusHandler);
1945 AppWidgetHostView hostView = info.boundWidget;
1948 if (hostView != null) {
1953 getDragLayer().removeView(hostView);
1955 appWidgetId = hostView.getAppWidgetId();
1956 addAppWidgetFromDropImpl(appWidgetId, info, hostView, addFlowHandler);