/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 163 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 …]
|
D | DarkTextThemeTest.java | 108 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, in bindNewWidget()
|
D | WidgetTransitionTest.java | 115 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, in bindNewWidget()
|
/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 | CollectionAppWidgetProvider.java | 83 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()
|
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
|
/cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 100 int appWidgetId = host.allocateAppWidgetId(); in setupWidget() local 104 getAppWidgetManager().bindAppWidgetIdIfAllowed(appWidgetId, in setupWidget()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndTest.java | 601 final int appWidgetId = host.allocateAppWidgetId(); in testPackageNameCannotBeFakedAppWidget() local 608 appWidgetId, provider.getProfile(), provider.provider, null); in testPackageNameCannotBeFakedAppWidget() 633 host.deleteAppWidgetId(appWidgetId); in testPackageNameCannotBeFakedAppWidget()
|