1{
2  "methods": {
3    "__constructor__(android.content.Context,android.util.AttributeSet,int)": {
4      "isImplementation": true,
5      "modifiers": [
6        "protected"
7      ],
8      "params": [
9        "context",
10        "attributeSet",
11        "defStyle"
12      ],
13      "returnType": "void",
14      "exceptions": [],
15      "name": "__constructor__(android.content.Context,android.util.AttributeSet,int)"
16    },
17    "callOnAttachedToWindow()": {
18      "isImplementation": false,
19      "modifiers": [
20        "public"
21      ],
22      "params": [],
23      "returnType": "void",
24      "exceptions": [],
25      "name": "callOnAttachedToWindow()"
26    },
27    "callOnDetachedFromWindow()": {
28      "isImplementation": false,
29      "modifiers": [
30        "public"
31      ],
32      "params": [],
33      "returnType": "void",
34      "exceptions": [],
35      "name": "callOnDetachedFromWindow()"
36    },
37    "checkedPerformClick()": {
38      "isImplementation": false,
39      "modifiers": [
40        "public"
41      ],
42      "params": [],
43      "returnType": "boolean",
44      "exceptions": [],
45      "name": "checkedPerformClick()",
46      "documentation": "Utility method for clicking on views exposing testing scenarios that are not possible when using the actual app.\n\n@throws RuntimeException if the view is disabled or if the view or any of its parents are not visible.\n@return Return value of the underlying click operation.\n"
47    },
48    "clearWasInvalidated()": {
49      "isImplementation": false,
50      "modifiers": [
51        "public"
52      ],
53      "params": [],
54      "returnType": "void",
55      "exceptions": [],
56      "name": "clearWasInvalidated()",
57      "documentation": "Clears the wasInvalidated flag\n"
58    },
59    "clickOn(android.view.View)": {
60      "isImplementation": false,
61      "modifiers": [
62        "public",
63        "static"
64      ],
65      "params": [
66        "view"
67      ],
68      "returnType": "boolean",
69      "exceptions": [],
70      "name": "clickOn(android.view.View)",
71      "documentation": "Calls {@code performClick()} on a {@code View} after ensuring that it and its ancestors are visible and that it\nis enabled.\n\n@param view the view to click on\n@return true if {@code View.OnClickListener}s were found and fired, false otherwise.\n@throws RuntimeException if the preconditions are not met.\n"
72    },
73    "didRequestLayout()": {
74      "isImplementation": false,
75      "modifiers": [
76        "public"
77      ],
78      "params": [],
79      "returnType": "boolean",
80      "exceptions": [],
81      "name": "didRequestLayout()"
82    },
83    "directly()": {
84      "isImplementation": false,
85      "modifiers": [
86        "private"
87      ],
88      "params": [],
89      "returnType": "android.view.View",
90      "exceptions": [],
91      "name": "directly()"
92    },
93    "draw(android.graphics.Canvas)": {
94      "isImplementation": true,
95      "modifiers": [
96        "protected"
97      ],
98      "params": [
99        "canvas"
100      ],
101      "returnType": "void",
102      "exceptions": [],
103      "name": "draw(android.graphics.Canvas)"
104    },
105    "dump()": {
106      "isImplementation": false,
107      "modifiers": [
108        "public"
109      ],
110      "params": [],
111      "returnType": "void",
112      "exceptions": [],
113      "name": "dump()",
114      "documentation": "Dumps the status of this {@code View} to {@code System.out}\n"
115    },
116    "dump(android.view.View)": {
117      "isImplementation": false,
118      "modifiers": [
119        "public",
120        "static"
121      ],
122      "params": [
123        "view"
124      ],
125      "returnType": "void",
126      "exceptions": [],
127      "name": "dump(android.view.View)",
128      "documentation": "Emits an xml-like representation of the view to System.out.\n\n@param view the view to dump\n"
129    },
130    "dump(java.io.PrintStream,int)": {
131      "isImplementation": false,
132      "modifiers": [
133        "public"
134      ],
135      "params": [
136        "out",
137        "indent"
138      ],
139      "returnType": "void",
140      "exceptions": [],
141      "name": "dump(java.io.PrintStream,int)",
142      "documentation": "Dumps the status of this {@code View} to {@code System.out} at the given indentation level\n@param out Output stream.\n@param indent Indentation level.\n"
143    },
144    "dumpAttribute(java.io.PrintStream,java.lang.String,java.lang.String)": {
145      "isImplementation": false,
146      "modifiers": [
147        "protected"
148      ],
149      "params": [
150        "out",
151        "name",
152        "value"
153      ],
154      "returnType": "void",
155      "exceptions": [],
156      "name": "dumpAttribute(java.io.PrintStream,java.lang.String,java.lang.String)"
157    },
158    "dumpAttributes(java.io.PrintStream)": {
159      "isImplementation": false,
160      "modifiers": [
161        "protected"
162      ],
163      "params": [
164        "out"
165      ],
166      "returnType": "void",
167      "exceptions": [],
168      "name": "dumpAttributes(java.io.PrintStream)"
169    },
170    "dumpFirstPart(java.io.PrintStream,int)": {
171      "isImplementation": false,
172      "modifiers": [
173        "protected"
174      ],
175      "params": [
176        "out",
177        "indent"
178      ],
179      "returnType": "void",
180      "exceptions": [],
181      "name": "dumpFirstPart(java.io.PrintStream,int)"
182    },
183    "dumpIndent(java.io.PrintStream,int)": {
184      "isImplementation": false,
185      "modifiers": [
186        "protected"
187      ],
188      "params": [
189        "out",
190        "indent"
191      ],
192      "returnType": "void",
193      "exceptions": [],
194      "name": "dumpIndent(java.io.PrintStream,int)"
195    },
196    "getAttachInfo()": {
197      "isImplementation": false,
198      "modifiers": [
199        "private"
200      ],
201      "params": [],
202      "returnType": "java.lang.Object",
203      "exceptions": [],
204      "name": "getAttachInfo()"
205    },
206    "getGlobalVisibleRect(android.graphics.Rect,android.graphics.Point)": {
207      "isImplementation": true,
208      "modifiers": [
209        "protected"
210      ],
211      "params": [
212        "rect",
213        "globalOffset"
214      ],
215      "returnType": "boolean",
216      "exceptions": [],
217      "name": "getGlobalVisibleRect(android.graphics.Rect,android.graphics.Point)"
218    },
219    "getLastTouchEvent()": {
220      "isImplementation": false,
221      "modifiers": [
222        "public"
223      ],
224      "params": [],
225      "returnType": "android.view.MotionEvent",
226      "exceptions": [],
227      "name": "getLastTouchEvent()"
228    },
229    "getLayerType()": {
230      "isImplementation": true,
231      "modifiers": [
232        "protected"
233      ],
234      "params": [],
235      "returnType": "int",
236      "exceptions": [],
237      "name": "getLayerType()"
238    },
239    "getOnClickListener()": {
240      "isImplementation": false,
241      "modifiers": [
242        "public"
243      ],
244      "params": [],
245      "returnType": "android.view.View.OnClickListener",
246      "exceptions": [],
247      "name": "getOnClickListener()",
248      "documentation": "@return Returns click listener, if set.\n"
249    },
250    "getOnCreateContextMenuListener()": {
251      "isImplementation": false,
252      "modifiers": [
253        "public"
254      ],
255      "params": [],
256      "returnType": "android.view.View.OnCreateContextMenuListener",
257      "exceptions": [],
258      "name": "getOnCreateContextMenuListener()",
259      "documentation": "@return Returns create ContextMenu listener, if set.\n"
260    },
261    "getOnLongClickListener()": {
262      "isImplementation": false,
263      "modifiers": [
264        "public"
265      ],
266      "params": [],
267      "returnType": "android.view.View.OnLongClickListener",
268      "exceptions": [],
269      "name": "getOnLongClickListener()",
270      "documentation": "@return Returns long click listener, if set.\n"
271    },
272    "getOnSystemUiVisibilityChangeListener()": {
273      "isImplementation": false,
274      "modifiers": [
275        "public"
276      ],
277      "params": [],
278      "returnType": "android.view.View.OnSystemUiVisibilityChangeListener",
279      "exceptions": [],
280      "name": "getOnSystemUiVisibilityChangeListener()",
281      "documentation": "@return Returns system ui visibility change listener.\n"
282    },
283    "getOnTouchListener()": {
284      "isImplementation": false,
285      "modifiers": [
286        "public"
287      ],
288      "params": [],
289      "returnType": "android.view.View.OnTouchListener",
290      "exceptions": [],
291      "name": "getOnTouchListener()",
292      "documentation": "@return Touch listener, if set.\n"
293    },
294    "getScrollX()": {
295      "isImplementation": true,
296      "modifiers": [
297        "protected"
298      ],
299      "params": [],
300      "returnType": "int",
301      "exceptions": [],
302      "name": "getScrollX()"
303    },
304    "getScrollY()": {
305      "isImplementation": true,
306      "modifiers": [
307        "protected"
308      ],
309      "params": [],
310      "returnType": "int",
311      "exceptions": [],
312      "name": "getScrollY()"
313    },
314    "getWindowId()": {
315      "isImplementation": true,
316      "modifiers": [
317        "protected"
318      ],
319      "params": [],
320      "returnType": "android.view.WindowId",
321      "exceptions": [],
322      "minSdk": 18,
323      "name": "getWindowId()"
324    },
325    "innerText()": {
326      "isImplementation": false,
327      "modifiers": [
328        "public"
329      ],
330      "params": [],
331      "returnType": "java.lang.String",
332      "exceptions": [],
333      "name": "innerText()",
334      "documentation": "Returns a string representation of this {@code View}. Unless overridden, it will be an empty string.\n\nRobolectric extension.\n@return String representation of this view.\n"
335    },
336    "innerText(android.view.View)": {
337      "isImplementation": false,
338      "modifiers": [
339        "public",
340        "static"
341      ],
342      "params": [
343        "view"
344      ],
345      "returnType": "java.lang.String",
346      "exceptions": [],
347      "name": "innerText(android.view.View)",
348      "documentation": "Returns the text contained within this view.\n\n@param view the view to scan for text\n@return Text contained within this view.\n"
349    },
350    "invalidate()": {
351      "isImplementation": true,
352      "modifiers": [
353        "protected"
354      ],
355      "params": [],
356      "returnType": "void",
357      "exceptions": [],
358      "name": "invalidate()"
359    },
360    "invokeReflectively(java.lang.String)": {
361      "isImplementation": false,
362      "modifiers": [
363        "private"
364      ],
365      "params": [
366        "methodName"
367      ],
368      "returnType": "void",
369      "exceptions": [],
370      "name": "invokeReflectively(java.lang.String)"
371    },
372    "isAttachedToWindow()": {
373      "isImplementation": true,
374      "modifiers": [
375        "protected"
376      ],
377      "params": [],
378      "returnType": "boolean",
379      "exceptions": [],
380      "minSdk": 19,
381      "name": "isAttachedToWindow()"
382    },
383    "lastHapticFeedbackPerformed()": {
384      "isImplementation": false,
385      "modifiers": [
386        "public"
387      ],
388      "params": [],
389      "returnType": "int",
390      "exceptions": [],
391      "name": "lastHapticFeedbackPerformed()"
392    },
393    "onLayout(boolean,int,int,int,int)": {
394      "isImplementation": true,
395      "modifiers": [
396        "protected"
397      ],
398      "params": [
399        "changed",
400        "left",
401        "top",
402        "right",
403        "bottom"
404      ],
405      "returnType": "void",
406      "exceptions": [],
407      "name": "onLayout(boolean,int,int,int,int)"
408    },
409    "onLayoutWasCalled()": {
410      "isImplementation": false,
411      "modifiers": [
412        "public"
413      ],
414      "params": [],
415      "returnType": "boolean",
416      "exceptions": [],
417      "name": "onLayoutWasCalled()"
418    },
419    "onTouchEvent(android.view.MotionEvent)": {
420      "isImplementation": true,
421      "modifiers": [
422        "protected"
423      ],
424      "params": [
425        "event"
426      ],
427      "returnType": "boolean",
428      "exceptions": [],
429      "name": "onTouchEvent(android.view.MotionEvent)"
430    },
431    "performHapticFeedback(int)": {
432      "isImplementation": true,
433      "modifiers": [
434        "protected"
435      ],
436      "params": [
437        "hapticFeedbackType"
438      ],
439      "returnType": "boolean",
440      "exceptions": [],
441      "name": "performHapticFeedback(int)"
442    },
443    "post(java.lang.Runnable)": {
444      "isImplementation": true,
445      "modifiers": [
446        "protected"
447      ],
448      "params": [
449        "action"
450      ],
451      "returnType": "boolean",
452      "exceptions": [],
453      "name": "post(java.lang.Runnable)"
454    },
455    "postDelayed(java.lang.Runnable,long)": {
456      "isImplementation": true,
457      "modifiers": [
458        "protected"
459      ],
460      "params": [
461        "action",
462        "delayMills"
463      ],
464      "returnType": "boolean",
465      "exceptions": [],
466      "name": "postDelayed(java.lang.Runnable,long)"
467    },
468    "postInvalidateDelayed(long)": {
469      "isImplementation": true,
470      "modifiers": [
471        "protected"
472      ],
473      "params": [
474        "delayMilliseconds"
475      ],
476      "returnType": "void",
477      "exceptions": [],
478      "name": "postInvalidateDelayed(long)"
479    },
480    "removeCallbacks(java.lang.Runnable)": {
481      "isImplementation": true,
482      "modifiers": [
483        "protected"
484      ],
485      "params": [
486        "callback"
487      ],
488      "returnType": "boolean",
489      "exceptions": [],
490      "name": "removeCallbacks(java.lang.Runnable)"
491    },
492    "requestLayout()": {
493      "isImplementation": true,
494      "modifiers": [
495        "protected"
496      ],
497      "params": [],
498      "returnType": "void",
499      "exceptions": [],
500      "name": "requestLayout()"
501    },
502    "scrollBy(int,int)": {
503      "isImplementation": true,
504      "modifiers": [
505        "protected"
506      ],
507      "params": [
508        "x",
509        "y"
510      ],
511      "returnType": "void",
512      "exceptions": [],
513      "name": "scrollBy(int,int)"
514    },
515    "scrollTo(int,int)": {
516      "isImplementation": true,
517      "modifiers": [
518        "protected"
519      ],
520      "params": [
521        "x",
522        "y"
523      ],
524      "returnType": "void",
525      "exceptions": [],
526      "name": "scrollTo(int,int)"
527    },
528    "setAnimation(android.view.animation.Animation)": {
529      "isImplementation": true,
530      "modifiers": [
531        "protected"
532      ],
533      "params": [
534        "animation"
535      ],
536      "returnType": "void",
537      "exceptions": [],
538      "name": "setAnimation(android.view.animation.Animation)"
539    },
540    "setDidRequestLayout(boolean)": {
541      "isImplementation": false,
542      "modifiers": [
543        "public"
544      ],
545      "params": [
546        "didRequestLayout"
547      ],
548      "returnType": "void",
549      "exceptions": [],
550      "name": "setDidRequestLayout(boolean)"
551    },
552    "setGlobalVisibleRect(android.graphics.Rect)": {
553      "isImplementation": false,
554      "modifiers": [
555        "public"
556      ],
557      "params": [
558        "rect"
559      ],
560      "returnType": "void",
561      "exceptions": [],
562      "name": "setGlobalVisibleRect(android.graphics.Rect)"
563    },
564    "setLayerType(int,android.graphics.Paint)": {
565      "isImplementation": true,
566      "modifiers": [
567        "protected"
568      ],
569      "params": [
570        "layerType",
571        "paint"
572      ],
573      "returnType": "void",
574      "exceptions": [],
575      "name": "setLayerType(int,android.graphics.Paint)"
576    },
577    "setMyParent(android.view.ViewParent)": {
578      "isImplementation": false,
579      "modifiers": [
580        "public"
581      ],
582      "params": [
583        "viewParent"
584      ],
585      "returnType": "void",
586      "exceptions": [],
587      "name": "setMyParent(android.view.ViewParent)"
588    },
589    "setOnClickListener(android.view.View.OnClickListener)": {
590      "isImplementation": true,
591      "modifiers": [
592        "protected"
593      ],
594      "params": [
595        "onClickListener"
596      ],
597      "returnType": "void",
598      "exceptions": [],
599      "name": "setOnClickListener(android.view.View.OnClickListener)"
600    },
601    "setOnCreateContextMenuListener(android.view.View.OnCreateContextMenuListener)": {
602      "isImplementation": true,
603      "modifiers": [
604        "protected"
605      ],
606      "params": [
607        "onCreateContextMenuListener"
608      ],
609      "returnType": "void",
610      "exceptions": [],
611      "name": "setOnCreateContextMenuListener(android.view.View.OnCreateContextMenuListener)"
612    },
613    "setOnFocusChangeListener(android.view.View.OnFocusChangeListener)": {
614      "isImplementation": true,
615      "modifiers": [
616        "protected"
617      ],
618      "params": [
619        "l"
620      ],
621      "returnType": "void",
622      "exceptions": [],
623      "name": "setOnFocusChangeListener(android.view.View.OnFocusChangeListener)"
624    },
625    "setOnLongClickListener(android.view.View.OnLongClickListener)": {
626      "isImplementation": true,
627      "modifiers": [
628        "protected"
629      ],
630      "params": [
631        "onLongClickListener"
632      ],
633      "returnType": "void",
634      "exceptions": [],
635      "name": "setOnLongClickListener(android.view.View.OnLongClickListener)"
636    },
637    "setOnSystemUiVisibilityChangeListener(android.view.View.OnSystemUiVisibilityChangeListener)": {
638      "isImplementation": true,
639      "modifiers": [
640        "protected"
641      ],
642      "params": [
643        "onSystemUiVisibilityChangeListener"
644      ],
645      "returnType": "void",
646      "exceptions": [],
647      "name": "setOnSystemUiVisibilityChangeListener(android.view.View.OnSystemUiVisibilityChangeListener)"
648    },
649    "setOnTouchListener(android.view.View.OnTouchListener)": {
650      "isImplementation": true,
651      "modifiers": [
652        "protected"
653      ],
654      "params": [
655        "onTouchListener"
656      ],
657      "returnType": "void",
658      "exceptions": [],
659      "name": "setOnTouchListener(android.view.View.OnTouchListener)"
660    },
661    "setScrollX(int)": {
662      "isImplementation": true,
663      "modifiers": [
664        "protected"
665      ],
666      "params": [
667        "scrollX"
668      ],
669      "returnType": "void",
670      "exceptions": [],
671      "name": "setScrollX(int)"
672    },
673    "setScrollY(int)": {
674      "isImplementation": true,
675      "modifiers": [
676        "protected"
677      ],
678      "params": [
679        "scrollY"
680      ],
681      "returnType": "void",
682      "exceptions": [],
683      "name": "setScrollY(int)"
684    },
685    "setViewFocus(boolean)": {
686      "isImplementation": false,
687      "modifiers": [
688        "public"
689      ],
690      "params": [
691        "hasFocus"
692      ],
693      "returnType": "void",
694      "exceptions": [],
695      "name": "setViewFocus(boolean)"
696    },
697    "visualize(android.view.View)": {
698      "isImplementation": false,
699      "modifiers": [
700        "public",
701        "static"
702      ],
703      "params": [
704        "view"
705      ],
706      "returnType": "java.lang.String",
707      "exceptions": [],
708      "name": "visualize(android.view.View)",
709      "documentation": "Returns a textual representation of the appearance of the object.\n\n@param view the view to visualize\n@return Textual representation of the appearance of the object.\n"
710    },
711    "wasInvalidated()": {
712      "isImplementation": false,
713      "modifiers": [
714        "public"
715      ],
716      "params": [],
717      "returnType": "boolean",
718      "exceptions": [],
719      "name": "wasInvalidated()",
720      "documentation": "@return whether or not {@link #invalidate()} has been called\n"
721    }
722  },
723  "imports": [
724    "android.os.Build.VERSION_CODES.JELLY_BEAN_MR2",
725    "android.os.Build.VERSION_CODES.KITKAT",
726    "org.robolectric.shadow.api.Shadow.directlyOn",
727    "org.robolectric.shadow.api.Shadow.invokeConstructor",
728    "org.robolectric.util.ReflectionHelpers.getField",
729    "org.robolectric.util.ReflectionHelpers.setField",
730    "android.annotation.SuppressLint",
731    "android.content.Context",
732    "android.graphics.Canvas",
733    "android.graphics.Paint",
734    "android.graphics.Point",
735    "android.graphics.Rect",
736    "android.graphics.drawable.Drawable",
737    "android.os.Looper",
738    "android.os.RemoteException",
739    "android.os.SystemClock",
740    "android.text.TextUtils",
741    "android.util.AttributeSet",
742    "android.view.Choreographer",
743    "android.view.IWindowFocusObserver",
744    "android.view.IWindowId",
745    "android.view.MotionEvent",
746    "android.view.View",
747    "android.view.ViewParent",
748    "android.view.WindowId",
749    "android.view.animation.Animation",
750    "android.view.animation.Transformation",
751    "java.io.PrintStream",
752    "java.lang.reflect.Method",
753    "org.robolectric.android.AccessibilityUtil",
754    "org.robolectric.annotation.Implementation",
755    "org.robolectric.annotation.Implements",
756    "org.robolectric.annotation.RealObject",
757    "org.robolectric.shadow.api.Shadow",
758    "org.robolectric.util.ReflectionHelpers",
759    "org.robolectric.util.ReflectionHelpers.ClassParameter",
760    "org.robolectric.util.TimeUtils",
761    "org.robolectric.shadows.ShadowView.AnimationRunner",
762    "org.robolectric.shadows.ShadowView.WindowIdHelper"
763  ],
764  "name": "org.robolectric.shadows.ShadowView"
765}