Home
last modified time | relevance | path

Searched refs:appWidgetIds (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/appwidget/
DAppWidgetProvider.java59 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive() local
60 if (appWidgetIds != null && appWidgetIds.length > 0) { in onReceive()
61 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds); in onReceive()
98 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
114 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted() argument
DAppWidgetManager.java239 public void updateAppWidget(int[] appWidgetIds, RemoteViews views) { in updateAppWidget() argument
241 sService.updateAppWidgetIds(appWidgetIds, views); in updateAppWidget()
288 public void partiallyUpdateAppWidget(int[] appWidgetIds, RemoteViews views) { in partiallyUpdateAppWidget() argument
290 sService.partiallyUpdateAppWidgetIds(appWidgetIds, views); in partiallyUpdateAppWidget()
349 public void notifyAppWidgetViewDataChanged(int[] appWidgetIds, int viewId) { in notifyAppWidgetViewDataChanged() argument
351 sService.notifyAppWidgetViewDataChanged(appWidgetIds, viewId); in notifyAppWidgetViewDataChanged()
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetService.aidl44 void updateAppWidgetIds(in int[] appWidgetIds, in RemoteViews views); in updateAppWidgetIds() argument
45 void partiallyUpdateAppWidgetIds(in int[] appWidgetIds, in RemoteViews views); in partiallyUpdateAppWidgetIds() argument
47 void notifyAppWidgetViewDataChanged(in int[] appWidgetIds, int viewId); in notifyAppWidgetViewDataChanged() argument
/frameworks/base/services/java/com/android/server/
DAppWidgetService.java625 HashSet<Integer> appWidgetIds = null; in incrementAppWidgetServiceRefCount() local
627 appWidgetIds = mRemoteViewsServicesAppWidgets.get(fc); in incrementAppWidgetServiceRefCount()
629 appWidgetIds = new HashSet<Integer>(); in incrementAppWidgetServiceRefCount()
630 mRemoteViewsServicesAppWidgets.put(fc, appWidgetIds); in incrementAppWidgetServiceRefCount()
632 appWidgetIds.add(appWidgetId); in incrementAppWidgetServiceRefCount()
691 public void updateAppWidgetIds(int[] appWidgetIds, RemoteViews views) { in updateAppWidgetIds() argument
692 if (appWidgetIds == null) { in updateAppWidgetIds()
695 if (appWidgetIds.length == 0) { in updateAppWidgetIds()
698 final int N = appWidgetIds.length; in updateAppWidgetIds()
703 AppWidgetId id = lookupAppWidgetIdLocked(appWidgetIds[i]); in updateAppWidgetIds()
[all …]
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/
DTestAppWidgetProvider.java47 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive() local
53 gm.updateAppWidget(appWidgetIds, views); in onReceive()
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DTestAppWidgetProvider.java50 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive() local
61 gm.updateAppWidget(appWidgetIds, views); in onReceive()
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd469 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
470 final int N = appWidgetIds.length;
474 int appWidgetId = appWidgetIds[i];
500 <code>appWidgetIds</code>, which is an array of IDs that identify each App
930 int[] appWidgetIds) {
932 for (int i = 0; i &lt; appWidgetIds.length; ++i) {
938 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetIds[i]);
946 rv.setRemoteAdapter(appWidgetIds[i], R.id.stack_view, intent);
957 appWidgetManager.updateAppWidget(appWidgetIds[i], rv);
959 super.onUpdate(context, appWidgetManager, appWidgetIds);
[all …]
/frameworks/base/api/
Dcurrent.txt4173 field public static final java.lang.String EXTRA_APPWIDGET_IDS = "appWidgetIds";
D14.txt4173 field public static final java.lang.String EXTRA_APPWIDGET_IDS = "appWidgetIds";