Lines Matching refs:ResourceType
27 import com.android.resources.ResourceType;
86 List<ResourceType> types = FolderTypeRelationship.getRelatedResourceTypes(mType);
90 } else if (types.contains(ResourceType.LAYOUT)) {
91 resFile = new IdGeneratingResourceFile(file, this, ResourceType.LAYOUT);
92 } else if (types.contains(ResourceType.MENU)) {
93 resFile = new IdGeneratingResourceFile(file, this, ResourceType.MENU);
162 * Returns the list of {@link ResourceType}s generated by the files inside this folder.
164 public Collection<ResourceType> getResourceTypes() {
165 ArrayList<ResourceType> list = new ArrayList<ResourceType>();
169 Collection<ResourceType> types = file.getResourceTypes();
173 for (ResourceType resType : types) {
230 * @param type The {@link ResourceType} being looked up.
232 public boolean hasResources(ResourceType type) {