Lines Matching refs:AppWidgetManager
22 import android.appwidget.AppWidgetManager;
58 private int mAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID;
82 AppWidgetManager.getInstance(getBaseContext()).bindAppWidgetIdIfAllowed(id, info.provider);
97 AppWidgetProviderInfo info = AppWidgetManager.getInstance(
104 Intent selectIntent = new Intent(AppWidgetManager.ACTION_APPWIDGET_PICK);
105 selectIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, id);
113 int appWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID;
114 if (data.hasExtra(AppWidgetManager.EXTRA_APPWIDGET_ID)) {
115 appWidgetId = data.getExtras().getInt(AppWidgetManager.EXTRA_APPWIDGET_ID);
130 AppWidgetManager.EXTRA_APPWIDGET_ID, AppWidgetManager.INVALID_APPWIDGET_ID);
141 if (mAppWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) {
147 AppWidgetManager.getInstance(getBaseContext()).getAppWidgetInfo(appWidgetId);
150 Intent configureIntent = new Intent(AppWidgetManager.ACTION_APPWIDGET_CONFIGURE);
152 configureIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId);
171 AppWidgetManager.getInstance(getBaseContext()).getAppWidgetInfo(appWidgetId);
183 AppWidgetManager.getInstance(getBaseContext()).getAppWidgetInfo(appWidgetId).label;