/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutMetadata.java | 5 * you may not use this file except in compliance with the License. 188 final IFile file = editor.getInputFile(); local 189 if (file != null) { 190 final List<IFile> variations = AdtUtils.getResourceVariations(file, false); 199 if (variation.equals(file)) { 203 // If the corresponding file is open in the IDE, use the
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ChangeViewRefactoring.java | 5 * you may not use this file except in compliance with the License. 81 IFile file, 85 super(file, delegate, selection, treeSelection); 159 IFile file = mDelegate.getEditor().getInputFile(); local 161 if (file == null) { 164 TextFileChange change = new TextFileChange(file.getName(), file);
|
UseCompoundDrawableRefactoring.java | 5 * 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, 97 super(file, editor, selection, treeSelection); 205 IFile file = mDelegate.getEditor().getInputFile(); local 207 if (file == null) { 210 TextFileChange change = new TextFileChange(file.getName(), file);
|
WrapInRefactoring.java | 5 * you may not use this file except in compliance with the License. 87 IFile file, 91 super(file, delegate, selection, treeSelection); 204 IFile file = mDelegate.getEditor().getInputFile(); local 206 if (file == null) { 209 TextFileChange change = new TextFileChange(file.getName(), file);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
UiPackageAttributeNode.java | 5 * you may not use this file except in compliance with the License. 241 * Utility method that returns the project for the current file being edited. 243 * @return The IProject for the current file being edited or null. 250 // from the file editor we can get the IFile object, and from it, the IProject. 251 IFile file = ((IFileEditorInput)input).getFile(); local 252 return file.getProject();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
AndroidTypeMoveParticipant.java | 5 * you may not use this file except in compliance with the License. 79 * The class updates android manifest and the layout file 210 IFile file = (IFile) member; local 214 addXmlFileChanges(file, result, false); 224 private boolean addXmlFileChanges(IFile file, CompositeChange changes, boolean isManifest) { 228 model = modelManager.getExistingModelForRead(file); 230 model = modelManager.getModelForRead(file); 247 TextFileChange change = new TextFileChange(file.getName(), file);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
KeyCheckPage.java | 5 * you may not use this file except in compliance with the License. 41 import java.io.File; 105 new Label(composite, SWT.NONE).setText("Destination APK file:"); 121 fileDialog.setText("Destination file name"); 210 // the file was removed during the export wizard execution. 300 setErrorMessage("Enter destination for the APK file."); 307 File file = new File(path); local 308 if (file.isDirectory()) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
SdkSelectionPage.java | 5 * you may not use this file except in compliance with the License. 47 import java.io.File; 202 File previouslyChosenSample = mValues.chosenSample; 211 File root = new File(samplesRootPath); 221 Map<File, String> extras = sdkman.getExtraSamples(); 222 for (Entry<File, String> entry : extras.entrySet()) { 223 File path = entry.getKey(); 242 Collections.sort(mValues.samples, new Comparator<Pair<String, File>>() { 244 public int compare(Pair<String, File> o1, Pair<String, File> o2) 255 File file = mValues.samples.get(i).getSecond(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/ |
AaptQuickFixTest.java | 5 * you may not use this file except in compliance with the License. 48 import java.io.File; 61 // Test adding a value into an existing file (res/values/strings.xml) 67 // Test adding a value into a new file (res/values/dimens.xml, will be created) 73 // Test adding a file based resource (uses new file wizard machinery) 79 // Test adding a value into a new file (res/values/dimens.xml, will be created) 86 IFile file = getTestDataFile(project, name, FD_RES + "/" + FD_RES_LAYOUT + "/" + name); local 89 final int offset = getCaretOffset(file, caretLocation); 94 String fileRelativePath = file.getProjectRelativePath().toPortableString() 209 IFile file = getTestDataFile(project, name, FD_RES + "\/" + FD_RES_COLOR + "\/" + name); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
HyperlinksTest.java | 5 * you may not use this file except in compliance with the License. 198 // Test that the correct file is actually opened! 202 IFile file = getTestDataFile(getProject(), basename, targetPath, true); local 205 int offset = getCaretOffset(file, caretLocation); 207 // Open file 210 IEditorPart editor = IDE.openEditor(page, file); 234 // For files in the SDK folder, strip out file prefix 249 // Ensure that this isn't an invalid file (e.g. opening the SDK platform files
|
/system/core/toolbox/ |
getevent.c | 267 FILE *file; local 279 file = fopen(filename, "r"); 280 if (file) { 282 while (fgets(line, sizeof(line), file)) { 286 fclose(file);
|
/system/media/audio_route/ |
audio_route.c | 6 * you may not use this file except in compliance with the License. 651 FILE *file; local 679 file = fopen(xml_path, "r"); 681 if (!file) { 702 bytes_read = fread(buf, 1, BUF_SIZE, file); 722 fclose(file); 728 fclose(file);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/34/1/.cp/ant_tasks/ |
pde-ant.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateHandler.java | 5 * you may not use this file except in compliance with the License. 96 import java.io.File; 140 * from the template.xml file 178 static final String ATTR_FILE = "file"; //$NON-NLS-1$ 204 * identified by {@link #TAG_OPEN} elements in the recipe file 210 private final File mRootPath; 223 /** Agree to all file-overwrites from now on? */ 231 * create emacs-style tilde-file backups (filename.xml~) 243 static TemplateHandler createFromPath(File rootPath) { 254 List<File> templates = manager.getTemplates(category) 1039 IFile file = (IFile) dest; local 1106 File file = new File(path); local [all...] |
/prebuilts/devtools/tools/lib/ |
sdk-common.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar | |
/frameworks/base/core/java/android/app/ |
ContextImpl.java | 5 * you may not use this file except in compliance with the License. 121 import java.io.File; 215 private File mDatabasesDir; 217 private File mPreferencesDir; 219 private File mFilesDir; 221 private File mCacheDir; 224 private File[] mExternalObbDirs; 226 private File[] mExternalFilesDirs; 228 private File[] mExternalCacheDirs; 728 public File getSharedPrefsFile(String name) 1954 File file = makeFilename(getDataDirFile(), name); local [all...] |
/art/compiler/dex/ |
mir_graph.cc | 5 * you may not use this file except in compliance with the License. 711 FILE* file; local 716 file = fopen(fname.c_str(), "w"); 717 if (file == NULL) { 720 fprintf(file, "digraph G {\n"); 722 fprintf(file, " rankdir=TB\n"); 733 fprintf(file, " entry_%d [shape=Mdiamond];\n", bb->id); 735 fprintf(file, " exit_%d [shape=Mdiamond];\n", bb->id); 737 fprintf(file, " block%04x_%d [shape=record,label = \"{ \\\n" [all...] |
/bootable/recovery/applypatch/ |
applypatch.c | 5 * you may not use this file except in compliance with the License. 33 static int LoadPartitionContents(const char* filename, FileContents* file); 47 // Read a file into memory; optionally (retouch_flag == RETOUCH_DO_MASK) mask 49 // don't fail due to randomization); store the file contents and associated 50 // metadata in *file. 53 int LoadFileContents(const char* filename, FileContents* file, 55 file->data = NULL; 61 return LoadPartitionContents(filename, file); 64 if (stat(filename, &file->st) != 0) { 69 file->size = file->st.st_size 575 FileContents file; local [all...] |
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 5 * you may not use this file except in compliance with the License. 43 import java.io.File; 220 private File buildFile(String name) { 225 File path = Environment.getExternalStoragePublicDirectory( 238 return new File(path, name + "_ori_" + orientation + ".png"); 251 File pic = buildFile(mAppWidgetName); 274 Log.d(LOG_TAG, "Could not close file: " + e); 305 File file = buildFile(mAppWidgetName); local 306 if (file.exists()) [all...] |
/development/samples/Vault/src/com/example/android/vault/ |
VaultProvider.java | 5 * you may not use this file except in compliance with the License. 45 import java.io.File; 122 /** File where wrapped symmetric key is stored. */ 123 private File mKeyFile; 125 private File mDocumentsDir; 134 mKeyFile = new File(getContext().getFilesDir(), "vault.key"); 135 mDocumentsDir = new File(getContext().getFilesDir(), "documents"); 156 for (File f : mDocumentsDir.listFiles()) { 168 private void loadOrGenerateKeys(Context context, File keyFile) 221 final File file = new File(mDocumentsDir, String.valueOf(docId)) local [all...] |
/external/bison/lib/ |
bitset_stats.c | 20 /* This file is a wrapper bitset implementation for the other bitset 105 /* Print a percentage histogram with message MSG to FILE. */ 107 bitset_percent_histogram_print (FILE *file, const char *name, const char *msg, 120 fprintf (file, "%s %s", name, msg); 122 fprintf (file, "%.0f-%.0f%%\t%8u (%5.1f%%)\n", 129 /* Print a log histogram with message MSG to FILE. */ 131 bitset_log_histogram_print (FILE *file, const char *name, const char *msg, 153 fprintf (file, "%s %s", name, msg) 244 FILE *file; local 274 FILE *file; local [all...] |
/external/chromium/base/ |
file_util_proxy.cc | 3 // found in the LICENSE file. 39 // |dest_file_path| exists and is a file. 45 // |src_file_path| exists and is a file. 91 // Called to perform work on the FILE thread. 189 // file from the IO thread using a net::FileStream. 399 // If parent dir of file doesn't exist. 408 // If file exists at the path. 500 base::PlatformFile file, 503 file_(file) { 526 RelayRead(base::PlatformFile file, 685 base::PlatformFile file = local [all...] |
/external/chromium/chrome/browser/download/ |
download_browsertest.cc | 3 // found in the LICENSE file. 215 // the select file dialog comes up. 218 // True if we've seen the select file dialog. 227 // * There have been two round trip messages through the file and 308 BrowserThread::FILE, FROM_HERE, 341 // Collect the information from FILE and IO threads needed for the Cancel 376 BrowserThread::FILE, FROM_HERE, 437 // Location of the file source (the place from which it is downloaded). 438 FilePath OriginFile(FilePath file) { 439 return test_dir_.Append(file); 753 CheckDownload(browser(), file, file); local 774 CheckDownload(browser(), file, file); local 834 CheckDownload(browser(), download_file, file); local 854 CheckDownload(browser(), download_file, file); local 949 CheckDownload(browser(), file, file); local 993 CheckDownload(browser(), file, file); local 1025 CheckDownload(browser(), file, file); local 1067 CheckDownload(browser(), file, file); local 1100 CheckDownload(browser(), file, file); local 1135 CheckDownload(browser(), file, file); local 1204 CheckDownload(browser(), file, file); local 1285 CheckDownload(browser(), file, file); local [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_file_browser_private_api.cc | 3 // found in the LICENSE file. 52 const char kFileError[] = "File error %d"; 53 const char kInvalidFileUrl[] = "Invalid file URL"; 156 // If there is nothing to do for one file, the intersection of tasks for all 162 // For the very first file, just copy elements. 170 // and file specific set. 209 // Update file handler usage stats. 263 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); 264 // Set up file permission access. 288 // Grants file system access permissions to file browser component 479 ExecuteTasksFileBrowserFunction::FileDefinition file; variable [all...] |