Home
last modified time | relevance | path

Searched refs:hostView (Results 1 – 9 of 9) 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/Launcher2/src/com/android/launcher2/
DLauncher.java1219 AppWidgetHostView hostView, AppWidgetProviderInfo appWidgetInfo) { in completeAddAppWidget() argument
1282 if (hostView == null) { in completeAddAppWidget()
1284 launcherInfo.hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo); in completeAddAppWidget()
1285 launcherInfo.hostView.setAppWidget(appWidgetId, appWidgetInfo); in completeAddAppWidget()
1288 launcherInfo.hostView = hostView; in completeAddAppWidget()
1291 launcherInfo.hostView.setTag(launcherInfo); in completeAddAppWidget()
1292 launcherInfo.hostView.setVisibility(View.VISIBLE); in completeAddAppWidget()
1295 mWorkspace.addInScreen(launcherInfo.hostView, container, screen, cellXY[0], cellXY[1], in completeAddAppWidget()
1298 addWidgetToAutoAdvanceIfNeeded(launcherInfo.hostView, appWidgetInfo); in completeAddAppWidget()
1448 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.java1516 AppWidgetHostView hostView, LauncherAppWidgetProviderInfo appWidgetInfo) { in completeAddAppWidget() argument
1537 if (hostView == null) { in completeAddAppWidget()
1539 hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo); in completeAddAppWidget()
1541 hostView.setVisibility(View.VISIBLE); in completeAddAppWidget()
1542 prepareAppWidget(hostView, launcherInfo); in completeAddAppWidget()
1543 mWorkspace.addInScreen(hostView, launcherInfo); in completeAddAppWidget()
1546 private void prepareAppWidget(AppWidgetHostView hostView, LauncherAppWidgetInfo item) { in prepareAppWidget() argument
1547 hostView.setTag(item); in prepareAppWidget()
1548 item.onBindAppWidget(this, hostView); in prepareAppWidget()
1549 hostView.setFocusable(true); in prepareAppWidget()
[all …]
DLauncherAppWidgetInfo.java141 void onBindAppWidget(Launcher launcher, AppWidgetHostView hostView) { in onBindAppWidget() argument
143 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY); in onBindAppWidget()
DWorkspace.java2644 final LauncherAppWidgetHostView hostView = (LauncherAppWidgetHostView) cell; in onDrop() local
2645 AppWidgetProviderInfo pInfo = hostView.getAppWidgetInfo(); in onDrop()
2652 dragLayer.addResizeFrame(hostView, cellLayout); in onDrop()
/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()