Searched refs:relativePath (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tools/aapt/ |
D | CrunchCache.cpp | 40 String8 relativePath; in crunch() local 52 relativePath = String8(rPathPtr + offset); in crunch() 54 if (forceOverwrite || needsUpdating(relativePath)) { in crunch() 55 cu->processImage(mSourcePath.appendPathCopy(relativePath), in crunch() 56 mDestPath.appendPathCopy(relativePath)); in crunch() 63 mDestFiles.removeItem(mDestPath.appendPathCopy(relativePath)); in crunch() 97 bool CrunchCache::needsUpdating(String8 relativePath) const in needsUpdating() 102 time_t sourceDate = mSourceFiles.valueFor(mSourcePath.appendPathCopy(relativePath)); in needsUpdating() 103 time_t destDate = mDestFiles.valueFor(mDestPath.appendPathCopy(relativePath)); in needsUpdating()
|
D | CrunchCache.h | 84 bool needsUpdating(String8 relativePath) const;
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | ImageUtils.java | 61 public static void requireSimilar(@NonNull String relativePath, @NonNull BufferedImage image) in requireSimilar() argument 67 InputStream is = ImageUtils.class.getResourceAsStream(relativePath); in requireSimilar() 69 String message = "Unable to load golden thumbnail: " + relativePath + "\n"; in requireSimilar() 70 message = saveImageAndAppendMessage(thumbnail, message, relativePath); in requireSimilar() 80 assertImageSimilar(relativePath, goldenImage, thumbnail, MAX_PERCENT_DIFFERENCE); in requireSimilar() 87 public static void assertImageSimilar(String relativePath, BufferedImage goldenImage, in assertImageSimilar() argument 155 String imageName = getName(relativePath); in assertImageSimilar() 189 error = saveImageAndAppendMessage(image, error, relativePath); in assertImageSimilar() 321 @NonNull String initialMessage, @NonNull String relativePath) throws IOException { in saveImageAndAppendMessage() argument 322 File output = new File(getTempDir(), getName(relativePath)); in saveImageAndAppendMessage() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 218 String relativePath = path.substring(SYSTEM_FONTS.length()); in loadFont() local 219 File f = new File(sFontLocation, relativePath); in loadFont() 231 String.format("Unable to load font %1$s", relativePath), in loadFont()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 216 public void linkFile(String relativePath, String fromBase, String toBase) in linkFile() argument 218 mInstaller.execute("linkfile", relativePath, fromBase, toBase); in linkFile()
|
D | PackageInstallerSession.java | 934 final String relativePath = getRelativePath(fromFile, fromDir); in linkFiles() local 936 mPm.mInstaller.linkFile(relativePath, fromDir.getAbsolutePath(), in linkFiles() 939 throw new IOException("failed linkOrCreateDir(" + relativePath + ", " in linkFiles()
|