Lines Matching refs:ResourceType
32 import com.android.resources.ResourceType;
92 private final static Map<Integer, Pair<ResourceType, String>> sRMap =
93 new HashMap<Integer, Pair<ResourceType, String>>();
103 private final static Map<ResourceType, Map<String, Integer>> sRevRMap =
104 new EnumMap<ResourceType, Map<String,Integer>>(ResourceType.class);
264 ResourceType resType = ResourceType.getEnum(resTypeName);
269 fullMap = sRevRMap.get(ResourceType.ATTR);
335 sRevRMap.put(ResourceType.ATTR, revRAttrMap);
338 sRevRMap.put(ResourceType.STYLEABLE, revRStyleableMap);
391 sRMap.put(attrValue, Pair.of(ResourceType.ATTR, attrName));
394 sRMap.put(index, Pair.of(ResourceType.STYLEABLE, name));
582 public static Pair<ResourceType, String> resolveResourceId(int value) {
583 Pair<ResourceType, String> pair = sRMap.get(value);
612 public static Integer getResourceId(ResourceType type, String name) {