Searched defs:widgetId (Results 1 - 6 of 6) sorted by relevance
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
H A D | WidgetProvider.java | 23 protected void migrateLegacyWidgetInformation(Context context, int widgetId) { argument
|
H A D | BaseWidgetProvider.java | 64 protected static final String EXTRA_WIDGET_ID = "widgetId"; 129 final int widgetId = intent.getIntExtra(EXTRA_WIDGET_ID, -1); 137 if (widgetId != -1 && account != null && folderUri != null) { 138 updateWidgetInternal(context, widgetId, account, folderType, folderUri, 396 for (int widgetId : widgetIds) { 399 if (!MailPrefs.get(context).isWidgetConfigured(widgetId)) { 400 migrateLegacyWidgetInformation(context, widgetId); 407 for (int widgetId : widgetIds) { 408 final String accountFolder = MailPrefs.get(context).getWidgetConfiguration(widgetId); 430 updateWidgetInternal(context, widgetId, nul 438 migrateLegacyWidgetInformation(Context context, int widgetId) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
H A D | PhotoAppWidgetProvider.java | 80 private static RemoteViews buildStackWidget(Context context, int widgetId, Entry entry) { argument 85 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, widgetId); 88 intent.setData(Uri.parse("widget://gallery/" + widgetId)); 92 views.setRemoteAdapter(widgetId, R.id.appwidget_stack_view, intent);
|
H A D | WidgetDatabaseHelper.java | 69 public int widgetId; field in class:WidgetDatabaseHelper.Entry 79 widgetId = id; 120 entry.widgetId = cursor.getInt(0); 136 entry.widgetId = cursor.getInt(0); 152 values.put(FIELD_APPWIDGET_ID, entry.widgetId); 282 deleteEntry(entry.widgetId); 285 values.put(FIELD_APPWIDGET_ID, entry.widgetId);
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | WidgetProvider.java | 51 for (int widgetId : appWidgetIds) { 53 editor.remove(LEGACY_ACCOUNT_ID_PREFIX + widgetId); 54 editor.remove(LEGACY_MAILBOX_ID_PREFIX + widgetId); 88 protected void migrateLegacyWidgetInformation(Context context, int widgetId) { argument 92 long accountId = loadAccountIdPref(context, widgetId); 93 long mailboxId = loadMailboxIdPref(context, widgetId); 97 " mailboxId: %d widgetId %d", accountId, mailboxId, widgetId); 109 WidgetService.saveWidgetInformation(context, widgetId, uiAccount, 112 updateWidgetInternal(context, widgetId, uiAccoun [all...] |
/packages/apps/Browser/src/com/android/browser/widget/ |
H A D | BookmarkThumbnailWidgetService.java | 77 int widgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); 78 if (widgetId < 0) { 82 return new BookmarkFactory(getApplicationContext(), widgetId); 85 static SharedPreferences getWidgetState(Context context, int widgetId) { argument 87 String.format("widgetState-%d", widgetId), 91 static void deleteWidgetState(Context context, int widgetId) { argument 93 String.format("widgetState-%d", widgetId)); 112 static void setupWidgetState(Context context, int widgetId, long rootFolder) { argument 113 SharedPreferences pref = getWidgetState(context, widgetId); 170 public BookmarkFactory(Context context, int widgetId) { argument [all...] |
Completed in 170 milliseconds