/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetProvider.java | 72 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); 73 this.onDeleted(context, new int[] { appWidgetId }); 79 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); 82 appWidgetId, widgetExtras); 133 * @param appWidgetId The appWidgetId of the widget whose size changed. 134 * @param newOptions The appWidgetId of the widget whose size changed. 139 int appWidgetId, Bundle newOptions) { 138 onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, int appWidgetId, Bundle newOptions) argument
|
H A D | AppWidgetHost.java | 75 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 83 Message msg = handler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views); 87 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info) { argument 96 appWidgetId, 0, info); 108 public void viewDataChanged(int appWidgetId, int viewId) { argument 114 appWidgetId, viewId); 216 * Get a appWidgetId for a host in the calling process. 218 * @return a appWidgetId 240 * @param appWidgetId The bound app widget whose provider's config activity to start. 249 int appWidgetId, in 248 startAppWidgetConfigureActivityForResult(@onNull Activity activity, int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) argument 285 deleteAppWidgetId(int appWidgetId) argument 335 createView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument 358 onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument 366 onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidget) argument 397 updateAppWidgetView(int appWidgetId, RemoteViews views) argument 407 viewDataChanged(int appWidgetId, int viewId) argument [all...] |
H A D | AppWidgetHostView.java | 136 public void setAppWidget(int appWidgetId, AppWidgetProviderInfo info) { argument 137 mAppWidgetId = appWidgetId;
|
H A D | AppWidgetManager.java | 58 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider 69 * <td>The appWidgetId that you supplied in the original intent.</td> 77 * should delete the appWidgetId. 98 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider 120 * <td>The appWidgetId that you supplied in the original intent.</td> 128 * should delete the appWidgetId. 146 * <td>The appWidgetId to configure.</td> 160 * An intent extra that contains one appWidgetId. 165 public static final String EXTRA_APPWIDGET_ID = "appWidgetId"; 266 * A sentinel value that the AppWidget manager will never return as a appWidgetId 492 updateAppWidgetOptions(int appWidgetId, Bundle options) argument 515 getAppWidgetOptions(int appWidgetId) argument 546 updateAppWidget(int appWidgetId, RemoteViews views) argument 612 partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) argument 670 notifyAppWidgetViewDataChanged(int appWidgetId, int viewId) argument 779 getAppWidgetInfo(int appWidgetId) argument 808 bindAppWidgetId(int appWidgetId, ComponentName provider) argument 830 bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) argument 850 bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider) argument 873 bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider, Bundle options) argument 897 bindAppWidgetIdIfAllowed(int appWidgetId, UserHandle user, ComponentName provider, Bundle options) argument 1001 bindRemoteViewsService(String packageName, int appWidgetId, Intent intent, IBinder connection) argument 1026 unbindRemoteViewsService(String packageName, int appWidgetId, Intent intent) argument 1071 bindAppWidgetIdIfAllowed(int appWidgetId, int profileId, ComponentName provider, Bundle options) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsAppWidgetHost.java | 58 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, argument 67 protected void onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidgetInfo) { argument 68 super.onProviderChanged(appWidgetId, appWidgetInfo);
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
H A D | AppWidgetHostActivity.java | 59 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) { 60 return new MyAppWidgetView(appWidgetId); 89 void configureAppWidget(int requestCode, int appWidgetId, ComponentName configure) { argument 92 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); 94 prefs.putInt(PENDING_APPWIDGET_ID, appWidgetId); 102 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); 105 AppWidgetProviderInfo appWidget = mAppWidgetManager.getAppWidgetInfo(appWidgetId); 109 configureAppWidget(CONFIGURE_APPWIDGET_REQUEST, appWidgetId, appWidget.configure); 112 addAppWidgetView(appWidgetId, appWidget); 115 mHost.deleteAppWidgetId(appWidgetId); 134 addAppWidgetView(int appWidgetId, AppWidgetProviderInfo appWidget) argument 187 int appWidgetId; field in class:AppWidgetHostActivity.MyAppWidgetView 189 MyAppWidgetView(int appWidgetId) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 152 public synchronized void bind(Context context, int appWidgetId, Intent intent) { argument 158 mgr.bindRemoteViewsService(context.getOpPackageName(), appWidgetId, 172 public synchronized void unbind(Context context, int appWidgetId, Intent intent) { argument 177 mgr.unbindRemoteViewsService(context.getOpPackageName(), appWidgetId, intent);
|
H A D | RemoteViews.java | 77 * The intent extra that contains the appWidgetId. 2405 * @param appWidgetId The id of the app widget which contains the specified view. (This 2414 public void setRemoteAdapter(int appWidgetId, int viewId, Intent intent) { argument
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
H A D | AppWidgetServiceImpl.java | 516 updatedIds[i] = widget.appWidgetId; 568 final int appWidgetId = incrementAndGetAppWidgetIdLocked(userId); 576 widget.appWidgetId = appWidgetId; 585 Slog.i(TAG, "Allocated widget id " + appWidgetId 589 return appWidgetId; 594 public void deleteAppWidgetId(String callingPackage, int appWidgetId) { argument 609 Widget widget = lookupWidgetLocked(appWidgetId, 621 Slog.i(TAG, "Deleted widget id " + appWidgetId 681 public IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, argument 732 bindAppWidgetId(String callingPackage, int appWidgetId, int providerProfileId, ComponentName providerComponent, Bundle options) argument 898 bindRemoteViewsService(String callingPackage, int appWidgetId, Intent intent, IBinder callbacks) argument 975 unbindRemoteViewsService(String callingPackage, int appWidgetId, Intent intent) argument 1083 getAppWidgetInfo(String callingPackage, int appWidgetId) argument 1110 getAppWidgetViews(String callingPackage, int appWidgetId) argument 1137 updateAppWidgetOptions(String callingPackage, int appWidgetId, Bundle options) argument 1170 getAppWidgetOptions(String callingPackage, int appWidgetId) argument 1508 incrementAppWidgetServiceRefCount(int appWidgetId, Pair<Integer, FilterComparison> serviceId) argument 1579 handleNotifyAppWidgetViewDataChanged(Host host, IAppWidgetHost callbacks, int appWidgetId, int viewId) argument 1645 handleNotifyUpdateAppWidget(Host host, IAppWidgetHost callbacks, int appWidgetId, RemoteViews views) argument 1674 handleNotifyProviderChanged(Host host, IAppWidgetHost callbacks, int appWidgetId, AppWidgetProviderInfo info) argument 1760 lookupWidgetLocked(int appWidgetId, int uid, String packageName) argument 3506 int appWidgetId; field in class:AppWidgetServiceImpl.Widget [all...] |