resources/src/main/java/org/robolectric/res/Qualifiers.java
@Deprecated
  public static String addSmallestScreenWidth(String qualifiers, int smallestScreenWidth) {
    int qualifiersSmallestScreenWidth = Qualifiers.getSmallestScreenWidth(qualifiers);
    if (qualifiersSmallestScreenWidth == -1) {
      if (qualifiers.length() > 0) {
        qualifiers += "-";
      }
      qualifiers += "sw" + smallestScreenWidth + "dp";
    }
    return qualifiers;
  }
@Deprecated
  public static String addSmallestScreenWidth(String qualifiers, int smallestScreenWidth) {
    int qualifiersSmallestScreenWidth = Qualifiers.getSmallestScreenWidth(qualifiers);
    if (qualifiersSmallestScreenWidth == -1) {
      if (qualifiers.length() > 0) {
        qualifiers += "-";
      }
      qualifiers += "sw" + smallestScreenWidth + "dp";
    }
    return qualifiers;
  }
@ Deprecated public static String addSmallestScreenWidth ( String qualifiers , int smallestScreenWidth ) { int qualifiersSmallestScreenWidth = Qualifiers . getSmallestScreenWidth ( qualifiers ) ; if ( qualifiersSmallestScreenWidth == - 1 ) { if ( qualifiers . length ( ) > 0 ) { qualifiers += "-" ; } qualifiers += "sw" + smallestScreenWidth + "dp" ; } return qualifiers ; }
If the Config already has a `sw` qualifier, do nothing. Otherwise, add a `sw`
qualifier for the given width.

@deprecated Use {@link android.content.res.Configuration#smallestScreenWidthDp} instead.
If the Config already has a sw qualifier do nothing . Otherwise add a sw qualifier for the given width .