Home
last modified time | relevance | path

Searched refs:getViewFor (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAppWidgetManagerTest.java42 View widgetView = shadowAppWidgetManager.getViewFor(widgetId); in createWidget_shouldInflateViewAndAssignId()
50 View widgetView = shadowAppWidgetManager.getViewFor(widgetId); in getViewFor_shouldReturnSameViewEveryTimeForGivenWidgetId()
53 assertSame(widgetView, shadowAppWidgetManager.getViewFor(widgetId)); in getViewFor_shouldReturnSameViewEveryTimeForGivenWidgetId()
59 View widgetView = shadowAppWidgetManager.getViewFor(widgetId); in createWidget_shouldAllowForMultipleInstancesOfWidgets()
64 …shadowAppWidgetManager.getViewFor(shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider… in createWidget_shouldAllowForMultipleInstancesOfWidgets()
70 View originalWidgetView = shadowAppWidgetManager.getViewFor(widgetId); in shouldReplaceLayoutIfAndOnlyIfLayoutIdIsDifferent()
74 assertSame(originalWidgetView, shadowAppWidgetManager.getViewFor(widgetId)); in shouldReplaceLayoutIfAndOnlyIfLayoutIdIsDifferent()
77 assertNotSame(originalWidgetView, shadowAppWidgetManager.getViewFor(widgetId)); in shouldReplaceLayoutIfAndOnlyIfLayoutIdIsDifferent()
79 View mediaWidgetView = shadowAppWidgetManager.getViewFor(widgetId); in shouldReplaceLayoutIfAndOnlyIfLayoutIdIsDifferent()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAppWidgetManager.java175 public View getViewFor(int widgetId) { in getViewFor() method in ShadowAppWidgetManager