Home
last modified time | relevance | path

Searched refs:hostView (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java124 AppWidgetHostView hostView = mLauncher.getAppWidgetHost().createView( in preloadWidget()
126 mInfo.boundWidget = hostView; in preloadWidget()
131 hostView.setVisibility(View.INVISIBLE); in preloadWidget()
139 hostView.setLayoutParams(lp); in preloadWidget()
143 mLauncher.getDragLayer().addView(hostView); in preloadWidget()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1259 AppWidgetHostView hostView, LauncherAppWidgetProviderInfo appWidgetInfo) { in completeAddAppWidget() argument
1276 if (hostView == null) { in completeAddAppWidget()
1278 hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo); in completeAddAppWidget()
1280 hostView.setVisibility(View.VISIBLE); in completeAddAppWidget()
1281 prepareAppWidget(hostView, launcherInfo); in completeAddAppWidget()
1282 mWorkspace.addInScreen(hostView, launcherInfo); in completeAddAppWidget()
1285 private void prepareAppWidget(AppWidgetHostView hostView, LauncherAppWidgetInfo item) { in prepareAppWidget() argument
1286 hostView.setTag(item); in prepareAppWidget()
1287 item.onBindAppWidget(this, hostView); in prepareAppWidget()
1288 hostView.setFocusable(true); in prepareAppWidget()
[all …]
DLauncherAppWidgetInfo.java156 void onBindAppWidget(Launcher launcher, AppWidgetHostView hostView) { in onBindAppWidget() argument
158 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY); in onBindAppWidget()
DSecondaryDropTarget.java207 AppWidgetHostView hostView = (AppWidgetHostView) view; in getReconfigurableWidgetId() local
208 AppWidgetProviderInfo widgetInfo = hostView.getAppWidgetInfo(); in getReconfigurableWidgetId()
216 return hostView.getAppWidgetId(); in getReconfigurableWidgetId()
DWorkspace.java1888 final LauncherAppWidgetHostView hostView = (LauncherAppWidgetHostView) cell; in onDrop() local
1889 AppWidgetProviderInfo pInfo = hostView.getAppWidgetInfo(); in onDrop()
1895 AppWidgetResizeFrame.showForWidget(hostView, cellLayout); in onDrop()