Home | History | Annotate | Download | only in appwidget

Lines Matching refs:AppWidgetManager

56         if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
59 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
61 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds);
65 else if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) {
67 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) {
68 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID);
72 else if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) {
75 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) {
82 * Called in response to the {@link AppWidgetManager#ACTION_APPWIDGET_UPDATE} broadcast when
90 * @param appWidgetManager A {@link AppWidgetManager} object you can call {@link
91 * AppWidgetManager#updateAppWidget} on.
96 * @see AppWidgetManager#ACTION_APPWIDGET_UPDATE
98 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
102 * Called in response to the {@link AppWidgetManager#ACTION_APPWIDGET_DELETED} broadcast when
112 * @see AppWidgetManager#ACTION_APPWIDGET_DELETED
118 * Called in response to the {@link AppWidgetManager#ACTION_APPWIDGET_ENABLED} broadcast when
124 * {@link AppWidgetManager#ACTION_APPWIDGET_DISABLED} is sent by the AppWidget manager, and
131 * @see AppWidgetManager#ACTION_APPWIDGET_ENABLED
137 * Called in response to the {@link AppWidgetManager#ACTION_APPWIDGET_DISABLED} broadcast, which
146 * @see AppWidgetManager#ACTION_APPWIDGET_DISABLED