Searched refs:appWidgetId (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 164 final int appWidgetId = host.allocateAppWidgetId(); in testBindAppWidget() local 170 boolean widgetBound = getAppWidgetManager().bindAppWidgetIdIfAllowed(appWidgetId, in testBindAppWidget() 181 appWidgetId, provider.getProfile(), provider.provider, null); in testBindAppWidget() 185 host.deleteAppWidgetId(appWidgetId); in testBindAppWidget() 188 host.deleteAppWidgetId(appWidgetId); in testBindAppWidget() 465 int appWidgetId = 0; in testGetAppWidgetInfo() local 469 appWidgetId = host.allocateAppWidgetId(); in testGetAppWidgetInfo() 473 .getAppWidgetInfo(appWidgetId); in testGetAppWidgetInfo() 480 getAppWidgetManager().bindAppWidgetIdIfAllowed(appWidgetId, in testGetAppWidgetInfo() 484 foundProvider = getAppWidgetManager().getAppWidgetInfo(appWidgetId); in testGetAppWidgetInfo() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/ |
D | WidgetCtsProvider.java | 158 int appWidgetId, Bundle newOptions) { in onAppWidgetOptionsChanged() argument 159 updateWidget(context, appWidgetId, appWidgetManager, newOptions); in onAppWidgetOptionsChanged() 233 private void updateWidget(Context context, int appWidgetId, AppWidgetManager appWidgetManager, in updateWidget() argument 237 newOptions = getAppWidgetOptions(appWidgetManager, appWidgetId); in updateWidget() 243 int state = sStateMap.get(appWidgetId); in updateWidget() 245 TextData text = getInstruction(state, newOptions, appWidgetId); in updateWidget() 258 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in updateWidget() 261 rv.setRemoteAdapter(appWidgetId, R.id.list, intent); in updateWidget() 279 pass.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in updateWidget() 286 fail.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in updateWidget() [all …]
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/ |
D | StubbableAppWidgetProvider.java | 35 int appWidgetId, Bundle newOptions) { in onAppWidgetOptionsChanged() argument 38 callbacks.onAppWidgetOptionsChanged(context, appWidgetManager, appWidgetId, newOptions); in onAppWidgetOptionsChanged()
|
D | AppWidgetProviderCallbacks.java | 40 AppWidgetManager appWidgetManager, int appWidgetId, Bundle newOptions); in onAppWidgetOptionsChanged() argument
|