/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
D | NinePatchedImageTest.java | 37 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 …]
|
D | GraphicsUtilitiesTest.java | 38 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/ |
D | SourceRevealer.java | 105 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/ |
D | AndroidPreferencePage.java | 126 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()
|
D | BuildPreferencePage.java | 281 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/ |
D | NewXmlFileWizard.java | 396 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()
|
D | NewXmlFileCreationPage.java | 648 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/ |
D | JavaSourceRevealer.java | 69 public static boolean revealMethod(String fqmn, String fileName, int linenumber, in revealMethod() argument 73 if (revealer.revealMethod(fqmn, fileName, linenumber, perspective)) { in revealMethod()
|
D | ISourceRevealer.java | 42 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/ |
D | PreCompilerDeltaVisitor.java | 271 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/ |
D | AddSuppressAttribute.java | 145 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/ |
D | NinePatchedImage.java | 41 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/ |
D | RenameResourceParticipantTest.java | 382 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/ |
D | Mocks.java | 125 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/ |
D | LogCatView.java | 111 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/ |
D | KeystoreSelectionPage.java | 99 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/ |
D | LayoutCreatorDialog.java | 56 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/ |
D | RenameResourceParticipant.java | 449 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()
|
D | AndroidTypeMoveParticipant.java | 211 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/ |
D | Draw9PatchEditor.java | 226 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/ |
D | TemplateHandler.java | 758 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/ |
D | AndroidLaunchController.java | 992 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/ |
D | SourceRevealer.java | 117 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/ |
D | ExportHelper.java | 359 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/ |
D | BuildHelper.java | 770 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()
|