Home
last modified time | relevance | path

Searched refs:appWidgetIds (Results 1 – 10 of 10) 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()
113 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
148 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted() argument
DAppWidgetManager.java376 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/
DAppWidgetServiceImpl.java856 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 …]
DAppWidgetService.java279 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/
DIAppWidgetService.aidl46 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/
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/core/java/com/android/internal/widget/
DLockPatternUtils.java1073 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/
Dindex.jd496 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 &lt; 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/
Dcurrent.txt4548 field public static final java.lang.String EXTRA_APPWIDGET_IDS = "appWidgetIds";