/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
D | DefaultSourceChangeHandler.java | 49 public boolean handleGeneratedFile(IFile file, int kind) { in handleGeneratedFile() argument 51 IFile sourceFile = mProcessor.isOutput(file); in handleGeneratedFile() 62 public void handleSourceFile(IFile file, int kind) { in handleSourceFile() argument 64 if (mProcessor.getExtensions().contains(file.getFileExtension())) { in handleSourceFile() 66 mRemoved.add(file); in handleSourceFile() 68 mToCompile.add(file); in handleSourceFile() 74 mToCompile.addAll(mProcessor.isDependency(file)); in handleSourceFile() 77 protected void addFileToCompile(IFile file) { in addFileToCompile() argument 78 mToCompile.add(file); in addFileToCompile() 85 protected void addRemovedFile(IFile file) { in addRemovedFile() argument [all …]
|
D | AaptParser.java | 601 private static IRegion findRange(IFile file, int line, String message) { in findRange() argument 613 return findRange(file, line, property, value); in findRange() 616 IRegion region1 = findRange(file, line, property, "\"\""); //$NON-NLS-1$ in findRange() 617 IRegion region2 = findRange(file, line, property, "''"); //$NON-NLS-1$ in findRange() 621 return findRange(file, line, property, null); in findRange() 637 return findRange(file, line, property, null); in findRange() 643 return findRange(file, line, property, null); in findRange() 649 IRegion region = findRange(file, line, '<' + elementName, null); in findRange() 658 return findLineTextRange(file, line); in findRange() 669 private static IRegion findRange(IFile file, int line, String first, in findRange() argument [all …]
|
D | RsSourceChangeHandler.java | 42 public boolean handleGeneratedFile(IFile file, int kind) { in handleGeneratedFile() argument 60 mMustCompile = oldOutputs.contains(file.getLocation().toFile()); in handleGeneratedFile() 65 public void handleSourceFile(IFile file, int kind) { in handleSourceFile() argument 70 String ext = file.getFileExtension(); in handleSourceFile()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ExtractStyleRefactoringTest.java | 136 IFile file = getLayoutFile(getProject(), basename); in checkRefactoring() local 137 TestContext info = setupTestContext(file, basename); in checkRefactoring() 146 IDE.openEditor(page, file); in checkRefactoring() 151 parentStyle, expectedModifiedFileCount, file, refactoring); in checkRefactoring() 160 IFile file = getLayoutFile(getProject(), basename); in checkRefactoringByOffset() local 161 int beginOffset = getCaretOffset(file, beginCaretLocation); in checkRefactoringByOffset() 162 int endOffset = getCaretOffset(file, endCaretLocation); in checkRefactoringByOffset() 164 TestContext info = setupTestContext(file, basename); in checkRefactoringByOffset() 172 IDE.openEditor(page, file); in checkRefactoringByOffset() 175 ExtractStyleRefactoring refactoring = new ExtractStyleRefactoring(file, in checkRefactoringByOffset() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
D | NewXmlFileWizard.java | 145 IFile file = created.getFirst(); in performFinish() 148 IEditorPart editor = AdtPlugin.openFile(file, null, in performFinish() 159 file.getFullPath().toString()); in performFinish() 170 IFile file = mValues.getDestinationFile(); in createXmlFile() local 174 String name = file.getFullPath().toString(); in createXmlFile() 183 file.toString()); in createXmlFile() 189 return createXmlFile(file, xmlns, root, attrs, child, type.getResFolderType()); in createXmlFile() 193 private static Pair<IFile, IRegion> createXmlFile(IFile file, String xmlns, in createXmlFile() argument 195 String name = file.getFullPath().toString(); in createXmlFile() 198 if (file.exists()) { in createXmlFile() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | TemplateTestWizard.java | 58 File file = mSelectionPage.getLocation(); in getNextPage() local 59 if (file != null && file.exists()) { in getNextPage() 62 mValues.setTemplateLocation(file); in getNextPage() 69 mValues.setTemplateLocation(file); in getNextPage()
|
D | TemplateManager.java | 158 for (File file : files) { in getTemplates() 159 if (file.isDirectory()) { // Avoid .DS_Store etc in getTemplates() 160 templates.add(file); in getTemplates() 161 templateNames.put(file.getName(), file); in getTemplates() local 171 for (File file : files) { in getTemplates() 172 if (file.isDirectory()) { in getTemplates() 173 File replaces = templateNames.get(file.getName()); in getTemplates() 175 int compare = compareTemplates(replaces, file); in getTemplates() 179 templates.set(index, file); in getTemplates() 181 templates.add(file); in getTemplates() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidContentAssistTest.java | 830 IFile file = getLayoutFile(getProject(), name); in checkLayoutCompletion() local 831 IDE.setDefaultEditor(file, CommonXmlEditor.ID); in checkLayoutCompletion() 832 checkCompletion(name, file, caretLocation, in checkLayoutCompletion() 837 IFile file = getTestDataFile(getProject(), name, FD_RES + "/" + FD_RES_COLOR + "/" + name); in checkColorCompletion() local 838 IDE.setDefaultEditor(file, CommonXmlEditor.ID); in checkColorCompletion() 839 checkCompletion(name, file, caretLocation, new ColorContentAssist()); in checkColorCompletion() 843 IFile file = getTestDataFile(getProject(), name, FD_RES + "/" + FD_RES_ANIM + "/" + name); in checkAnimCompletion() local 844 IDE.setDefaultEditor(file, CommonXmlEditor.ID); in checkAnimCompletion() 845 checkCompletion(name, file, caretLocation, new AnimationContentAssist()); in checkAnimCompletion() 849 IFile file = getTestDataFile(getProject(), name, FD_RES + "/" + FD_RES_ANIMATOR + "/" in checkAnimatorCompletion() local [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | RenderPreviewList.java | 89 File file = getManualFile(); in load() local 90 if (file.exists()) { in load() 91 load(file, deviceList); in load() 98 File file = getManualFile(); in save() local 99 save(file); in save() 103 private void save(File file) throws IOException { in save() argument 111 Files.write(xml, file, Charsets.UTF_8); in save() 115 void load(File file, List<Device> deviceList) throws IOException { in load() argument 118 String xml = Files.toString(file, Charsets.UTF_8); in load() 216 File file = getManualFile(); in deleteFile() local [all …]
|
/sdk/monitor/ |
D | build.gradle | 77 from zipTree(file(basePath + 'monitorproduct-linux.gtk.x86_64.zip')) 78 into file(basePath + 'lin64/') 85 from zipTree(file(basePath + 'monitorproduct-linux.gtk.x86.zip')) 86 into file(basePath + 'lin/') 93 from zipTree(file(basePath + 'monitorproduct-macosx.cocoa.x86_64.zip')) 94 into file(basePath + 'mac64/') 101 from zipTree(file(basePath + 'monitorproduct-win32.win32.x86_64.zip')) 102 into file(basePath + 'win64/') 109 from zipTree(file(basePath + 'monitorproduct-win32.win32.x86.zip')) 110 into file(basePath + 'win/')
|
D | Android.mk | 26 define mk-rcp-monitor-atree-file 60 $(call mk-rcp-monitor-atree-file,linux.gtk,x86) ; \ 61 $(call mk-rcp-monitor-atree-file,linux.gtk,x86_64) ; \ 63 $(call mk-rcp-monitor-atree-file,macosx.cocoa,x86_64) ; \ 65 $(call mk-rcp-monitor-atree-file,win32.win32,x86) ; \ 66 $(call mk-rcp-monitor-atree-file,win32.win32,x86_64) ; \
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | TraceFileReader.java | 42 public GLMessage getMessageAtOffset(RandomAccessFile file, long offset) throws IOException { in getMessageAtOffset() argument 47 file.seek(offset); in getMessageAtOffset() 50 len = file.readInt(); in getMessageAtOffset() 59 file.readFully(b); in getMessageAtOffset()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/ |
D | AaptParserTest.java | 159 IFile file = getTestDataFile(project, name, destPath); in checkRanges() local 163 String fileRelativePath = file.getProjectRelativePath().toPortableString(); in checkRanges() 171 IMarker[] markers = file.findMarkers(AdtConstants.MARKER_AAPT_COMPILE, true, in checkRanges() 178 markers = file.findMarkers(AdtConstants.MARKER_AAPT_COMPILE, true, in checkRanges() 183 String fileContents = AdtPlugin.readFile(file); in checkRanges() 184 int rangeBegin = getCaretOffset(file, expectCaretBegin); in checkRanges() 185 int rangeEnd = getCaretOffset(file, expectCaretEnd); in checkRanges()
|
/sdk/bash_completion/ |
D | adb.bash | 267 local serial i cur file 290 file="${COMP_WORDS[COMP_CWORD]}" 291 if [[ ${file} == "" ]]; then 292 file="/" 298 _adb_util_list_files $serial "$file" 301 _adb_util_list_files $serial "$file" 314 file="$2" 321 command adb ${args[@]} shell ls -dF ${file}"*" '2>' /dev/null 2> /dev/null | tr -d '\r' | { 344 local file xspec i j IFS=$'\n' 347 file=$1
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/ |
D | Mocks.java | 126 IFile file = createNiceMock(IFile.class); in createFile() local 127 expect(file.getName()).andReturn(fileName).anyTimes(); in createFile() 128 expect(file.getLocation()).andReturn(new Path(fileName)).anyTimes(); in createFile() 129 replay(file); in createFile() 130 return file; in createFile() 143 IFolder file = createNiceMock(IFolder.class); in createFolder() local 144 expect(file.getName()).andReturn(name).anyTimes(); in createFolder() 146 expect(file.members()).andReturn(members).anyTimes(); in createFolder() 147 replay(file); in createFolder() 148 return file; in createFolder()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/ |
D | WelcomeWizardPage.java | 171 String file = dialog.open(); in widgetSelected() local 177 if (file != null) { in widgetSelected() 178 mExistingDirText.setText(file); in widgetSelected() 186 String file = dialog.open(); in widgetSelected() local 187 if (file != null) { in widgetSelected() 188 mNewDirText.setText(file); in widgetSelected() 225 File file = new File(path); in validatePage() local 226 if (file.exists()) { in validatePage() 227 if (file.isDirectory()) { in validatePage() 228 if (!file.canWrite()) { in validatePage() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/i18n/ |
D | messages.properties | 5 # you may not use this file except in compliance with the License. 28 DeviceView_Dump_HPROF_File=Dump HPROF file 29 DeviceView_Dump_HPROF_File_Not_Supported_By_VM=Dump HPROF file (not supported by this VM) 30 DeviceView_Dump_HPROF_File_Tooltip=Dump HPROF file 31 DeviceView_Failed_To_Save_HPROF_Data=Failed to save hprof data into temp file%1$s 38 DeviceView_Save_HPROF_File=Save HPROF file 50 DeviceView_Unable_Create_HPROF_For_Application=Unable to create HPROF file for application '%1$s'.\… 51 DeviceView_Unable_Download_HPROF_From_Device_One_Param_First_Message=Unable to download HPROF file … 52 DeviceView_Unable_Download_HPROF_From_Device_One_Param_Second_Message=Unable to download HPROF file… 53 DeviceView_Unable_Download_HPROF_From_Device_Two_Param=Unable to download HPROF file from device '%… [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | LayoutEditorMatchingStrategy.java | 44 IFile file = fileInput.getFile(); in matches() local 46 ResourceFolder resFolder = manager.getResourceFolder(file); in matches() 51 if (!file.getName().equals(editorRef.getName()) || in matches() 71 return editorFile.getProject().equals(file.getProject()) in matches() 72 && editorFile.getName().equals(file.getName()); in matches()
|
D | LayoutReloadMonitor.java | 177 public void fileChanged(@NonNull IFile file, @NonNull IMarkerDelta[] markerDeltas, 182 && SdkConstants.FN_ANDROID_MANIFEST_XML.equals(file.getName()))) { 187 IProject project = file.getProject(); 192 processFileChanged(file, project, extension); 203 processFileChanged(file, p, extension); 217 private void processFileChanged(IFile file, IProject project, String extension) { 227 if (file.getName().matches("R[\\$\\.](.*)")) { 244 } else if (SdkConstants.FN_ANDROID_MANIFEST_XML.equals(file.getName()) && 245 file.getParent().equals(project)) { 352 public void fileChanged(IProject project, ResourceFile file, int eventType) { [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
D | CyclicDependencyValidator.java | 54 public static IInputValidator create(@Nullable IFile file) { in create() argument 55 if (file == null) { in create() 59 IProject project = file.getProject(); in create() 62 includeFinder.getInvalidIncludes(file); in create()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
D | AdtUtils.java | 378 public static Collection<IEditorPart> findEditorsFor(@NonNull IFile file, boolean restore) { in findEditorsFor() argument 379 FileEditorInput input = new FileEditorInput(file); in findEditorsFor() 491 public static IFile fileToIFile(File file) { in fileToIFile() argument 492 if (!file.isAbsolute()) { in fileToIFile() 493 file = file.getAbsoluteFile(); in fileToIFile() 497 IFile[] files = workspace.findFilesForLocationURI(file.toURI()); in fileToIFile() 502 IPath filePath = new Path(file.getPath()); in fileToIFile() 512 public static IResource fileToResource(File file) { in fileToResource() argument 513 if (!file.isAbsolute()) { in fileToResource() 514 file = file.getAbsoluteFile(); in fileToResource() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | EclipseLintClient.java | 213 IFile file = AdtUtils.fileToIFile(context.file); in getXmlParser() 214 if (file == null || !file.exists()) { in getXmlParser() 215 String path = context.file.getPath(); in getXmlParser() 228 model = modelManager.getModelForRead(file); in getXmlParser() 246 return new LazyLocation(context.file, model.getStructuredDocument(), in getXmlParser() 258 LazyLocation location = new LazyLocation(context.file, in getXmlParser() 264 return Location.create(context.file, startPos, endPos); in getXmlParser() 283 return new LazyLocation(context.file, model.getStructuredDocument(), in getXmlParser() 290 assert model != null : context.file; in getXmlParser() 398 IFile file = AdtUtils.fileToIFile(location.getFile()); [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/ |
D | CommonMatchingStrategy.java | 47 IFile file = fileInput.getFile(); in matches() local 48 if (file.getParent().getName().startsWith(FD_RES_LAYOUT)) { in matches() 49 ResourceFolder resFolder = ResourceManager.getInstance().getResourceFolder(file); in matches() 59 if (!(editorRef.getName().endsWith(file.getName()) && in matches() 69 if (!(file.getName().equals(editorRef.getName()) && in matches()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | Hyperlinks.java | 584 IFile file = AdtUtils.pathToIFile(filePath); in openPath() local 585 if (file != null && file.exists()) { in openPath() 587 AdtPlugin.openFile(file, region); in openPath() 737 IFile file = ((FileEditorInput) editorInput).getFile(); in getConfiguration() local 738 project = file.getProject(); in getConfiguration() 740 IContainer parent = file.getParent(); in getConfiguration() 885 IFile file = (IFile) resource; in findIdInFolder() local 887 if (EXT_XML.equals(file.getFileExtension())) { in findIdInFolder() 888 Pair<IFile, IRegion> target = findIdInXml(id, file); in findIdInFolder() 904 ResourceType type, String name, IFile file) { in findValueInXml() argument [all …]
|
/sdk/attribute_stats/src/ |
D | Analyzer.java | 114 File file = new File(args[i]); in main() local 115 if (!file.exists()) { in main() 116 System.err.println(file.getName() + " does not exist"); in main() 119 if (!file.isFile() || !file.getName().endsWith(".xml")) { in main() 120 System.err.println(file.getName() + " must be an XML file"); in main() 123 metadataFile = file; in main() 165 for (File file : files) { in scanDirectory() 171 if (file.isFile()) { in scanDirectory() 172 scanFile(file); in scanDirectory() 173 } else if (file.isDirectory()) { in scanDirectory() [all …]
|