Home
last modified time | relevance | path

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

/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DAppWidgetHostActivity.java59 …AppWidgetHostView onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) { in onCreate()
105 AppWidgetProviderInfo appWidget = mAppWidgetManager.getAppWidgetInfo(appWidgetId); in handleAppWidgetPickResult() local
107 if (appWidget.configure != null) { in handleAppWidgetPickResult()
109 configureAppWidget(CONFIGURE_APPWIDGET_REQUEST, appWidgetId, appWidget.configure); in handleAppWidgetPickResult()
112 addAppWidgetView(appWidgetId, appWidget); in handleAppWidgetPickResult()
127 AppWidgetProviderInfo appWidget = mAppWidgetManager.getAppWidgetInfo(appWidgetId); in handleAppWidgetConfigureResult() local
128 addAppWidgetView(appWidgetId, appWidget); in handleAppWidgetConfigureResult()
134 void addAppWidgetView(int appWidgetId, AppWidgetProviderInfo appWidget) { in addAppWidgetView() argument
136 AppWidgetHostView view = mHost.createView(this, appWidgetId, appWidget); in addAppWidgetView()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHost.java381 AppWidgetProviderInfo appWidget) { in createView() argument
385 AppWidgetHostView view = onCreateView(context, appWidgetId, appWidget); in createView()
387 view.setAppWidget(appWidgetId, appWidget); in createView()
407 AppWidgetProviderInfo appWidget) { in onCreateView() argument
414 protected void onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidget) { in onProviderChanged() argument
420 appWidget.updateDimensions(mDisplayMetrics); in onProviderChanged()
425 v.resetAppWidget(appWidget); in onProviderChanged()
/frameworks/base/core/java/android/content/pm/
DShortcutServiceInternal.java80 @NonNull AppWidgetProviderInfo appWidget, @Nullable Bundle extras, in requestPinAppWidget() argument
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1973 AppWidgetProviderInfo appWidget, Bundle extras, IntentSender resultIntent) { in requestPinItem() argument
2001 ret = mShortcutRequestPinProcessor.requestPinItemLocked(shortcut, appWidget, extras, in requestPinItem()
2847 @NonNull AppWidgetProviderInfo appWidget, @Nullable Bundle extras, in requestPinAppWidget() argument
2849 Preconditions.checkNotNull(appWidget); in requestPinAppWidget()
2850 return requestPinItem(callingPackage, userId, null, appWidget, extras, resultIntent); in requestPinAppWidget()