Class Bootstrap

java.lang.Object
org.robolectric.android.Bootstrap

public class Bootstrap extends Object
  • Field Details

    • displaySet

      public static boolean displaySet
      internal only
  • Constructor Details

    • Bootstrap

      public Bootstrap()
  • Method Details

    • getConfiguration

      public static Configuration getConfiguration()
    • getDisplayMetrics

      public static DisplayMetrics getDisplayMetrics()
    • 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
    • setUpDisplay

      public static void setUpDisplay()
      internal only
    • applyQualifiers

      public static void applyQualifiers(String qualifiersStrs, int apiLevel, Configuration configuration, DisplayMetrics displayMetrics)