@Implements(value=android.appwidget.AppWidgetHost.class) public class ShadowAppWidgetHost extends Object
Constructor and Description |
---|
ShadowAppWidgetHost() |
Modifier and Type | Method and Description |
---|---|
protected void |
__constructor__(Context context,
int hostId) |
protected int |
allocateAppWidgetId() |
protected AppWidgetHostView |
createView(Context context,
int appWidgetId,
AppWidgetProviderInfo appWidget) |
Context |
getContext() |
int |
getHostId() |
void |
setAppWidgetIdToAllocate(int idToAllocate) |
@Implementation protected void __constructor__(Context context, int hostId)
public Context getContext()
public int getHostId()
public void setAppWidgetIdToAllocate(int idToAllocate)
@Implementation protected int allocateAppWidgetId()
@Implementation protected AppWidgetHostView createView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget)