/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/ |
D | IFileWrapper.java | 40 private final IFile mFile; field in IFileWrapper 43 mFile = file; in IFileWrapper() 49 return mFile.getContents(); in getContents() 52 if (mFile.isSynchronized(IResource.DEPTH_ZERO) == false) { in getContents() 62 mFile.setContents(source, IResource.FORCE, null); in setContents() 92 return mFile.getLocation().toOSString(); 97 return mFile.getName(); 102 return mFile.exists(); 108 mFile.delete(true /*force*/, new NullProgressMonitor()); 119 return mFile; [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/ |
D | FileStorage.java | 44 private File mFile = null; field in FileStorage 52 mFile = file; in FileStorage() 62 stream = new FileInputStream(mFile); in getContents() 65 .getSymbolicName(), IStatus.ERROR, mFile.getAbsolutePath(), e)); in getContents() 75 return new Path(mFile.getAbsolutePath()); in getFullPath() 83 return mFile.getName(); in getName() 108 return mFile.equals(((FileStorage) obj).mFile); in equals() 118 return mFile.hashCode(); in hashCode()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
D | XmlErrorHandler.java | 38 private final IFile mFile; field in XmlErrorHandler 64 mFile = file; in XmlErrorHandler() 99 if (mFile != null) { in warning() 100 BaseProjectHelper.markResource(mFile, in warning() 109 return mFile; in getFile() 128 if (mFile != null) { in handleError() 129 BaseProjectHelper.markResource(mFile, in handleError()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
D | ExtractStringAction.java | 78 private IFile mFile; field in ExtractStringAction 109 mFile = null; in selectionChanged() 115 mFile = getSelectedFile(mEditor); in selectionChanged() 119 action.setEnabled(mSelection != null && mFile != null); in selectionChanged() 127 if (mSelection != null && mFile != null) { in run() 128 ExtractStringRefactoring ref = new ExtractStringRefactoring(mFile, mEditor, mSelection); in run() 129 RefactoringWizard wizard = new ExtractStringWizard(ref, mFile.getProject()); in run()
|
D | ExtractStringRefactoring.java | 167 private final IFile mFile; field in ExtractStringRefactoring 234 mFile = (IFile) ResourcesPlugin.getWorkspace().getRoot().findMember(path); in ExtractStringRefactoring() 241 mFile = null; in ExtractStringRefactoring() 257 args.put(KEY_FILE, mFile.getFullPath().toPortableString()); in createArgumentMap() 278 mFile = file; in ExtractStringRefactoring() 298 mFile = null; in ExtractStringRefactoring() 399 if (!checkSourceFile(mFile, status, monitor)) { in checkInitialConditions() 405 mUnit = JavaCore.createCompilationUnitFrom(mFile); in checkInitialConditions() 428 if (mFile != null && SdkConstants.EXT_XML.equals(mFile.getFileExtension())) { in checkInitialConditions() 439 IPath path = mFile.getFullPath(); in checkInitialConditions() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | TraceFileParserTask.java | 50 private RandomAccessFile mFile; field in TraceFileParserTask 63 mFile = new RandomAccessFile(path, "r"); //$NON-NLS-1$ in TraceFileParserTask() 140 fileLength = mFile.length(); in run() 153 long filePointer = mFile.getFilePointer(); in run() 159 while ((msg = sReader.getMessageAtOffset(mFile, -1)) != null) { in run() 166 filePointer = mFile.getFilePointer(); in run() 213 mFile.close(); in run()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | VisualRefactoringAction.java | 44 protected IFile mFile; field in VisualRefactoringAction 76 mFile = null; in selectionChanged() 83 mFile = getSelectedFile(editor); in selectionChanged() 89 mFile = getSelectedFile(editor); in selectionChanged() 96 && mFile != null && mDelegate != null); in selectionChanged()
|
D | ExtractIncludeAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run() 32 ExtractIncludeRefactoring ref = new ExtractIncludeRefactoring(mFile, mDelegate, in run()
|
D | ChangeLayoutAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run() 32 ChangeLayoutRefactoring ref = new ChangeLayoutRefactoring(mFile, mDelegate, in run()
|
D | UseCompoundDrawableAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run() 33 mFile, mDelegate, mTextSelection, mTreeSelection); in run()
|
D | WrapInAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run() 32 WrapInRefactoring ref = new WrapInRefactoring(mFile, mDelegate, in run()
|
D | ExtractStyleAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run() 32 ExtractStyleRefactoring ref = new ExtractStyleRefactoring(mFile, mDelegate, in run()
|
D | ChangeViewAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run() 32 ChangeViewRefactoring ref = new ChangeViewRefactoring(mFile, mDelegate, in run()
|
D | UnwrapAction.java | 31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run() 32 UnwrapRefactoring ref = new UnwrapRefactoring(mFile, mDelegate, in run()
|
D | VisualRefactoring.java | 113 protected final IFile mFile; field in VisualRefactoring 141 mFile = (IFile) ResourcesPlugin.getWorkspace().getRoot().findMember(path); in VisualRefactoring() 157 mFile = delegate != null ? delegate.getEditor().getInputFile() : null; in VisualRefactoring() 185 mFile = file; in VisualRefactoring() 290 args.put(KEY_FILE, mFile.getFullPath().toPortableString()); in createArgumentMap() 298 return mFile; in getFile()
|
D | ExtractIncludeRefactoring.java | 450 return mFile; in getSourceFile()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
D | AaptQuickFix.java | 216 private IFile mFile; field in AaptQuickFix.CreateNamespaceFix 219 mFile = file; in CreateNamespaceFix() 312 AdtPlugin.openFile(mFile, null); in run() 314 AdtPlugin.log(e, "Can't open file %1$s", mFile.getName()); in run() 317 IndexedRegion indexedRegion = perform(mFile); in run() 322 AdtPlugin.openFile(mFile, region); in run() 324 AdtPlugin.log(e, "Can't open file %1$s", mFile.getName()); in run()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | ContextPullParser.java | 61 private File mFile; field in ContextPullParser 74 mFile = file; in ContextPullParser()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | LintListDialog.java | 58 private final IFile mFile; field in LintListDialog 73 mFile = file; in LintListDialog() 164 mList.setResources(Collections.<IResource>singletonList(mFile)); in createDialogArea() 234 LintFixGenerator.suppressDetector(id, true, mFile, true /*all*/); in widgetSelected()
|
D | EclipseLintClient.java | 1278 private File mFile; 1283 mFile = file; 1290 return Location.create(mFile, null /*contents*/, pos.getStart(), pos.getEnd());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | AdtProjectTest.java | 437 private final IFile mFile; field in AdtProjectTest.TestLayoutEditorDelegate.TestAndroidXmlCommonEditor 445 mFile = file; in TestAndroidXmlCommonEditor() 452 return mFile; in getInputFile() 457 return mFile.getProject(); in getProject() 479 return mm.getModelForRead(mFile); in getModelForRead()
|
D | RefactoringTest.java | 300 testInfo.mFile = file; in setupTestContext() 318 protected IFile mFile; field in RefactoringTest.TestContext
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | ThemeMenuAction.java | 300 private final IFile mFile; field in ThemeMenuAction.OpenThemeAction 304 mFile = file; in OpenThemeAction() 310 IProject project = mFile.getProject(); in run()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
D | AddTranslationDialog.java | 114 private Label mFile; field in AddTranslationDialog 165 mFile = new Label(container, SWT.NONE); in createDialogArea() 166 mFile.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); in createDialogArea() 346 mFile.setText(""); in updateTarget() 353 mFile.setText(String.format("Creating %1$s", mTarget)); in updateTarget()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | Hyperlinks.java | 1561 private final ResourceFile mFile; field in Hyperlinks.ResourceLink 1580 mFile = file; in ResourceLink() 1603 if (mFile == null && mType == ResourceType.ID) { in open() 1622 IAbstractFile wrappedFile = mFile != null ? mFile.getFile() : null; in open() 1664 return mFile; in getFile()
|