Package org.robolectric.android
Class Bootstrap
java.lang.Object
org.robolectric.android.Bootstrap
public class Bootstrap extends Object
-
Field Summary
Fields Modifier and Type Field Description static boolean
displaySet
internal only -
Constructor Summary
Constructors Constructor Description Bootstrap()
-
Method Summary
Modifier and Type Method Description static void
applyQualifiers(String qualifiersStrs, int apiLevel, Configuration configuration, DisplayMetrics displayMetrics)
static void
resetDisplayConfiguration()
internal onlystatic void
setDisplayConfiguration(Configuration configuration, DisplayMetrics displayMetrics)
internal onlystatic void
setUpDisplay()
internal onlystatic void
updateConfiguration(Resources resources)
internal onlystatic void
updateDisplayResources(Configuration configuration, DisplayMetrics displayMetrics)
internal only
-
Field Details
-
displaySet
public static boolean displaySetinternal only
-
-
Constructor Details
-
Bootstrap
public Bootstrap()
-
-
Method Details
-
setDisplayConfiguration
public static void setDisplayConfiguration(Configuration configuration, DisplayMetrics displayMetrics)internal only -
resetDisplayConfiguration
public static void resetDisplayConfiguration()internal only -
updateDisplayResources
public static void updateDisplayResources(Configuration configuration, DisplayMetrics displayMetrics)internal only -
updateConfiguration
internal only -
setUpDisplay
public static void setUpDisplay()internal only -
applyQualifiers
public static void applyQualifiers(String qualifiersStrs, int apiLevel, Configuration configuration, DisplayMetrics displayMetrics)
-