Searched defs:pathName (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java132 * @param pathName complete path name for the file to be decoded.
143 public static BitmapRegionDecoder newInstance(String pathName, argument
149 stream = new FileInputStream(pathName);
H A DMovie.java74 public static Movie decodeFile(String pathName) { argument
77 is = new FileInputStream(pathName);
H A DBitmapFactory.java467 * @param pathName complete path name for the file to be decoded.
479 public static Bitmap decodeFile(String pathName, Options opts) { argument
484 stream = new FileInputStream(pathName);
507 * @param pathName complete path name for the file to be decoded.
510 public static Bitmap decodeFile(String pathName) { argument
511 return decodeFile(pathName, null);
/frameworks/base/tools/aapt/
H A DPackage.cpp42 bool okayToCompress(Bundle* bundle, const String8& pathName);
366 bool okayToCompress(Bundle* bundle, const String8& pathName) argument
368 String8 ext = pathName.getPathExtension();
382 int pos = pathName.length() - strlen(str);
386 const char* path = pathName.string();
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java58 String pathName, boolean isShareable) {
60 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(pathName, isShareable);
65 Log.w("BitmapRegionTileSource", "getting decoder failed for path " + pathName, e);
101 public static DumbBitmapRegionDecoder newInstance(String pathName) { argument
102 Bitmap b = BitmapFactory.decodeFile(pathName);
57 newInstance( String pathName, boolean isShareable) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java1340 public static Drawable createFromPath(String pathName) { argument
1341 if (pathName == null) {
1345 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, pathName);
1346 try (FileInputStream stream = new FileInputStream(pathName)) {
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp892 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, argument
897 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) {
898 //printf("TRYING '%s'\n", (const char*) pathName);
899 pAsset = Asset::createFromCompressedFile(pathName.string(), mode);
901 //printf("TRYING '%s'\n", (const char*) pathName);
902 pAsset = Asset::createFromFile(pathName.string(), mode);

Completed in 208 milliseconds