Home
last modified time | relevance | path

Searched refs:projectResources (Results 1 – 8 of 8) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/
DAttributeInfoTest.java234 TestResourceRepository projectResources = new TestResourceRepository(folder,false); in testResourcesExist() local
235 projectResources.addResource(ResourceType.STRING, "mystring"); in testResourcesExist()
236 projectResources.addResource(ResourceType.DIMEN, "mydimen"); in testResourcesExist()
245 assertTrue(info.isValid("@string/mystring", projectResources, frameworkResources)); in testResourcesExist()
246 assertTrue(info.isValid("@dimen/mydimen", projectResources, frameworkResources)); in testResourcesExist()
247 assertTrue(info.isValid("@android:layout/mylayout", projectResources, frameworkResources)); in testResourcesExist()
249 assertFalse(info.isValid("@android:string/mystring", projectResources, in testResourcesExist()
251 assertFalse(info.isValid("@android:dimen/mydimen", projectResources, frameworkResources)); in testResourcesExist()
252 assertFalse(info.isValid("@layout/mylayout", projectResources, frameworkResources)); in testResourcesExist()
253 assertFalse(info.isValid("@layout/foo", projectResources, frameworkResources)); in testResourcesExist()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttributeInfo.java205 @Nullable ResourceRepository projectResources, in isValid() argument
246 } else if (projectResources != null) { in isValid()
247 return projectResources.hasResourceItem(value); in isValid()
272 if (projectResources != null) { in isValid()
273 return projectResources.hasResourceItem(ResourceType.ATTR, in isValid()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DCompiledResourcesMonitor.java208 ProjectResources projectResources = ResourceManager.getInstance().getProjectResources( in loadAndParseRClass() local
211 if (projectResources != null) { in loadAndParseRClass()
232 projectResources.setCompiledResources(genericValueToNameMap, in loadAndParseRClass()
DResourceManager.java510 ProjectResources projectResources = mMap.get(project); in createProject() local
511 if (projectResources == null) { in createProject()
512 projectResources = ProjectResources.create(project); in createProject()
513 mMap.put(project, projectResources); in createProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceNameValidator.java231 ProjectResources projectResources = manager.getProjectResources(project); in create() local
232 Collection<ResourceItem> items = projectResources.getResourceItemsOfType(type); in create()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourceChooser.java152 @NonNull List<ResourceRepository> projectResources, in ResourceChooser() argument
159 mProjectResources = projectResources; in ResourceChooser()
221 List<ResourceRepository> projectResources = new ArrayList<ResourceRepository>(); in create() local
223 projectResources.add(resources); in create()
231 projectResources.add(manager.getProjectResources(library)); in create()
238 return new ResourceChooser(project, type, projectResources, frameworkResources, parent); in create()
DReferenceChooserDialog.java82 public ReferenceChooserDialog(IProject project, ResourceRepository projectResources, in ReferenceChooserDialog() argument
86 mProjectResources = projectResources; in ReferenceChooserDialog()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DPreCompilerBuilder.java348 ProjectResources projectResources = resManager.getProjectResources(project); in build() local
350 IdeScanningContext context = new IdeScanningContext(projectResources, in build()
353 boolean wasCleared = projectResources.ensureInitialized(); in build()