Searched refs:pathName (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DMovie.java51 public static Movie decodeFile(String pathName) { argument
54 is = new FileInputStream(pathName);
H A DBitmapRegionDecoder.java131 * @param pathName complete path name for the file to be decoded.
142 public static BitmapRegionDecoder newInstance(String pathName, argument
148 stream = new FileInputStream(pathName);
H A DBitmapFactory.java287 * @param pathName complete path name for the file to be decoded.
294 public static Bitmap decodeFile(String pathName, Options opts) { argument
298 stream = new FileInputStream(pathName);
320 * @param pathName complete path name for the file to be decoded.
323 public static Bitmap decodeFile(String pathName) { argument
324 return decodeFile(pathName, null);
/frameworks/base/core/java/android/os/
H A DDebug.java490 String pathName = traceName;
491 if (pathName.charAt(0) != '/')
492 pathName = DEFAULT_TRACE_PATH_PREFIX + pathName;
493 if (!pathName.endsWith(DEFAULT_TRACE_EXTENSION))
494 pathName = pathName + DEFAULT_TRACE_EXTENSION;
496 VMDebug.startMethodTracing(pathName, bufferSize, flags);
/frameworks/base/tools/aapt/
H A DPackage.cpp41 bool okayToCompress(Bundle* bundle, const String8& pathName);
416 bool okayToCompress(Bundle* bundle, const String8& pathName) argument
418 String8 ext = pathName.getPathExtension();
432 int pos = pathName.length() - strlen(str);
436 const char* path = pathName.string();
H A DAaptAssets.cpp1691 String8 pathName(srcDir);
1694 pathName.appendPath(fileNames[i].string());
1695 type = getFileType(pathName.string());
1705 ssize_t res = subdir->slurpFullTree(bundle, pathName, kind,
1715 sp<AaptFile> file = new AaptFile(pathName, kind, resType);
1725 printf(" (ignoring non-file/dir '%s')\n", pathName.string());
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java875 public static Drawable createFromPath(String pathName) { argument
876 if (pathName == null) {
880 Bitmap bm = BitmapFactory.decodeFile(pathName);
882 return drawableFromBitmap(null, bm, null, null, pathName);
/frameworks/base/libs/utils/
H A DAssetManager.cpp1039 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, argument
1044 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) {
1045 //printf("TRYING '%s'\n", (const char*) pathName);
1046 pAsset = Asset::createFromCompressedFile(pathName.string(), mode);
1048 //printf("TRYING '%s'\n", (const char*) pathName);
1049 pAsset = Asset::createFromFile(pathName.string(), mode);

Completed in 2385 milliseconds