Searched defs:appWidgetId (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHost.java | 50 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 52 msg.arg1 = appWidgetId; 57 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info) { argument 59 msg.arg1 = appWidgetId; 140 * Get a appWidgetId for a host in the calling process. 142 * @return a appWidgetId 159 public void deleteAppWidgetId(int appWidgetId) { argument 161 mViews.remove(appWidgetId); 163 sService.deleteAppWidgetId(appWidgetId); 205 public final AppWidgetHostView createView(Context context, int appWidgetId, argument 226 onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument 234 onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidget) argument 244 updateAppWidgetView(int appWidgetId, RemoteViews views) argument [all...] |
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. 254 * Set the RemoteViews to use for the specified appWidgetId. 261 * @param appWidgetId The AppWidget instance for which to set the RemoteViews. 264 public void updateAppWidget(int appWidgetId, RemoteView argument 308 getAppWidgetInfo(int appWidgetId) argument 335 bindAppWidgetId(int appWidgetId, ComponentName provider) argument [all...] |
H A D | AppWidgetHostView.java | 99 public void setAppWidget(int appWidgetId, AppWidgetProviderInfo info) { argument 100 mAppWidgetId = appWidgetId;
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
H A D | AppWidgetHostActivity.java | 81 void configureAppWidget(int requestCode, int appWidgetId, ComponentName configure) { argument 84 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); 86 prefs.putInt(PENDING_APPWIDGET_ID, appWidgetId); 94 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); 97 AppWidgetProviderInfo appWidget = mAppWidgetManager.getAppWidgetInfo(appWidgetId); 101 configureAppWidget(CONFIGURE_APPWIDGET_REQUEST, appWidgetId, appWidget.configure); 104 addAppWidgetView(appWidgetId, appWidget); 107 mHost.deleteAppWidgetId(appWidgetId); 112 int appWidgetId = getPreferences(0).getInt(PENDING_APPWIDGET_ID, -1); 113 Log.d(TAG, "resultCode=" + resultCode + " appWidgetId 126 addAppWidgetView(int appWidgetId, AppWidgetProviderInfo appWidget) argument 179 int appWidgetId; field in class:AppWidgetHostActivity.MyAppWidgetView 181 MyAppWidgetView(int appWidgetId) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetService.java | 104 int appWidgetId; field in class:AppWidgetService.AppWidgetId 191 pw.println(id.appWidgetId); 227 int appWidgetId = mNextAppWidgetId++; 232 id.appWidgetId = appWidgetId; 240 return appWidgetId; 244 public void deleteAppWidgetId(int appWidgetId) { argument 246 AppWidgetId id = lookupAppWidgetIdLocked(appWidgetId); 306 // send the broacast saying that this appWidgetId has been deleted 309 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, id.appWidgetId); 337 bindAppWidgetId(int appWidgetId, ComponentName provider) argument 378 getAppWidgetInfo(int appWidgetId) argument 388 getAppWidgetViews(int appWidgetId) argument 515 lookupAppWidgetIdLocked(int appWidgetId) argument [all...] |
Completed in 573 milliseconds