Searched refs:file (Results 1 - 25 of 196) sorted by relevance

12345678

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
H A DDefaultSourceChangeHandler.java5 * you may not use this file except in compliance with the License.
49 public boolean handleGeneratedFile(IFile file, int kind) { argument
51 IFile sourceFile = mProcessor.isOutput(file);
62 public void handleSourceFile(IFile file, int kind) { argument
63 // first the file itself if this is a match for the processor's extension
64 if (mProcessor.getExtensions().contains(file.getFileExtension())) {
66 mRemoved.add(file);
68 mToCompile.add(file);
73 // added/changed/removed file.
74 mToCompile.addAll(mProcessor.isDependency(file));
77 addFileToCompile(IFile file) argument
85 addRemovedFile(IFile file) argument
[all...]
H A DSourceChangeHandler.java5 * you may not use this file except in compliance with the License.
23 boolean handleGeneratedFile(IFile file, int kind); argument
24 void handleSourceFile(IFile file, int kind); argument
H A DRsSourceChangeHandler.java5 * you may not use this file except in compliance with the License.
42 public boolean handleGeneratedFile(IFile file, int kind) { argument
60 mMustCompile = oldOutputs.contains(file.getLocation().toFile());
65 public void handleSourceFile(IFile file, int kind) { argument
70 String ext = file.getFileExtension();
H A DSourceFileData.java5 * you may not use this file except in compliance with the License.
28 * The source file itself is a implied dependency and is not meant to be in the dependency list.
59 * Returns the source file as an {@link IFile}
66 * Returns whether the given file is a dependency for this source file.
67 * <p/>Note that the source file itself is not tested against. Therefore if
68 * {@code file.equals(getSourceFile()} returns {@code true}, this method will return
70 * @param file the file to check against
71 * @return true if the given file i
73 dependsOn(IFile file) argument
82 generated(IFile file) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
H A DTraceFileReader.java5 * you may not use this file except in compliance with the License.
35 * Obtain the next protobuf message in this file.
36 * @param file file to read from
39 * @throws IOException in case of file I/O errors
42 public GLMessage getMessageAtOffset(RandomAccessFile file, long offset) throws IOException { argument
47 file.seek(offset);
50 len = file.readInt();
59 file.readFully(b);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
H A DTemplateTestWizard.java5 * you may not use this file except in compliance with the License.
58 File file = mSelectionPage.getLocation();
59 if (file != null && file.exists()) {
62 mValues.setTemplateLocation(file);
69 mValues.setTemplateLocation(file);
H A DTemplateManager.java5 * you may not use this file except in compliance with the License.
101 * Returns a template file under the given root, if it exists
105 * @return a template file under the given root, if it exists
124 * Returns a template file under one of the available roots, if it exists
127 * @return a template file under one of the available roots, if it exists
158 for (File file : files) {
159 if (file.isDirectory()) { // Avoid .DS_Store etc
160 templates.add(file);
161 templateNames.put(file.getName(), file);
[all...]
H A DCreateFileChange.java5 * you may not use this file except in compliance with the License.
45 /** Change which lazily copies a file */
71 IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(mPath);
72 URI location = file.getLocationURI();
74 result.addFatalError("Unknown location " + file.getFullPath().toString());
86 pm.beginTask("Creating file", 3);
87 IFile file = (IFile) getModifiedResource();
89 IContainer parent = file.getParent();
97 file.create(is, false, new SubProgressMonitor(pm, 1));
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
H A DCyclicDependencyValidator.java5 * you may not use this file except in compliance with the License.
46 * dependencies when offering layouts to be included within a given file, etc.
48 * @param file the target file that candidate layouts should not directly or
54 public static IInputValidator create(@Nullable IFile file) { argument
55 if (file == null) {
59 IProject project = file.getProject();
62 includeFinder.getInvalidIncludes(file);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/
H A DCommonMatchingStrategy.java5 * you may not use this file except in compliance with the License.
47 IFile file = fileInput.getFile();
48 if (file.getParent().getName().startsWith(FD_RES_LAYOUT)) {
49 ResourceFolder resFolder = ResourceManager.getInstance().getResourceFolder(file);
59 if (!(editorRef.getName().endsWith(file.getName()) &&
68 // as those with the wrong extension or wrong file name
69 if (!(file.getName().equals(editorRef.getName()) &&
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
H A DLayoutEditorMatchingStrategy.java5 * you may not use this file except in compliance with the License.
39 // first check that the file being opened is a layout file.
44 IFile file = fileInput.getFile();
46 ResourceFolder resFolder = manager.getResourceFolder(file);
50 // as those with the wrong extension or wrong file name
51 if (!file.getName().equals(editorRef.getName()) ||
57 // file being currently edited by the editor since those are independent of the config.
71 return editorFile.getProject().equals(file.getProject())
72 && editorFile.getName().equals(file
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
H A DExtractStyleRefactoringTest.java5 * you may not use this file except in compliance with the License.
51 // Test extracting into a new style file
77 // -Modify- the existing styles.xml file
136 IFile file = getLayoutFile(getProject(), basename);
137 TestContext info = setupTestContext(file, basename);
141 // Open the file such that ModelManager.getExistingModelForRead() in DomUtilities
146 IDE.openEditor(page, file);
151 parentStyle, expectedModifiedFileCount, file, refactoring);
160 IFile file = getLayoutFile(getProject(), basename);
161 int beginOffset = getCaretOffset(file, beginCaretLocatio
182 checkRefactoring(String basename, String styleFileName, String newStyleName, boolean removeExtracted, boolean applyStyle, String parentStyle, int expectedModifiedFileCount, IFile file, ExtractStyleRefactoring refactoring) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/i18n/
H A Dmessages.properties5 # 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'.\n\n%2$s Check logcat for more information.
51 DeviceView_Unable_Download_HPROF_From_Device_One_Param_First_Message=Unable to download HPROF file from device '%1$s'.
52 DeviceView_Unable_Download_HPROF_From_Device_One_Param_Second_Message=Unable to download HPROF file from device '%1$s'.
53 DeviceView_Unable_Download_HPROF_From_Device_Two_Param=Unable to download HPROF file fro
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DRenderPreviewList.java5 * you may not use this file except in compliance with the License.
43 /** Name of file saved in project directory storing previews */
89 File file = getManualFile();
90 if (file.exists()) {
91 load(file, deviceList);
98 File file = getManualFile();
99 save(file);
103 private void save(File file) throws IOException { argument
111 Files.write(xml, file, Charsets.UTF_8);
115 void load(File file, Lis argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
H A DNewXmlFileWizard.java5 * you may not use this file except in compliance with the License.
65 * the resource folder, resource type and file name. It then creates the XML file.
68 /** The XML header to write at the top of the XML file */
88 mMainPage.setDescription("Creates a new Android XML file.");
140 // Open the file
145 IFile file = created.getFirst();
148 IEditorPart editor = AdtPlugin.openFile(file, null,
159 file.getFullPath().toString());
170 IFile file
193 createXmlFile(IFile file, String xmlns, String root, String rootAttributes, String child, ResourceFolderType folderType) argument
321 createXmlFile(IProject project, IFile file, ResourceFolderType folderType) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
H A DAaptParserTest.java5 * you may not use this file except in compliance with the License.
159 IFile file = getTestDataFile(project, name, destPath);
161 // Make file paths absolute
163 String fileRelativePath = file.getProjectRelativePath().toPortableString();
171 IMarker[] markers = file.findMarkers(AdtConstants.MARKER_AAPT_COMPILE, true,
178 markers = file.findMarkers(AdtConstants.MARKER_AAPT_COMPILE, true,
183 String fileContents = AdtPlugin.readFile(file);
184 int rangeBegin = getCaretOffset(file, expectCaretBegin);
185 int rangeEnd = getCaretOffset(file, expectCaretEnd);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/
H A DWelcomeWizardPage.java5 * you may not use this file except in compliance with the License.
171 String file = dialog.open();
177 if (file != null) {
178 mExistingDirText.setText(file);
186 String file = dialog.open();
187 if (file != null) {
188 mNewDirText.setText(file);
225 File file = new File(path);
226 if (file.exists()) {
227 if (file
[all...]
/sdk/avdlauncher/
H A DAndroid.mk8 # Eventually it should simply replace the batch file.
34 # Link the Windows icon file as well into the executable, based on the technique
44 # seems to be the only way to add an object file that was not generated from
45 # a C/C++/Java source file to our build system. and very unfortunately,
47 # us to put the object file in the source directory...
/sdk/bash_completion/
H A Dadb.bash6 # you may not use this file except in compliance with the License.
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' | {
334 # Since we're probably doing file completio
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/
H A DMocks.java5 * you may not use this file except in compliance with the License.
126 IFile file = createNiceMock(IFile.class);
127 expect(file.getName()).andReturn(fileName).anyTimes();
128 expect(file.getLocation()).andReturn(new Path(fileName)).anyTimes();
129 replay(file);
130 return file;
143 IFolder file = createNiceMock(IFolder.class);
144 expect(file.getName()).andReturn(name).anyTimes();
145 // expect(file.getLocation()).andReturn(new Path(name)).anyTimes();
146 expect(file
[all...]
/sdk/sdklauncher/
H A DAndroid.mk8 # Eventually it should simply replace the batch file.
34 # Link the Windows icon file as well into the executable, based on the technique
44 # seems to be the only way to add an object file that was not generated from
45 # a C/C++/Java source file to our build system. and very unfortunately,
47 # us to put the object file in the source directory...
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
H A DAndroidContentAssistTest.java6 * you may not use this file except in compliance with the License.
830 IFile file = getLayoutFile(getProject(), name);
831 IDE.setDefaultEditor(file, CommonXmlEditor.ID);
832 checkCompletion(name, file, caretLocation,
837 IFile file = getTestDataFile(getProject(), name, FD_RES + "/" + FD_RES_COLOR + "/" + name);
838 IDE.setDefaultEditor(file, CommonXmlEditor.ID);
839 checkCompletion(name, file, caretLocation, new ColorContentAssist());
843 IFile file = getTestDataFile(getProject(), name, FD_RES + "/" + FD_RES_ANIM + "/" + name);
844 IDE.setDefaultEditor(file, CommonXmlEditor.ID);
845 checkCompletion(name, file, caretLocatio
889 complete(IFile file, String caretLocation, AndroidContentAssist assist) argument
923 checkApplyCompletion(String basename, IFile file, String caretLocation, AndroidContentAssist assist, String match) argument
968 checkCompletion(String basename, IFile file, String caretLocation, AndroidContentAssist assist) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/
H A DIFolderWrapper.java5 * you may not use this file except in compliance with the License.
100 for (IResource file : files) {
101 if (name.equals(file.getName())) {
115 IFile file = mFolder.getFile(name);
116 return new IFileWrapper(file);
119 IFile file = mContainer.getFile(new Path(name));
120 return new IFileWrapper(file);
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/
H A DHierarchyViewer.java5 * you may not use this file except in compliance with the License.
82 private static void outputPsd(String deviceName, String file) { argument
90 System.out.println("Capturing layers to " + file);
91 CaptureLoader.saveLayers(device, Window.FOCUSED_WINDOW, new File(file));
126 System.out.println(" --psd [device] <file>\t Export psd and exit");
135 System.out.println("You must specify at least an output file with --psd");
139 String file = null;
144 file = args[++i];
146 outputPsd(device, file);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
H A DBinaryXMLMultiPageEditorPart.java5 * you may not use this file except in compliance with the License.
33 * The XML editor is an editor that open Android xml files from the android.jar file
35 * The editor checks if the file is contained in jar and is so,
37 * corresponding file from Android SDK.
67 File file = new File(filePath.toOSString());
68 if (!(file.isFile())) {
74 new FileStorage(file));

Completed in 2260 milliseconds

12345678