Lines Matching defs:widget
17 package com.android.mail.widget;
32 import android.widget.RemoteViews;
57 public static final String WIDGET_ACCOUNT_PREFIX = "widget-account-";
70 * Remove preferences when deleting widget
76 // TODO: (mindyp) save widget information.
85 * Note: this method calls {@link BaseWidgetProvider#getProviderName} and thus returns widget
104 // Retrieve the persisted information for this widget from
108 // If the account matched, update the widget.
122 // We want to migrate any legacy Email widget information to the new format
157 // Retrieve the persisted information for this widget from
160 // If the account matched, update the widget.
212 // Get the account for this widget from preference
228 // account will be null the first time a widget is created. This is
229 // OK, as isAccountValid will return false, allowing the widget to
293 * Update the widget appWidgetId with the given account and folder
326 final RemoteViews remoteViews = new RemoteViews(context.getPackageName(), R.layout.widget);
401 // We only want to bother to attempt to upgrade a widget if we don't already
432 // unconfigure the widget if it is not valid
441 * Abstract method allowing extending classes to perform widget migration