1{
2  "methods": {
3    "__constructor__(android.content.Context)": {
4      "isImplementation": true,
5      "modifiers": [
6        "protected"
7      ],
8      "params": [
9        "context"
10      ],
11      "returnType": "void",
12      "exceptions": [],
13      "maxSdk": 19,
14      "name": "__constructor__(android.content.Context)"
15    },
16    "__constructor__(android.content.Context,com.android.internal.appwidget.IAppWidgetService)": {
17      "isImplementation": true,
18      "modifiers": [
19        "protected"
20      ],
21      "params": [
22        "context",
23        "service"
24      ],
25      "returnType": "void",
26      "exceptions": [],
27      "minSdk": 21,
28      "name": "__constructor__(android.content.Context,com.android.internal.appwidget.IAppWidgetService)"
29    },
30    "addBoundWidget(int,android.appwidget.AppWidgetProviderInfo)": {
31      "isImplementation": false,
32      "modifiers": [
33        "public"
34      ],
35      "params": [
36        "appWidgetId",
37        "providerInfo"
38      ],
39      "returnType": "void",
40      "exceptions": [],
41      "name": "addBoundWidget(int,android.appwidget.AppWidgetProviderInfo)"
42    },
43    "addInstalledProvider(android.appwidget.AppWidgetProviderInfo)": {
44      "isImplementation": false,
45      "modifiers": [
46        "public"
47      ],
48      "params": [
49        "appWidgetProviderInfo"
50      ],
51      "returnType": "void",
52      "exceptions": [],
53      "name": "addInstalledProvider(android.appwidget.AppWidgetProviderInfo)"
54    },
55    "bindAppWidgetId(int,android.content.ComponentName)": {
56      "isImplementation": true,
57      "modifiers": [
58        "public"
59      ],
60      "params": [
61        "appWidgetId",
62        "provider"
63      ],
64      "returnType": "void",
65      "exceptions": [],
66      "name": "bindAppWidgetId(int,android.content.ComponentName)"
67    },
68    "bindAppWidgetIdIfAllowed(int,android.content.ComponentName)": {
69      "isImplementation": true,
70      "modifiers": [
71        "protected"
72      ],
73      "params": [
74        "appWidgetId",
75        "provider"
76      ],
77      "returnType": "boolean",
78      "exceptions": [],
79      "name": "bindAppWidgetIdIfAllowed(int,android.content.ComponentName)"
80    },
81    "createWidget(java.lang.Class\u003c? extends android.appwidget.AppWidgetProvider\u003e,int)": {
82      "isImplementation": false,
83      "modifiers": [
84        "public"
85      ],
86      "params": [
87        "appWidgetProviderClass",
88        "widgetLayoutId"
89      ],
90      "returnType": "int",
91      "exceptions": [],
92      "name": "createWidget(java.lang.Class\u003c? extends android.appwidget.AppWidgetProvider\u003e,int)",
93      "documentation": "Creates a widget by inflating its layout.\n\n@param appWidgetProviderClass the app widget provider class\n@param widgetLayoutId         id of the layout to inflate\n@return the ID of the new widget\n"
94    },
95    "createWidgetView(int)": {
96      "isImplementation": false,
97      "modifiers": [
98        "private"
99      ],
100      "params": [
101        "widgetLayoutId"
102      ],
103      "returnType": "android.view.View",
104      "exceptions": [],
105      "name": "createWidgetView(int)"
106    },
107    "createWidgets(java.lang.Class\u003c? extends android.appwidget.AppWidgetProvider\u003e,int,int)": {
108      "isImplementation": false,
109      "modifiers": [
110        "public"
111      ],
112      "params": [
113        "appWidgetProviderClass",
114        "widgetLayoutId",
115        "howManyToCreate"
116      ],
117      "returnType": "int[]",
118      "exceptions": [],
119      "name": "createWidgets(java.lang.Class\u003c? extends android.appwidget.AppWidgetProvider\u003e,int,int)",
120      "documentation": "Creates a bunch of widgets by inflating the same layout multiple times.\n\n@param appWidgetProviderClass the app widget provider class\n@param widgetLayoutId         id of the layout to inflate\n@param howManyToCreate        number of new widgets to create\n@return the IDs of the new widgets\n"
121    },
122    "getAlwaysRecreateViewsDuringUpdate()": {
123      "isImplementation": false,
124      "modifiers": [
125        "public"
126      ],
127      "params": [],
128      "returnType": "boolean",
129      "exceptions": [],
130      "name": "getAlwaysRecreateViewsDuringUpdate()",
131      "documentation": "@return the state of the{@code alwaysRecreateViewsDuringUpdate} flag\n"
132    },
133    "getAppWidgetIds(android.content.ComponentName)": {
134      "isImplementation": true,
135      "modifiers": [
136        "protected"
137      ],
138      "params": [
139        "provider"
140      ],
141      "returnType": "int[]",
142      "exceptions": [],
143      "name": "getAppWidgetIds(android.content.ComponentName)"
144    },
145    "getAppWidgetInfo(int)": {
146      "isImplementation": true,
147      "modifiers": [
148        "protected"
149      ],
150      "params": [
151        "appWidgetId"
152      ],
153      "returnType": "android.appwidget.AppWidgetProviderInfo",
154      "exceptions": [],
155      "name": "getAppWidgetInfo(int)"
156    },
157    "getAppWidgetProviderFor(int)": {
158      "isImplementation": false,
159      "modifiers": [
160        "public"
161      ],
162      "params": [
163        "widgetId"
164      ],
165      "returnType": "android.appwidget.AppWidgetProvider",
166      "exceptions": [],
167      "name": "getAppWidgetProviderFor(int)",
168      "documentation": "@param widgetId id of the widget whose provider is to be returned\n@return the {@code AppWidgetProvider} associated with {@code widgetId}\n"
169    },
170    "getInstalledProviders()": {
171      "isImplementation": true,
172      "modifiers": [
173        "protected"
174      ],
175      "params": [],
176      "returnType": "java.util.List\u003candroid.appwidget.AppWidgetProviderInfo\u003e",
177      "exceptions": [],
178      "name": "getInstalledProviders()"
179    },
180    "getViewFor(int)": {
181      "isImplementation": false,
182      "modifiers": [
183        "public"
184      ],
185      "params": [
186        "widgetId"
187      ],
188      "returnType": "android.view.View",
189      "exceptions": [],
190      "name": "getViewFor(int)",
191      "documentation": "@param widgetId id of the desired widget\n@return the widget associated with {@code widgetId}\n"
192    },
193    "putWidgetInfo(int,android.appwidget.AppWidgetProviderInfo)": {
194      "isImplementation": false,
195      "modifiers": [
196        "public"
197      ],
198      "params": [
199        "appWidgetId",
200        "expectedWidgetInfo"
201      ],
202      "returnType": "void",
203      "exceptions": [],
204      "name": "putWidgetInfo(int,android.appwidget.AppWidgetProviderInfo)"
205    },
206    "reconstructWidgetViewAsIfPhoneWasRotated(int)": {
207      "isImplementation": false,
208      "modifiers": [
209        "public"
210      ],
211      "params": [
212        "appWidgetId"
213      ],
214      "returnType": "void",
215      "exceptions": [],
216      "name": "reconstructWidgetViewAsIfPhoneWasRotated(int)",
217      "documentation": "Triggers a reapplication of the most recent set of actions against the widget, which is what happens when the\nphone is rotated. Does not attempt to simulate a change in screen geometry.\n\n@param appWidgetId the ID of the widget to be affected\n"
218    },
219    "setAllowedToBindAppWidgets(boolean)": {
220      "isImplementation": false,
221      "modifiers": [
222        "public"
223      ],
224      "params": [
225        "allowed"
226      ],
227      "returnType": "void",
228      "exceptions": [],
229      "name": "setAllowedToBindAppWidgets(boolean)"
230    },
231    "setAlwaysRecreateViewsDuringUpdate(boolean)": {
232      "isImplementation": false,
233      "modifiers": [
234        "public"
235      ],
236      "params": [
237        "alwaysRecreate"
238      ],
239      "returnType": "void",
240      "exceptions": [],
241      "name": "setAlwaysRecreateViewsDuringUpdate(boolean)",
242      "documentation": "Enables testing of widget behavior when all of the views are recreated on every\nupdate. This is useful for ensuring that your widget will behave correctly even\nif it is restarted by the OS between events.\n\n@param alwaysRecreate whether or not to always recreate the views\n"
243    },
244    "setValidWidgetProviderComponentName(boolean)": {
245      "isImplementation": false,
246      "modifiers": [
247        "public"
248      ],
249      "params": [
250        "validWidgetProviderComponentName"
251      ],
252      "returnType": "void",
253      "exceptions": [],
254      "name": "setValidWidgetProviderComponentName(boolean)"
255    },
256    "updateAppWidget(int,android.widget.RemoteViews)": {
257      "isImplementation": true,
258      "modifiers": [
259        "protected"
260      ],
261      "params": [
262        "appWidgetId",
263        "views"
264      ],
265      "returnType": "void",
266      "exceptions": [],
267      "name": "updateAppWidget(int,android.widget.RemoteViews)",
268      "documentation": "Simulates updating an {@code AppWidget} with a new set of views\n\n@param appWidgetId id of widget\n@param views views to update\n"
269    },
270    "updateAppWidget(int[],android.widget.RemoteViews)": {
271      "isImplementation": true,
272      "modifiers": [
273        "protected"
274      ],
275      "params": [
276        "appWidgetIds",
277        "views"
278      ],
279      "returnType": "void",
280      "exceptions": [],
281      "name": "updateAppWidget(int[],android.widget.RemoteViews)"
282    }
283  },
284  "imports": [
285    "android.os.Build.VERSION_CODES.KITKAT",
286    "android.os.Build.VERSION_CODES.LOLLIPOP",
287    "android.appwidget.AppWidgetManager",
288    "android.appwidget.AppWidgetProvider",
289    "android.appwidget.AppWidgetProviderInfo",
290    "android.content.ComponentName",
291    "android.content.Context",
292    "android.view.LayoutInflater",
293    "android.view.View",
294    "android.widget.RemoteViews",
295    "com.android.internal.appwidget.IAppWidgetService",
296    "java.util.ArrayList",
297    "java.util.HashMap",
298    "java.util.List",
299    "java.util.Map",
300    "org.robolectric.RuntimeEnvironment",
301    "org.robolectric.annotation.HiddenApi",
302    "org.robolectric.annotation.Implementation",
303    "org.robolectric.annotation.Implements",
304    "org.robolectric.annotation.RealObject",
305    "org.robolectric.util.ReflectionHelpers",
306    "org.robolectric.shadows.ShadowAppWidgetManager.WidgetInfo"
307  ],
308  "name": "org.robolectric.shadows.ShadowAppWidgetManager"
309}