Home
last modified time | relevance | path

Searched refs:fileName (Results 1 – 25 of 33) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DNinePatchedImageTest.java37 String fileName = DIR + "no-patched.png"; in testReadNoPatchedImage() local
39 .getResourceAsStream(fileName), fileName); in testReadNoPatchedImage()
53 String fileName = DIR + "no-patched-interlace.png"; in testReadNoPatchedInteraceImage() local
55 .getResourceAsStream(fileName), fileName); in testReadNoPatchedInteraceImage()
69 String fileName = DIR + "no-patched.png"; in testConvert9PatchedImage() local
71 .getResourceAsStream(fileName), fileName); in testConvert9PatchedImage()
116 String fileName = DIR + "invalid-patched1.9.png"; in testReadInvalidPatchedImageCorners() local
118 .getResourceAsStream(fileName), fileName); in testReadInvalidPatchedImageCorners()
124 fileName = DIR + "invalid-patched2.9.png"; in testReadInvalidPatchedImageCorners()
126 .getResourceAsStream(fileName), fileName); in testReadInvalidPatchedImageCorners()
[all …]
DGraphicsUtilitiesTest.java38 String fileName = DIR + "no-patched.png"; in testConvertToNinePatch() local
40 getClass().getResourceAsStream(fileName)); in testConvertToNinePatch()
78 String fileName = DIR + "no-patched.png"; in testClearImageData() local
80 getClass().getResourceAsStream(fileName)); in testClearImageData()
99 String fileName = DIR + "no-patched.png"; in testCopy() local
101 getClass().getResourceAsStream(fileName)); in testCopy()
133 String fileName = DIR + "no-patched.png"; in testGetVerticalPixelsIllegalArgument() local
135 getClass().getResourceAsStream(fileName)); in testGetVerticalPixelsIllegalArgument()
207 String fileName = DIR + "no-patched.png"; in testGetVerticalPixels() local
209 getClass().getResourceAsStream(fileName)); in testGetVerticalPixels()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DSourceRevealer.java105 public boolean revealMethod(String fqmn, String fileName, int lineNumber, String perspective) { in revealMethod() argument
109 if (fileName != null && lineNumber >= 0) { in revealMethod()
110 fileMatches = searchForFile(fileName); in revealMethod()
112 return revealLineMatch(fileMatches, fileName, lineNumber, perspective); in revealMethod()
126 return revealLineMatch(filteredMatches, fileName, lineNumber, perspective); in revealMethod()
128 } else if (fileName != null && lineNumber > 0) { in revealMethod()
177 return revealLineMatch(fileMatches, fileName, lineNumber, perspective); in revealMethod()
207 if (fileName != null) { in revealMethod()
209 filterMatchByFileName(methodMatches, fileName), in revealMethod()
210 fileName, lineNumber, perspective); in revealMethod()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
DAndroidPreferencePage.java126 String fileName = getTextControl().getText(); in doCheckState() local
127 fileName = fileName.trim(); in doCheckState()
129 if (fileName.indexOf(',') >= 0 || fileName.indexOf(';') >= 0) { in doCheckState()
134 File file = new File(fileName); in doCheckState()
141 boolean ok = AdtPlugin.getDefault().checkSdkLocationAndId(fileName, in doCheckState()
DBuildPreferencePage.java281 String fileName = getTextControl().getText(); in checkState() local
282 fileName = fileName.trim(); in checkState()
293 if (fileName.length() > 0) { in checkState()
294 File file = new File(fileName); in checkState()
298 DebugKeyProvider provider = new DebugKeyProvider(fileName, in checkState()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileWizard.java396 String fileName; in getFileName() local
398 fileName = ""; //$NON-NLS-1$ in getFileName()
400 fileName = name.trim(); in getFileName()
401 if (fileName.length() > 0 && fileName.indexOf('.') == -1) { in getFileName()
402 fileName = fileName + SdkConstants.DOT_XML; in getFileName()
406 return fileName; in getFileName()
421 String fileName = getFileName(); in getDestinationFile() local
423 && fileName.length() > 0) { in getDestinationFile()
424 IPath dest = new Path(folderPath).append(fileName); in getDestinationFile()
DNewXmlFileCreationPage.java648 String fileName = null; in initializeFromSelection() local
654 fileName = res.getName(); in initializeFromSelection()
666 fileName = null; in initializeFromSelection()
669 score += fileName != null ? 4 : 0; in initializeFromSelection()
675 targetFileName = fileName; in initializeFromSelection()
1121 String fileName = mValues.getFileName();
1124 error = ResourceNameValidator.create(true, folderType).isValid(fileName);
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DJavaSourceRevealer.java69 public static boolean revealMethod(String fqmn, String fileName, int linenumber, in revealMethod() argument
73 if (revealer.revealMethod(fqmn, fileName, linenumber, perspective)) { in revealMethod()
DISourceRevealer.java42 boolean revealMethod(String fqmn, String fileName, int lineNumber, String perspective); in revealMethod() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DPreCompilerDeltaVisitor.java271 String fileName = resource.getName(); in visit() local
274 if (SdkConstants.FN_RESOURCE_CLASS.equals(fileName) || in visit()
275 SdkConstants.FN_MANIFEST_CLASS.equals(fileName)) { in visit()
296 String msg = String.format(Messages.s_Removed_Recreating_s, fileName); in visit()
301 fileName); in visit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DAddSuppressAttribute.java145 String fileName = marker.getResource().getName(); in createFixes() local
146 if (!fileName.endsWith(DOT_XML)) { in createFixes()
222 String fileName = marker.getResource().getName(); in createFixForAll() local
223 if (!fileName.endsWith(DOT_XML)) { in createFixForAll()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DNinePatchedImage.java41 public static String getNinePatchedFileName(String fileName) { in getNinePatchedFileName() argument
42 if (fileName.endsWith(DOT_9PNG)) { in getNinePatchedFileName()
43 return fileName; in getNinePatchedFileName()
45 return fileName.substring(0, fileName.lastIndexOf(DOT_PNG)) + DOT_9PNG; in getNinePatchedFileName()
129 public NinePatchedImage(String fileName) { in NinePatchedImage() argument
130 boolean hasNinePatchExtension = fileName.endsWith(DOT_9PNG); in NinePatchedImage()
131 ImageData data = new ImageData(fileName); in NinePatchedImage()
136 public NinePatchedImage(InputStream inputStream, String fileName) { in NinePatchedImage() argument
137 boolean hasNinePatchExtension = fileName.endsWith(DOT_9PNG); in NinePatchedImage()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceParticipantTest.java382 String fileName = r.getName(); in renameResource() local
383 int dot = fileName.indexOf('.'); in renameResource()
384 String extension = (dot != -1) ? fileName.substring(dot) : ""; in renameResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/
DMocks.java125 public static IFile createFile(String fileName) { in createFile() argument
127 expect(file.getName()).andReturn(fileName).anyTimes(); in createFile()
128 expect(file.getLocation()).andReturn(new Path(fileName)).anyTimes(); in createFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/
DLogCatView.java111 String fileName = mStackTraceParser.getFileName(msg); in onDoubleClick() local
114 JavaSourceRevealer.revealMethod(methodName, fileName, lineNumber, perspectiveId); in onDoubleClick()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
DKeystoreSelectionPage.java99 String fileName = fileDialog.open(); in createControl()
100 if (fileName != null) { in createControl()
101 mKeystore.setText(fileName); in createControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DLayoutCreatorDialog.java56 public LayoutCreatorDialog(Shell parentShell, String fileName, FolderConfiguration config) { in LayoutCreatorDialog() argument
59 mFileName = fileName; in LayoutCreatorDialog()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceParticipant.java449 String fileName = member.getName(); in addResourceFileChanges() local
451 if (SdkUtils.endsWith(fileName, DOT_XML)) { in addResourceFileChanges()
456 && fileName.startsWith(mOldName) in addResourceFileChanges()
457 && fileName.length() > mOldName.length() in addResourceFileChanges()
458 && fileName.charAt(mOldName.length()) == '.' in addResourceFileChanges()
462 String newFile = mNewName + fileName.substring(mOldName.length()); in addResourceFileChanges()
DAndroidTypeMoveParticipant.java211 String fileName = member.getName(); in addLayoutFileChanges() local
213 if (SdkUtils.endsWith(fileName, DOT_XML)) { in addLayoutFileChanges()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/
DDraw9PatchEditor.java226 private static boolean showConvertMessageBox(String fileName) { in showConvertMessageBox() argument
231 + "Do you want to convert?", fileName)); in showConvertMessageBox()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandler.java758 String fileName = to.getName(); in merge() local
759 if (fileName.equals(SdkConstants.FN_ANDROID_MANIFEST_XML)) { in merge()
796 TextFileChange change = new TextFileChange("Merge " + fileName, to); in merge()
1031 String fileName = targetFile.getName(); in createNewFileChange() local
1034 message = String.format("Replace %1$s", fileName); in createNewFileChange()
1036 message = String.format("Create %1$s", fileName); in createNewFileChange()
1062 change.setTextType(fileName.substring(fileName.lastIndexOf('.') + 1)); in createNewFileChange()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DAndroidLaunchController.java992 String fileName = path.lastSegment(); in doSyncApp() local
995 fileName, device.getSerialNumber()); in doSyncApp()
1010 String msg = String.format("Failed to install %1$s on device '%2$s': %3$s", fileName, in doSyncApp()
1014 String msg = String.format("Failed to install %1$s on device '%2$s': timeout", fileName, in doSyncApp()
1020 fileName, device.getSerialNumber(), e.getMessage()); in doSyncApp()
1025 String.format("Install of %1$s canceled", fileName)); in doSyncApp()
1028 fileName, device.getSerialNumber(), e.getMessage()); in doSyncApp()
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
DSourceRevealer.java117 public boolean revealMethod(String fqmn, String fileName, int lineNumber, String perspective) { in revealMethod() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DExportHelper.java359 String fileName = project.getName() + SdkConstants.DOT_ANDROID_PACKAGE; in exportUnsignedReleaseApk() local
365 fileDialog.setFileName(fileName); in exportUnsignedReleaseApk()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DBuildHelper.java770 String fileName = getDexFileName(inputFile); in executeDx() local
772 File dexedLib = new File(dexedLibs, fileName); in executeDx()
780 String.format("Pre-Dexing %1$s -> %2$s", input, fileName)); in executeDx()
799 fileName, input)); in executeDx()

12