Home
last modified time | relevance | path

Searched refs:DOT_XML (Results 1 – 25 of 28) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceNameValidator.java19 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()
DResourceHelper.java25 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/
DExtractIncludeRefactoringTest.java18 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()
DRefactoringTest.java19 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/
DAddSuppressAttribute.java20 import static com.android.SdkConstants.DOT_XML;
115 if (!fileName.endsWith(DOT_XML)) { in createFix()
164 if (!fileName.endsWith(DOT_XML)) { in createFixForAll()
DLintJob.java20 import static com.android.SdkConstants.DOT_XML;
97 if (SdkUtils.endsWithIgnoreCase(name, DOT_XML)) { in run()
DRunLintAction.java19 import static com.android.SdkConstants.DOT_XML;
132 if (file != null && LintUtils.endsWith(file.getName(), DOT_XML)) { in getMenu()
DLintFixGenerator.java19 import static com.android.SdkConstants.DOT_XML;
262 boolean isXml = SdkUtils.endsWith(file.getName(), DOT_XML); in addSuppressAnnotation()
DLintViewPart.java19 import static com.android.SdkConstants.DOT_XML;
355 if (!LintUtils.endsWith(name, DOT_XML) && !LintUtils.endsWith(name, DOT_JAVA)) { in enableActions()
DEclipseLintClient.java19 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/
DOverdrawDetector.java26 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()
DObsoleteLayoutParamsDetector.java56 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()
DUnusedResourceDetector.java25 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()
DApiLookup.java19 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()
DTypoLookup.java19 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()
DDuplicateIdDetector.java22 import static com.android.SdkConstants.DOT_XML;
415 File candidate = new File(folder, name + DOT_XML); in IncludeGraph()
DIconDetector.java26 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/
DLintUtils.java21 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/
DXmlPropertyEditor.java23 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/
DTemplateHandler.java24 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/
DAttributeInfoTest.java19 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/
DExtractIncludeRefactoring.java24 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/
DNewXmlFileWizard.java392 fileName = fileName + SdkConstants.DOT_XML; in getFileName()
DNewXmlFileCreationPage.java19 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/
DSdk.java19 import static com.android.SdkConstants.DOT_XML;
1337 resource.getName().endsWith(DOT_XML)) { in fixEditorAssociations()

12