Searched refs:getViewFor (Results 1 – 2 of 2) sorted by relevance
42 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()
175 public View getViewFor(int widgetId) { in getViewFor() method in ShadowAppWidgetManager