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.java52 LauncherAppWidgetHostView hostView = findHostViewAncestor(view); in onInteraction() local
53 if (hostView == null) { in onInteraction()
55 return RemoteViews.startPendingIntent(hostView, pendingIntent, in onInteraction()
60 .getActivityLaunchOptions(hostView); in onInteraction()
75 Object itemInfo = hostView.getTag(); in onInteraction()
83 return RemoteViews.startPendingIntent(hostView, pendingIntent, options); in onInteraction()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DLauncherAppWidgetInfo.java173 LauncherAppWidgetProviderInfo providerInfo, AppWidgetHostView hostView) { in LauncherAppWidgetInfo() argument
175 widgetFeatures = computeWidgetFeatures(providerInfo, hostView); in LauncherAppWidgetInfo()
208 public void onBindAppWidget(Launcher launcher, AppWidgetHostView hostView) { in onBindAppWidget() argument
210 WidgetSizes.updateWidgetSizeRanges(hostView, launcher, spanX, spanY); in onBindAppWidget()
242 LauncherAppWidgetProviderInfo providerInfo, AppWidgetHostView hostView) { in computeWidgetFeatures() argument
262 if (hostView instanceof LauncherAppWidgetHostView && in computeWidgetFeatures()
263 ((LauncherAppWidgetHostView) hostView).hasEnforcedCornerRadius()) { in computeWidgetFeatures()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java119 AppWidgetHostView hostView = mLauncher.getAppWidgetHost().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.java64 void init(LauncherAppWidgetHostView hostView, View backgroundView, float finalRadius, in init() argument
68 mInitialOutlineRadius = getOutlineRadius(hostView, backgroundView); in init()
151 private static float getOutlineRadius(LauncherAppWidgetHostView hostView, View v) { in getOutlineRadius() argument
153 && hostView.hasEnforcedCornerRadius()) { in getOutlineRadius()
154 return hostView.getEnforcedCornerRadius(); in getOutlineRadius()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1322 AppWidgetHostView hostView, LauncherAppWidgetProviderInfo appWidgetInfo) { in completeAddAppWidget() argument
1328 if (hostView == null) { in completeAddAppWidget()
1330 hostView = mAppWidgetHost.createView(this, appWidgetId, appWidgetInfo); in completeAddAppWidget()
1336 appWidgetId, appWidgetInfo.provider, appWidgetInfo, hostView); in completeAddAppWidget()
1352 hostView.setVisibility(View.VISIBLE); in completeAddAppWidget()
1353 prepareAppWidget(hostView, launcherInfo); in completeAddAppWidget()
1354 mWorkspace.addInScreen(hostView, launcherInfo); in completeAddAppWidget()
1358 if (hostView instanceof LauncherAppWidgetHostView) { in completeAddAppWidget()
1359 final LauncherAppWidgetHostView launcherHostView = (LauncherAppWidgetHostView) hostView; in completeAddAppWidget()
1392 private void prepareAppWidget(AppWidgetHostView hostView, LauncherAppWidgetInfo item) { in prepareAppWidget() argument
[all …]
DSecondaryDropTarget.java251 AppWidgetHostView hostView = (AppWidgetHostView) view; in getReconfigurableWidgetId() local
252 AppWidgetProviderInfo widgetInfo = hostView.getAppWidgetInfo(); in getReconfigurableWidgetId()
260 return hostView.getAppWidgetId(); in getReconfigurableWidgetId()
DWorkspace.java1900 final LauncherAppWidgetHostView hostView = (LauncherAppWidgetHostView) cell; in onDrop() local
1901 AppWidgetProviderInfo pInfo = hostView.getAppWidgetInfo(); in onDrop()
1908 AppWidgetResizeFrame.showForWidget(hostView, cellLayout); in onDrop()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSwipeHandlerV2.java177 LauncherAppWidgetHostView hostView, boolean isTargetTranslucent,
187 hostView, backgroundLocation, windowSize,
196 return hostView;