Searched defs:pathName (Results 1 - 6 of 6) 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/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();
/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 1698 milliseconds