public class ResourceResolver
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
dipsToPixels(float dips) |
float |
pixelsToDips(int pixels) |
float |
pixelsToSips(int pixels) |
boolean |
resolveBoolAttr(int attrResId,
int defResId) |
boolean |
resolveBoolRes(int resId) |
int |
resolveColorAttr(int attrResId,
int defResId) |
int |
resolveColorRes(int resId) |
int |
resolveDimenOffsetAttr(int attrResId,
int defResId) |
int |
resolveDimenOffsetRes(int resId) |
int |
resolveDimenSizeAttr(int attrResId,
int defResId) |
int |
resolveDimenSizeRes(int resId) |
Drawable |
resolveDrawableAttr(int attrResId,
int defResId) |
Drawable |
resolveDrawableRes(int resId) |
float |
resolveFloatAttr(int attrResId,
int defResId) |
float |
resolveFloatRes(int resId) |
int[] |
resolveIntArrayAttr(int attrResId,
int defResId) |
int[] |
resolveIntArrayRes(int resId) |
int |
resolveIntAttr(int attrResId,
int defResId) |
java.lang.Integer[] |
resolveIntegerArrayAttr(int attrResId,
int defResId) |
java.lang.Integer[] |
resolveIntegerArrayRes(int resId) |
int |
resolveIntRes(int resId) |
java.lang.String[] |
resolveStringArrayAttr(int attrResId,
int defResId) |
java.lang.String[] |
resolveStringArrayRes(int resId) |
java.lang.String |
resolveStringAttr(int attrResId,
int defResId) |
java.lang.String |
resolveStringRes(int resId) |
java.lang.String |
resolveStringRes(int resId,
java.lang.Object... formatArgs) |
int |
sipsToPixels(float sips) |
public int dipsToPixels(float dips)
public int sipsToPixels(float sips)
public float pixelsToDips(int pixels)
public float pixelsToSips(int pixels)
public java.lang.String resolveStringRes(int resId)
public java.lang.String resolveStringRes(int resId, java.lang.Object... formatArgs)
public java.lang.String[] resolveStringArrayRes(int resId)
public int resolveIntRes(int resId)
public final int[] resolveIntArrayRes(int resId)
public java.lang.Integer[] resolveIntegerArrayRes(int resId)
public boolean resolveBoolRes(int resId)
public int resolveColorRes(int resId)
public int resolveDimenSizeRes(int resId)
public int resolveDimenOffsetRes(int resId)
public float resolveFloatRes(int resId)
public Drawable resolveDrawableRes(int resId)
public java.lang.String resolveStringAttr(int attrResId, int defResId)
public java.lang.String[] resolveStringArrayAttr(int attrResId, int defResId)
public int resolveIntAttr(int attrResId, int defResId)
public int[] resolveIntArrayAttr(int attrResId, int defResId)
public java.lang.Integer[] resolveIntegerArrayAttr(int attrResId, int defResId)
public boolean resolveBoolAttr(int attrResId, int defResId)
public int resolveColorAttr(int attrResId, int defResId)
public int resolveDimenSizeAttr(int attrResId, int defResId)
public int resolveDimenOffsetAttr(int attrResId, int defResId)
public float resolveFloatAttr(int attrResId, int defResId)
public Drawable resolveDrawableAttr(int attrResId, int defResId)