/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
D | ResourceNameValidator.java | 19 import static com.android.SdkConstants.DOT_XML; 108 if (mAllowXmlExtension && newText.endsWith(DOT_XML)) { in isValid() 109 newText = newText.substring(0, newText.length() - DOT_XML.length()); in isValid() 121 if (newText.indexOf('.') != -1 && !newText.endsWith(DOT_XML)) { in isValid()
|
D | ResourceHelper.java | 25 import static com.android.SdkConstants.DOT_XML; 592 if (file.exists() && file.getName().endsWith(DOT_XML)) { in resolveColor()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ExtractIncludeRefactoringTest.java | 18 import static com.android.SdkConstants.DOT_XML; 154 IPath newPath = sourcePath.removeLastSegments(1).append(layoutName + DOT_XML); in checkRefactoring() 155 fileToGolden.put(newPath, layoutName + DOT_XML); in checkRefactoring()
|
D | RefactoringTest.java | 19 import static com.android.SdkConstants.DOT_XML; 178 if (goldenName.endsWith(DOT_XML)) { in checkEdits() 180 goldenName.length() - DOT_XML.length()) in checkEdits()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | AddSuppressAttribute.java | 20 import static com.android.SdkConstants.DOT_XML; 115 if (!fileName.endsWith(DOT_XML)) { in createFix() 164 if (!fileName.endsWith(DOT_XML)) { in createFixForAll()
|
D | LintJob.java | 20 import static com.android.SdkConstants.DOT_XML; 97 if (SdkUtils.endsWithIgnoreCase(name, DOT_XML)) { in run()
|
D | RunLintAction.java | 19 import static com.android.SdkConstants.DOT_XML; 132 if (file != null && LintUtils.endsWith(file.getName(), DOT_XML)) { in getMenu()
|
D | LintFixGenerator.java | 19 import static com.android.SdkConstants.DOT_XML; 262 boolean isXml = SdkUtils.endsWith(file.getName(), DOT_XML); in addSuppressAnnotation()
|
D | LintViewPart.java | 19 import static com.android.SdkConstants.DOT_XML; 355 if (!LintUtils.endsWith(name, DOT_XML) && !LintUtils.endsWith(name, DOT_JAVA)) { in enableActions()
|
D | EclipseLintClient.java | 19 import static com.android.SdkConstants.DOT_XML; 677 if (SdkUtils.endsWithIgnoreCase(file.getName(), DOT_XML)) { in readFile()
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
D | OverdrawDetector.java | 26 import static com.android.SdkConstants.DOT_XML; 211 if (endsWith(layoutName, DOT_XML)) { in afterCheckProject() 212 layoutName = layoutName.substring(0, layoutName.length() - DOT_XML.length()); in afterCheckProject() 326 if (endsWith(context.file.getName(), DOT_XML)) { in beforeCheckFile() 360 if (endsWith(resource, DOT_XML)) { in getDrawableResource() 361 resource = resource.substring(0, resource.length() - DOT_XML.length()); in getDrawableResource()
|
D | ObsoleteLayoutParamsDetector.java | 56 import static com.android.SdkConstants.DOT_XML; 334 if (layout.endsWith(DOT_XML)) { in afterCheckProject() 335 layout = layout.substring(0, layout.length() - DOT_XML.length()); in afterCheckProject()
|
D | UnusedResourceDetector.java | 25 import static com.android.SdkConstants.DOT_XML; 153 boolean isXmlFile = endsWith(fileName, DOT_XML); in beforeCheckFile() 163 String baseName = fileName.substring(0, fileName.length() - DOT_XML.length()); in beforeCheckFile()
|
D | ApiLookup.java | 19 import static com.android.SdkConstants.DOT_XML; 136 if (LintUtils.endsWith(xmlFileName, DOT_XML)) { in getCacheFileName() 137 xmlFileName = xmlFileName.substring(0, xmlFileName.length() - DOT_XML.length()); in getCacheFileName()
|
D | TypoLookup.java | 19 import static com.android.SdkConstants.DOT_XML; 158 if (LintUtils.endsWith(name, DOT_XML)) { in get() 159 name = name.substring(0, name.length() - DOT_XML.length()); in get()
|
D | DuplicateIdDetector.java | 22 import static com.android.SdkConstants.DOT_XML; 415 File candidate = new File(folder, name + DOT_XML); in IncludeGraph()
|
D | IconDetector.java | 26 import static com.android.SdkConstants.DOT_XML; 338 endsWith(name, DOT_XML); in isDrawableFile() 947 if (name.endsWith(DOT_XML)) { in checkDrawableDir()
|
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/ |
D | LintUtils.java | 21 import static com.android.SdkConstants.DOT_XML; 116 return string.regionMatches(true, string.length() - DOT_XML.length(), in isXmlFile() 117 DOT_XML, 0, DOT_XML.length()); in isXmlFile() 446 if (endsWith(file.getName(), DOT_XML)) { in getEncodedString()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | XmlPropertyEditor.java | 23 import static com.android.SdkConstants.DOT_XML; 160 if (value.startsWith("#") || value.endsWith(DOT_XML) //$NON-NLS-1$ in paint() 196 … if (value.endsWith(DOT_XML) && value.contains("res/drawable")) { // TBD: Filesep? in paint()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | TemplateHandler.java | 24 import static com.android.SdkConstants.DOT_XML; 397 if (file.endsWith(DOT_XML)) { in processVariables() 869 if (name.endsWith(DOT_XML)) { in format() 982 if (targetName.endsWith(DOT_XML) in copy()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/ |
D | AttributeInfoTest.java | 19 import static com.android.SdkConstants.DOT_XML; 309 if (isResourceDir && file.isFile() && file.getPath().endsWith(DOT_XML)) { in checkDir()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ExtractIncludeRefactoring.java | 24 import static com.android.SdkConstants.DOT_XML; 238 String newFileName = mLayoutName + DOT_XML; in computeChanges()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
D | NewXmlFileWizard.java | 392 fileName = fileName + SdkConstants.DOT_XML; in getFileName()
|
D | NewXmlFileCreationPage.java | 19 import static com.android.SdkConstants.DOT_XML; 652 if (SdkUtils.endsWithIgnoreCase(res.getName(), DOT_XML)) { in initializeFromSelection()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
D | Sdk.java | 19 import static com.android.SdkConstants.DOT_XML; 1337 resource.getName().endsWith(DOT_XML)) { in fixEditorAssociations()
|