/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 | 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 | 76 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 84 Message msg = handler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views); 88 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info) { argument 97 appWidgetId, 0, info); 109 public void viewDataChanged(int appWidgetId, int viewId) { argument 115 appWidgetId, viewId); 213 updateAppWidgetView(update.appWidgetId, update.views); 216 onProviderChanged(update.appWidgetId, update.widgetInfo); 219 viewDataChanged(update.appWidgetId, update.viewId); 241 * Get a appWidgetId fo 276 startAppWidgetConfigureActivityForResult(@onNull Activity activity, int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) argument 314 deleteAppWidgetId(int appWidgetId) argument 373 createView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument 399 onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument 407 onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidget) argument 430 updateAppWidgetView(int appWidgetId, RemoteViews views) argument 440 viewDataChanged(int appWidgetId, int viewId) argument [all...] |
H A D | AppWidgetManager.java | 66 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider 77 * <td>The appWidgetId that you supplied in the original intent.</td> 85 * should delete the appWidgetId. 108 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider 130 * <td>The appWidgetId that you supplied in the original intent.</td> 138 * should delete the appWidgetId. 157 * <td>The appWidgetId to configure.</td> 172 * An intent extra that contains one appWidgetId. 177 public static final String EXTRA_APPWIDGET_ID = "appWidgetId"; 278 * A sentinel value that the AppWidget manager will never return as a appWidgetId 528 updateAppWidgetOptions(int appWidgetId, Bundle options) argument 550 getAppWidgetOptions(int appWidgetId) argument 580 updateAppWidget(int appWidgetId, RemoteViews views) argument 646 partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) argument 702 notifyAppWidgetViewDataChanged(int appWidgetId, int viewId) argument 843 getAppWidgetInfo(int appWidgetId) argument 871 bindAppWidgetId(int appWidgetId, ComponentName provider) argument 893 bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) argument 913 bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider) argument 936 bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider, Bundle options) argument 960 bindAppWidgetIdIfAllowed(int appWidgetId, UserHandle user, ComponentName provider, Bundle options) argument 1061 bindRemoteViewsService(String packageName, int appWidgetId, Intent intent, IBinder connection) argument 1085 unbindRemoteViewsService(String packageName, int appWidgetId, Intent intent) argument 1128 bindAppWidgetIdIfAllowed(int appWidgetId, int profileId, ComponentName provider, Bundle options) argument [all...] |
H A D | AppWidgetHostView.java | 144 public void setAppWidget(int appWidgetId, AppWidgetProviderInfo info) { argument 145 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/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 172 public synchronized void bind(Context context, int appWidgetId, Intent intent) { argument 178 mgr.bindRemoteViewsService(context.getOpPackageName(), appWidgetId, 192 public synchronized void unbind(Context context, int appWidgetId, Intent intent) { argument 197 mgr.unbindRemoteViewsService(context.getOpPackageName(), appWidgetId, intent);
|
H A D | RemoteViews.java | 93 * The intent extra that contains the appWidgetId. 3106 * @param appWidgetId The id of the app widget which contains the specified view. (This 3115 public void setRemoteAdapter(int appWidgetId, int viewId, Intent intent) { argument
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
H A D | AppWidgetServiceImpl.java | 625 intent = PendingIntent.getActivity(mContext, widget.appWidgetId, 879 final int appWidgetId = incrementAndGetAppWidgetIdLocked(userId); 887 widget.appWidgetId = appWidgetId; 896 Slog.i(TAG, "Allocated widget id " + appWidgetId 900 return appWidgetId; 905 public void deleteAppWidgetId(String callingPackage, int appWidgetId) { argument 920 Widget widget = lookupWidgetLocked(appWidgetId, 932 Slog.i(TAG, "Deleted widget id " + appWidgetId 992 public IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, argument 1043 bindAppWidgetId(String callingPackage, int appWidgetId, int providerProfileId, ComponentName providerComponent, Bundle options) argument 1209 bindRemoteViewsService(String callingPackage, int appWidgetId, Intent intent, IBinder callbacks) argument 1286 unbindRemoteViewsService(String callingPackage, int appWidgetId, Intent intent) argument 1394 getAppWidgetInfo(String callingPackage, int appWidgetId) argument 1421 getAppWidgetViews(String callingPackage, int appWidgetId) argument 1448 updateAppWidgetOptions(String callingPackage, int appWidgetId, Bundle options) argument 1481 getAppWidgetOptions(String callingPackage, int appWidgetId) argument 1851 incrementAppWidgetServiceRefCount(int appWidgetId, Pair<Integer, FilterComparison> serviceId) argument 1940 handleNotifyAppWidgetViewDataChanged(Host host, IAppWidgetHost callbacks, int appWidgetId, int viewId, long requestId) argument 2012 handleNotifyUpdateAppWidget(Host host, IAppWidgetHost callbacks, int appWidgetId, RemoteViews views, long requestId) argument 2049 handleNotifyProviderChanged(Host host, IAppWidgetHost callbacks, int appWidgetId, AppWidgetProviderInfo info, long requestId) argument 2136 lookupWidgetLocked(int appWidgetId, int uid, String packageName) argument 3915 getPendingUpdatesForId(int appWidgetId, LongSparseArray<PendingHostUpdate> outUpdates) argument 4017 int appWidgetId; field in class:AppWidgetServiceImpl.Widget [all...] |