Home
last modified time | relevance | path

Searched refs:widgetId (Results 1 – 3 of 3) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAppWidgetManagerTest.java41 …int widgetId = shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.ma… in createWidget_shouldInflateViewAndAssignId() local
42 View widgetView = shadowAppWidgetManager.getViewFor(widgetId); in createWidget_shouldInflateViewAndAssignId()
49 …int widgetId = shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.ma… in getViewFor_shouldReturnSameViewEveryTimeForGivenWidgetId() local
50 View widgetView = shadowAppWidgetManager.getViewFor(widgetId); in getViewFor_shouldReturnSameViewEveryTimeForGivenWidgetId()
53 assertSame(widgetView, shadowAppWidgetManager.getViewFor(widgetId)); in getViewFor_shouldReturnSameViewEveryTimeForGivenWidgetId()
58 …int widgetId = shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.ma… in createWidget_shouldAllowForMultipleInstancesOfWidgets() local
59 View widgetView = shadowAppWidgetManager.getViewFor(widgetId); in createWidget_shouldAllowForMultipleInstancesOfWidgets()
61 assertNotSame(widgetId, in createWidget_shouldAllowForMultipleInstancesOfWidgets()
69 …int widgetId = shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.ma… in shouldReplaceLayoutIfAndOnlyIfLayoutIdIsDifferent() local
70 View originalWidgetView = shadowAppWidgetManager.getViewFor(widgetId); in shouldReplaceLayoutIfAndOnlyIfLayoutIdIsDifferent()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAppWidgetManager.java175 public View getViewFor(int widgetId) { in getViewFor() argument
176 return getWidgetInfo(widgetId).view; in getViewFor()
185 public AppWidgetProvider getAppWidgetProviderFor(int widgetId) { in getAppWidgetProviderFor() argument
186 return getWidgetInfo(widgetId).appWidgetProvider; in getAppWidgetProviderFor()
209 private WidgetInfo getWidgetInfo(int widgetId) { in getWidgetInfo() argument
210 return widgetInfos.get(widgetId); in getWidgetInfo()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/widget/
DDemoAppWidgetProvider.java37 for (int widgetId : appWidgetIds) { in onUpdate()
84 appWidgetManager.updateAppWidget(widgetId, rv); in onUpdate()