/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProvider.java | 64 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() 113 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument 148 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted() argument
|
D | AppWidgetManager.java | 376 public void updateAppWidget(int[] appWidgetIds, RemoteViews views) { in updateAppWidget() argument 378 sService.updateAppWidgetIds(appWidgetIds, views, mContext.getUserId()); in updateAppWidget() 472 public void partiallyUpdateAppWidget(int[] appWidgetIds, RemoteViews views) { in partiallyUpdateAppWidget() argument 474 sService.partiallyUpdateAppWidgetIds(appWidgetIds, views, mContext.getUserId()); in partiallyUpdateAppWidget() 537 public void notifyAppWidgetViewDataChanged(int[] appWidgetIds, int viewId) { in notifyAppWidgetViewDataChanged() argument 539 sService.notifyAppWidgetViewDataChanged(appWidgetIds, viewId, mContext.getUserId()); in notifyAppWidgetViewDataChanged()
|
/frameworks/base/services/java/com/android/server/ |
D | AppWidgetServiceImpl.java | 856 HashSet<Integer> appWidgetIds = null; in incrementAppWidgetServiceRefCount() local 858 appWidgetIds = mRemoteViewsServicesAppWidgets.get(fc); in incrementAppWidgetServiceRefCount() 860 appWidgetIds = new HashSet<Integer>(); in incrementAppWidgetServiceRefCount() 861 mRemoteViewsServicesAppWidgets.put(fc, appWidgetIds); in incrementAppWidgetServiceRefCount() 863 appWidgetIds.add(appWidgetId); in incrementAppWidgetServiceRefCount() 932 public void updateAppWidgetIds(int[] appWidgetIds, RemoteViews views) { in updateAppWidgetIds() argument 936 if (appWidgetIds == null) { in updateAppWidgetIds() 951 if (appWidgetIds.length == 0) { in updateAppWidgetIds() 954 final int N = appWidgetIds.length; in updateAppWidgetIds() 959 AppWidgetId id = lookupAppWidgetIdLocked(appWidgetIds[i]); in updateAppWidgetIds() [all …]
|
D | AppWidgetService.java | 279 public void notifyAppWidgetViewDataChanged(int[] appWidgetIds, int viewId, int userId) in notifyAppWidgetViewDataChanged() argument 282 appWidgetIds, viewId); in notifyAppWidgetViewDataChanged() 286 public void partiallyUpdateAppWidgetIds(int[] appWidgetIds, RemoteViews views, int userId) in partiallyUpdateAppWidgetIds() argument 289 appWidgetIds, views); in partiallyUpdateAppWidgetIds() 305 public void updateAppWidgetIds(int[] appWidgetIds, RemoteViews views, int userId) in updateAppWidgetIds() argument 307 getImplForUser(userId).updateAppWidgetIds(appWidgetIds, views); in updateAppWidgetIds()
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
D | IAppWidgetService.aidl | 46 void updateAppWidgetIds(in int[] appWidgetIds, in RemoteViews views, int userId); in updateAppWidgetIds() argument 49 void partiallyUpdateAppWidgetIds(in int[] appWidgetIds, in RemoteViews views, int userId); in partiallyUpdateAppWidgetIds() argument 51 void notifyAppWidgetViewDataChanged(in int[] appWidgetIds, int viewId, int userId); in notifyAppWidgetViewDataChanged() argument
|
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/ |
D | TestAppWidgetProvider.java | 47 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/ |
D | TestAppWidgetProvider.java | 50 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive() local 61 gm.updateAppWidget(appWidgetIds, views); in onReceive()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 1073 int[] appWidgetIds = new int[appWidgetStringIds.length]; in getAppWidgets() local 1077 appWidgetIds[i] = Integer.decode(appWidget); in getAppWidgets() 1083 return appWidgetIds; in getAppWidgets() 1143 private void writeAppWidgets(int[] appWidgetIds) { in writeAppWidgets() argument 1146 combineStrings(appWidgetIds, ","), in writeAppWidgets()
|
/frameworks/base/docs/html/guide/topics/appwidgets/ |
D | index.jd | 496 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { 497 final int N = appWidgetIds.length; 501 int appWidgetId = appWidgetIds[i]; 527 <code>appWidgetIds</code>, which is an array of IDs that identify each App 1013 int[] appWidgetIds) { 1015 for (int i = 0; i < appWidgetIds.length; ++i) { 1021 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetIds[i]); 1029 rv.setRemoteAdapter(appWidgetIds[i], R.id.stack_view, intent); 1040 appWidgetManager.updateAppWidget(appWidgetIds[i], rv); 1042 super.onUpdate(context, appWidgetManager, appWidgetIds); [all …]
|
/frameworks/base/api/ |
D | current.txt | 4548 field public static final java.lang.String EXTRA_APPWIDGET_IDS = "appWidgetIds";
|