Searched refs:widgetView (Results 1 – 2 of 2) sorted by relevance
42 View widgetView = shadowAppWidgetManager.getViewFor(widgetId); in createWidget_shouldInflateViewAndAssignId() local44 assertEquals("Hola", ((TextView) widgetView.findViewById(R.id.subtitle)).getText()); in createWidget_shouldInflateViewAndAssignId()50 View widgetView = shadowAppWidgetManager.getViewFor(widgetId); in getViewFor_shouldReturnSameViewEveryTimeForGivenWidgetId() local52 assertNotNull(widgetView); in getViewFor_shouldReturnSameViewEveryTimeForGivenWidgetId()53 assertSame(widgetView, shadowAppWidgetManager.getViewFor(widgetId)); in getViewFor_shouldReturnSameViewEveryTimeForGivenWidgetId()59 View widgetView = shadowAppWidgetManager.getViewFor(widgetId); in createWidget_shouldAllowForMultipleInstancesOfWidgets() local63 assertNotSame(widgetView, in createWidget_shouldAllowForMultipleInstancesOfWidgets()
149 View widgetView = createWidgetView(widgetLayoutId); in createWidgets() local152 … widgetInfos.put(myWidgetId, new WidgetInfo(widgetView, widgetLayoutId, appWidgetProvider)); in createWidgets()