/frameworks/base/core/java/com/android/internal/appwidget/ |
H A D | IAppWidgetHost.aidl | 26 void updateAppWidget(int appWidgetId, in RemoteViews views); 27 void providerChanged(int appWidgetId, in AppWidgetProviderInfo info); 29 void viewDataChanged(int appWidgetId, int viewId);
|
H A D | IAppWidgetService.aidl | 42 void deleteAppWidgetId(String callingPackage, int appWidgetId); 45 RemoteViews getAppWidgetViews(String callingPackage, int appWidgetId); 47 IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, 54 void updateAppWidgetOptions(String callingPackage, int appWidgetId, in Bundle extras); 55 Bundle getAppWidgetOptions(String callingPackage, int appWidgetId); 63 AppWidgetProviderInfo getAppWidgetInfo(String callingPackage, int appWidgetId); 66 boolean bindAppWidgetId(in String callingPackage, int appWidgetId, 68 boolean bindRemoteViewsService(String callingPackage, int appWidgetId, in Intent intent,
|
/frameworks/base/core/java/android/appwidget/ |
H A D | PendingHostUpdate.java | 32 final int appWidgetId; field in class:PendingHostUpdate 38 public static PendingHostUpdate updateAppWidget(int appWidgetId, RemoteViews views) { argument 39 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEWS_UPDATE); 44 public static PendingHostUpdate providerChanged(int appWidgetId, AppWidgetProviderInfo info) { argument 45 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_PROVIDER_CHANGED); 50 public static PendingHostUpdate viewDataChanged(int appWidgetId, int viewId) { argument 51 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEW_DATA_CHANGED); 56 private PendingHostUpdate(int appWidgetId, int type) { argument 57 this.appWidgetId = appWidgetId; [all...] |
H A D | AppWidgetHost.java | 77 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 85 Message msg = handler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views); 89 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info) { argument 98 appWidgetId, 0, info); 110 public void viewDataChanged(int appWidgetId, int viewId) { argument 116 appWidgetId, viewId); 215 updateAppWidgetView(update.appWidgetId, update.views); 218 onProviderChanged(update.appWidgetId, update.widgetInfo); 221 viewDataChanged(update.appWidgetId, update.viewId); 243 * Get a appWidgetId fo 278 startAppWidgetConfigureActivityForResult(@onNull Activity activity, int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) argument 316 deleteAppWidgetId(int appWidgetId) argument 375 createView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument 401 onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument 409 onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidget) argument 432 updateAppWidgetView(int appWidgetId, RemoteViews views) argument 442 viewDataChanged(int appWidgetId, int viewId) argument [all...] |
H A D | AppWidgetManager.java | 70 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider 81 * <td>The appWidgetId that you supplied in the original intent.</td> 89 * should delete the appWidgetId. 112 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider 134 * <td>The appWidgetId that you supplied in the original intent.</td> 142 * should delete the appWidgetId. 161 * <td>The appWidgetId to configure.</td> 176 * An intent extra that contains one appWidgetId. 181 public static final String EXTRA_APPWIDGET_ID = "appWidgetId"; 282 * A sentinel value that the AppWidget manager will never return as a appWidgetId 532 updateAppWidgetOptions(int appWidgetId, Bundle options) argument 554 getAppWidgetOptions(int appWidgetId) argument 584 updateAppWidget(int appWidgetId, RemoteViews views) argument 650 partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) argument 736 notifyAppWidgetViewDataChanged(int appWidgetId, int viewId) argument 877 getAppWidgetInfo(int appWidgetId) argument 905 bindAppWidgetId(int appWidgetId, ComponentName provider) argument 927 bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) argument 947 bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider) argument 970 bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider, Bundle options) argument 994 bindAppWidgetIdIfAllowed(int appWidgetId, UserHandle user, ComponentName provider, Bundle options) argument 1097 bindRemoteViewsService(Context context, int appWidgetId, Intent intent, IServiceConnection connection, @Context.BindServiceFlags int flags) argument 1142 bindAppWidgetIdIfAllowed(int appWidgetId, int profileId, ComponentName provider, Bundle options) argument [all...] |
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 | AppWidgetHostView.java | 130 public void setAppWidget(int appWidgetId, AppWidgetProviderInfo info) { argument 131 mAppWidgetId = appWidgetId;
|
/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/services/appwidget/java/com/android/server/appwidget/ |
H A D | AppWidgetServiceImpl.java | 656 intent = PendingIntent.getActivity(mContext, widget.appWidgetId, 924 final int appWidgetId = incrementAndGetAppWidgetIdLocked(userId); 932 widget.appWidgetId = appWidgetId; 941 Slog.i(TAG, "Allocated widget id " + appWidgetId 945 return appWidgetId; 950 public void deleteAppWidgetId(String callingPackage, int appWidgetId) { argument 965 Widget widget = lookupWidgetLocked(appWidgetId, 977 Slog.i(TAG, "Deleted widget id " + appWidgetId 1037 public IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, argument 1088 bindAppWidgetId(String callingPackage, int appWidgetId, int providerProfileId, ComponentName providerComponent, Bundle options) argument 1254 bindRemoteViewsService(String callingPackage, int appWidgetId, Intent intent, IApplicationThread caller, IBinder activtiyToken, IServiceConnection connection, int flags) argument 1395 getAppWidgetInfo(String callingPackage, int appWidgetId) argument 1422 getAppWidgetViews(String callingPackage, int appWidgetId) argument 1449 updateAppWidgetOptions(String callingPackage, int appWidgetId, Bundle options) argument 1482 getAppWidgetOptions(String callingPackage, int appWidgetId) argument 1896 incrementAppWidgetServiceRefCount(int appWidgetId, Pair<Integer, FilterComparison> serviceId) argument 1985 handleNotifyAppWidgetViewDataChanged(Host host, IAppWidgetHost callbacks, int appWidgetId, int viewId, long requestId) argument 2057 handleNotifyUpdateAppWidget(Host host, IAppWidgetHost callbacks, int appWidgetId, RemoteViews views, long requestId) argument 2094 handleNotifyProviderChanged(Host host, IAppWidgetHost callbacks, int appWidgetId, AppWidgetProviderInfo info, long requestId) argument 2181 lookupWidgetLocked(int appWidgetId, int uid, String packageName) argument 4020 getPendingUpdatesForId(int appWidgetId, LongSparseArray<PendingHostUpdate> outUpdates) argument 4122 int appWidgetId; field in class:AppWidgetServiceImpl.Widget [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 248 int appWidgetId = msg.arg1; 250 .bindRemoteViewsService(mContext, appWidgetId, intent, sd, flags);
|
H A D | RemoteViews.java | 126 * The intent extra that contains the appWidgetId. 2898 * @param appWidgetId The id of the app widget which contains the specified view. (This 2907 public void setRemoteAdapter(int appWidgetId, int viewId, Intent intent) { argument
|