Home
last modified time | relevance | path

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

/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java163 final int appWidgetId = host.allocateAppWidgetId(); in testBindAppWidget() local
169 boolean widgetBound = getAppWidgetManager().bindAppWidgetIdIfAllowed(appWidgetId, in testBindAppWidget()
180 appWidgetId, provider.getProfile(), provider.provider, null); in testBindAppWidget()
184 host.deleteAppWidgetId(appWidgetId); in testBindAppWidget()
187 host.deleteAppWidgetId(appWidgetId); in testBindAppWidget()
486 int appWidgetId = 0; in testGetAppWidgetInfo() local
490 appWidgetId = host.allocateAppWidgetId(); in testGetAppWidgetInfo()
494 .getAppWidgetInfo(appWidgetId); in testGetAppWidgetInfo()
501 getAppWidgetManager().bindAppWidgetIdIfAllowed(appWidgetId, in testGetAppWidgetInfo()
505 foundProvider = getAppWidgetManager().getAppWidgetInfo(appWidgetId); in testGetAppWidgetInfo()
[all …]
DDarkTextThemeTest.java108 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, in bindNewWidget()
DWidgetTransitionTest.java115 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, in bindNewWidget()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsProvider.java158 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/
DCollectionAppWidgetProvider.java83 final int appWidgetId = appWidgetIds[0]; in onUpdate() local
88 stackIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in onUpdate()
116 listIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in onUpdate()
137 appWidgetManager.partiallyUpdateAppWidget(appWidgetId, widgetAdapterView); in onUpdate()
159 appWidgetManager.partiallyUpdateAppWidget(appWidgetId, widgetAdapterView); in onUpdate()
169 appWidgetManager.updateAppWidget(appWidgetId, widgetAdapterView); in onUpdate()
DStubbableAppWidgetProvider.java35 int appWidgetId, Bundle newOptions) { in onAppWidgetOptionsChanged() argument
38 callbacks.onAppWidgetOptionsChanged(context, appWidgetManager, appWidgetId, newOptions); in onAppWidgetOptionsChanged()
DAppWidgetProviderCallbacks.java40 AppWidgetManager appWidgetManager, int appWidgetId, Bundle newOptions); in onAppWidgetOptionsChanged() argument
/cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/
DAppWidgetTest.java100 int appWidgetId = host.allocateAppWidgetId(); in setupWidget() local
104 getAppWidgetManager().bindAppWidgetIdIfAllowed(appWidgetId, in setupWidget()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java601 final int appWidgetId = host.allocateAppWidgetId(); in testPackageNameCannotBeFakedAppWidget() local
608 appWidgetId, provider.getProfile(), provider.provider, null); in testPackageNameCannotBeFakedAppWidget()
633 host.deleteAppWidgetId(appWidgetId); in testPackageNameCannotBeFakedAppWidget()