Home
last modified time | relevance | path

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

/development/samples/StackWidget/src/com/example/android/stackwidget/
DStackWidgetProvider.java33 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted() argument
34 super.onDeleted(context, appWidgetIds); in onDeleted()
60 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
62 for (int i = 0; i < appWidgetIds.length; ++i) { in onUpdate()
67 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetIds[i]); in onUpdate()
72 rv.setRemoteAdapter(appWidgetIds[i], R.id.stack_view, intent); in onUpdate()
84 toastIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetIds[i]); in onUpdate()
90 appWidgetManager.updateAppWidget(appWidgetIds[i], rv); in onUpdate()
92 super.onUpdate(context, appWidgetManager, appWidgetIds); in onUpdate()
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
DExampleBroadcastReceiver.java44 ArrayList<Integer> appWidgetIds = new ArrayList<Integer>(); in onReceive() local
47 ExampleAppWidgetConfigure.loadAllTitlePrefs(context, appWidgetIds, texts); in onReceive()
49 final int N = appWidgetIds.size(); in onReceive()
51 … ExampleAppWidgetProvider.updateAppWidget(context, gm, appWidgetIds.get(i), texts.get(i)); in onReceive()
DExampleAppWidgetProvider.java52 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
58 final int N = appWidgetIds.length; in onUpdate()
60 int appWidgetId = appWidgetIds[i]; in onUpdate()
67 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted() argument
70 final int N = appWidgetIds.length; in onDeleted()
72 ExampleAppWidgetConfigure.deleteTitlePref(context, appWidgetIds[i]); in onDeleted()
DExampleAppWidgetConfigure.java128 static void loadAllTitlePrefs(Context context, ArrayList<Integer> appWidgetIds, in loadAllTitlePrefs() argument
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetProvider.java207 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
209 for (int i = 0; i < appWidgetIds.length; ++i) { in onUpdate()
210 RemoteViews layout = buildLayout(context, appWidgetIds[i], mIsLargeLayout); in onUpdate()
211 appWidgetManager.updateAppWidget(appWidgetIds[i], layout); in onUpdate()
213 super.onUpdate(context, appWidgetManager, appWidgetIds); in onUpdate()
/development/apps/BuildWidget/src/com/android/buildwidget/
DBuildWidget.java43 int[] appWidgetIds) { in onUpdate() argument
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DWordWidget.java46 int[] appWidgetIds) { in onUpdate() argument
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DWordWidget.java45 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument