/frameworks/base/tools/aapt/ |
CrunchCache.cpp | 39 String8 relativePath; 51 relativePath = String8(rPathPtr + offset); 53 if (forceOverwrite || needsUpdating(relativePath)) { 54 cu->processImage(mSourcePath.appendPathCopy(relativePath), 55 mDestPath.appendPathCopy(relativePath)); 57 // crunchFile(relativePath); 62 mDestFiles.removeItem(mDestPath.appendPathCopy(relativePath)); 96 bool CrunchCache::needsUpdating(String8 relativePath) const 101 time_t sourceDate = mSourceFiles.valueFor(mSourcePath.appendPathCopy(relativePath)); 102 time_t destDate = mDestFiles.valueFor(mDestPath.appendPathCopy(relativePath)); [all...] |
CrunchCache.h | 84 bool needsUpdating(String8 relativePath) const;
|
/external/smali/util/src/test/java/org/jf/util/ |
PathUtilTest.java | 43 File relativePath = new File(roots[1] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt"); 45 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); 47 Assert.assertEquals(path, relativePath.getPath()); 56 File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt"); 58 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); 71 File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); 73 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); 83 File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir"); 85 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); 95 File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar) [all...] |
/external/chromium_org/chrome/renderer/resources/extensions/ |
image_writer_private_custom_bindings.js | 15 var relativePath = $String.slice(fileEntry.fullPath, 1); 16 return [device, fileSystemName, relativePath, callback];
|
developer_private_custom_bindings.js | 17 var relativePath = $String.slice(directoryEntry.fullPath, 1); 19 return [fileSystemName, relativePath, url, callback];
|
file_system_custom_bindings.js | 24 var relativePath = $String.slice(fileEntry.fullPath, 1); 25 return [fileSystemName, relativePath, callback]; 41 var relativePath = $String.slice(fileEntry.fullPath, 1); 43 sendRequest.sendRequest(this.name, [id, fileSystemName, relativePath],
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
ImageUtils.java | 61 public static void requireSimilar(@NonNull String relativePath, @NonNull BufferedImage image) 67 InputStream is = ImageUtils.class.getResourceAsStream(relativePath); 69 String message = "Unable to load golden thumbnail: " + relativePath + "\n"; 70 message = saveImageAndAppendMessage(thumbnail, message, relativePath); 79 assertImageSimilar(relativePath, goldenImage, thumbnail, MAX_PERCENT_DIFFERENCE); 83 public static void assertImageSimilar(String relativePath, BufferedImage goldenImage, 151 String imageName = getName(relativePath); 185 error = saveImageAndAppendMessage(image, error, relativePath); 317 @NonNull String initialMessage, @NonNull String relativePath) throws IOException { 318 File output = new File(getTempDir(), getName(relativePath)); [all...] |
/external/srec/portable/include/ |
PFileSystemImpl.h | 97 * @param relativePath [out] Relative path associated with match. Set to NULL if this value shouldn't be returned. 99 * @return ESR_INVALID_ARGUMENT if path, fileSystem or relativePath is null; ESR_INVALID_STATE if no 102 PORTABLE_API ESR_ReturnCode PFileSystemGetFS(const LCHAR* path, PFileSystem** fileSystem, LCHAR* relativePath);
|
/external/chromium_org/third_party/skia/tools/ |
skdiff_html.cpp | 182 const SkString& relativePath, bool local) { 191 resource.fFullPath.prepend(relativePath); 207 resource.fFullPath.prepend(relativePath); 212 static void print_diff_row(SkFILEWStream* stream, DiffRecord& diff, const SkString& relativePath) { 216 print_diff_resource_cell(stream, diff.fWhite, relativePath, true); 217 print_diff_resource_cell(stream, diff.fDifference, relativePath, true); 218 print_diff_resource_cell(stream, diff.fBase, relativePath, false); 219 print_diff_resource_cell(stream, diff.fComparison, relativePath, false); 256 SkString relativePath; 261 relativePath.append(".." PATH_DIV_STR) [all...] |
/external/skia/tools/ |
skdiff_html.cpp | 182 const SkString& relativePath, bool local) { 191 resource.fFullPath.prepend(relativePath); 207 resource.fFullPath.prepend(relativePath); 212 static void print_diff_row(SkFILEWStream* stream, DiffRecord& diff, const SkString& relativePath) { 216 print_diff_resource_cell(stream, diff.fWhite, relativePath, true); 217 print_diff_resource_cell(stream, diff.fDifference, relativePath, true); 218 print_diff_resource_cell(stream, diff.fBase, relativePath, false); 219 print_diff_resource_cell(stream, diff.fComparison, relativePath, false); 256 SkString relativePath; 261 relativePath.append(".." PATH_DIV_STR) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalAlbum.java | 299 String relativePath = "/"; 301 relativePath += BucketNames.CAMERA; 303 relativePath += BucketNames.DOWNLOAD; 305 relativePath += BucketNames.IMPORTED; 307 relativePath += BucketNames.SCREENSHOTS; 309 relativePath += BucketNames.EDITED_ONLINE_PHOTOS; 317 relativePath = null; 319 relativePath = path.substring(extStorage.getAbsolutePath().length()); 322 return relativePath;
|
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
File.h | 66 static PassRefPtrWillBeRawPtr<File> createFromSerialization(const String& path, const String& name, const String& relativePath, UserVisibility userVisibility, bool hasSnaphotData, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle> blobDataHandle) 68 return adoptRefWillBeNoop(new File(path, name, relativePath, userVisibility, hasSnaphotData, size, lastModified, blobDataHandle)); 75 static PassRefPtrWillBeRawPtr<File> createWithRelativePath(const String& path, const String& relativePath); 141 File(const String& path, const String& name, const String& relativePath, UserVisibility, bool hasSnaphotData, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle>);
|
File.cpp | 89 PassRefPtrWillBeRawPtr<File> File::createWithRelativePath(const String& path, const String& relativePath) 92 file->m_relativePath = relativePath; 118 File::File(const String& path, const String& name, const String& relativePath, UserVisibility userVisibility, bool hasSnaphotData, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle> blobDataHandle) 120 , m_hasBackingFile(!path.isEmpty() || !relativePath.isEmpty()) 126 , m_relativePath(relativePath)
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/ |
SQLiteFileSystemWin.cpp | 115 // relativePath - the relative path. 118 int chromiumFullPathname(sqlite3_vfs* vfs, const char* relativePath, 122 sqlite3_snprintf(vfs->mxPathname, absolutePath, "%s", relativePath);
|
SQLiteFileSystemPosix.cpp | 143 // relativePath - the relative path. 146 int chromiumFullPathname(sqlite3_vfs* vfs, const char* relativePath, 150 sqlite3_snprintf(vfs->mxPathname, absolutePath, "%s", relativePath);
|
/external/smali/smali/ |
build.gradle | 89 args '-fo', relativePath("${antlrOutput}/org/jf/smali") 102 args '-fo', relativePath("${antlrOutput}/org/jf/smali") 115 args '-fo', relativePath("${testAntlrOutput}/org/jf/smali") 129 args '-d', relativePath("${jflexOutput}/org/jf/smali")
|
/prebuilts/devtools/adt/lib/ |
sdktestutils.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ |
Draw9PatchEditor.java | 91 IPath relativePath = null; 92 if ((relativePath = showSaveAsDialog()) != null) { 94 .getFile(relativePath)); 124 IPath relativePath = null; 125 if ((relativePath = showSaveAsDialog()) != null) { 127 .getRoot().getFile(relativePath));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/ |
LibraryProperties.java | 86 String relativePath; 173 IPath relativePath = iProject.getLocation().makeRelativeTo( 176 addItem(relativePath.toString(), iProject, -1); 213 addItem(data.relativePath, data.project, index - 1); 233 addItem(data.relativePath, data.project, index + 1); 296 data.relativePath); 332 * @param relativePath the relative path of the library entry 336 private void addItem(String relativePath, IProject project, int index) { 338 data.relativePath = relativePath; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetConfigure.java | 167 String relativePath = null; 176 relativePath = LocalAlbum.getRelativePath(bucketId); 178 + ", relative path: " + relativePath); 181 WidgetDatabaseHelper.TYPE_ALBUM, albumPath, relativePath);
|
WidgetDatabaseHelper.java | 50 private static final String FIELD_RELATIVE_PATH = "relativePath"; 74 public String relativePath; 86 relativePath = cursor.getString(INDEX_RELATIVE_PATH); 182 db.execSQL("ALTER TABLE widgets ADD COLUMN relativePath TEXT"); 218 public boolean setWidget(int id, int type, String albumPath, String relativePath) { 224 values.put(FIELD_RELATIVE_PATH, relativePath); 290 values.put(FIELD_RELATIVE_PATH, entry.relativePath);
|
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/ |
GalleryWidgetMigrator.java | 85 // Check each entry's relativePath. If exists, update bucket id using relative 94 if (entry.relativePath != null && entry.relativePath.length() > 0) { 150 entry.relativePath = path.substring(RELATIVE_PATH_START); 160 String newPath = NEW_EXT_PATH + entry.relativePath;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateManager.java | 104 * @param relativePath the relative path 108 public static File getTemplateLocation(@NonNull File root, @NonNull String relativePath) { 114 + relativePath.replace('/', File.separatorChar)); 126 * @param relativePath the relative path 130 public static File getTemplateLocation(@NonNull String relativePath) { 134 relativePath.replace('/', File.separatorChar));
|
/external/clang/utils/ |
FindSpecRefs | 882 relativePath = item.path[len(root):] 883 if relativePath.startswith('/'): 884 relativePath = relativePath[1:] 887 filename = os.path.basename(relativePath) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
SystemIDResolver.java | 100 * @param relativePath A relative path 103 private static String getAbsolutePathFromRelativePath(String relativePath) 105 return new File(relativePath).getAbsolutePath();
|