Home | History | Annotate | Download | only in settings

Lines Matching refs:appWidgetManager

23 import android.appwidget.AppWidgetManager;
65 * {@link AppWidgetManager#EXTRA_CUSTOM_INFO} and
66 * {@link AppWidgetManager#EXTRA_CUSTOM_EXTRAS}.
69 * will bind it to the given {@link AppWidgetManager#EXTRA_APPWIDGET_ID},
83 private AppWidgetManager mAppWidgetManager;
103 if (intent.hasExtra(AppWidgetManager.EXTRA_APPWIDGET_ID)) {
104 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
105 AppWidgetManager.INVALID_APPWIDGET_ID);
109 mExtraConfigureOptions = intent.getBundleExtra(AppWidgetManager.EXTRA_APPWIDGET_OPTIONS);
120 mAppWidgetManager = AppWidgetManager.getInstance(this);
132 * correctly injects the {@link AppWidgetManager#EXTRA_APPWIDGET_ID} that
137 result.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId);
519 if (mAddingToKeyguard && mAppWidgetId == AppWidgetManager.INVALID_APPWIDGET_ID) {
559 appWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID ;
562 AppWidgetManager.EXTRA_APPWIDGET_ID, AppWidgetManager.INVALID_APPWIDGET_ID);
565 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(this);
568 appWidget = appWidgetManager.getAppWidgetInfo(appWidgetId);
572 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_CONFIGURE);
575 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId);
587 mAppWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) {
591 finishDelayedAndShowLockScreen(AppWidgetManager.INVALID_APPWIDGET_ID);
600 if (appWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) {