1{
2  "methods": {
3    "addDisplay(java.lang.String)": {
4      "isImplementation": false,
5      "modifiers": [
6        "public",
7        "static"
8      ],
9      "params": [
10        "qualifiersStr"
11      ],
12      "returnType": "int",
13      "exceptions": [],
14      "name": "addDisplay(java.lang.String)",
15      "documentation": "Adds a simulated display.\n\n@param qualifiersStr the {@link Qualifiers} string representing characteristics of the new\n    display.\n@return the new display\u0027s ID\n"
16    },
17    "changeDisplay(int,java.lang.String)": {
18      "isImplementation": false,
19      "modifiers": [
20        "public",
21        "static"
22      ],
23      "params": [
24        "displayId",
25        "qualifiersStr"
26      ],
27      "returnType": "void",
28      "exceptions": [],
29      "name": "changeDisplay(int,java.lang.String)",
30      "documentation": "Changes properties of a simulated display. If `qualifiersStr` starts with a plus (`+`) sign,\nthe display\u0027s previous configuration is modified with the given qualifiers; otherwise defaults\nare applied as described [here](http://robolectric.org/device-configuration/).\n\n\n@param displayId the display id to change\n@param qualifiersStr the {@link Qualifiers} string representing characteristics of the new\n    display\n"
31    },
32    "changeDisplay(int,org.robolectric.util.Consumer\u003corg.robolectric.android.internal.DisplayConfig\u003e)": {
33      "isImplementation": false,
34      "modifiers": [
35        "static"
36      ],
37      "params": [
38        "displayId",
39        "consumer"
40      ],
41      "returnType": "void",
42      "exceptions": [],
43      "name": "changeDisplay(int,org.robolectric.util.Consumer\u003corg.robolectric.android.internal.DisplayConfig\u003e)",
44      "documentation": "Changes properties of a simulated display. The original properties will be passed to the\n`consumer`, which may modify them in place. The display will be updated with the new\nproperties.\n\n@param displayId the display id to change\n@param consumer a function which modifies the display properties\n"
45    },
46    "configureDefaultDisplay(android.content.res.Configuration,android.util.DisplayMetrics)": {
47      "isImplementation": false,
48      "modifiers": [
49        "public",
50        "static"
51      ],
52      "params": [
53        "configuration",
54        "displayMetrics"
55      ],
56      "returnType": "void",
57      "exceptions": [],
58      "name": "configureDefaultDisplay(android.content.res.Configuration,android.util.DisplayMetrics)",
59      "documentation": "internal only "
60    },
61    "createDisplayInfo(android.content.res.Configuration,android.util.DisplayMetrics)": {
62      "isImplementation": false,
63      "modifiers": [
64        "private",
65        "static"
66      ],
67      "params": [
68        "configuration",
69        "displayMetrics"
70      ],
71      "returnType": "android.view.DisplayInfo",
72      "exceptions": [],
73      "name": "createDisplayInfo(android.content.res.Configuration,android.util.DisplayMetrics)"
74    },
75    "createDisplayInfo(java.lang.String,android.view.DisplayInfo)": {
76      "isImplementation": false,
77      "modifiers": [
78        "private",
79        "static"
80      ],
81      "params": [
82        "qualifiersStr",
83        "baseDisplayInfo"
84      ],
85      "returnType": "android.view.DisplayInfo",
86      "exceptions": [],
87      "name": "createDisplayInfo(java.lang.String,android.view.DisplayInfo)"
88    },
89    "fixNominalDimens(android.view.DisplayInfo)": {
90      "isImplementation": false,
91      "modifiers": [
92        "private",
93        "static"
94      ],
95      "params": [
96        "displayInfo"
97      ],
98      "returnType": "void",
99      "exceptions": [],
100      "name": "fixNominalDimens(android.view.DisplayInfo)"
101    },
102    "getShadowDisplayManagerGlobal()": {
103      "isImplementation": false,
104      "modifiers": [
105        "private",
106        "static"
107      ],
108      "params": [],
109      "returnType": "org.robolectric.shadows.ShadowDisplayManagerGlobal",
110      "exceptions": [],
111      "name": "getShadowDisplayManagerGlobal()"
112    },
113    "removeDisplay(int)": {
114      "isImplementation": false,
115      "modifiers": [
116        "public",
117        "static"
118      ],
119      "params": [
120        "displayId"
121      ],
122      "returnType": "void",
123      "exceptions": [],
124      "name": "removeDisplay(int)",
125      "documentation": "Removes a simulated display.\n\n@param displayId the display id to remove\n"
126    }
127  },
128  "imports": [
129    "android.os.Build.VERSION_CODES.JELLY_BEAN_MR1",
130    "android.content.res.Configuration",
131    "android.hardware.display.DisplayManager",
132    "android.hardware.display.DisplayManagerGlobal",
133    "android.os.Build",
134    "android.util.DisplayMetrics",
135    "android.view.Display",
136    "android.view.DisplayInfo",
137    "android.view.Surface",
138    "org.robolectric.RuntimeEnvironment",
139    "org.robolectric.android.Bootstrap",
140    "org.robolectric.android.internal.DisplayConfig",
141    "org.robolectric.annotation.Implements",
142    "org.robolectric.res.Qualifiers",
143    "org.robolectric.shadow.api.Shadow",
144    "org.robolectric.util.Consumer"
145  ],
146  "name": "org.robolectric.shadows.ShadowDisplayManager",
147  "documentation": "For tests, display properties may be changed and devices may be added or removed\nprogrammatically.\n"
148}