Home
last modified time | relevance | path

Searched refs:hostView (Results 1 – 6 of 6) 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.java1231 AppWidgetHostView hostView, LauncherAppWidgetProviderInfo appWidgetInfo) { in completeAddAppWidget() argument
1248 if (hostView == null) { in completeAddAppWidget()
1250 hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo); in completeAddAppWidget()
1252 hostView.setVisibility(View.VISIBLE); in completeAddAppWidget()
1253 prepareAppWidget(hostView, launcherInfo); in completeAddAppWidget()
1254 mWorkspace.addInScreen(hostView, launcherInfo); in completeAddAppWidget()
1257 private void prepareAppWidget(AppWidgetHostView hostView, LauncherAppWidgetInfo item) { in prepareAppWidget() argument
1258 hostView.setTag(item); in prepareAppWidget()
1259 item.onBindAppWidget(this, hostView); in prepareAppWidget()
1260 hostView.setFocusable(true); in prepareAppWidget()
[all …]
DLauncherAppWidgetInfo.java147 void onBindAppWidget(Launcher launcher, AppWidgetHostView hostView) { in onBindAppWidget() argument
149 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY); in onBindAppWidget()
DSecondaryDropTarget.java205 AppWidgetHostView hostView = (AppWidgetHostView) view; in getReconfigurableWidgetId() local
206 AppWidgetProviderInfo widgetInfo = hostView.getAppWidgetInfo(); in getReconfigurableWidgetId()
214 return hostView.getAppWidgetId(); in getReconfigurableWidgetId()
DWorkspace.java1873 final LauncherAppWidgetHostView hostView = (LauncherAppWidgetHostView) cell; in onDrop() local
1874 AppWidgetProviderInfo pInfo = hostView.getAppWidgetInfo(); in onDrop()
1880 AppWidgetResizeFrame.showForWidget(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()