public class Qualifiers extends Object
Modifier | Constructor | Description |
---|---|---|
protected |
Qualifiers(String qualifiers,
ResTable_config config) |
Modifier and Type | Method | Description |
---|---|---|
static String |
addPlatformVersion(String qualifiers,
int apiLevel) |
Deprecated.
Figure something else out.
|
static String |
addScreenWidth(String qualifiers,
int screenWidth) |
Deprecated.
Use
Configuration.screenWidthDp instead. |
static String |
addSmallestScreenWidth(String qualifiers,
int smallestScreenWidth) |
Deprecated.
Use
Configuration.smallestScreenWidthDp instead. |
static Qualifiers |
fromParentDir(Path parentDir) |
|
ResTable_config |
getConfig() |
|
static String |
getOrientation(String qualifiers) |
Deprecated.
Use
Configuration.orientation instead. |
static int |
getPlatformVersion(String qualifiers) |
Deprecated.
Use
Build.VERSION.SDK_INT instead. |
static int |
getScreenWidth(String qualifiers) |
Deprecated.
Use
Configuration.screenWidthDp instead. |
static int |
getSmallestScreenWidth(String qualifiers) |
Deprecated.
Use
Configuration.smallestScreenWidthDp instead. |
static Qualifiers |
parse(String qualifiers) |
|
static Qualifiers |
parse(String qualifiers,
boolean applyVersionForCompat) |
|
String |
toString() |
protected Qualifiers(String qualifiers, ResTable_config config)
public static Qualifiers parse(String qualifiers)
public static Qualifiers parse(String qualifiers, boolean applyVersionForCompat)
public ResTable_config getConfig()
public static Qualifiers fromParentDir(Path parentDir)
@Deprecated public static int getPlatformVersion(String qualifiers)
Build.VERSION.SDK_INT
instead.@Deprecated public static int getSmallestScreenWidth(String qualifiers)
Configuration.smallestScreenWidthDp
instead.@Deprecated public static String addPlatformVersion(String qualifiers, int apiLevel)
@Deprecated public static String addSmallestScreenWidth(String qualifiers, int smallestScreenWidth)
Configuration.smallestScreenWidthDp
instead.sw
qualifier, do nothing. Otherwise, add a sw
qualifier for the given width.@Deprecated public static int getScreenWidth(String qualifiers)
Configuration.screenWidthDp
instead.@Deprecated public static String addScreenWidth(String qualifiers, int screenWidth)
Configuration.screenWidthDp
instead.@Deprecated public static String getOrientation(String qualifiers)
Configuration.orientation
instead.