Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepInteractionHandler.java53 LauncherAppWidgetHostView hostView = findHostViewAncestor(view); in onInteraction() local
54 if (hostView == null) { in onInteraction()
56 return RemoteViews.startPendingIntent(hostView, pendingIntent, in onInteraction()
61 .getActivityLaunchOptions(hostView); in onInteraction()
62 Object itemInfo = hostView.getTag(); in onInteraction()
87 return RemoteViews.startPendingIntent(hostView, pendingIntent, options); in onInteraction()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DLauncherAppWidgetInfo.java174 LauncherAppWidgetProviderInfo providerInfo, AppWidgetHostView hostView) { in LauncherAppWidgetInfo() argument
176 widgetFeatures = computeWidgetFeatures(providerInfo, hostView); in LauncherAppWidgetInfo()
209 public void onBindAppWidget(Launcher launcher, AppWidgetHostView hostView) { in onBindAppWidget() argument
211 WidgetSizes.updateWidgetSizeRanges(hostView, launcher, spanX, spanY); in onBindAppWidget()
243 LauncherAppWidgetProviderInfo providerInfo, AppWidgetHostView hostView) { in computeWidgetFeatures() argument
263 if (hostView instanceof LauncherAppWidgetHostView && in computeWidgetFeatures()
264 ((LauncherAppWidgetHostView) hostView).hasEnforcedCornerRadius()) { in computeWidgetFeatures()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java119 AppWidgetHostView hostView = mLauncher.getAppWidgetHolder().createView( in preloadWidget()
121 mInfo.boundWidget = hostView; in preloadWidget()
126 hostView.setVisibility(View.INVISIBLE); in preloadWidget()
134 hostView.setLayoutParams(lp); in preloadWidget()
138 mLauncher.getDragLayer().addView(hostView); in preloadWidget()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DFloatingWidgetBackgroundView.java70 void init(LauncherAppWidgetHostView hostView, @NonNull View backgroundView, in init() argument
74 mInitialOutlineRadius = getOutlineRadius(hostView, backgroundView); in init()
173 private static float getOutlineRadius(LauncherAppWidgetHostView hostView, View v) { in getOutlineRadius() argument
175 && hostView.hasEnforcedCornerRadius()) { in getOutlineRadius()
176 return hostView.getEnforcedCornerRadius(); in getOutlineRadius()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSwipeHandlerV2.java156 LauncherAppWidgetHostView hostView, boolean isTargetTranslucent,
168 hostView, backgroundLocation, windowSize,
177 return hostView;
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1489 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) {
[all …]
DSecondaryDropTarget.java269 AppWidgetHostView hostView = (AppWidgetHostView) view; in getReconfigurableWidgetId() local
270 AppWidgetProviderInfo widgetInfo = hostView.getAppWidgetInfo(); in getReconfigurableWidgetId()
278 return hostView.getAppWidgetId(); in getReconfigurableWidgetId()
DWorkspace.java2151 LauncherAppWidgetHostView hostView, CellLayout cellLayout) { in getWidgetResizeFrameRunnable() argument
2152 AppWidgetProviderInfo pInfo = hostView.getAppWidgetInfo(); in getWidgetResizeFrameRunnable()
2157 AppWidgetResizeFrame.showForWidget(hostView, cellLayout); in getWidgetResizeFrameRunnable()