Searched refs:appWidgetManager (Results 1 – 5 of 5) sorted by relevance
/external/robolectric/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/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()
|
/external/robolectric/lib/main/ |
D | android.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/ ... |