/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
WidgetProvider.java | 23 protected void migrateLegacyWidgetInformation(Context context, int widgetId) {
|
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, null, FolderType.DEFAULT, null, null, null) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AppWidgetManagerTest.java | 41 int widgetId = shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.main); 42 View widgetView = shadowAppWidgetManager.getViewFor(widgetId); 49 int widgetId = shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.main); 50 View widgetView = shadowAppWidgetManager.getViewFor(widgetId); 53 assertSame(widgetView, shadowAppWidgetManager.getViewFor(widgetId)); 58 int widgetId = shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.main); 59 View widgetView = shadowAppWidgetManager.getViewFor(widgetId); 61 assertNotSame(widgetId, 69 int widgetId = shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.main); 70 View originalWidgetView = shadowAppWidgetManager.getViewFor(widgetId); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/ |
WidgetCtsProvider.java | 80 int widgetId = (Integer) intent.getExtras().getInt(AppWidgetManager.EXTRA_APPWIDGET_ID, 83 if (sStateMap.get(widgetId) != STATE_BEGIN && sStateMap.get(widgetId) 85 if (!sTestCount.containsKey(widgetId)) { 86 sTestCount.put(widgetId, 0); 88 if (!sPassCount.containsKey(widgetId)) { 89 sPassCount.put(widgetId, 0); 92 sPassCount.put(widgetId, sPassCount.get(widgetId) + (pass ? 1 : 0)); 93 sTestCount.put(widgetId, sTestCount.get(widgetId) + 1) [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
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) { 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, uiAccount, uiFolder.type [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
PhotoAppWidgetProvider.java | 80 private static RemoteViews buildStackWidget(Context context, int widgetId, Entry entry) { 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);
|
WidgetDatabaseHelper.java | 69 public int widgetId; 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/Browser/src/com/android/browser/widget/ |
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) { 87 String.format("widgetState-%d", widgetId), 91 static void deleteWidgetState(Context context, int widgetId) { 93 String.format("widgetState-%d", widgetId)); 112 static void setupWidgetState(Context context, int widgetId, long rootFolder) { 113 SharedPreferences pref = getWidgetState(context, widgetId); 170 public BookmarkFactory(Context context, int widgetId) { [all...] |
BookmarkThumbnailWidgetProvider.java | 60 for (int widgetId : appWidgetIds) { 61 BookmarkThumbnailWidgetService.deleteWidgetState(context, widgetId);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAppWidgetManager.java | 172 * @param widgetId id of the desired widget 173 * @return the widget associated with {@code widgetId} 175 public View getViewFor(int widgetId) { 176 return getWidgetInfo(widgetId).view; 182 * @param widgetId id of the widget whose provider is to be returned 183 * @return the {@code AppWidgetProvider} associated with {@code widgetId} 185 public AppWidgetProvider getAppWidgetProviderFor(int widgetId) { 186 return getWidgetInfo(widgetId).appWidgetProvider; 209 private WidgetInfo getWidgetInfo(int widgetId) { 210 return widgetInfos.get(widgetId); [all...] |
/frameworks/base/core/java/android/widget/ |
RemoteViewsAdapter.java | [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
Launcher.java | 651 int widgetId = data != null ? data.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1) 653 if (widgetId < 0) { 656 appWidgetId = widgetId; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Launcher.java | 807 int widgetId = data != null ? data.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1) 809 if (widgetId < 0) { 812 appWidgetId = widgetId; [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.jface_3.6.1.M20100825-0800.jar | |
/prebuilts/devtools/tools/lib/ |
org-eclipse-jface-3.6.2.jar | |
/prebuilts/tools/common/eclipse/ |
org.eclipse.jface_3.4.2.M20090107-0800.jar | |
org.eclipse.jface_3.6.2.M20110210-1200.jar | |
/prebuilts/tools/common/m2/repository/com/android/external/eclipse/org-eclipse-jface/3.6.2/ |
org-eclipse-jface-3.6.2.jar | |