/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/skia/src/utils/ |
SkOSFile.cpp | 9 SkString SkOSPath::Join(const char *rootPath, const char *relativePath) { 14 result.append(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/vogar/src/vogar/ |
ActionFinder.java | 92 String relativePath = className.replace('.', File.separatorChar) + ".java"; 93 if (!path.endsWith(relativePath)) { 94 throw new IllegalArgumentException("Expected a file ending in " + relativePath + " but found " + path); 96 return new File(path.substring(0, path.length() - relativePath.length()));
|
/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/smali/smali/ |
build.gradle | 90 args '-fo', relativePath("${antlrOutput}/org/jf/smali") 103 args '-fo', relativePath("${antlrOutput}/org/jf/smali") 116 args '-fo', relativePath("${testAntlrOutput}/org/jf/smali") 130 args '-d', relativePath("${jflexOutput}/org/jf/smali")
|
/prebuilts/gradle-plugin/com/android/tools/testutils/24.3.1/ |
testutils-24.3.1.jar | |
/prebuilts/gradle-plugin/com/android/tools/testutils/24.4.0-alpha1/ |
testutils-24.4.0-alpha1.jar | |
/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...] |
/external/skia/include/core/ |
SkOSFile.h | 118 * Assembles rootPath and relativePath into a single path, like this: 119 * rootPath/relativePath. 120 * It is okay to call with a NULL rootPath and/or relativePath. A path 125 static SkString Join(const char* rootPath, const char* relativePath);
|
/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();
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
SystemIDResolver.java | 93 * @param relativePath A relative path 96 private static String getAbsolutePathFromRelativePath(String relativePath) 98 return new File(relativePath).getAbsolutePath();
|
/prebuilts/devtools/tools/lib/ |
lint-tests.jar | |
/prebuilts/gradle-plugin/com/android/tools/dvlib/22.2.0/ |
dvlib-22.2.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/dvlib/22.4.0/ |
dvlib-22.4.0.jar | |