/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetManager.java | 50 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider 61 * <td>The appWidgetId that you supplied in the original intent.</td> 69 * the appWidgetId. 85 * <td>The appWidgetId to configure.</td> 98 * An intent extra that contains one appWidgetId. 103 public static final String EXTRA_APPWIDGET_ID = "appWidgetId"; 131 * A sentiel value that the AppWidget manager will never return as a appWidgetId. 249 * Set the RemoteViews to use for the specified appWidgetId. 260 * @param appWidgetId The AppWidget instance for which to set the RemoteViews. 263 public void updateAppWidget(int appWidgetId, RemoteView argument 316 partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) argument 365 notifyAppWidgetViewDataChanged(int appWidgetId, int viewId) argument 399 getAppWidgetInfo(int appWidgetId) argument 430 bindAppWidgetId(int appWidgetId, ComponentName provider) argument 451 bindRemoteViewsService(int appWidgetId, Intent intent, IBinder connection) argument 471 unbindRemoteViewsService(int appWidgetId, Intent intent) argument [all...] |
H A D | AppWidgetHost.java | 54 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 56 msg.arg1 = appWidgetId; 61 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info) { argument 63 msg.arg1 = appWidgetId; 68 public void viewDataChanged(int appWidgetId, int viewId) { argument 70 msg.arg1 = appWidgetId; 156 * Get a appWidgetId for a host in the calling process. 158 * @return a appWidgetId 175 public void deleteAppWidgetId(int appWidgetId) { argument 177 mViews.remove(appWidgetId); 225 createView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument 246 onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument 254 onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidget) argument 277 updateAppWidgetView(int appWidgetId, RemoteViews views) argument 287 viewDataChanged(int appWidgetId, int viewId) argument [all...] |
H A D | AppWidgetHostView.java | 114 public void setAppWidget(int appWidgetId, AppWidgetProviderInfo info) { argument 115 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 | RemoteViews.java | 62 * The intent extra that contains the appWidgetId. 1347 * @param appWidgetId The id of the app widget which contains the specified view. (This 1356 public void setRemoteAdapter(int appWidgetId, int viewId, Intent intent) { argument
|
H A D | RemoteViewsAdapter.java | 121 public synchronized void bind(Context context, int appWidgetId, Intent intent) { argument 125 mgr.bindRemoteViewsService(appWidgetId, intent, asBinder()); 135 public synchronized void unbind(Context context, int appWidgetId, Intent intent) { argument 138 mgr.unbindRemoteViewsService(appWidgetId, intent);
|
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetService.java | 116 int appWidgetId; field in class:AppWidgetService.AppWidgetId 259 pw.println(id.appWidgetId); 327 int appWidgetId = mNextAppWidgetId++; 332 id.appWidgetId = appWidgetId; 340 return appWidgetId; 344 public void deleteAppWidgetId(int appWidgetId) { argument 347 AppWidgetId id = lookupAppWidgetIdLocked(appWidgetId); 413 // send the broacast saying that this appWidgetId has been deleted 416 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, id.appWidgetId); 444 bindAppWidgetId(int appWidgetId, ComponentName provider) argument 493 bindRemoteViewsService(int appWidgetId, Intent intent, IBinder connection) argument 545 unbindRemoteViewsService(int appWidgetId, Intent intent) argument 627 incrementAppWidgetServiceRefCount(int appWidgetId, FilterComparison fc) argument 640 decrementAppWidgetServiceRefCount(int appWidgetId) argument 657 getAppWidgetInfo(int appWidgetId) argument 668 getAppWidgetViews(int appWidgetId) argument 904 lookupAppWidgetIdLocked(int appWidgetId) argument [all...] |