Searched defs:file (Results 1 - 25 of 74) sorted by relevance

123

/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/build/
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 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 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...]
H A DAaptQuickFix.java5 * you may not use this file except in compliance with the License.
158 // We have to find the corresponding project/file (so we can look up the aapt
163 // However, the IQuickAssistProcessor will only be used interactively by a file
165 // look up the currently active file in the IDE. To be on the safe side,
167 // we are indeed looking at the right file:
171 IFile file = editor.getInputFile();
172 if (file == null) {
177 file, document, invocationContext.getOffset());
218 public CreateNamespaceFix(IFile file) { argument
219 mFile = file;
236 perform(IFile file) argument
[all...]
/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/hierarchyviewer/src/com/android/hierarchyviewer/scene/
H A DCaptureLoader.java5 * you may not use this file except in compliance with the License.
41 public static boolean saveLayers(IDevice device, Window window, File file) { argument
67 psd.write(new FileOutputStream(file));
/sdk/monitor/
H A DAndroid.mk26 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.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
H A DFileStorage.java5 * you may not use this file except in compliance with the License.
33 * Implementation of storage for a local file
42 * The file this storage refers to.
47 * Constructs and returns storage for the given file.
49 * @param file a local file
51 public FileStorage(File file) { argument
52 mFile = file;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
H A DLintDeltaProcessor.java5 * you may not use this file except in compliance with the License.
42 * Delta processor for Java files, which runs single-file lints if it finds that
43 * the currently active file has been updated.
50 // Get the active editor file, if any
92 * Process edits in the given file: update lint on the Java source provided
93 * it's the active file.
95 * @param file the file that was changed
97 public void process(@NonNull IFile file) { argument
102 if (file
[all...]
H A DLintListDialog.java5 * you may not use this file except in compliance with the License.
70 @NonNull IFile file,
73 mFile = file;
68 LintListDialog( @onNull Shell parentShell, @NonNull IFile file, @Nullable IEditorPart editor) argument
/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/layout/
H A DContextPullParser.java5 * you may not use this file except in compliance with the License.
69 * @param file the file to be parsed
71 public ContextPullParser(IProjectCallback projectCallback, File file) { argument
74 mFile = file;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
H A DExportHelper.java5 * you may not use this file except in compliance with the License.
85 * @param outputFile the file to write
152 // tmp file for the packaged resource file. To not disturb the incremental builders
177 // tmp file for the packaged resource file.
188 // Be tolerant with respect to file and path separators just like
189 // Ant is. Allow "/" in the property file to mean whatever the file
216 "Invalid proguard configuration file pat
408 addFileToJar(JarOutputStream jar, File file, File rootDirectory) argument
[all...]
H A DXmlErrorHandler.java5 * you may not use this file except in compliance with the License.
37 /** file being parsed */
62 public XmlErrorHandler(IJavaProject javaProject, IFile file, XmlErrorListener errorListener) { argument
64 mFile = file;
68 public XmlErrorHandler(IFile file, XmlErrorListener errorListener) { argument
69 this(null, file, errorListener);
140 * Errors are put as {@link IMarker} on the manifest file.
160 // mark the file
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
H A DRenameResourceXmlTextAction.java5 * you may not use this file except in compliance with the License.
93 IFile file = getFile();
94 if (file == null) {
97 IProject project = file.getProject();
126 String className = findClassName(document, file, selection.getOffset());
276 * @param file the file, if known
283 @Nullable IFile file,
328 if (file != null && file
281 findClassName( @onNull IDocument document, @Nullable IFile file, int offset) argument
[all...]
H A DAndroidPackageRenameParticipant.java5 * you may not use this file except in compliance with the License.
92 * The class updates android manifest and the layout file
236 // checked and the file patterns mention XML. [c.f. SDK bug 21589]
370 IFile file = (IFile) member;
374 addXmlFileChanges(file, result, false);
384 private boolean addXmlFileChanges(IFile file, CompositeChange changes, boolean isManifest) { argument
388 model = modelManager.getExistingModelForRead(file);
390 model = modelManager.getModelForRead(file);
407 TextFileChange change = new TextFileChange(file.getName(), file);
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
H A DExportStatus.java5 * you may not use this file except in compliance with the License.
33 void addFileStatus(@NonNull FileStatus status, @NonNull File file) { argument
34 mFileStatus.put(status, file);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
H A DNewTemplateWizardState.java5 * you may not use this file except in compliance with the License.
112 void setTemplateLocation(File file) { argument
113 if (!file.equals(mTemplateLocation)) {
114 mTemplateLocation = file;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/
H A DIFileWrapper.java5 * you may not use this file except in compliance with the License.
42 public IFileWrapper(IFile file) { argument
43 mFile = file;
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
H A DAndroidXmlCharacterMatcherTest.java5 * you may not use this file except in compliance with the License.
105 private void checkGotoMatching(IFile file, String caretBefore, argument
109 IEditorPart editor = IDE.openEditor(page, file);
/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/editors/layout/refactoring/
H A DUnwrapRefactoring.java5 * you may not use this file except in compliance with the License.
69 IFile file,
73 super(file, delegate, selection, treeSelection);
175 // (4) Check for Java R.file usages?
177 IFile file = mDelegate.getEditor().getInputFile();
179 if (file == null) {
222 TextFileChange change = new TextFileChange(file.getName(), file);
68 UnwrapRefactoring( IFile file, LayoutEditorDelegate delegate, ITextSelection selection, ITreeSelection treeSelection) argument
H A DUseCompoundDrawableRefactoring.java5 * you may not use this file except in compliance with the License.
90 * @param file the file to refactor in
95 public UseCompoundDrawableRefactoring(IFile file, LayoutEditorDelegate editor, argument
97 super(file, editor, selection, treeSelection);
205 IFile file = mDelegate.getEditor().getInputFile();
207 if (file == null) {
210 TextFileChange change = new TextFileChange(file.getName(), file);

Completed in 1467 milliseconds

123