/packages/apps/Gallery/src/com/android/camera/ |
PhotoAppWidgetBind.java | 22 import android.appwidget.AppWidgetManager; 51 extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); 61 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(this); 72 appWidgetManager.updateAppWidget(new int[] { appWidgetId }, views);
|
PhotoAppWidgetConfigure.java | 22 import android.appwidget.AppWidgetManager; 45 AppWidgetManager.EXTRA_APPWIDGET_ID, -1); 87 AppWidgetManager appWidgetManager = 88 AppWidgetManager.getInstance(this); 89 appWidgetManager.updateAppWidget(new int[] {mAppWidgetId}, 99 resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId);
|
PhotoAppWidgetProvider.java | 21 import android.appwidget.AppWidgetManager; 45 public void onUpdate(Context context, AppWidgetManager appWidgetManager, 56 appWidgetManager.updateAppWidget(specificAppWidget, views);
|
/packages/apps/Email/src/com/android/email/provider/ |
WidgetProvider.java | 20 import android.appwidget.AppWidgetManager; 56 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { 60 super.onUpdate(context, appWidgetManager, appWidgetIds); 82 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); 84 final int[] widgetIds = appWidgetManager.getAppWidgetIds(component); 91 appWidgetManager.notifyAppWidgetViewDataChanged(widgetIds, R.id.message_list); 105 int widgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1) [all...] |
/packages/apps/Browser/src/com/android/browser/widget/ |
BookmarkThumbnailWidgetProvider.java | 20 import android.appwidget.AppWidgetManager; 44 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); 45 performUpdate(context, appWidgetManager, 46 appWidgetManager.getAppWidgetIds(getComponentName(context))); 53 public void onUpdate(Context context, AppWidgetManager mngr, int[] ids) { 76 AppWidgetManager wm = AppWidgetManager.getInstance(context); 82 AppWidgetManager appWidgetManager, int[] appWidgetIds) [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetProvider.java | 28 import android.appwidget.AppWidgetManager; 61 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); 62 performUpdate(context, appWidgetManager, 63 appWidgetManager.getAppWidgetIds(getComponentName(context)), 92 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { 93 performUpdate(context, appWidgetManager, appWidgetIds, null /* no eventIds */); 118 AppWidgetManager appWidgetManager, int[] appWidgetIds [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
ExampleAppWidgetProvider.java | 19 import android.appwidget.AppWidgetManager; 52 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { 57 // - Tell the AppWidgetManager to show that views object for the widget. 62 updateAppWidget(context, appWidgetManager, appWidgetId, titlePrefix); 102 static void updateAppWidget(Context context, AppWidgetManager appWidgetManager, 118 appWidgetManager.updateAppWidget(appWidgetId, views);
|
/development/samples/StackWidget/src/com/example/android/stackwidget/ |
StackWidgetProvider.java | 20 import android.appwidget.AppWidgetManager; 49 AppWidgetManager mgr = AppWidgetManager.getInstance(context); 51 int appWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, 52 AppWidgetManager.INVALID_APPWIDGET_ID); 60 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { 67 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetIds[i]); 84 toastIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetIds[i]); 90 appWidgetManager.updateAppWidget(appWidgetIds[i], rv) [all...] |
/packages/apps/Music/src/com/android/music/ |
MediaAppWidgetProvider.java | 20 import android.appwidget.AppWidgetManager; 49 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { 57 updateIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS, appWidgetIds); 79 final AppWidgetManager gm = AppWidgetManager.getInstance(context); 88 * Check against {@link AppWidgetManager} if there are any instances of this widget. 91 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context) [all...] |
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherWidgetProvider.java | 20 import android.appwidget.AppWidgetManager; 42 private AppWidgetManager mAppWidgetManager; 45 WeatherDataProviderObserver(AppWidgetManager mgr, ComponentName cn, Handler h) { 88 final AppWidgetManager mgr = AppWidgetManager.getInstance(context); 126 final AppWidgetManager mgr = AppWidgetManager.getInstance(context); 133 final int appWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, 134 AppWidgetManager.INVALID_APPWIDGET_ID); 144 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
PhotoAppWidgetProvider.java | 23 import android.appwidget.AppWidgetManager; 51 AppWidgetManager appWidgetManager, int[] appWidgetIds) { 58 appWidgetManager.updateAppWidget(id, views); 66 super.onUpdate(context, appWidgetManager, appWidgetIds); 74 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, widgetId);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchWidgetProvider.java | 27 import android.appwidget.AppWidgetManager; 66 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { 68 } else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { 76 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); 77 int[] appWidgetIds = appWidgetManager.getAppWidgetIds(myComponentName(context)); 94 state.updateWidget(context, AppWidgetManager.getInstance(context)); 162 public void updateWidget(Context context,AppWidgetManager appWidgetMgr) {
|
/packages/apps/Contacts/src/com/android/contacts/socialwidget/ |
SocialWidgetProvider.java | 28 import android.appwidget.AppWidgetManager; 63 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { 69 loadWidgetData(context, appWidgetManager, appWidgetId, false); 87 final AppWidgetManager appWidgetManager, final int widgetId, boolean forceLoad) { 106 appWidgetManager.updateAppWidget(widgetId, loadingViews); 122 bindRemoteViews(context, widgetId, appWidgetManager, contactData); 130 final AppWidgetManager widgetManager, ContactLoader.Result contactData) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherProvider.java | 21 import android.appwidget.AppWidgetManager; 621 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); 670 appWidgetManager.bindAppWidgetId(appWidgetId, 674 appWidgetManager.bindAppWidgetId(appWidgetId, 678 appWidgetManager.bindAppWidgetId(appWidgetId, [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 20 import android.appwidget.AppWidgetManager; 596 public void onUpdate(Context context, AppWidgetManager appWidgetManager, 602 appWidgetManager.updateAppWidget(appWidgetIds[i], view); 662 final AppWidgetManager gm = AppWidgetManager.getInstance(context); [all...] |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/12/ |
android.jar | |
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/sdk/15/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |