Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DRoundedCornerEnforcement.java52 public static View findBackground(@NonNull View appWidget) { in findBackground() argument
53 List<View> backgrounds = findViewsWithId(appWidget, android.R.id.background); in findBackground()
58 if (appWidget instanceof ViewGroup) { in findBackground()
59 ViewGroup vg = (ViewGroup) appWidget; in findBackground()
64 return appWidget; in findBackground()
70 public static boolean hasAppWidgetOptedOut(@NonNull View appWidget, @NonNull View background) { in hasAppWidgetOptedOut() argument
88 public static void computeRoundedRectangle(@NonNull View appWidget, @NonNull View background, in computeRoundedRectangle() argument
94 while (background != appWidget) { in computeRoundedRectangle()
DLauncherWidgetHolder.java310 int appWidgetId, LauncherAppWidgetProviderInfo appWidget, Runnable callback) { in addOnUpdateListener() argument
311 if (createView(appWidgetId, appWidget) instanceof ListenableHostView lhv) { in addOnUpdateListener()
328 int appWidgetId, @NonNull LauncherAppWidgetProviderInfo appWidget) { in createView() argument
329 if (appWidget.isCustomWidget()) { in createView()
331 lahv.setAppWidget(0, appWidget); in createView()
336 LauncherAppWidgetHostView view = createViewInternal(appWidgetId, appWidget); in createView()
397 int appWidgetId, @NonNull LauncherAppWidgetProviderInfo appWidget) { in createViewInternal() argument
402 return new PendingAppWidgetHostView(mContext, this, appWidgetId, appWidget); in createViewInternal()
408 hostView.setAppWidget(appWidgetId, appWidget); in createViewInternal()
413 mContext, appWidgetId, appWidget); in createViewInternal()
[all …]
DPendingAppWidgetHostView.java111 LauncherAppWidgetInfo info, @Nullable LauncherAppWidgetProviderInfo appWidget) { in PendingAppWidgetHostView() argument
112 this(context, widgetHolder, info, appWidget, null); in PendingAppWidgetHostView()
116 LauncherAppWidgetInfo info, @Nullable LauncherAppWidgetProviderInfo appWidget, in PendingAppWidgetHostView() argument
118 this(context, widgetHolder, info, appWidget, in PendingAppWidgetHostView()
135 int appWidgetId, @NonNull LauncherAppWidgetProviderInfo appWidget) { in PendingAppWidgetHostView() argument
136 this(context, widgetHolder, new LauncherAppWidgetInfo(appWidgetId, appWidget.provider), in PendingAppWidgetHostView()
137 appWidget, appWidget.label, null); in PendingAppWidgetHostView()
DLauncherAppWidgetHost.java89 AppWidgetProviderInfo appWidget) { in onCreateView() argument
100 protected void onProviderChanged(int appWidgetId, @NonNull AppWidgetProviderInfo appWidget) { in onProviderChanged() argument
102 mContext, appWidget); in onProviderChanged()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepAppWidgetHost.java66 protected void onProviderChanged(int appWidgetId, @NonNull AppWidgetProviderInfo appWidget) { in onProviderChanged() argument
68 mContext, appWidget); in onProviderChanged()
DQuickstepWidgetHolder.java208 LauncherAppWidgetProviderInfo appWidget, Runnable callback) { in addOnUpdateListener() argument
239 int appWidgetId, @NonNull LauncherAppWidgetProviderInfo appWidget) { in createViewInternal() argument
242 widgetView.setAppWidget(appWidgetId, appWidget); in createViewInternal()
/packages/apps/Launcher3/src/com/android/launcher3/qsb/
DQsbContainerView.java351 Context context, int appWidgetId, AppWidgetProviderInfo appWidget) { in onCreateView() argument
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java539 AppWidgetProviderInfo appWidget) {