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.java65 public static Movie decodeFile(String pathName) { argument
68 is = new FileInputStream(pathName);
H A DBitmapFactory.java379 * @param pathName complete path name for the file to be decoded.
386 public static Bitmap decodeFile(String pathName, Options opts) { argument
390 stream = new FileInputStream(pathName);
413 * @param pathName complete path name for the file to be decoded.
416 public static Bitmap decodeFile(String pathName) { argument
417 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.java1136 public static Drawable createFromPath(String pathName) { argument
1137 if (pathName == null) {
1141 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, pathName);
1143 Bitmap bm = BitmapFactory.decodeFile(pathName);
1145 return drawableFromBitmap(null, bm, null, null, null, pathName);
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp1115 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, argument
1120 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) {
1121 //printf("TRYING '%s'\n", (const char*) pathName);
1122 pAsset = Asset::createFromCompressedFile(pathName.string(), mode);
1124 //printf("TRYING '%s'\n", (const char*) pathName);
1125 pAsset = Asset::createFromFile(pathName.string(), mode);

Completed in 444 milliseconds