Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/appwidget/
DAppWidgetProvider.java64 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive() local
65 if (appWidgetIds != null && appWidgetIds.length > 0) { in onReceive()
66 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds); in onReceive()
120 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
155 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted() argument
DAppWidgetManager.java469 public void updateAppWidget(int[] appWidgetIds, RemoteViews views) { in updateAppWidget() argument
474 mService.updateAppWidgetIds(mPackageName, appWidgetIds, views); in updateAppWidget()
577 public void partiallyUpdateAppWidget(int[] appWidgetIds, RemoteViews views) { in partiallyUpdateAppWidget() argument
582 mService.partiallyUpdateAppWidgetIds(mPackageName, appWidgetIds, views); in partiallyUpdateAppWidget()
651 public void notifyAppWidgetViewDataChanged(int[] appWidgetIds, int viewId) { in notifyAppWidgetViewDataChanged() argument
656 mService.notifyAppWidgetViewDataChanged(mPackageName, appWidgetIds, viewId); in notifyAppWidgetViewDataChanged()
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetService.aidl51 void updateAppWidgetIds(String callingPackage, in int[] appWidgetIds, in RemoteViews views); in updateAppWidgetIds() argument
54 void partiallyUpdateAppWidgetIds(String callingPackage, in int[] appWidgetIds, in partiallyUpdateAppWidgetIds() argument
57 void notifyAppWidgetViewDataChanged(String packageName, in int[] appWidgetIds, int viewId); in notifyAppWidgetViewDataChanged() argument
/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/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java1197 public void updateAppWidgetIds(String callingPackage, int[] appWidgetIds, in updateAppWidgetIds() argument
1203 updateAppWidgetIds(callingPackage, appWidgetIds, views, false); in updateAppWidgetIds()
1207 public void partiallyUpdateAppWidgetIds(String callingPackage, int[] appWidgetIds, in partiallyUpdateAppWidgetIds() argument
1213 updateAppWidgetIds(callingPackage, appWidgetIds, views, true); in partiallyUpdateAppWidgetIds()
1217 public void notifyAppWidgetViewDataChanged(String callingPackage, int[] appWidgetIds, in notifyAppWidgetViewDataChanged() argument
1228 if (appWidgetIds == null || appWidgetIds.length == 0) { in notifyAppWidgetViewDataChanged()
1235 final int N = appWidgetIds.length; in notifyAppWidgetViewDataChanged()
1237 final int appWidgetId = appWidgetIds[i]; in notifyAppWidgetViewDataChanged()
1326 private void updateAppWidgetIds(String callingPackage, int[] appWidgetIds, in updateAppWidgetIds() argument
1330 if (appWidgetIds == null || appWidgetIds.length == 0) { in updateAppWidgetIds()
[all …]
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd483 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
484 final int N = appWidgetIds.length;
488 int appWidgetId = appWidgetIds[i];
514 <code>appWidgetIds</code>, which is an array of IDs that identify each App
940 int[] appWidgetIds) {
942 for (int i = 0; i &lt; appWidgetIds.length; ++i) {
948 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetIds[i]);
956 rv.setRemoteAdapter(appWidgetIds[i], R.id.stack_view, intent);
967 appWidgetManager.updateAppWidget(appWidgetIds[i], rv);
969 super.onUpdate(context, appWidgetManager, appWidgetIds);
[all …]
/frameworks/base/api/
Dcurrent.txt6192 field public static final java.lang.String EXTRA_APPWIDGET_IDS = "appWidgetIds";
Dsystem-current.txt6404 field public static final java.lang.String EXTRA_APPWIDGET_IDS = "appWidgetIds";