Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DLauncher.java1193 AppWidgetHostView hostView, AppWidgetProviderInfo appWidgetInfo) { in completeAddAppWidget() argument
1256 if (hostView == null) { in completeAddAppWidget()
1258 launcherInfo.hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo); in completeAddAppWidget()
1259 launcherInfo.hostView.setAppWidget(appWidgetId, appWidgetInfo); in completeAddAppWidget()
1262 launcherInfo.hostView = hostView; in completeAddAppWidget()
1265 launcherInfo.hostView.setTag(launcherInfo); in completeAddAppWidget()
1266 launcherInfo.hostView.setVisibility(View.VISIBLE); in completeAddAppWidget()
1269 mWorkspace.addInScreen(launcherInfo.hostView, container, screen, cellXY[0], cellXY[1], in completeAddAppWidget()
1272 addWidgetToAutoAdvanceIfNeeded(launcherInfo.hostView, appWidgetInfo); in completeAddAppWidget()
1422 void addWidgetToAutoAdvanceIfNeeded(View hostView, AppWidgetProviderInfo appWidgetInfo) { in addWidgetToAutoAdvanceIfNeeded() argument
[all …]
DLauncherAppWidgetInfo.java52 AppWidgetHostView hostView = null; field in LauncherAppWidgetInfo
85 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY); in notifyWidgetSizeChanged()
97 hostView = null; in unbind()
DAppsCustomizePagedView.java614 AppWidgetHostView hostView = mLauncher. in preloadWidget()
616 info.boundWidget = hostView; in preloadWidget()
618 hostView.setVisibility(INVISIBLE); in preloadWidget()
628 hostView.setLayoutParams(lp); in preloadWidget()
629 mLauncher.getDragLayer().addView(hostView); in preloadWidget()
DWorkspace.java681 LauncherAppWidgetHostView lahv = (LauncherAppWidgetHostView) info.hostView; in reinflateWidgetsIfNecessary()
2284 final LauncherAppWidgetHostView hostView = (LauncherAppWidgetHostView) cell;
2285 AppWidgetProviderInfo pinfo = hostView.getAppWidgetInfo();
2291 dragLayer.addResizeFrame(info, hostView, cellLayout);
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1590 AppWidgetHostView hostView, AppWidgetProviderInfo appWidgetInfo) { in completeAddAppWidget() argument
1654 if (hostView == null) { in completeAddAppWidget()
1656 launcherInfo.hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo); in completeAddAppWidget()
1657 launcherInfo.hostView.setAppWidget(appWidgetId, appWidgetInfo); in completeAddAppWidget()
1660 launcherInfo.hostView = hostView; in completeAddAppWidget()
1663 launcherInfo.hostView.setTag(launcherInfo); in completeAddAppWidget()
1664 launcherInfo.hostView.setVisibility(View.VISIBLE); in completeAddAppWidget()
1667 mWorkspace.addInScreen(launcherInfo.hostView, container, screenId, cellXY[0], cellXY[1], in completeAddAppWidget()
1670 addWidgetToAutoAdvanceIfNeeded(launcherInfo.hostView, appWidgetInfo); in completeAddAppWidget()
1872 void addWidgetToAutoAdvanceIfNeeded(View hostView, AppWidgetProviderInfo appWidgetInfo) { in addWidgetToAutoAdvanceIfNeeded() argument
[all …]
DLauncherAppWidgetInfo.java86 AppWidgetHostView hostView = null; field in LauncherAppWidgetInfo
124 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY); in notifyWidgetSizeChanged()
136 hostView = null; in unbind()
DAppsCustomizePagedView.java533 AppWidgetHostView hostView = mLauncher. in preloadWidget()
535 info.boundWidget = hostView; in preloadWidget()
537 hostView.setVisibility(INVISIBLE); in preloadWidget()
547 hostView.setLayoutParams(lp); in preloadWidget()
548 mLauncher.getDragLayer().addView(hostView); in preloadWidget()
DWorkspace.java1149 LauncherAppWidgetHostView lahv = (LauncherAppWidgetHostView) info.hostView; in reinflateWidgetsIfNecessary()
3180 final LauncherAppWidgetHostView hostView = (LauncherAppWidgetHostView) cell; in onDrop() local
3181 AppWidgetProviderInfo pinfo = hostView.getAppWidgetInfo(); in onDrop()
3187 dragLayer.addResizeFrame(info, hostView, cellLayout); in onDrop()
4995 if (info.hostView instanceof PendingAppWidgetHostView) {
4997 ((PendingAppWidgetHostView) info.hostView).applyState();
5115 if (info.hostView instanceof PendingAppWidgetHostView) {
5116 PendingAppWidgetHostView view = (PendingAppWidgetHostView) info.hostView;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationViewFragment.java955 final View hostView = mAdapter.getView(convItem, convertView, mConversationContainer, in measureOverlayHeight() local
958 mConversationContainer.addScrapView(type, hostView); in measureOverlayHeight()
961 final int heightPx = mConversationContainer.measureOverlay(hostView); in measureOverlayHeight()