Package org.robolectric.shadows
Class ShadowDisplayManager.ModeBuilder
java.lang.Object
org.robolectric.shadows.ShadowDisplayManager.ModeBuilder
- Enclosing class:
- ShadowDisplayManager
public abstract static class ShadowDisplayManager.ModeBuilder extends Object
Builder class for
Display.Mode
-
Constructor Summary
Constructors Constructor Description ModeBuilder()
-
Method Summary
Modifier and Type Method Description abstract Display.Mode
build()
static ShadowDisplayManager.ModeBuilder
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