Searched refs:appWidgetManager (Results 1 – 4 of 4) sorted by relevance
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | AppWidgetManagerTest.java | 23 private AppWidgetManager appWidgetManager; field in AppWidgetManagerTest 28 appWidgetManager = AppWidgetManager.getInstance(Robolectric.application); in setUp() 29 shadowAppWidgetManager = shadowOf(appWidgetManager); in setUp() 34 assertNotNull(appWidgetManager); in getInstance_shouldReturnSameInstance() 35 assertSame(AppWidgetManager.getInstance(Robolectric.application), appWidgetManager); in getInstance_shouldReturnSameInstance() local 36 …tSame(AppWidgetManager.getInstance(new ContextWrapper(Robolectric.application)), appWidgetManager); in getInstance_shouldReturnSameInstance() local 73 appWidgetManager.updateAppWidget(widgetId, new RemoteViews("whatevs", R.layout.main)); in shouldReplaceLayoutIfAndOnlyIfLayoutIdIsDifferent() 76 appWidgetManager.updateAppWidget(widgetId, new RemoteViews("whatevs", R.layout.media)); in shouldReplaceLayoutIfAndOnlyIfLayoutIdIsDifferent() 87 int[] appWidgetIds = appWidgetManager.getAppWidgetIds( in getAppWidgetIds() 102 …@Override public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidget… in onUpdate() argument [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAppWidgetManager.java | 30 return shadowApplication.appWidgetManager; 35 shadowApplication.appWidgetManager = instance; 40 AppWidgetManager appWidgetManager = super.createInstance(applicationContext); 41 shadowOf(appWidgetManager).context = applicationContext; 42 return appWidgetManager; 54 private static void bind(AppWidgetManager appWidgetManager, Context context) { in bind() argument
|
D | ShadowApplication.java | 93 AppWidgetManager appWidgetManager; field in ShadowApplication 473 return appWidgetManager; in getAppWidgetManager()
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/widget/ |
D | DemoAppWidgetProvider.java | 36 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument 84 appWidgetManager.updateAppWidget(widgetId, rv); in onUpdate()
|