Package org.robolectric.shadows
Class ShadowDisplayManager.ModeBuilder
java.lang.Object
org.robolectric.shadows.ShadowDisplayManager.ModeBuilder
- Enclosing class:
- ShadowDisplayManager
Builder class for
Display.Mode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Display.Mode
build()
modeBuilder
(int modeId) abstract ShadowDisplayManager.ModeBuilder
setHeight
(int height) abstract ShadowDisplayManager.ModeBuilder
setRefreshRate
(float refreshRate) abstract ShadowDisplayManager.ModeBuilder
setWidth
(int width)
-
Constructor Details
-
ModeBuilder
public ModeBuilder()
-
-
Method Details
-
modeBuilder
-
setWidth
-
setHeight
-
setRefreshRate
-
build
-